Manjaro arm on Amlogic Tv box?

I revisited this, and got up and running. I have 2 problems though.

  1. When trying to update via pacman, I get an error:

error: failed to commit transaction (conflicting files)
linux-firmware: /usr/lib/firmware/brcm/brcmfmac4356-sdio.khadas,vim2.txt exists in filesystem (owned by kvim2-firmware)

Fixed with sudo pacman -R kvim2-firmware

  1. Now, the other issue appears to be no sound. Seems Manjaro is not finding an audio output device. After posting this I feel like I recall seeing a possible solution here on the forumā€¦Iā€™ll double check but I have a dmesg just in case. Welcome to Manjaro-ARM~~Website: https://manjaro.org~~Forum: https://forum - Pastebin.com

Check whether g12_sound.sh is using Amlogic New CONF, if this is the case just revert to Amlogic OLD CONF. Had similar issue before when I updated from a very old linux kernel to a very much newer linux kernel.

2 Likes

Which device are you using and which dtb ?

The device is a Transpeed X3 Air(Sofobod HK1 Box, Vontar X3 clone?).

I am using the h96max-x3-test8.dtb listed above.

And that did the trickā€¦

One other question, the desktop(KDE) has a decent amount of lag to it. Should I expect that to disappear if I installed Manjaro to the internal storage rather than booting from sdcard?

I am running KDE from SD Card too. Yes, at times, KDE Plasma-X11 seems lagging especially right after boot up. That is the reason wanted to try out in Plasma-Wayland whether performance improve.

But could not login to Plasma-Wayland session in KDE Plasma 5.21.5 and also on the latest KDE Plasma 5.22.1! Just stuck/freeze on Login Greeting Screen.

Edit: Plasma-X11 5.22.1 with MESA 21.1.2 and Panfrost enabled, performance wise is reasonable. The glmark2-es2 score of 318 with MESA 21.1.2-1 and Panfrost enabled is still low compared to Manjaro XFCE with MESA 21.1.1-1.

At least with MESA Stable 21.1.1-1 or 21.1.2-1 there is NO system slowing down running in XFCE Xorg/X11 as compared to current MESA-GIT where the system slows down as uptime progresses and the easiest tell tale sign is running the glmark2 benchmark over time it you will notice the glmark2 score drop significantly over time and it is not due to thermal issue. Not sure whether this is a bug in the current MESA-GIT, I noticed this issue on MESA-GIT 21.2.0-devel since May 19 onwards. I have not read any complain on this on MESA-GIT thus far though. But current MESA-GIT donā€™t seem to this issue on Ubuntu-Wayland and same issue on Ubuntu-XFCE with current MESA-GIT which same as in Manjaro XFCE.

@spikerguy, I just updated to latest Stable Update 2021-06-18 with Plasma 5.22.1 and MESA 21.1.2 but once again Plasma-Wayland session does NOT work. Is it due to settings? I have installed plasma-wayland-session module. Is it a bug?

 Operating System: Manjaro-ARM
    KDE Plasma Version: 5.22.1
    KDE Frameworks Version: 5.83.0
    Qt Version: 5.15.2
    Kernel Version: 5.12.11-1-MANJARO-ARM (64-bit)
    Graphics Platform: X11
    Processors: 6 Ɨ 
    Memory: 3.7 GiB of RAM
    Graphics Processor: Mali G52

Hi @danboid, Are you able to login on Plasma-Wayland session with the latest KDE Plasma 5.22.1? On my device, just stuck/freeze on the Plasma-Wayland Login Screen. Have to power cycle to reboot.

JFL:

Interesting! On my X96 Air (Mali G31), GLES barely works under Xorg. I get a glmark score in the 30ā€™s under XFCE unstable whilst under Wayland its closer to 300.

EDIT

The good news is that Iā€™ll be switching from MATE to XFCE for an X desktop because it looks like XFCE finally has working (if basic, 2X only) HiDPI scaling support under Manjaro unstable. It had several issues drawing the panel and its menu when scaled until very recently. MATE doesnā€™t seem to like ARM Linux much. It doesnā€™t run well on my Nano either but ultimately I do want to stop using X and fully move to Wayland ASAP.

On my x96 Air (Mali G31) with gnome wayland I get glmark2es-wayland score of 400
I think the performance under gnome wayland is much more optimize with panfrost

Hi dante

Which model of X96 Air do you use and are you running Manjaro stable or unstable?

I have a X96 air P3. Iā€™m on unstable branch (with the latest linux-vim kernel), but Iā€™m using mesa from archlinuxdroid repo.

1 Like

