Page 1 of 1

Running Waydroid on CM3588 on Ubuntu/Debian

Posted: Sun Jun 02, 2024 6:57 am
by snakers41
Image
I am a happy owner of your product - CM3588 NAS Board.
First of all, kudos for the developers for the provided wiki and the pre-built images. Everything works just like intended.

I have tested the board mainly for 2 main use-cases, NAS and a TV-box. As for the NAS, it is simple, just use samba and mdadm and do basic linux stuff. As for the TV-box, it is a bit more flaky, as I would like to use CM3588 as a NAS and a TV-box at the same time.

Long story short, the main problem for me is hardware decoding for YouTube.
I have tested the official Ubuntu, Debian and Android TV images.

Key conclusions:

- On Debian / Ubuntu hardware decoding works with low CPU load and low temperatures for plain video files with the provided video-player. I used these files for testing;
- Android TV works properly, YouTube runs fast and cold;
- But on Debian / Ubuntu there are no proper native apps for YouTube with hardware decoding and 2K/4K support. Apps like FreeTube work nice, but the resolution is limited to 1080p;
- Using YouTube via browser is very "hot" (did not implement cooling yet, but the CPU throttles upon reaching 70 degrees for 2K video) and 4K just does not work. Also there is some jittering here and there;

So upon analysing this, I thought that may be the best option would be to use WayDroid to launch Android apps (some other apps also would be nice as well).

But after installing WayDroid I found this error:

ERROR: Binder node "binder" for waydroid not found


Googling this, I found this thread, where people managed to launch WayDroid on a similar board (Orange Pi 5) with a similar SOC (3588 variant as well).

So, maybe someone faced this and knows how to rebuild the kernel of the provided official images so that it runs WayDroid? Or some other method?

Many thanks!