Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Black screen and kicked back to login screen after a few seconds #5

Open
hibert2323 opened this issue Feb 4, 2022 · 3 comments
Open

Comments

@hibert2323
Copy link

hibert2323 commented Feb 4, 2022

I followed your guide successfully, but when I start my win10 vm I'm back at my sddm login screen after 4 seconds.
I am using a 1070 GTX for the passthrough on my fresh arch install. (KDE / sddm) Can you help me ?
custom_hooks.log
libvirtd.log

@BigAnteater
Copy link
Owner

Can you try renaming the vm to something other than "win10" and remove the GPU PCI devices? When you start it, it will likely spit out an error message that I can help decode.

@hibert2323
Copy link
Author

hibert2323 commented Feb 5, 2022

thanks for your replay. I followed your instructions, vm renamed to "test10", 2 GPU PCI devices removed. now it seems to start normally. I noticed that my USB controller is still configured. as a result, my keyboard is reconnecting to the vm and becomes unusable for the host. So i remove the USB conntroler as well. And now i have a headless vm running in the background, no errors. Do you need logs again ?

@hibert2323
Copy link
Author

hibert2323 commented Feb 6, 2022

I got it working now. In my case, the patched vbios file was located in /var/lib/libvirt/vbios/Rom.rom.
I mv it to /usr/share/vgabios/Rom.rom and updated the path in my GPU PCI device's .XML

Thank you anyway for your time and your guide ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants