[SOLVED] How blacklist i915?

My desktop machine is running MGA5 and has both onboard Intel graphics + a separate Nvidia card. Due to issues with Nvidia driver I switched to nouveau and it had been working well. However, I wanted to see if I could instead just use the onboard Intel graphics. Problem is my older monitor has only DVI-D connectors and machine has only DP and HDMI connectors for the onboard. So bought Amazon cable for DP -> DVI, and used MCC to switch to intel driver. Unfortunately, all I saw from intel onboard was a screen full of many vertical colored lines. This is probably a cable issue, which I will investigate further via other equipment at work next week.
Anyway, so switched back to using nouveau, but now screen blanks at boot until DM appears. This did not happen prior to playing with intel driver via MCC. A bit of investigation suggests that this is due to i915 module loading and KMS. I see that i915 is now being loaded even though I am using nouveau. I am quite sure this was not happening prior to my experimentation with the intel graphics, but I cannot find any changes that MCC made that would now be causing i915 to load. So I tried to blacklist i915 by adding a blacklist-i915.conf file to /etc/modprobe.d. No change. Screen still blanks until DM and i915 is being loaded.
So my question is: how can I prevent i915 from being loaded? Also, any idea why it is now loading when it wasn't before I used MCC to test the intel driver?
Thanks in advance for any assistance of course!
Let me add that the reason I am fairly certain i915 was not loading previously is that I have a script to print out X info, and part of it uses lspci to look at graphics devices and their drivers. I had never seen the Intel card listed with drivers before, but now I see drivers listed for both cards, via following code:
Anyway, so switched back to using nouveau, but now screen blanks at boot until DM appears. This did not happen prior to playing with intel driver via MCC. A bit of investigation suggests that this is due to i915 module loading and KMS. I see that i915 is now being loaded even though I am using nouveau. I am quite sure this was not happening prior to my experimentation with the intel graphics, but I cannot find any changes that MCC made that would now be causing i915 to load. So I tried to blacklist i915 by adding a blacklist-i915.conf file to /etc/modprobe.d. No change. Screen still blanks until DM and i915 is being loaded.
So my question is: how can I prevent i915 from being loaded? Also, any idea why it is now loading when it wasn't before I used MCC to test the intel driver?
Thanks in advance for any assistance of course!
Let me add that the reason I am fairly certain i915 was not loading previously is that I have a script to print out X info, and part of it uses lspci to look at graphics devices and their drivers. I had never seen the Intel card listed with drivers before, but now I see drivers listed for both cards, via following code:
- Code: Select all
$ lspci -ks 00:02.0
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
Subsystem: Dell Device 06b9
Kernel driver in use: i915
Kernel modules: i915
$ lspci -ks 01:00.0
01:00.0 VGA compatible controller: NVIDIA Corporation GM107 [GeForce GTX 745] (rev a2)
Subsystem: NVIDIA Corporation Device 1065
Kernel driver in use: nouveau
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia_current