BigAnteater / KVM-GPU-Passthrough

This is a simple, mostly automated guide to pass a GPU through to a VM.
316 stars 27 forks source link

Starts and Instantly shows sddm login screen. #13

Closed ARandomPerson7 closed 2 years ago

ARandomPerson7 commented 2 years ago

I have followed this single gpu passthrough guide and everything worked fine in the installation process, but once I try to start the VM the screen goes black and I it shows the sddm login screen again. I have already read issue #5 and have tried to apply the fix you suggested but that did not work. I have checked the hook logs but theres no error. When I ssh into my pc and run the vfio-startup.sh script it works as expected and after I run vfio-teardown.sh I get back into linux just as it's supposed to happen. To conclude this: My issue is that once the vm starts and vfio-startup.sh executed it instantly executes vfio-teardown.sh which is not supposed to happen and as I already said, when I run the scripts through ssh they work as expected and I get the same debug output as seen in the custom_hooks.log file.