[SOLVED] How do I remove or kill an unnecessary video driver?
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have determined that the situtation is the result of installing CentOS with the Intel integrated graphics (which did not meet my need) then installing an Nvidia Quadro K620 card and the kmod-nvidia driver. The kmpd-nvidia package blacklisted the nouveau driver in grub. However, the Intel driver ("i915" as best I can determine) is still loading. I added the blacklist command to /etc/default/grub and ran grub2-mkconfig -o /boot/grub2/grub.cfg. That did not have any effect.
For my next trick I created /etc/modprobe.d/blacklist.conf containing one line
The computer rebooted fine. However, I still see the i915 conflict error. Can someone point to what I have done wrong? Do I perhaps not have the correct name of the driver which I am trying to blacklist?
Here are the reults of my effort to identify the offending driver.
Code:
[root@taylor20 Desktop]# lspci | grep Intel
00:02.0 Display controller: Intel Corporation HD Graphics 530 (rev 06)
[root@taylor20 Desktop]# less /proc/modules
(I found the following lines of interest)
nvidia_drm 53080 1 - Live 0xffffffffa01cd000 (POE)
nvidia_modeset 790274 4 nvidia_drm, Live 0xffffffffa0fd4000 (POE)
i915 1307079 2 - Live 0xffffffffa0e5c000
nvidia 12145802 70 nvidia_modeset, Live 0xffffffffa01ea000 (POE)
crct10dif_pclmul 14289 1 - Live 0xffffffffa01c8000
crct10dif_common 12595 3 crc_t10dif,crct10dif_generic,crct10dif_pclmul, Live 0xf
fffffffa0121000
video 24400 1 i915, Live 0xffffffffa0018000
[root@taylor20 Desktop]# lsmod
(I found the following lines of interest)
nvidia_drm 53080 1
nvidia_modeset 790274 4 nvidia_drm
i915 1307079 2
nvidia 12145802 70 nvidia_modeset
i2c_hid 18821 0
i2c_core 40756 7 drm,i915,i2c_i801,i2c_hid,drm_kms_helper,i2c_algo_bit,nvidia
Any help would be greatly appreciated. I really do not want to reinstall the OS and all the packages I need and do all the configuration and tweaking - about 2 weeks effort - well probably not that long this time - I do have some decent build notes
I believe I came across that page in my searching. It is for RHEL 6.8 which I think still used grub as opposed to grub2(?) I have bookmarked it and will dig in tomorrow morning.
I believe that is the page where I got my grub blacklist ideas from. I must have transcribed something wrong or missed a step when cloning the Nouveau blacklist process to my i915 blacklist. I will try again in the morning.
I believe I came across that page in my searching. It is for RHEL 6.8 which I think still used grub as opposed to grub2(?) I have bookmarked it and will dig in tomorrow morning.
Ken
You're Welcome.
Just add 2 like this:
Code:
/boot/grub2/grub.conf
The RH documentation works well for CentOS as it is the free version of the rebuild.
The grub configuration file is still /etc/default/grub in grub2. It is the updating process which is different. In grub it was update-grub. In grub2 it is
Code:
grub2-mkconfig -o /boot/grub2/grub.cfg
At least that is what I have found. Anyhow, here is what I changed the /etc/default/grub file to read
I also tried rddriver.blacklist= as shown in the example (without the period between rd and driver). I then ran the grub2-mkconfig command and rebooted. No change. I still see the offending i915
In fact I have done both of the procedures you recommended and I have also killed the rogue driver. At least ps does not show it in memory anymore. I still get the conflict detected with stolen region error which made me think it was still present. I also get some other errors flash by when I resume the machine. Too fast to read/memorize and I am tired of screwing with it. I did confirm experimentally that if I install CentOS with the Nvidia card in place the i915 drivers are not even installed on the OS drive. I am reviewing my installation/configuration notes and, provided I can restore my /home directory with my personal preferences etc., I should be able to rebuild it in less than a day. I think it will be worth the effort. I ran my original CentOS 6 install - updated of course - for 7 years.
In fact I have done both of the procedures you recommended and I have also killed the rogue driver. At least ps does not show it in memory anymore. I still get the conflict detected with stolen region error which made me think it was still present. I also get some other errors flash by when I resume the machine. Too fast to read/memorize and I am tired of screwing with it. I did confirm experimentally that if I install CentOS with the Nvidia card in place the i915 drivers are not even installed on the OS drive. I am reviewing my installation/configuration notes and, provided I can restore my /home directory with my personal preferences etc., I should be able to rebuild it in less than a day. I think it will be worth the effort. I ran my original CentOS 6 install - updated of course - for 7 years.
Ken
p.s. FANTASTIC artwork!!!
You're Welcome-
Glad you had success with blacklisting that driver.
Good luck with the rebuild.
Thanks! Nice of you to say positive feedback about my Art work.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.