Try to find out how to play games in waydroid on a Linux machine with NVIDIA GPU only.
Warning
Currently this approach is not usable. See suboptimal approaches instead.
There are upstream efforts from Mesa/NVK to support NVIDIA-provided kernel module (NVRM).
Steps:
- Test and contribute to upstream effort.
- On my Blackwell card (RTX 5060 driver 580.105.08),
vulkaninfoandvkcubeworks. Bevy2d_shapesworks (worse aliasing), but3d_shapesdoes not. - How to build and test (extracted from upstream comment)
git clone https://github.com/NVIDIA/open-gpu-kernel-modules.git cd open-gpu-kernel-modules git checkout 580.95.05 # your version via `nvidia-smi` cd .. git clone https://github.com/no92/mesa-nvk-on-nvo.git cd mesa-nvk-on-nvo meson setup build -Dvulkan-drivers=nouveau -Dgallium-drivers= -Dnvidia-open-dir=/path/to/open-gpu-kernel-modules ninja -C build meson devenv -C build vkcube # any vulkan application here
- Study NVIDIA driver and contribute
- On my Blackwell card (RTX 5060 driver 580.105.08),
- Find out how mesa works in Waydroid, either patch or rebuild image.
- Patch is more preferable. On how to patch, see waydroid_script
- Upstream to Waydroid