hello everyone i followed this guide Create a Gaming HVM everything work perfectly but.. i have a problem how i’m suppose to use my keyboard and mouse in the gaming hvm ? i need it for my other vm to do some task in the background ? for now sys-usb handle my keyboard and mouse what if i expose the keyboard and mouse to dom0 ? would i be able to use the mouse in the gaming hvm ? if yes how to do that ?
Are you using a separate monitor for gaming? I’m treading the water with this myself. The setup that works nicely but requires some hardware is:
- a KVM switch
- a PCI card with USB slots
You passthrough the PCI card to the gaming VM and connect the USB outputs of KVM to both this and your motherboard. This has good performance, and you can seamlessly switch input devices between sys-usb and the gaming HVM. Alternatively I believe you can activate qvm-features [VM] stubdom-qrexec 1 in your gaming HVM. This makes it possible to attach USB devices to it and does not require additional hardware but has supposedly worse performance. I didn’t test the latter too much but tested the former.
not at all i just switch from hdmi to displayport why ?
why you do that ? if we expose the keyboard and mouse to dom0 instead to sys-usb we must be able to use the keyboard and mouse inside the gaming hvm no ? or i don’t understand how the system works in qubes ?
Sys-usb already passes through your keyboard and mouse to Dom0. How do you think you are able to interact with the Qubes GUI? If you ran your HVM inside a window in Qubes GUI you could use it’s controls like with any other VMs. Since you’re using a separate display (separate cable counts as that) that’s outside of Dom0 GUI reach so you need some way to pass your keyboard and mouse directly to the HVM not Dom0.