redroid-doc icon indicating copy to clipboard operation
redroid-doc copied to clipboard

the maximum fps of Redroid on WSL2 is less than 12

Open wangjianpeng opened this issue 2 years ago • 5 comments

My OS is win11, 22H2 WSL2 is 5.15.133.1-microsoft-standard-WSL2

I had installed Ubuntu22.04 with wsl2, and remake the kernelto run redroid. finally, redroid could be connected with scrcpy ,but it's fps is too low which is 0-12.

  • grep binder /proc/filesystems
penney@wsl2ubuntu22:~$ grep binder /proc/filesystems
nodev   binder
  • grep ashmem /proc/misc
no result

I had try androidboot.redroid_gpu_mode from host and guest, fps is still low.

I have no idea how to make it with gpu acceleration ?

wsl2_nvidia wsl2_gpu redroid_scrcpy

wangjianpeng avatar Nov 28 '23 06:11 wangjianpeng

The GPU accelerating is not working currently on WSL2.

zhouziyang avatar Nov 29 '23 01:11 zhouziyang

I install ubuntu guest by hyper-V on windows host , and use GPU-P so that Ubuntu guest can work with host GPU.but when run redroid , it always crash with gpu host. does not it work with GPU-P on hyper-V ?

wangjianpeng avatar Jan 06 '24 06:01 wangjianpeng

@wangjianpeng Currently, only virtio-gpu para-virtulization is supported.

zhouziyang avatar Jan 06 '24 06:01 zhouziyang

I had spent more time try to use redroid on ubuntu guest by windows host ,but the result is almost not ok.I have no idea how to work with windows host . do you think redroid can work with GPU acceleration by ubuntu guest created with QEMU virtio-gpu on windows host ?

wangjianpeng avatar Jan 06 '24 06:01 wangjianpeng

@wangjianpeng Only tested on Linux host, not sure about Windows host support.

zhouziyang avatar Jan 08 '24 02:01 zhouziyang