I have taken a look at all the documentation related to my issue. I have been trying to resolve this issue for weeks now and I am still actively working on it. I have isolated the problem being related to my gpu. I do not have an iGPU. My discrete GPU is AMD Radeon RX 6700 XT OC Edition.
To reiterate, my entire display freezes shortly after I put in my luks passphrase unless I set one of the kernel parameters:
nomodeset
rd.qubes.hide_pci=0b:00.0,0b:00.1
modprobe.blacklist=amdgpu
They all seem to be workarounds and do not fix the actual issue. I’m assuming amdgpu being loaded causes this issue but I’m unsure why. It gets stuck on:
[OK] Started Command Scheduler.
Starting Light Display Manger...
Starting Hold until boot process finishes up...
Similar issue reported by other users:
Below is the output from various commands with different kernel params:
With nomodeset (no changes to default kernel params):
[admin@dom0 ~]$ cat /proc/cmdline
placeholder root=/dev/mapper/qubes_dom0-root ro rd.luks.uuid=luks-520bbcf7-59d7-4f18-8843-b61ffe9d9ee1 rd.lvm.lv=qubes_dom0/root rd.lvm.lv=qubes_dom0/swap plymouth.ignore-serial-consoles nomodeset rd.driver.pre=btrfs rhgb quiet usbcore.authorized_default=0
[admin@dom0 ~]$ sudo lspci -k
[...]
0b:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 22 [Radeon RX 6700/6700 XT / 6800M] (rev c1)
Subsystem: ASUSTeK Computer Inc. Device 05c7
Kernel modules: amdgpu
0b:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 HDMI Audio [Radeon RX 6800/6800 XT / 6900 XT]
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 HDMI Audio [Radeon RX 6800/6800 XT / 6900 XT]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
[...]
[admin@dom0 ~]$ sudo modprobe amdgpu
modprobe: ERROR: could not insert 'amdgpu': Invalid argument
With the kernel parameter rd.qubes.hide_pci=0b:00.0,0b:00.1 and without nomodeset:
[admin@dom0 ~]$ cat /proc/cmdline
placeholder root=/dev/mapper/qubes_dom0-root ro rd.luks.uuid=luks-520bbcf7-59d7-4f18-8843-b61ffe9d9ee1 rd.lvm.lv=qubes_dom0/root rd.lvm.lv=qubes_dom0/swap plymouth.ignore-serial-consoles rd.qubes.hide_pci=0b:00.0,0b:00.1 rd.driver.pre=btrfs rhgb quiet usbcore.authorized_default=0
[admin@dom0 ~]$ sudo lspci -k
[...]
0b:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 22 [Radeon RX 6700/6700 XT / 6800M] (rev c1)
Subsystem: ASUSTeK Computer Inc. Device 05c7
Kernel driver in use: pciback
Kernel modules: amdgpu
0b:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 HDMI Audio [Radeon RX 6800/6800 XT / 6900 XT]
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 HDMI Audio [Radeon RX 6800/6800 XT / 6900 XT]
Kernel driver in use: pciback
Kernel modules: snd_hda_intel
[...]
admin@dom0 ~]$ sudo modprobe amdgpu
has no output
With the kernel parameter modprobe.blacklist=amdgpu and without nomodeset:
[admin@dom0 ~]$ cat /proc/cmdline
placeholder root=/dev/mapper/qubes_dom0-root ro rd.luks.uuid=luks-520bbcf7-59d7-4f18-8843-b61ffe9d9ee1 rd.lvm.lv=qubes_dom0/root rd.lvm.lv=qubes_dom0/swap plymouth.ignore-serial-consoles modprobe.blacklist=amdgpu rd.driver.pre=btrfs rhgb quiet usbcore.authorized_default=0
[admin@dom0 ~]$ sudo lspci -k
[...]
0b:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 22 [Radeon RX 6700/6700 XT / 6800M] (rev c1)
Subsystem: ASUSTeK Computer Inc. Device 05c7
Kernel modules: amdgpu
0b:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 HDMI Audio [Radeon RX 6800/6800 XT / 6900 XT]
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 HDMI Audio [Radeon RX 6800/6800 XT / 6900 XT]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
[...]
admin@dom0 ~]$ sudo modprobe amdgpu
the display then goes blank and freezes. I can’t do ctrl + fn + f2.
Here are my Xorg drivers (I have no idea what these do or if they’re related. I did have to run sudo qubes-dom0-update xorg-x11-drv-amdgpu for amdgpu_drv.so to appear. After that, I rebooted, removed nomodeset, and still no change. Still frozen display.):
[admin@dom0 ~]$ ls /usr/lib64/xorg/modules/drivers
amdgpu_drv.so ati_drv.so dummy_drv.so fbdev_drv.so intel_drv.so modesetting_drv.so nouveau_drv.so openchrome_drv.so qxl_drv.so radeon_drv.so v4l_drv.so vesa_drv.so vmware_drv.so