Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Depclean nvidia drivers doesn't actually remove it
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
pmatos
Veteran
Veteran


Joined: 06 Jun 2003
Posts: 1246
Location: Eckental, Germany

PostPosted: Fri Dec 06, 2019 6:59 am    Post subject: Depclean nvidia drivers doesn't actually remove it Reply with quote

If you depclean nvidia-drivers, the driver files stay there, why?

Long story, I moved from nvidia-drivers to nouveau and noticed some problems in my dmesg so I opened https://bugs.gentoo.org/702034
Jeroen Roovers was kind enough to explain that the problem was that the nvidia drivers were conflicting with nouveau. However that was strange because I had just removed them with --depclean nvidia-drivers. It seems the files were still there:
Code:

$ sudo find /lib/modules/4.19.86-gentoo/video -name 'nvidia*'
/lib/modules/4.19.86-gentoo/video/nvidia.ko
/lib/modules/4.19.86-gentoo/video/nvidia-modeset.ko
/lib/modules/4.19.86-gentoo/video/nvidia-drm.ko


So I had to remove them manually. Why does this happen? Why can't the removal of the ebuild, remove the files as well?

Thanks,
Paulo


Last edited by pmatos on Fri Dec 06, 2019 7:01 am; edited 1 time in total
Back to top
View user's profile Send private message
pmatos
Veteran
Veteran


Joined: 06 Jun 2003
Posts: 1246
Location: Eckental, Germany

PostPosted: Fri Dec 06, 2019 7:01 am    Post subject: Reply with quote

Manually cleaning these created a different problem:
Code:

[   11.196388] udevd[3296]: ctx=0x55e7b4fc3d30 path=/lib/modules/4.19.86-gentoo/video/nvidia-modeset.ko error=No such file or directory
Back to top
View user's profile Send private message
OldTango
l33t
l33t


Joined: 21 Feb 2004
Posts: 628

PostPosted: Mon Dec 16, 2019 12:57 am    Post subject: Reply with quote

pmatos wrote:
Manually cleaning these created a different problem:
Code:

[   11.196388] udevd[3296]: ctx=0x55e7b4fc3d30 path=/lib/modules/4.19.86-gentoo/video/nvidia-modeset.ko error=No such file or directory


Is it possible they are still in use. What does
Code:
lsmod
report

Have you removed the nvidia reference in /etc/conf.d/modules?

Best Tango
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum