I Broke My GPU Passthrough Setup Migrating from Fedora to Arch Linux HVM

,

Hello, I had GPU passthrough set up and working in a Fedora HVM which I deleted to recreate with archlinux and I can’t seem to get it working again in arch linux. I followed this guide: Qubes OS article

Whenever I try and start xorg I get

(II) AMDGPU(1): [KMS] Kernel modesetting enabled.
(EE) 
Fatal server error:
(EE) no screens found(EE) 
(EE) 

xorg.conf:

Identifier "Passthrough Layout"
Screen 0 "Passthrough Screen" Absolute 0 0
EndSection

Section "Device"
Identifier  "Passthrough GPU"
# name of the driver to use. Can be "amdgpu", "nvidia", or something else
Driver      "amdgpu"
# The BusID value will change after each qube reboot. 
BusID       "PCI:0:6:0"
EndSection

Section "Monitor"
Identifier "Passthrough monitor"
EndSection

Section "Screen"
Identifier "Passthrough Screen"
Device     "Passthrough GPU"
Monitor    "Passthrough Monitor"
EndSection

dmesg | egrep “drm|amdgpu”: https://paste.rs/w1jvY

Any clue why this isn’t working anymore?

1 Like

/var/log/Xorg.1.log contents: https://paste.rs/uot2u

1 Like

I mostly fixed it by adding amdgpu to modules in /etc/mkinitcpio.conf and disabling qubes-gui-agent. I was then able to start X through the qube console in qube manager and it works.

1 Like