Fedora 36 - XFCE (EnvyControl not working on Fedora)

Hi everyone,

I recently installed Fedora 36, XFCE spin and I can’t seem to get my Nvidia card working. I followed the instruction on RPM fusion and when I type /sbin/lspci | grep -e 3D it does show my Nvidia GPU.

I installed Envycontrol to switch between my Intel gpu and Nvidia. I can switch to integrated mode and hybrid mode with no problem. When I switch to nvidia, after a restart, I get a black screen.

I tried the following:

  1. sudo dnf upgrade
  2. sudo akmods --force && sudo dracut --force
    That didn’t work.

I then tried:

  1. sudo dnf remove xorg-x11-drv-nvidia\*

  2. sudo dnf remove akmod-nvidia

  3. sudo dnf install akmod-nvidia
    Waited 10 minutes

  4. modinfo -F version nvidia
    Result: 510.68.02

I am unsure what else to do.

Welcome to ask :fedora:

Are you using wayland or xorg?
Do you have secure boot enabled or disabled?
Are the kernel modules loading? (apparently not if nouveau is being used)

Please post the output of the following in </> preformatted text tags.
dmesg | grep -iE 'secure|nvidia|nouveau'
dnf list installed *nvidia*
lsmod | grep -iE 'nouveau|nvidia'

Here is the output of the following:

  1. dmesg | grep -iE 'secure|nvidia|nouveau'
   [    0.000000] Command line: BOOT_IMAGE=(hd0,gpt2)/vmlinuz-5.17.6-300.fc36.x86_64 root=UUID=cfe0a715-1c11-4253-8523-e7df28a171aa ro rootflags=subvol=root rd.luks.uuid=luks-ff316767-f610-4ce7-a959-43c8dc1188f6 rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1
[    0.000000] secureboot: Secure boot disabled
[    0.006963] secureboot: Secure boot disabled
[    0.050391] Kernel command line: BOOT_IMAGE=(hd0,gpt2)/vmlinuz-5.17.6-300.fc36.x86_64 root=UUID=cfe0a715-1c11-4253-8523-e7df28a171aa ro rootflags=subvol=root rd.luks.uuid=luks-ff316767-f610-4ce7-a959-43c8dc1188f6 rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1
[   15.074125] Bluetooth: hci0: Secure boot is enabled
[   16.610016] nvidia: loading out-of-tree module taints kernel.
[   16.610041] nvidia: module license 'NVIDIA' taints kernel.
[   16.616655] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[   16.631204] nvidia-nvlink: Nvlink Core is being initialized, major device number 508
[   16.631878] nvidia 0000:01:00.0: enabling device (0006 -> 0007)
[   16.831668] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  510.68.02  Wed Apr 20 21:10:34 UTC 2022
[   17.815475] nvidia_uvm: module uses symbols from proprietary module nvidia, inheriting taint.
[   17.826093] nvidia-uvm: Loaded the UVM driver, major device number 506.
[   17.888520] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  510.68.02  Wed Apr 20 21:04:10 UTC 2022
[   17.985505] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[   18.750023] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 0


  1. dnf list installed *nvidia*
Installed Packages
akmod-nvidia.x86_64                       3:510.68.02-1.fc36  @rpmfusion-nonfree
kmod-nvidia-5.17.6-300.fc36.x86_64.x86_64 3:510.68.02-1.fc36  @@commandline     
nvidia-persistenced.x86_64                3:510.68.02-1.fc36  @rpmfusion-nonfree
nvidia-settings.x86_64                    3:510.68.02-1.fc36  @rpmfusion-nonfree
xorg-x11-drv-nvidia.x86_64                3:510.68.02-1.fc36  @rpmfusion-nonfree
xorg-x11-drv-nvidia-cuda.x86_64           3:510.68.02-1.fc36  @rpmfusion-nonfree
xorg-x11-drv-nvidia-cuda-libs.i686        3:510.68.02-1.fc36  @rpmfusion-nonfree
xorg-x11-drv-nvidia-cuda-libs.x86_64      3:510.68.02-1.fc36  @rpmfusion-nonfree
xorg-x11-drv-nvidia-kmodsrc.x86_64        3:510.68.02-1.fc36  @rpmfusion-nonfree
xorg-x11-drv-nvidia-libs.i686             3:510.68.02-1.fc36  @rpmfusion-nonfree
xorg-x11-drv-nvidia-libs.x86_64           3:510.68.02-1.fc36  @rpmfusion-nonfree
xorg-x11-drv-nvidia-power.x86_64          3:510.68.02-1.fc36  @rpmfusion-nonfree

  1. lsmod | grep -iE 'nouveau|nvidia'
nvidia_drm             69632  0
nvidia_modeset       1167360  1 nvidia_drm
nvidia_uvm           1204224  0
nvidia              39153664  2 nvidia_uvm,nvidia_modeset

Your title says (Nvidia module missing falling back to nouveau)

Your last post with the info I asked for shows that nvidia is clearly installed and loaded, with nouveau not loaded.

Please exactly explain the issue. (and if possible change the title to properly display the problem)

It appears you installed envycontrol from some place other than a fedora repo thus it is likely that the software does not function properly on fedora.

Interesting. I will mark this as solved and will try and get envycontrol from a fedora repo.

Thank you for the help!