You are not logged in.
Hi,
I'm in a bit of a pickle.
My current setup has an NVIDIA gpu and an AMD gpu. The AMD is being used for my arch host, and the NVIDIA is passed through to a KVM VM.
The passthrough works perfectly, however when I boot my pc, the SDDM login screen doesn't show up at all. I have to switch to tty2 and manually start my DE.
I have KDE installed, and I'm using hyprland.
I tried different mkinitcpio.conf configs, even specifically adding amdgpu (which if I understand correctly I don't need to do at all): MODULES=(vfio_pci vfio vfio_iommu_type1 amdgpu)
I tried messing around with the systemd-boot config, adding "quiet splash video=efifb:off amdgpu.dc=1" with no success.
Now this is not a huge issue as I'm still able to use the system, but it is quite tedious to switch the tty and manually start my DE every time I boot.
Output of lspci -k | grep -EA3 'VGA|3D|Display':
01:00.0 VGA compatible controller: NVIDIA Corporation Device 2d04 (rev a1)
Subsystem: InnoVISION Multimedia Ltd. Device 205e
Kernel driver in use: vfio-pci
Kernel modules: nouveau
--
07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 33 [Radeon RX 7600/7600 XT/7600M XT/7600S/7700S / PRO W7600] (rev c0)
Subsystem: Gigabyte Technology Co., Ltd Device 2418
Kernel driver in use: amdgpu
Kernel modules: amdgpu
--
0f:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raphael (rev c4)
Subsystem: ASUSTeK Computer Inc. Device 8877
Kernel driver in use: amdgpu
Kernel modules: amdgpu
Thank you for the help!
Offline
That output suggests you have 3 videocards in your system :
- amd raphael (integrated in your processor)
- amd Navi33 discrete card
- nvidia discrete card
Which card is set as default in the firmware of the system ?
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
In UEFI it says that the primary video device is PCIE. The only other option is integrated.
I don't see any other options to change the order.
The nvidia gpu is in the top pcie slot (which would be the primary I assume), and the amd is below. This was done as the bottom slot is connected to the chipset, and I wanted to avoid having to do the ACS override.
Offline
That suggests some possibilities :
- set the integrated card as default and use https://wiki.archlinux.org/title/PRIME to run some apps on the discrete amdgpu card
- configure sddm to use the discrete amd card (no idea if that's doable)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
After messing around more, I decided to keep it simple.
I disabled sddm and added a line to .zshrc to start hyprland after login:
[[ $(tty) == /dev/tty1 ]]&&exec hyprlandI don't need a fancy screen just to put in my password. I might revisit this in the future, but for now "if it ain't broke don't fix it".
Thanks anyways! ![]()
Offline