Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 1.42 KB

File metadata and controls

32 lines (26 loc) · 1.42 KB

linux-nvidia-waydroid-games

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:

  1. Test and contribute to upstream effort.
    • On my Blackwell card (RTX 5060 driver 580.105.08), vulkaninfo and vkcube works. Bevy 2d_shapes works (worse aliasing), but 3d_shapes does 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
  2. Find out how mesa works in Waydroid, either patch or rebuild image.
  3. Upstream to Waydroid