Fedora 38 KDE Wayland - NVIDIA not detected as OpenGL Vendor

I recently installed Fedora KDE Plasma using Fedora - Everything ISO as the update from Fedora 37 to 38 gave me errors.

I have installed the Nvidia driver using akmod-nvidia with UEFI enabled and MOK Cert imported.
The driver works fine on Plasma - X11 but not on Plasma - Wayland.

Output from Plasma - Wayland:

glxinfo | grep -E "OpenGL vendor|OpenGL renderer"
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon Graphics (renoir, LLVM 16.0.4, DRM 3.52, 6.3.4-201.fc38.x86_64)

Installed Packages for Nvidia:

$ dnf list installed | grep nvidia
akmod-nvidia.x86_64                                  3:530.41.03-1.fc38                  @rpmfusion-nonfree        
kmod-nvidia-6.3.4-201.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        
nvidia-vaapi-driver.x86_64                           0.0.9-1.fc38                        @rpmfusion-nonfree        
nvidia-xconfig.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.i686                   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.i686                        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

Please let me know if I need to furnish any more details to help understand or troubleshoot the issue.

Wayland and nvidia are known not to play well together.

1 Like

Yes I understand, but it was working out well with Gnome on same laptop.

Gnome and kde are two different environments. What is the goal or problem that led to this topic?

I need to use KDE Plasma with Fedora. However with wayland OpenGL server is still AMD, not NVIDIA

Update on the issue, I reinstalled FEDORA EVERYTHING with KDE and still on Wayland the result is the same.