brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: try Q35 instead of i440fx when a passthrough VM shows a black screen

Troubleshooting
~/tips/tip-unraid-vm-q35-machine-type

i440fx

Fix a dark monitor on a GPU passthrough VM by changing its machine type.

You’ve bound the GPU, assigned it to the VM, hit start, and the monitor stays black. Before reaching for anything exotic, I’d look at a setting most people never touch: the machine type.

Switch to Advanced View when you edit the VM and you’ll find Machine type with two families:

i440fx
Q35

According to the docs, i440fx is the default for Windows VMs and you should change it only if you have GPU passthrough issues. Q35 is the default for Linux VMs, and the docs recommend it for most modern systems, above all when you pass through a GPU. The Windows page lists Q35 for Windows 11, Server 2022 and Windows 10.

The docs’ checklist for a black screen after VM start goes in this order. First the host BIOS: set primary graphics to the integrated GPU, not the card you pass through, and update the motherboard and GPU BIOS. Then the VM: use OVMF (UEFI) instead of SeaBIOS and change the machine type from i440fx to Q35. Only after all that comes manual ROM injection, which the docs call a last resort.

An example: a Windows gaming VM with an NVIDIA card that stays dark on i440fx is exactly the case where I’d flip it to Q35 and try again before downloading any ROM files.

The caveat is the BIOS part of that list. The docs note that the BIOS type can only be set when creating a new VM, so going from SeaBIOS to OVMF means building a new VM around the existing vdisk. And if a VM works fine on i440fx, leave it alone.

Further reading: Unraid docs: VM setup, Unraid docs: Windows on a VM

More Troubleshooting tips Get-NetTCPConnection -State Listen modinfo -p usb_storage ps -o pid,lstart,etime,cmd -p 1234 sudo lsof -nP -p 1234 fc-match Helvetica All Troubleshooting tips (21) All topics

Link