Open nurpabuccu opened 11 months ago
I only tested on hardware accelerated platforms (including virtio-gpu
);
And just tested, it's not working on software rendering platform (It's feasible although).
Why VNC? For production, WebRTC
might be a better streaming solution.
Thanks. Is there any good documentation or project you can recommend that i can follow for using WebRTC with aosp build emulator? Also with redroid is it possible to run emulator like in avdmanager with qemu vnc parameters? If it is and will work this way can be better solution maybe
redroid is a totally different solution from Android Emulator (or some other VM based solutions). redroid is container based, and pretty lightweight. Try porting WebRTC
solution (frontend / backend) from google cuttlefish.
Describe the bug VNC connection black screen
make sure the required kernel modules present
grep binder /proc/filesystems
nodev bindergrep ashmem /proc/misc
ashmem is missing it can't be loadedHi i am trying to connect to emulator via vncviewer but only getting blackscreen.
Command to run:
System: Linux 6.2.0-1016-azure arm64 Ubuntu 22.04
I can connect to emulator via scrcpy and abd but i want to connect via vnc. VNC is a need for me. You said "vnc is only for debug" in previous issues, what does that mean? If it is not usable is there any good documentation how can i add libvncserver and start vnc connection without issues?
Also i tried with redroid-11 too but get blackscreen again.
Edit: Tried it on ubuntu 20.04 x86_64 host. ashmem and binder available this time but got blackscreen on vncviewer.