Skip to content

xbwwj/linux-nvidia-waydroid-games

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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

About

How to play android games on Linux with NVIDIA GPU only

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published