Skip to content

Instantly share code, notes, and snippets.

@danmack
Last active May 7, 2019 19:44
Show Gist options
  • Save danmack/3a64940b46490b57d01138f9f205d30c to your computer and use it in GitHub Desktop.
Save danmack/3a64940b46490b57d01138f9f205d30c to your computer and use it in GitHub Desktop.
nvidia card driver issue - fallback to nouveau
fc30 packages installed:
$ rpm -qa|grep nvidia
xorg-x11-drv-nvidia-418.56-1.fc30.x86_64
xorg-x11-drv-nvidia-kmodsrc-418.56-1.fc30.x86_64
xorg-x11-drv-nvidia-libs-418.56-1.fc30.x86_64
kmod-nvidia-5.0.11-300.fc30.x86_64-418.56-2.fc30.x86_64
xorg-x11-drv-nvidia-cuda-libs-418.56-1.fc30.x86_64
akmod-nvidia-418.56-2.fc30.x86_64
nvidia-settings-418.56-1.fc30.x86_64
akmods log file:
2019/05/06 10:15:38 akmods: Checking kmods exist for 5.0.11-300.fc30.x86_64
2019/05/06 10:15:38 akmods: Building and installing nvidia-kmod
2019/05/06 10:15:38 akmods: Building RPM using the command '/sbin/akmodsbuild --kernels 5.0.11-300.fc30.x86_64 /usr/src/akmods/nvidia-kmod.latest'
2019/05/06 10:16:05 akmods: Installing newly built rpms
2019/05/06 10:16:05 akmods: DNF detected
2019/05/06 10:16:11 akmods: Successful.
2019/05/07 07:59:35 akmods: Checking kmods exist for 5.0.11-300.fc30.x86_64
2019/05/07 14:07:29 akmods: Checking kmods exist for 5.0.11-300.fc30.x86_64
Yolo rerun akmods and reboot:
[root@fano akmods]# akmods --force
Checking kmods exist for 5.0.11-300.fc30.x86_64 [ OK ]
Output from glxinfo:
Extended renderer info (GLX_MESA_query_renderer):
Vendor: nouveau (0x10de)
Device: NV134 (0x1bb1)
Version: 19.0.3
Accelerated: yes
Video memory: 8141MB
lspci output: It's a Nvidia Quadro P4000
01:00.0 VGA compatible controller: NVIDIA Corporation GP104GL [Quadro P4000] (rev a1)
Boot arguments from the grub command line:
Appears to be blacklisting the novuveau driver but I appear to be using that anyway?
[ 0.000000] Command line: BOOT_IMAGE=(hd2,gpt1)/boot/vmlinuz-5.0.11-300.fc30.x86_64 root=UUID=39f90c2c-300b-4b8d-a0b2-2114fefae217 ro resume=UUID=62869a7c-22ce-4e0d-91f1-798284a05c77 rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1
Lets try dropping to non-x mode, and removing nouveau driver:
# init 3
# rpm -e xorg-x11-drv-nouveau
# akmods --force
# dracut --force
reboot - yolo #2
And still doesn't appear to be running the nvidia drivers.
Oh well - maybe a weekend project to figure out what is going on.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment