Dom0 Intel iGPU Xorg Config File Not Starting

Sorry if this has been asked before, I’ve read a bunch of the threads on GPU passthrough but couldn’t find something that works in my case.

So, I have a PC with an integrated Intel graphics card and a PCI NVIDIA card. Currently, dom0 is using the NVIDIA card (I installed Qubes with drivers latest) with nouveau. My end goal is to do GPU passthrough, but before that I’d first like dom0 to use the Intel card instead. Sadly, I’ve not been able to do this.

I’ve tried hiding the NVIDIA card with rd.qubes.hide_pci in grub (also tried just banning the nouveau driver) and making a xorg config file for the Intel card, but then when I reboot I get

[FAILED] Failed to start lightdm.service - Light Display Manager.

The xorg file I put in /usr/share/X11/xorg.conf.d/20-intel.conf and it’s

Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "DRI" "3"
BusID "PCI:blabla"
EndSection

Also, fwiw qvm-pci lists the NVIDIA card as VGA Controller and the Intel one as Display Controller. Not sure whether that matters.

1 Like

For Intel cards, the modesetting driver is a better bet in my experience. You may need to add nomodeset to your boot command-line

See Arch Linux docs

You will also want to check the Xorg logs to see what exactly it’s crashing about - could be one of several things

ls -l /var/log/X*
1 Like

Thanks! Yes, I switched to modsetting for the driver and it works now! I think I was also using the wrong format for the BusID field. I added more details here: NitroPC Pro 2 GPU and BIOS question - NitroPad, NitroPC - Nitrokey Support

2 Likes