By the way, have you set in Firefox “about:config” and in Chromium “chrome://flags” settings for hardware acceleration? My experience at times it helps in Firefox and Chromium hardware acceleration helps a bit but not much so far. At times without hardware acceleration on Firefox or Chromium the video performance is better not necessarily in terms of CPU load but on dropped frame rates.
But if you use MPV to play the same video up to 1080p/30 hwdec=v4l2m2m-copy helps in my devices a fair bit. Example “mpv --hwdec=v4l2m2m-copy videofile”. With mpv vo=gpu alone help significantly on my device in terms of CPU usage.
FYI. Just installed the khadas ubuntu 20.04 lts with kernel 4.9 and sm1_s905x3_4g_1gbit.dtb (renamed to dtb.img) from last CE.
Burn my PSSD + first boot + first login to ubuntu in 15 min…
Try this khadas-Vim3 XFCE-4.9.24` image by @darkstarBeelink Forum. Yes, you should use the legacy dtb from CE for your device.
ubuntu with kernel 5.12 and meson-sm1-x96-air-1000 or something like that boots but with the well-known problems.
On my device LAN, Wifi, Bluetooth & Sound all working with Khadas-Vim3-5.12.0 just as I mentioned before at times kernel panic during boot up but overall runs well on Ubuntu-Wayland except Synaptic Package Manager which hog the one CPU core up 100% for awhile. So far the only Ubuntu-Wayland session that Synaptic Package Manager launch and works.
Next step of optimization:
The X96AIRP3 is w/o fan cooling, so I’wd like to set the cpupower governor at persist start.
For me the governor conservative fits at best
$ sudo cpupower frequency-info
analyzing CPU 0:
driver: cpufreq-dt
CPUs which run at the same hardware frequency: 0 1 2 3
CPUs which need to have their frequency coordinated by software: 0 1 2 3
maximum transition latency: 50.0 us
hardware limits: 100.0 MHz - 1.91 GHz
available frequency steps: 100.0 MHz, 250 MHz, 500 MHz, 667 MHz, 1000 MHz, 1.20 GHz, 1.40 GHz, 1.50 GHz, 1.61 GHz, 1.70 GHz, 1.80 GHz, 1.91 GHz
available cpufreq governors: conservative ondemand userspace powersave performance schedutil
current policy: frequency should be within 100.0 MHz and 1.91 GHz.
The governor "conservative" may decide which speed to use
within this range.
current CPU frequency: 667 MHz (asserted by call to hardware)
There was discussion in an other topic @tripole and I did the
sudo systemctl enable cpupower --now
but after reboot the governor was set to performance.
I guess there must be create a service to do it on start, but how?
@strit or @spikerguy
FYI. I just installed a fresh Manjaro installation: https://github.com/manjaro-arm/vim3-images/releases/tag/20210607
and it seems that a user don"t get root-rights:
e.g.:
$ sudo cpupower frequency-info
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
Also with package manager, the authenfication window failed and closed.
User root works and I tried to set the user again as admin. Didn’t work.
Hi @Tiber,
I tried without the “boot.ini” (renamed it to boot.ini_backup), it does boot with mainline linux 5.12.9-1. Interesting. I thought it is the code that covert it to use the chainloader u-boot.ext to boot. Well it looks like in aml_autoscript and s905_autoscript already taken care of that.
if fatload ${devtype} ${devnum} 0x1000000 u-boot.ext; then go 0x1000000; fi;
Start up routine looks similar on my device with or without boot.ini. Thanks.
I tried out linux-vim 5.12.9-1 few hours ago and it still giving kernel panic on my device. While trying to reinstall the mainline linux 5.12.8-1, kernel panic strike during creation of new image. It corrupted the drive, rendering it not bootable anymore.
So this round wanted to try out Manjaro KDE Plasma-Wayland. Burned Manjaro-KDE 21.04 but I don’t seem to be able to find on the Greeter Login Screen the option to login to Plasma-Wayland (previously, on the Greeter Screen there is an option either to Login as Plasma Wayland or Plasma) now. May be missing on the config file. I am not familiar with KDE Plasma. Any idea how to start up KDE Plasma-Wayland?
I notice in KDE Plasma-Xorg/X11 with Panfrost enabled the glmark2-es2 score 326 is much lower than running on XFCE score 495.
Did check with gui pacman and found out thatl plasma-wayland-ssession and plasma-wayland-protocols are not installed. To have enable Plasma-Wayland we need to install plasma-wayland-ssession. Also read KDE Plasma-Wayland might not be that stable yet on KDE Plasma 5.21.5-1.
How do you find KDE Plasma-Xorg so far? Responsiveness compared to XFCE?
While Wayland is maturing quickly these days, you might still encounter issues.
But on KDE Plasma editions, you can install plasma-wayland-session, then logout and choose “Plasma (Wayland)” in the login manager and login again. Now you are running a wayland session.
Edit: Did you set cpupower governor=performance or conservative?
@strit Attention:I’ve installed from Github https://github.com/manjaro-arm/vim3-images/releases/download/20210517/Manjaro-ARM-kde-plasma-vim3-20210517.img.xz
Everything seems ok, the first start etc., but after update with package manager & reboot & login the box stand still. No more action possible. After re-start the same.
So I have no testing system for plasma-wayland-session
Hi @JFL
ad1: for me XFCE fit at best for the little China box, stable, fast, reliable. only the necessities on board to have desktop. And see also my benchmark.
ad2: I always use conservative as a standard due the missing active cooling of the box and the system keeps cooler.
ad3: I’ve checked with gui pacman, I’ve nothing seen . Perhaps if I can revover my KDE plasma installation …
wayland I’ve seen with well-kown khadas-ubuntu 20.04, but the performance on the same box wasn’t satisfying.
i am on stable branch, Manjaro-Arm-KDE (based image 21.04) updated to current stable branch Plasma 5.21.5-1, Just installed plasma-wayland-session using pacman gui and restarted and tried to login using Plasma (Wayland) but it just stuck at the Login Screen. Nothing happening. Ctrl+Alt+F1 return with a Mouse Arrow but cannot select anything. Power Cycle to restart and tried again same results. Tried this 4 times. Time to seek assistance.
Is there any other config file settings need to be set to get Plasma-Wayland to work?
No. But depending on your device, the drivers can be unstable for wayland.
I don’t recommend using Plasma wayland on Manjaro ARM at this time in general.