Bug 5552

Summary: Nouveau drivers still loaded after following Howto/NVIDIA guide
Product: Fedora Reporter: Dario Balboni <dario.balboni+rpmfusion>
Component: xorg-x11-drv-nvidia-390xxAssignee: Richard <hobbes1069>
Status: RESOLVED INVALID    
Severity: normal CC: leigh123linux
Priority: P1    
Version: f31   
Hardware: x86_64   
OS: GNU/Linux   
namespace:

Description Dario Balboni 2020-03-05 20:14:46 CET
Hi! Thank you for the great work.
I'm trying to install NVIDIA drivers on a freshly installed Fedora 31 following the guide at https://rpmfusion.org/Howto/NVIDIA and I'm having troubles in blacklisting nouveau drivers, which happen to be loaded no matter what I try.

My GPU is a GTX 1650, which should work with the 390xx driver series.

The steps I followed are:
```
# sudo dnf install \
  https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \
  https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

# dnf update -y
# reboot
# dnf install -y xorg-x11-drv-nvidia-390xx*
# reboot
# echo "blacklist nouveau" > /etc/modprobe.d/nouveau-blacklist.conf
# grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg 
Generating grub configuration file ...
Adding boot menu entry for EFI firmware configuration
done
# reboot
# lsmod | grep nouveau
nouveau              2273280  2
mxm_wmi                16384  1 nouveau
ttm                   122880  1 nouveau
i2c_algo_bit           16384  2 i915,nouveau
drm_kms_helper        233472  2 i915,nouveau
drm                   585728  11 drm_kms_helper,i915,ttm,nouveau
wmi                    36864  5 intel_wmi_thunderbolt,acer_wmi,wmi_bmof,mxm_wmi,nouveau
video                  53248  3 acer_wmi,i915,nouveau
```

Further information about machine and graphic card:
```
$ uname -a
Linux furzo 5.5.7-200.fc31.x86_64 #1 SMP Fri Feb 28 17:18:37 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

$ lspci | grep -i VGA
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Mobile)
01:00.0 VGA compatible controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q] (rev a1)

$ dnf list --installed | grep -i xorg-x11-drv-nvidia
xorg-x11-drv-nvidia-390xx.x86_64                   3:390.132-1.fc31                       @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-390xx-cuda.x86_64              3:390.132-1.fc31                       @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-390xx-cuda-libs.x86_64         3:390.132-1.fc31                       @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-390xx-devel.x86_64             3:390.132-1.fc31                       @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-390xx-kmodsrc.x86_64           3:390.132-1.fc31                       @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-390xx-libs.x86_64              3:390.132-1.fc31                       @rpmfusion-nonfree-updates

$ cat /etc/modprobe.d/nouveau-blacklist.conf 
blacklist nouveau

$ lsmod | grep nouveau
nouveau              2273280  2
mxm_wmi                16384  1 nouveau
ttm                   122880  1 nouveau
i2c_algo_bit           16384  2 i915,nouveau
drm_kms_helper        233472  2 i915,nouveau
drm                   585728  11 drm_kms_helper,i915,ttm,nouveau
wmi                    36864  5 intel_wmi_thunderbolt,acer_wmi,wmi_bmof,mxm_wmi,nouveau
video                  53248  3 acer_wmi,i915,nouveau

$ lsmod | grep nvidia

$ cat /etc/default/grub | grep -i nouveau
GRUB_CMDLINE_LINUX="rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1 rd.luks.uuid=luks-c8c55622-906a-48d2-b8ab-756d5554db14 rhgb quiet"
```

It seems that even if nouveau drivers are blacklisted in kernel line in grub and inside modules, they are nonetheless loaded instead of the nvidia drivers.
Thank you in advance.
Comment 1 leigh scott 2020-03-05 21:47:17 CET
Use xorg-x11-drv-nvidia instead as the 390xx legacy driver doesn't support your card.
Comment 2 Dario Balboni 2020-03-05 23:10:32 CET
Thank you very much, this solves the issue.
I probably misread compatibilities between GPUs and driver versions and I also thought that the package xorg-x11-drv-nvidia was simply resolving to one of the two other packages (390xx and 340xx).