Apps won't open after installing Nvidia

I’m posting this from my phone because my Gnome is basically unusable.

I did a fresh install of Fedora 41 (I was using 39 before) and it has felt very slow since then. Apps will take 2-5 seconds to open.

I decided to install the drivers of my Nvidia and after some hiccups I managed to install it with secure boot.

Here’s some details:

peagravel@fedora:~$ sudo lsmod | grep nvidia
nvidia_drm            135168  4
nvidia_modeset       1650688  3 nvidia_drm
nvidia_uvm           6856704  0
nvidia              72577024  33 nvidia_uvm,nvidia_modeset
drm_ttm_helper         16384  1 nvidia_drm
video                  81920  3 thinkpad_acpi,i915,nvidia_modeset

peagravel@fedora:~$ sudo lsmod | grep nouv

peagravel@fedora:~$ sudo dnf list --installed | grep -i nvidia
akmod-nvidia.x86_64                                  3:560.35.03-1.fc41                  <unknown>
kmod-nvidia-6.11.5-300.fc41.x86_64.x86_64            3:560.35.03-1.fc41                  @commandline
nvidia-gpu-firmware.noarch                           20241017-2.fc41                     anaconda
nvidia-modprobe.x86_64                               3:560.35.03-1.fc41                  <unknown>
nvidia-persistenced.x86_64                           3:560.35.03-1.fc41                  rpmfusion-nonfree-nvidia-driver
nvidia-settings.x86_64                               3:560.35.03-1.fc41                  <unknown>
xorg-x11-drv-nvidia.x86_64                           3:560.35.03-5.fc41                  <unknown>
xorg-x11-drv-nvidia-cuda.x86_64                      3:560.35.03-5.fc41                  rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.x86_64                 3:560.35.03-5.fc41                  <unknown>
xorg-x11-drv-nvidia-kmodsrc.x86_64                   3:560.35.03-5.fc41                  <unknown>
xorg-x11-drv-nvidia-libs.x86_64                      3:560.35.03-5.fc41                  <unknown>
xorg-x11-drv-nvidia-power.x86_64                     3:560.35.03-5.fc41                  <unknown>

Apparently everything is installed as expected, but very few apps can be opened right now. It just keeps spinning and they never open. I couldn’t pinpoint the reason for some of the apps open and others, not.

Some examples that don’t open are Text Editor and Terminal.

I appreciate any help

I’ve found the solution that for some reason didn’t come up on my searches

But it had to be already fixed. Or no?

My environment file was empty. After exporting that variable with the ngl value, it started working again

2 Likes

For some reason this does not work for me, tried both gl and ngl with no effect. And the apps don’t work only when launched with nvidia drivers, with them removed everything works. I use Fedora Silverblue

Update: I fixed this by using this workaround - System apps is not working after upgrading to F41 - #29 by Espionage724