Modern games in ultra 2K quality on qubes? It's more likely than you think!

This is a bit of a bragging post, but oh well. I’d like to officially announce brag that I’ve managed to get a modern game (Forza Horizon 4) to run on QubesOS at a stable >75 FPS on a 2K display.

I did not think this was possible to get such good performance, but after so many months spent tweaking I have come to think that it’s actually possible and voila, here it is!

Screenshots:

A large part of my set-up is based on @neowutran 's amazing Gaming HVM write-up, although I’ve made quite a few modifications and tweaks to make games run way faster and in a more stable way. If there’s interest, I can make a write-up about this.

14 Likes

I am ofcourse interested in the performance tweaks you found / used

2 Likes

I think once I find some time and release the rest of my tweak utils (so probably a month or two) I’ll make two posts. One will be a write-up on how to create a Gaming HVM with Optimus (based on neowutran’s guide) and the second one will be how to increase Qubes performance in general, as most of the tweaks I applied served to reduce load by other qubes and not necessarily “tweak” the gaming qube itself.

Nice thread. I have a beefy laptop with rtx4070 GPU in it. However, using PCIe passthrough to debian 13 qube with all the nvidia-driver packages installed only resulted in me playing Cyberpunk 2077 in 30 FPS (which sucks).

I would be very much interested in how I can improve my performance as well.

Can you link this?

yes :slightly_smiling_face:

1 Like

https://neowutran.ovh/qubes/articles/gaming_linux_hvm.html

1 Like

@neowutran how does one install nvidia-open drivers on a debian 13 system?

On debian the package name is “nvidia-open-kernel-dkms” i believe. But on my side, I am using my archlinux template

2 Likes

Alright. I have been using the proprietary nvidia-driver package (and its deps, suggested packages, etc.) on debian 13. I have my doubts about nvidia-open performing better than the proprietary one.

From my testing, usually the “open” one work better

Weird. The hunch usually is that the proprietary one works better.

Don’t be fooled by “open” name, it is still proprietary driver. Only the kernel<->driver interface is open. The driver itself is a closed source blob, but it is a more modern/recent implementation than the non “open” one. More open than the previous one but far from fully open source

3 Likes

I played even emulated console games in high fps with gpu passthrough years ago. On a maxed desktop with 2 amd and 1 modded nvidia for better reset compatibility.

Or is this about VIRGL?

No, this is about NVIDIA Prime Offload with GPU passthrough. I’m glad to hear you managed to achieve high performance as well! I made this post as I’ve had trouble achieving good performance (without insane specs) and it felt good to finally make it work. It also serves as a “teaser” for the guides I’m gonna write and I should probably get around to doing that… As always, though, life caught up and I need to find some more time one day.

1 Like

So an optimus laptop?
I had several and each was subtly differently wired.
The best one was an Acer. But it had a broken iommu.

1 Like

Yes, but not only. Optimus/PRIME Offload (or maybe just “dGPU Offload”, not sure it’s called PRIME on non-laptops) also works on modern desktop platforms, you simply plug your displays into your iGPU and do everything else the same way you would on an Optimus laptop.

1 Like

Is there any low hanging fruit (easy config) for getting vibe-coding platform rosebud.ai to run usably in a browser on a new non-gaming laptop?