I’ve got a mostly working windows vm in proxmox, except I can’t use host cpu type instead having to use x86-64-v4 to get a working display. If I use host I get weird output on my monitor but the vm is fully functional as I can remote in and my cpu now shows up just fine. Wondering if anyone has any ideas what’s going on here.
That’s the output from your host GPU or the guest GPU?
This would be on the guest.
It LOOKS like it’s reading from the wrong place in memory for the frame data? Dumb question, but have you tried a different port? Are the results any different?
Got distracted by real life. Tried different ports, tried booting without anything plugged in and plugging in after the fact. That didn’t work as the monitors were never recognized. It’s just so bizarre that it happens only on cpu passthrough/host cpu mode.
Don’t mean to necro but have you tried disabling ram bar in your bios? I was having the same issue and disabling that gave me a working display on a 5900x with a 7700xt passed through to a windows vm
What mean about “ram bar in bios”?
I just see those:
- bios option “resize bar”.
- virt-manager option in pci device “rom bar”, it’s a checkbox option, also show in xml config file.
sorry meant disable rom bar in the bios of there servers mobo and ensure that the rom bar option is not checked when you pass through the gpu to the vm
Necroing this again as I’m having the exact same issue with the screen looking the same with a 7900XT.
I have tried disabling resize bar in the bios and rom bar in virt-manager, also dumped my vbios and overrode it, to not avail.
Any pointer would be great.
Did you find a solution for your issue ? I have the same problem.
After spending too much time on this I was able to get Windows to use the GPU normally with cpu=host by just setting some motherboard info in smbios. No clue why.
-args: -smbios type=1,manufacturer=“Maxsun”,product=“MS-Terminator B760M”,version=“VER%3AH3.7G(2022/11/29)”,serial=“Default string”,sku=“Default string”,family=“Default string”
