Ask Your Question

nvidia driver still loaded but not installed

asked 2018-04-12 06:23:31 -0600

banti gravatar image

HI everyone,

after a failing to install nvidia proprietary drivers on my laptop (Dell Inspiron 15-7559) with

negativo17 if-not-true-then-false and finally RPMFusion

I decided to give up and fallback to nouveau again. The last method I tried for reference is the RPMFusion one. Before that I ereased previsou changes and made sure that nouveau was working, so I guess that's a problem with returnin back from there... The problem I have right now is that the nvidia module is still loaded (even if it's not installed!!!) in the kernel and a few backlash problems from all my experimentations, like 'xrandr --listproviders' returning just one provider and not both!

$lspci -nnk | grep -iA2 3d
02:00.0 3D controller [0302]: NVIDIA Corporation GM107M [GeForce GTX 960M] [10de:139b] (rev a2)
    Subsystem: Dell Device [1028:0706]
    Kernel driver in use: nvidia       << ---- this should be nouveau, right?

$xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x44 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 2 associated providers: 0 name:modesetting

$ DRI_PRIME=0 glxinfo | grep OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2) 

$ DRI_PRIME=1 glxinfo | grep OpenGL
libGL error: failed to create dri screen
libGL error: failed to load driver: nouveau
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2) 

$ lsmod | grep nvidia
nvidia_drm             49152  0
nvidia_modeset       1110016  1 nvidia_drm
nvidia              14372864  1 nvidia_modeset
ipmi_msghandler        57344  1 nvidia
drm_kms_helper        192512  3 nouveau,i915,nvidia_drm
drm                   454656  13 nouveau,i915,ttm,nvidia_drm,drm_kms_helper

For what is worth, nouveau is still loaded as well!

$ lsmod | grep nouveau
nouveau              1994752  0
ttm                   118784  1 nouveau
i2c_algo_bit           16384  2 nouveau,i915
drm_kms_helper        192512  3 nouveau,i915,nvidia_drm
mxm_wmi                16384  1 nouveau
drm                   454656  13 nouveau,i915,ttm,nvidia_drm,drm_kms_helper
video                  45056  4 dell_wmi,dell_laptop,nouveau,i915
wmi                    28672  6 dell_wmi,wmi_bmof,dell_wmi_descriptor,mxm_wmi,nouveau,dell_smbios_wmi

I made sure there's no grub option to disable or blacklist it as well...

Anybody want to have a guess on how can i fix it?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2018-04-12 06:45:32 -0600

banti gravatar image

Solved by sudo dnf reinstall kernel kernel-devel xorg-mesa

mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-backup.img

dracut /boot/initramfm-$(uname -r).img $(uname -r)

now i still get traces of nvidia in dmesg at boot, but once in nouveau ONLY is loaded and I can get DRI_PRIME=1 to work without opengl complaining.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2018-04-12 06:22:25 -0600

Seen: 262 times

Last updated: Apr 12 '18