Using Fedora 37’s KDE spin on Wayland on kernels 6.1.5 through 6.1.9, regularly the system will just blackscreen after entering my LUKS password. Once it blackscreens, hitting escape or any other key combination does not do anything, and I have to forcibly reboot by holding down the power button.
With my NVIDIA eGPU as primary, I’d say less than 50% of the time will it actually boot to the desktop. Even then, it frequently hangs shortly after boot. Additionally, opening electron apps frequently causes the system to hang.
With my Intel iGPU as primary, my system has always hangs, either blackscreening before boot or hanging shortly after boot.
I did not have these problems on Kernel 6.0.7 which shipped with the distro, but reinstalling it does not seem viable as the kernel headers necessary for the NVIDIA driver aren’t in the repos. How should I go about debugging and solving these problems?
Please post the output of the following dnf list installed '*nvidia*' kernel* and inxi -Fzxx
Also, please verify the bios on your laptop is at the latest version available.
While tracking this down please do not use any electron apps so we can rule out one possibility. Using electron apps, since they are 3rd party, simply adds to the difficulty in tracking the problem.
Hi Jeff, thanks for the quick reply. I doubled checked that my laptop is on its latest BIOS version. Here is the output of dnf list installed '*nvidia*' kernel*:
Looking at the nvidia drivers I would venture that the major portion of your issues is located there.
Every nvidia package you have was installed from the cuda-fedora37-x86_64 repo. I have seen numerous individuals that have reported problems with software from the cuda repo.
I would suggest that you seriously consider removing those drivers and instead install the nvidia drivers, including cuda, from the rpmfusion repo. Very few seem to report errors with nvidia drivers installed from rpmfusion.
I do not see the nvidia-gpu-firmware package in that list and it is required for the nvidia GPU. The output of inxi shows the nvidia GTX 1650 GPU is using the vfio-pci driver and not the nvidia driver, though it does show the nvidia driver for the RTX 3060 card. That laptop appears to have one intel iGPU and two nvidia dGPUs.
The following should do this should you decide to try it.
enable the rpmfusion-nonfree-nvidia-driver repo through the gnome software center.
dnf remove '*nvidia*' which will remove all the installed nvidia packages.
dnf install nvidia-gpu-firmware and dnf reinstall linux-firmware to retrieve the missing firmware package for the nvidia GPUs. and any other missing firmware there may be.
dnf install akmod-nvidia xorg-x11-drv-nvidia-cuda --disablerepo=cuda-fedora37-x86_64 which should pull in the needed packages from rpmfusion along with any necessary dependencies.
Allow at least 5 minutes or more after the above install completes then verify that the modules have built properly with dnf list installed kmod-nvidia* which should show the kmod-nvidia package for the running kernel once it has completed the build.
Once the modules have been built properly reboot and then verify the modules have loaded properly with lsmod | grep nvidia. The return of about 5 lines should confirm the drivers are properly loaded and functional.
Finally, the output of inxi -Gxx should show the nvidia driver in use and nvidia-smi should show details about the graphics.
I hope this helps and that you may consider switching over from the cuda repo to the rpmfusion repo.
Okay, thanks for the tips! I will give these a try. Here are a couple of things for reference regarding my setup:
The reason I used the NVIDIA CUDA repo’s drivers instead of the rpmfusion ones is that the rpmfusion ones seemed to never detect my external 3060 and I had some issues getting CUDA to work nicely. This may have been fixed though, so I will try rpmfusion again.
The dGPU (1650 Ti) is using vfio-pci intentionally to prevent the NVIDIA driver from setting it as primary, otherwise I can’t use the external GPU for rendering. The driver wouldn’t respect any configuration pointing to the eGPU as primary so this was the easiest option to effectively disable the dGPU.
Thanks again, I will report back on how RPMFusion works this time!
Installing the RPMFusion drivers appears to have completed successfully. The system is at least able to boot now with the NVIDIA eGPU plugged in, but the issues still persist - occassionally black screens, and sometimes freezing when running inxi -Fzxx.
The problem is much worse on the iGPU, which freezes during boot up still.
I have a similar issue, but no nvidia gpu, I have an AMD APU. Fedora hangs while booting 6.1 but works fine on 6.0. I stoped and disabled NetworkManager service and was able to boot in 6.1, but if I try to start NetworkManager I get no WiFi. I guess it’s a driver issue. The WiFi card I have is a Realtek RTL8723DE