LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Help me stop from moving to Windows... (F38 black screen issue...) (https://www.linuxquestions.org/questions/fedora-35/help-me-stop-from-moving-to-windows-f38-black-screen-issue-4175726011/)

AR15USR 06-14-2023 10:24 AM

Help me stop from moving to Windows... (F38 black screen issue...)
 
I recently left the Mac-O-Sphere and built a PC with the intention of going to Fedora full time. I am having an issue with the nvidia drivers I believe. If this cant get solved I will have to use Windows full time as I need to be operational reliably to work.

The problem: 30 sec after full boot and landing at the Fedora desktop the screen goes black. Only way to recover is to power off the machine. This happens on the first boot, sometimes the second, then it doesn't happen again (untill I power off and then the cycle begins again).

It happens on either Wayland/X, and I have tried the "nvidia-drm.modeset=1" to grub and it makes no difference either way.

I installed the nvidia driver following the rpmfusion guide here.
Code:

sudo dnf install akmod-nvidia xorg-x11-drv-nvidia-cuda
Quite certain my hardware is fine as I have run the stress tests and also have Windows 10 Pro on a second drive that functions properly. I have re-installed F38 twice, same results. Possible the drivers don't yet support the hardware?

I could really use some help..

Hardware:
1. Ryzen 7950X3D
2. AsRock X670E Taichi
3. Gigabyte GeForce RTX 4090 OC 24mb
4. G.Skill Trident Z5 Neo RGB 64 GB (2 x 32 GB) DDR5-6000 CL32

Code:

$ sudo cat /proc/cmdline
BOOT_IMAGE=(hd1,gpt2)/vmlinuz-6.3.7-200.fc38.x86_64 root=UUID=fc95995f-ed0f-450b-8dd3-d8e88358921c ro rootflags=subvol=root rd.driver.blacklist=nouveau modprobe.blacklist=nouveau

Code:

$ lspci -nnv | grep -A2 -i VGA
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation AD102 [GeForce RTX 4090] [10de:2684] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: Gigabyte Technology Co., Ltd Device [1458:40bf]
        Flags: bus master, fast devsel, latency 0, IRQ 211
--
5c:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev c9) (prog-if 00 [VGA controller])
        Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e]
        Flags: bus master, fast devsel, latency 0, IRQ 86

Code:

$ dnf list installed '*nvidia*'
Installed Packages
akmod-nvidia.x86_64                                3:530.41.03-1.fc38                @rpmfusion-nonfree
kmod-nvidia-6.3.7-200.fc38.x86_64.x86_64        3:530.41.03-1.fc38                @@commandline
nvidia-gpu-firmware.noarch                        20230515-150.fc38                @updates
nvidia-persistenced.x86_64                        3:530.41.03-1.fc38                @rpmfusion-nonfree
nvidia-settings.x86_64                                3:530.41.03-1.fc38                @rpmfusion-nonfree
xorg-x11-drv-nvidia.x86_64                        3:530.41.03-1.fc38                @rpmfusion-nonfree
xorg-x11-drv-nvidia-cuda.x86_64                        3:530.41.03-1.fc38                @rpmfusion-nonfree
xorg-x11-drv-nvidia-cuda-libs.x86_64                3:530.41.03-1.fc38                @rpmfusion-nonfree
xorg-x11-drv-nvidia-kmodsrc.x86_64                3:530.41.03-1.fc38                @rpmfusion-nonfree
xorg-x11-drv-nvidia-libs.x86_64                        3:530.41.03-1.fc38                @rpmfusion-nonfree
xorg-x11-drv-nvidia-power.x86_64                3:530.41.03-1.fc38                @rpmfusion-nonfree

Code:

$ modinfo -F version nvidia
530.41.03


ferrari 06-14-2023 06:05 PM

Quote:

The problem: 30 sec after full boot and landing at the Fedora desktop the screen goes black. Only way to recover is to power off the machine. This happens on the first boot, sometimes the second, then it doesn't happen again (until I power off and then the cycle begins again).
Which desktop environment are you using?

See if this thread is of any help:

https://discussion.fedoraproject.org...kernel/79969/2

When the screen goes black, does the session freeze entirely? Can you switch away to a VT at least?

ferrari 06-14-2023 07:01 PM

I can see you're getting help in the Fedora Forum, so will jump away from this now...
https://discussion.fedoraproject.org...n-issues/84286

Good luck!

AR15USR 06-22-2023 09:34 AM

For anyone interested I’ve clean reinstalled several times and still not usable. At this point it runs, and I have no black screens but things are not right. SDDM is crazy slow, the main OS has all kinds of flicker/tearing, flashing issues etc…

I have submitted bug reports at RPMFusion, and interestingly they have said to NOT use ‘nvidia-drm.modeset=1’ or ’ initcall_blacklist=simpledrm_platform_driver_init’ FYI.

Runs perfectly fine on W10Pro…

Nemesissparadise 07-02-2023 10:54 AM

I'm running into the same issue and probably should have done a better search as I missed this before posting my own.

After login can you bring up the terminal? Control+Alt+F key? (F3 I believe though I admit I tend to press the f keys til one works.)

If you can does startx work? for me that brings me to my graphical desktop

Clearly not a fix as I have to do this every boot.

AR15USR 07-02-2023 04:32 PM

Quote:

Originally Posted by Nemesissparadise (Post 6439757)
I'm running into the same issue and probably should have done a better search as I missed this before posting my own.

After login can you bring up the terminal? Control+Alt+F key? (F3 I believe though I admit I tend to press the f keys til one works.)

If you can does startx work? for me that brings me to my graphical desktop

Clearly not a fix as I have to do this every boot.

No I could not do any of that, it was locked up.

I've been working on this, and as of a few days ago the recent RPM Fusion updates seemed to have fixed the issue. I did a clean install of the most recent F38 KDE ISO from their site, then updated completely. Next installed the nvidia drivers as per RPM fusion's instructions and it works fine now. I did the kmod version, and I have since been told I should be doing the akmod version.. so after this holiday weekend I intend to try that.

You can follow along here:
https://discussion.fedoraproject.org...ssues/84286/22


All times are GMT -5. The time now is 01:34 AM.