You are not logged in.

#1 2024-11-10 14:07:46

ericarum
Member
Registered: 2024-11-10
Posts: 2

Boot freeze when loading vfio modules

I tried following the wiki page https://wiki.archlinux.org/title/PCI_pa … h_via_OVMF yesterday, but, after using the AUR package called gpu-passthrough-manager to automatically do step 1-3 and adding the amdgpu module after the vfio ones as the wiki told me to do, its somehow its still freezing, it did solve once but then immediately after rerunning the program one more time because i had accidentally removed one of the ids from vfio.conf it stopped working, until i removed the vfio modules themselves from mkinitcpio.conf.\
So this is ONLY happening when i have the vfio modules loaded.

so far i tried following this https://bbs.archlinux.org/viewtopic.php?id=290283

I'd like to know if there's any fix for this because i cant find any clear answers by just researching. smile

Offline

#2 2024-11-10 15:51:33

ericarum
Member
Registered: 2024-11-10
Posts: 2

Re: Boot freeze when loading vfio modules

adding onto the post, "dmesg | grep -i vfio" shows no output when i chroot into the installation, so i guess its not bounding correctly to my graphics card

if it matters, my specs are:

B550 mobo
Ryzen 5 5600x
Radeon 7800xt
32GB Ram
1TB NVMe SSD

Offline

#3 2024-11-10 16:03:58

cryptearth
Member
Registered: 2024-02-03
Posts: 1,010

Re: Boot freeze when loading vfio modules

the 5600x doesn't have a iGPU - so the only gpu present in your system is the 7800xt
the moment vfio drivers are loaded it get's "cut off" from the system - hence the boot output seems to "hang" although it actually does complete - you just can't see it
problem: gpu passthrough with only one gpu in the system only works if you have setup the vm to auto start or manual start it remote via ssh
also: unless you have it configured your mouse and keyboard aren't automatically forwarded - so you end up with the host without video output and the vm without input
solution: add a 2nd gpu for the host
or turn the question upside-down: why you want to passthrough your single gpu to a vm in the first place? maybe think about dual-boot instead of a vm

Last edited by cryptearth (2024-11-10 16:05:20)

Offline

Board footer

Powered by FluxBB