Yes, mesa-git works well on gnome-wayland but mesa-git (from archlinux or Manjaro repo) on XFCE (X11) on my device it has an issue with system becoming none responsive as uptime progresses but XFCE with stable Mesa 21.1.1-1 NO issue. Wanted to try out KDE Plasma-Wayland .

@danboid, does this mean you are able to logon to KDE Plasma (Wayland) on KDE Plasma 5.22.1? Cannot login to Plasma (Wayland) session on my device (G52).

Hi JFL

I did a fresh install of Manjaro unstable today and I am now able to login to plasma wayland under unstable again. However, a while back I was able to set the desktop scaling factor in the system settings but that, along with a few other display settings, isnā€™t working although I think we can work around these probs using the right plasma EVs and wlrandr to set res etc.

Hi dante6913:

I didnā€™t know about the archlinuxdroid repo, thats very interesting. Iā€™ll have to try their mesa to see if I get better results.

I wonder what tweaks they make versus the regular Manjaro mesa-git package? Do you know if theyā€™ve got the PKGBUILD files available anywhere?

Hi danboid,
This is interesting. As far as I can tell, current Unstable Branch is also having KDE Plasma 5.22.1-1 same as in current Stable Branch that I am on.

I installed mesa-devel-git from the archlinuxdroid repo under unstable. glmark2-es2-wayland went from a glmark2 score of 292 with the normal unstable mesa to 310 using mesa-devel-git. I have not adjusted the gpu governor settings so maybe I can get it higher?

I get errors when I try to run glmark2-es2-wayland under both gnome wayland and sway. GNOME says Could not initialize canvas. glmark2 used run fine under Wayland gnome.

I think its just a daily build from The mesa git

1 Like

Hi @spikerguy,

FYI, updated KDE 21.04 to latest Stable Update 2021-06-18, on mainline linux 5.12.11-1. Bluetooth is NOT working basically BCM4356A2.hcd is missing. I suspect the vim3 firmware or mainline firmware does not have this BCM4356A2.hcd firmware. Once I copy BCM4356A2.hcd to /usr/lib/firmware/brcm/ Bluetooth works.

@spikerguy,

Just downloaded and burn new Manjaro-Arm GNOME Vim3 21.06. After numerous kernel panic during boot up process or right after login (linux-vim3 5.12.9-1 issue with GT King Pro), finally able to boot up and replace linux-vim 5.12.9-1 with mainline linux 5.12.11-1 (now system stable only with the known issues of Reboot and Clean Shutdown).

For your information, NO Sound (g12_sound.sh configuration issue. Need to revert to Amlogic OLD CONF) and NO Bluetooth (missing BCM4356A2.hcd . I donā€™t think the Manjaro Main Firmware contain this file which is required by GT King Pro for Bluetooth to work).

On first boot up, NO Desktop Hardware Acceleration on GNOME (WAYLAND) or GNOME Xorg sessions eventhough the /etc/X11/xorg.conf.d/01-panfrost.conf is already set with ā€œglamorā€ by default. But on second boot up on GNOME, Panfrost is enabled! Will update on GNOME Xorg hardware acceleration later.

Manjaro-Arm GNOME 40.2 Edition Desktop is quite different from Ubuntu-Desktop (GNOME 3.38 or 3.36).

The keyboard setting does not seems to follow the initial keyboard setting during first boot settings of US keyboard. On first boot up the keyboard was set to ā€œENGLISH (UK)ā€. Issue resolved by Add Keyboard "ENGLISH (US) on GNOME Keyboard Settings.

Thanks for adding MANJARO-ARM GNOME Edition. GNOME-Wayland works as opposed KDE Plasma 5.22.1 or 5.21.5 where I cannot login to Plasma (Wayland) session.

Edit: Login to GNOME Xorg, check with ā€œglxinfo -Bā€, Panfrost NOT enabled. Open /etc/X11/xorg.conf.d/01-panfrost.conf: Option ā€œAccelMethodā€ ā€œnoneā€. Changed to ā€œglamorā€ and re-login to GNOME-Xorg session, Now Panfrost enabled.

Not sure whether I am noticing this correctly, it seems on GNOME (WAYLAND) the ā€œmouse pointer/arrowā€ is does not flicker or flicker as much as in GNOME Xorg session.

1 Like

I have mostly ā€˜finishedā€™ the Amlogic TV boxes wiki page now, the initial version at least:

https://wiki.manjaro.org/index.php/Amlogic_TV_boxes

What it needs now is more users to add more info re the best dtb file for their box to the ā€˜Recommended .dtb filesā€™ section.

2 Likes