Go back to topic: Seamless GPU passthrough on Qubes OS with VirtualGL
Shutdown the template. Create a new VM from it. Set virtualization mode to HVM and kernel to Qube provided. Attach secondary graphics card to it. Boot, and execute **vglrun** with a command to get accelerated graphics. Wrapping a shell also works (**vglrun bash**) to avoid having to type it every time, but there is no obvious way to automate this at startup. | Shutdown the template. Create a new VM from it. Set virtualization mode to HVM and kernel to Qube provided. Attach secondary graphics card to it. Boot, and execute **vglrun** with a command to get accelerated graphics. Wrapping a shell also works (**vglrun bash**) to avoid having to type it every time, ~~but there is no obvious way to automate this at startup.~~ From https://wiki.archlinux.org/title/VirtualGL#Running_applications : > **Tip:** `vglrun` is actually just a shell script that (temporarily) sets some environment variables before running the requested application - most importantly it adds the libraries that provide all the VirtualGL functionality to `LD_PRELOAD`. If it better suits your workflow, you could just set those variables yourself instead. The following command lists all environment variables that vglrun would set for your particular set-up: > > > comm -1 -3 <(env | sort) <(vglrun env | grep -v '^\[' | sort) |
We are no longer accepting donations, and have moved on to other projects. We will not be able to adequately respond to further questions. The follow up information provided by users appears to be sufficient for now. |
Device compatibility:
Nvidia: Works but lower FPS reported on Nouveau/Mesa driver, proprietary driver is fine.
AMD: | **Device compatibility:** **Nvidia:** Works but lower FPS reported on Nouveau/Mesa driver, proprietary driver is fine. **AMD:** Working with Mesa after disabling MSI in template kernel command line with parameter **pci=nomsi**. Conflicts occurred having Nvidia drivers installed with the AMD card, VirtualGL reports no EGL devices while they are installed. A simple fix is possibly preloading the proper libraries. |
Instructions: | **Instructions:** |
Donations: | **Donations:** |