VM Shutting Down when started
Opened this issue · 6 comments
Hey guys, I've been trying to get single gpu passthrough working for several days to no avail. Finally asking for help since I have no idea what I'm doing wrong. This time I followed this (https://github.com/QaidVoid/Complete-Single-GPU-Passthrough) guide and have done all the steps. The problem is that when I start the vm it goes to a black screen and then to my motherboards loading screen, though nothing happens. I don't understand what the problem is in the logs: https://hastebin.com/ofazewelum.swift.
Specs: B450 Tomahawk, Ryzen 3600x, Nvidia 2080 Super, and running Ubuntu 21.04. SVM, NX, and IOMMU and enabled in bios.
Libvirt is exiting with following error:
libvirt: error : libvirtd quit during handshake: Input/output error
Does the VM work without passthrough?
If not, I think libvirt is broken on your system.. In that case, you can try uninstalling it completely and installing it again or downgrading to the older version of libvirt..
Libvirt is exiting with following error:
libvirt: error : libvirtd quit during handshake: Input/output error
Does the VM work without passthrough?
If not, I think libvirt is broken on your system.. In that case, you can try uninstalling it completely and installing it again or downgrading to the older version of libvirt..
The vm works fine without passthrough, tried a reinstall of libvirt but didn't help.
I also tried changing one of the hook scripts and I get this now, removing the devices from the vm (just to test) doesn't help
2021-07-11 05:12:41.199+0000: Domain id=3 is tainted: custom-argv 2021-07-11T05:12:41.268501Z qemu-system-x86_64: -object input-linux,id=mouse1,evdev=/dev/input/by-id/usb-Logitech_G502_HERO_Gaming_Mouse_156F394B3733-if01-event-kbd: Could not open '/dev/input/by-id/usb-Logitech_G502_HERO_Gaming_Mouse_156F394B3733-if01-event-kbd': Permission denied 2021-07-11 05:12:41.359+0000: shutting down, reason=failed
Please post your libvirt hook scripts and also the devices list from /dev/input/by-id
.
https://hastebin.com/ulokonuhip.bash
I can post the device list in a few hours if thats okay, not home right now
Your script worked fine for me.
Not sure what might be the cause of your issue..
I still think it might be the problem with libvirt.. If you can, downgrade libvirt and check..
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.