Waydroid: Difference between revisions
→Camera forwarding: Add fix for AMD GPUs |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 117: | Line 117: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=== | === V4L2 camera forwarding === | ||
Camera forwarding using V4L2 is | Camera forwarding using V4L2 is broken on upstream, but can be achieved by using the Waydroid images of the [https://github.com/WayDroid-ATV Waydroid-ATV project]. Further we also need an unstable Waydroid version (>1.6.2) for running it.<syntaxhighlight lang="nix"> | ||
disabledModules = [ | disabledModules = [ | ||
"virtualisation/waydroid.nix" | "virtualisation/waydroid.nix" | ||
| Line 155: | Line 155: | ||
waydroid shell -- pm disable-user --user 0 com.google.android.gms.setup | waydroid shell -- pm disable-user --user 0 com.google.android.gms.setup | ||
</syntaxhighlight>In case the camera access will crash the Waydroid container, there's a recent image which solves this on AMD GPUs. Download it and extract the contents to <code>/etc/waydroid-extra/images</code>. After that recreate the environment as mentioned above but only issue <code>waydroid init -f</code>. | </syntaxhighlight>In case the camera access will crash the Waydroid container, there's a recent image which solves this on AMD GPUs. Download it and extract the contents to <code>/etc/waydroid-extra/images</code>. After that recreate the environment as mentioned above but only issue <code>waydroid init -f</code>. | ||
=== Running applications that differ from the current host architecture via libhoudini or libndk<ref>Need help with activating libhoudini for waydroid on NixOS | === Running applications that differ from the current host architecture via libhoudini or libndk<ref>Need help with activating libhoudini for waydroid on NixOS | ||