Need advise on how to enable or logon to Ubuntu-Wayland (legacy kernel) on VIM3 or devices that have Amlogic S922X SOC. On both VIM Ubuntu 20.04 V0.9 kernel 4.9.224 20200530 and VIM3-Ubuntu 20.04 V0.9.8 kernel 4.9.241 20201201, I can only login to Ubuntu or Ubuntu-Classic but not on Ubuntu on Wayland. Once login to Ubuntu and when the command:
sudo systemctl restart gdm3
Only lead to a black blank screen with a blinking cursor.
Appreciate guidance on how to configure Ubuntu 20.04 V0.9 legacy kernel or V0.9.8 legacy kernel to be able to work on Ubuntu on Wayland.
High Drop Frames and CPU core Usage when playing YouTube Video 720p/60 or 1080p/25.
I am running the VIM3-Ubuntu-Desktop-Legacy-Kernel-Firmware-20201126 (V0.9.7) in Ubuntu-GNOME desktop environment.
Would appreciate your guide on how to enable GPU and VPU acceleration with this Ubuntu-Legacy-Kernel-Firmware (4.9.241). When in Firefox YouTube playing video of 720p/60 or 1080p/25, I notice very high dropped frames and all 6-CPU cores are operating at >90%.
Even simple background animation on Firefox page cause high CPU usage
Just for comparison, playing the same Firefox YouTube 720p/60 video on Khadas_VIM3-Ubuntu-Legacy-Firmware V0.9 (kernel 4.9.224 20200530) with Xfce/Xubuntu DE there is hardly any dropped frames and CPU usage is much lower.
@JFLIM that’s probably the DE, and the unoptimized graphics drivers showing a difference in the GPU accelerated task. you can try mainline linux with the beta panfrost drivers, and it should show better performance off the bat. (gnome is known to be VERY heavy)
I thought with the legacy kernel and mali drivers for GPU and VPU should give better performance for now. I had the presumption that in the VIM3-Ubuntu-Legacy-Image some of the mali GPU and VPU drivers were already installed and optimised, I could be wrong.
After seeing your results, I double check whether there is any setting in Firefox that is not default. Upon checking the Firefox settings (about:config). The poor video performance is mainly due to the Firefox “layers.acceleration.force-enabled = true”. My error in Firefox setting.
With Firefox “layers.acceleration.force-enabled = false” (default setting) the same video 720p/60 (Wolverine Adamantium Scene) the video performance is much better.
By the way, is there any GPU or VPU (mali-bifrost blob) available for VIM3-Ubuntu-Legacy-Firmware that can be installed to further improve the GPU and VPU performance?
GPU only works under framerbuffer, no X11 support.
VPU works with kodi ,kplayer and gstreamer, but all under framebuffer.
So for 4.9 kernel, no hardware acceleration under X11.
But for mainline kernel will have open source gpu driver Panforst support.
Installed mpv and youtube-dl but somehow cannot stream youtube video on mpv. Tried two others youtube video still have issue of “Failed to recognize file format”.
Edit:
$ mpv --hwdec=auto --hwdec-codecs=all https://www.youtube.com/watch?v=KzvVMiXx6Ag
mpv: /lib/aarch64-linux-gnu/libasound.so.2: no version information available (required by mpv)
mpv: /lib/aarch64-linux-gnu/libasound.so.2: no version information available (required by mpv)
mpv: /lib/aarch64-linux-gnu/libasound.so.2: no version information available (required by mpv)
mpv: /lib/aarch64-linux-gnu/libasound.so.2: no version information available (required by /lib/aarch64-linux-gnu/libSDL2-2.0.so.0)
mpv: /lib/aarch64-linux-gnu/libasound.so.2: no version information available (required by /lib/aarch64-linux-gnu/libSDL2-2.0.so.0)
mpv: /lib/aarch64-linux-gnu/libasound.so.2: no version information available (required by /lib/aarch64-linux-gnu/libavdevice.so.58)
mpv: /lib/aarch64-linux-gnu/libasound.so.2: no version information available (required by /lib/aarch64-linux-gnu/libavdevice.so.58)
mpv: /lib/aarch64-linux-gnu/libasound.so.2: no version information available (required by /lib/aarch64-linux-gnu/libsndio.so.7.0)
mpv: /lib/aarch64-linux-gnu/libasound.so.2: no version information available (required by /lib/aarch64-linux-gnu/libsndio.so.7.0)
mpv: /lib/aarch64-linux-gnu/libasound.so.2: no version information available (required by /lib/aarch64-linux-gnu/libflite.so.1)
[ytdl_hook]
[ytdl_hook] youtube-dl failed: not found or not enough permissions
Failed to recognize file format.
Exiting… (Errors when loading file)
Edit: As far as I can tell - libasound, libSDL2-2,libavdevice, libsndio, libflite were all installed.