khadas / fenix

One-stop script set to build Ubuntu/Debian images
GNU General Public License v2.0
208 stars 135 forks source link

WIP: Add chromium with webgl and accelerated playback #293

Closed viraniac closed 3 weeks ago

viraniac commented 1 month ago

This PR adds self compiled chromium package for noble. It also enables webgl support. This depends on https://github.com/viraniac/chromium-debs.

Observations so far:

Edge2 - 6.1 mali blobs: Webgl aquarium demo can do 60 FPS with 5000 fish. FPS varies between 50-60 when running 10000 fishes. 2k videos plays fine in youtube, Some 4k videos works fine, but others drop frames while still being watchable.

VIM4: Webgl aquarium demo can do 60 FPS with 1000 fish. 1080p videos plays fine. 2k video playback is mostly ok with minor dropped frames.

There are some issues I am currently working on:

VIM3/4: Chromium doesn't launch on first boot. But works after reboot. Youtube playback controls shows some artifacts in the background.

VIM3/4: On Noble, playing a video in fullscreen doesn't work correctly when playback controls are hidden. Also on vim4, exiting from fullscreen video causes screen to go black requiring a reboot.