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.
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.