Setting up VFIO on Bazzite

I have a Lenovo Legion 5 laptop with a Ryzen 4600h (with integrated graphics), GTX 1660 Ti and 16gb of ram. I want to setup a Windows vm for some Windows only things that aren't related to gaming, such as a Windows C++ development environment. I've enabled virtualization and enabled VFIO drivers, but I still got a few questions. 1. Can I rollback stuff in case something breaks? 2. Is it a good idea to use integrated graphics for the vm? 3. Is there any way to make it so the system unbinds gpus from vfio when I don't want to use them? Like if I bind integrated or dedicated graphics to vfio when I want to use the vm, then I stop using the vm, can I unbind them for host use?
8 Replies
mrvictorywin (Ping on reply)
you don't need vfio for using windows desktop #2 is likely not possible
Tillo
TilloOP3w ago
I don't want to dualboot Vms are just easier to manage
mrvictorywin (Ping on reply)
you can use a VM without passing thru a GPU
Tillo
TilloOP3w ago
I'm aware, but it's excruciatingly slow
mrvictorywin (Ping on reply)
sb sent me a video guide to make windows more bearable w/o GPU passthru, one sec
mrvictorywin (Ping on reply)
SysGuides
YouTube
How To PROPERLY Install Windows 11 on KVM (2024)
If you want to run Microsoft Windows 11 smoothly on the KVM hypervisor, you must take some additional steps. VIDEO CHAPTERS: 00:00:00 Intro 00:01:50 Enable XML editing 00:02:06 Start the Virtual Machine Manager wizard 00:03:41 Configure Chipset and Firmware 00:04:11 Enable Hyper-V Enlightenments 00:05:34 Enable CPU Host-Passthrough 00:06:03 Con...
mrvictorywin (Ping on reply)
window dragging is just laggy on qemu (not so much on virtualbox) but rest is usable mouse cursor is smooth after installing guest additions
Tillo
TilloOP3w ago
I'll take a look. I still might try gpu passthru How do I install the VirtIO Windows drivers? Nvm figured it out

Did you find this page helpful?