Intel iGPU refusing to use modesetting driver

I can’t seem to get my Intel iGPU to use the “modesetting” driver.

I’ve done quite a bit of tinkering on this machine so it might be a setting I forgot to change back but I’m not sure where they would be since I don’t have any xorg.confs with “intel” or “I915” under the driver section, so I’m not sure what to do or where to look…

Any ideas???

If installed, try removing package xf86-video-intel.

Time ago, I have been able to force the i915 gpu (Intel HD 4000, Ivy Bridge) to use the modesetting.

What I did:
in /etc/X11/xorg.conf.d/20-intel.conf I put:

Section "Module"
  Load "modesetting"
EndSection

Section "Device"
  Identifier "Intel Graphics"
  Driver "modesetting"
EndSection

But worked worse, at least for me.

Try the following (/etc/X11/xorg.conf/90-modesetting.conf):

Section "ServerLayout"
	Identifier "layout"
	Screen "integrated"
EndSection

Section "Device"
	Identifier "integrated"
	Driver "modesetting"
	BusID "PCI:A:B:C"
EndSection

Section "Screen"
	Identifier "integrated"
	Device "integrated"
EndSection

You need to change the BusID appropriately. Use lspci:

00:02.0 VGA compatible controller: Intel Corporation ...

becomes

"PCI:0:2:0"