September 13, 20232 yr Hey there im having, since kinda ever, the issue that all my VMs (windows 11, linux etc) are all booting with a blackscreen until the login screen of windows/ubuntu/ fedora is shown. I'm unable to see the virtual bios posting or an update of a kernel or windows update. Everything else is working just fine like audio opengl etc. Attached is my vm.xml for a linux variant vm.xml
November 7, 20232 yr Author Does nobody have an idea why the boot process is not shown? Nor the post of the bios?
November 8, 20232 yr Solution From your xml you are using legacy bios boot (seabios). The issue could be related to legacy bios vs the gpu you are passing through (the 3060 is a recent gpu with uefi support), not able to display legacy boot. You should convert your vm to uefi bios (ovmf): this means convert the installed vm to uefi and also modify the xml template to boot with uefi-ovmf bios). -- To confirm the culprit you can temporary switch from gpu passthrough to vnc, and I'm quite sure that with vnc you will see the verbose boot. Edited November 8, 20232 yr by ghost82
November 8, 20232 yr Author Yes. That's it. Last night I read again how to do this. And my setup and settings never changed since my GTX 960 or so. This said: - do not use a rom - do use ovmf * If you have a more recent GPU That's it.
November 8, 20232 yr the "do not use a rom" should be changed to "use a rom only when needed", when the gpu you are passing through is the primary gpu, flagged as boot vga by the host.
November 9, 20232 yr Author ahh another point i missed. i switched gpu order in the board some month ago so that i can see cli and have a passthrough. Thats why i do not need that anymore. Cause i was sure i tried without rom and ovmf. Thanks for clearifying again.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.