Manjaro ARM for Odroid N2

trwn2p
Posts: 75
Joined: Fri Oct 16, 2020 5:12 am
languages_spoken: english
ODROIDs: N2 Plus
Has thanked: 3 times
Been thanked: 13 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by trwn2p »

See Chewitts kernel repo info in the panfrost thread. He's the Librelec packager btw.

User avatar
spikerguy
Posts: 50
Joined: Thu Apr 30, 2020 12:35 am
languages_spoken: english
ODROIDs: HC4
Has thanked: 15 times
Been thanked: 16 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by spikerguy »

Ok thanks, I will first test on `linux-vim` kernel as it is coming from chewitts trees if it fails than I will try with chewitts branch directly.
Manjaro ARM Team

Argentum_90
Posts: 20
Joined: Sat Nov 02, 2019 1:42 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Manjaro ARM for Odroid N2

Post by Argentum_90 »

Hi. I installed Manjaro today in my N2, but not possible to update or install anything at start. I get this message: “Conflict between on2-post-install and khadas-utils”.

When I uninstall any of them, I can then update all. Nearly 800 updates.

When the update finishes and I reboot, the system turns literallh unusable and laggy. I get artifacts on screen and I can’t even move the cursor for seconds. Anyone here has the same problem?

trwn2p
Posts: 75
Joined: Fri Oct 16, 2020 5:12 am
languages_spoken: english
ODROIDs: N2 Plus
Has thanked: 3 times
Been thanked: 13 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by trwn2p »

How did you install and from where? I'll give you what I use to install.

1) Go to Manj arm forum and read the how to contribute thread.
2) Use this tool as it suggests: https://gitlab.manjaro.org/manjaro-arm ... arm-tools on an Arch or Manjaro
x64 system.
3) DD the img file to sdcard or even a 2.5" HDD over usb3. That's what I use. I run KDE on panfrost.

This is the only way I'd use for Manj. Their stock images aren't that great.

Archetech

serious96
Posts: 16
Joined: Tue Jul 23, 2019 8:15 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 9 times
Been thanked: 3 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by serious96 »

@trwn2p i got same problem as @Argentum_90 too, i flash the manjaro odroid n2 img to emmc using etcher. i uninstall both on2-post-install and khadas-utils, do update and then restart. after that everything become unstable. did u think it will be different if we use manjaro arm tool to flash emmc rather than using etcher? and should i try to install jgmdev archlinux kernel?

trwn2p
Posts: 75
Joined: Fri Oct 16, 2020 5:12 am
languages_spoken: english
ODROIDs: N2 Plus
Has thanked: 3 times
Been thanked: 13 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by trwn2p »

manj-arm-tool builds the image. dd burns the image. jgmdev kernel is optional after install. Just add his repo.

jonathon
Posts: 109
Joined: Fri Oct 30, 2020 4:40 am
languages_spoken: English
ODROIDs: N2+
Has thanked: 33 times
Been thanked: 32 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by jonathon »

Argentum_90 wrote:
Wed Feb 10, 2021 8:21 am
Hi. I installed Manjaro today in my N2, but not possible to update or install anything at start.
The Manjaro forum is the best place to get support for Manjaro.
--
N2+ 4GB - Arch Linux ARM - MATE - Xorg - Kernel 5.11-zen - Desktop use
<sangy>jonathon: big fan, happy to see you back

trwn2p
Posts: 75
Joined: Fri Oct 16, 2020 5:12 am
languages_spoken: english
ODROIDs: N2 Plus
Has thanked: 3 times
Been thanked: 13 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by trwn2p »

The Manjaro forum is the best place to get support for Manjaro.
Not for the N2 it's not from my experience. No N2 posts for the last month in their forum. No patched kernels for N2 so KDE etc dont work with panfrost on and on.

Speaking of kernels has jgmdev got one patched yet in his repo that works for kde?

jonathon
Posts: 109
Joined: Fri Oct 30, 2020 4:40 am
languages_spoken: English
ODROIDs: N2+
Has thanked: 33 times
Been thanked: 32 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by jonathon »

It kind of sounds like Manjaro isn't a good option for the N2 then... Maybe try one of jgmdev's ALARM images?
--
N2+ 4GB - Arch Linux ARM - MATE - Xorg - Kernel 5.11-zen - Desktop use
<sangy>jonathon: big fan, happy to see you back

odroidn2user
Posts: 410
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 115 times
Been thanked: 107 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by odroidn2user »

jonathon wrote:
Sat Feb 27, 2021 9:36 pm
It kind of sounds like Manjaro isn't a good option for the N2 then... Maybe try one of jgmdev's ALARM images?
Manjaro ARM is using the mainline kernels for their images, whereas jgmdev uses custom made patched kernels for his image.
Until mainline support further improves, you can imagine fairly easily which one will work better.

No big companies paying for improving hardware support.
That said, things improve all the time, so patience....

I like the idea of using the Manjaro distribution / infrastructure with jgmdev's kernel.
Not sure how that works, but that sounds like an excellent solution.

jonathon
Posts: 109
Joined: Fri Oct 30, 2020 4:40 am
languages_spoken: English
ODROIDs: N2+
Has thanked: 33 times
Been thanked: 32 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by jonathon »

Sure, just depends whether you want to use Arch on your N2(+) now or not. ;)

Personally, I'm quite happy with how well ALARM works.
--
N2+ 4GB - Arch Linux ARM - MATE - Xorg - Kernel 5.11-zen - Desktop use
<sangy>jonathon: big fan, happy to see you back

User avatar
spikerguy
Posts: 50
Joined: Thu Apr 30, 2020 12:35 am
languages_spoken: english
ODROIDs: HC4
Has thanked: 15 times
Been thanked: 16 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by spikerguy »

Hello.
Manjaro ARM 21.02 is released with Odroid N2 and N2+ images.
Link
https://forum.manjaro.org/t/manjaro-arm ... =spikerguy


The sluggishness after update is due to the unstable panfrost support. If use can switch back to llvm then ur becomes stable again.
Feel free to tag me here for manjaro arm support.
These users thanked the author spikerguy for the post (total 2):
jonathon (Mon Mar 01, 2021 8:47 am) • odroidn2user (Mon Mar 01, 2021 5:36 pm)
Manjaro ARM Team

jonathon
Posts: 109
Joined: Fri Oct 30, 2020 4:40 am
languages_spoken: English
ODROIDs: N2+
Has thanked: 33 times
Been thanked: 32 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by jonathon »

spikerguy wrote:
Mon Mar 01, 2021 8:02 am
Manjaro ARM 21.02 is released with Odroid N2 and N2+ images.
Congratulations!

Are the sources available anywhere? Is there anything that can be useful to other distributions, e.g. upstreamed to ALARM?
--
N2+ 4GB - Arch Linux ARM - MATE - Xorg - Kernel 5.11-zen - Desktop use
<sangy>jonathon: big fan, happy to see you back

User avatar
rooted
Posts: 8727
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 743 times
Been thanked: 376 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by rooted »

spikerguy wrote:Hello.
Manjaro ARM 21.02 is released with Odroid N2 and N2+ images.
Link
https://forum.manjaro.org/t/manjaro-arm ... =spikerguy


The sluggishness after update is due to the unstable panfrost support. If use can switch back to llvm then ur becomes stable again.
Feel free to tag me here for manjaro arm support.
Thank you for the update.

User avatar
spikerguy
Posts: 50
Joined: Thu Apr 30, 2020 12:35 am
languages_spoken: english
ODROIDs: HC4
Has thanked: 15 times
Been thanked: 16 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by spikerguy »

Argentum_90 wrote:
Wed Feb 10, 2021 8:21 am
Hi. I installed Manjaro today in my N2, but not possible to update or install anything at start. I get this message: “Conflict between on2-post-install and khadas-utils”.

When I uninstall any of them, I can then update all. Nearly 800 updates.

When the update finishes and I reboot, the system turns literallh unusable and laggy. I get artifacts on screen and I can’t even move the cursor for seconds. Anyone here has the same problem?
For those getting error of conflict then please uninstall khadas-utils pkg only and not on2-post-install pkg as it contains audio and GPU config.

I will try to update the pkg soon with GPU configured back to llvm until panfrost is stable.

Please feel free to tag me for Manjaro ARM request.
Manjaro ARM Team

trwn2p
Posts: 75
Joined: Fri Oct 16, 2020 5:12 am
languages_spoken: english
ODROIDs: N2 Plus
Has thanked: 3 times
Been thanked: 13 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by trwn2p »

Just an update for those wanting to run latest Manjaro on their N2:

Code: Select all

   screenfetch
                             muser@manj-n2p
                             OS: Manjaro-ARM 21.04
                             Kernel: aarch64 Linux 5.11.11-1-ARCH
         #####               Uptime: 2h 16m
        #######              Packages: Unknown
        ##O#O##              Shell: bash 5.1.4
        #######              Resolution: 2560x1440
      ###########            DE: KDE 5.80.0 / Plasma 5.21.3
     #############           WM: KWin
    ###############          GTK Theme: Breeze [GTK2], Breath-Dark [GTK3]
    ################         Icon Theme: breath2-dark
   #################         Disk: 9.1G / 296G (4%)
 #####################       CPU: Unknown @ 6x 1.8GHz
 #####################       GPU: Mali G52 (Panfrost)
   #################         RAM: 1205MiB / 3696MiB
   
My Manjaro KDE with fresh update. I boot direct to external 2.5 hdd caddy over usb3 and a QHD hdmi mon @2560x1440. Been great for months. I also use jdmdev's repo for his patched 5.11.x for latest panfrost drm.
These users thanked the author trwn2p for the post:
odroid (Thu Apr 15, 2021 8:44 am)

odroidn2user
Posts: 410
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 115 times
Been thanked: 107 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by odroidn2user »

Good news, Manjaro ARM 21.04 has arrived.
https://forum.manjaro.org/t/manjaro-arm ... ased/61974
Currently we have download images for: Raspberry Pi 4, Rock Pi 4C, RockPro64, Khadas Vim 2, Khadas Vim 3, Odroid N2, Pinebook and the Pinebook Pro.
Features:
- New packages from upstream and Manjaro ARM.
- XFCE 4.16
- KDE Plasma 5.21
- The Pinebook Pro got DP altmode support back, thanks to Ayufan for putting together working hacky patches for that.
- The Odroid N2 images also work on the Odroid N2+.
- Now uses Plymouth as default splash.
So anyone test out the 21.04 Manjaro release on the N2 yet? (non jgmdev kernel)
Is Panfrost going right? Audio? Bootsplash working? Usable for actual daily work?
Looking for an experience report (before investing yet more time).

serious96
Posts: 16
Joined: Tue Jul 23, 2019 8:15 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 9 times
Been thanked: 3 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by serious96 »

is there any newbie friendly guide to run sway with manjaro?

odroidn2user
Posts: 410
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 115 times
Been thanked: 107 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by odroidn2user »

odroidn2user wrote:
Tue Apr 20, 2021 2:57 am
Good news, Manjaro ARM 21.04 has arrived.
https://forum.manjaro.org/t/manjaro-arm ... ased/61974
Currently we have download images for: Raspberry Pi 4, Rock Pi 4C, RockPro64, Khadas Vim 2, Khadas Vim 3, Odroid N2, Pinebook and the Pinebook Pro.
Features:
- New packages from upstream and Manjaro ARM.
- XFCE 4.16
- KDE Plasma 5.21
- The Pinebook Pro got DP altmode support back, thanks to Ayufan for putting together working hacky patches for that.
- The Odroid N2 images also work on the Odroid N2+.
- Now uses Plymouth as default splash.
So anyone test out the 21.04 Manjaro release on the N2 yet? (non jgmdev kernel)
Is Panfrost going right? Audio? Bootsplash working? Usable for actual daily work?
Looking for an experience report (before investing yet more time).
To answer my own question, it actually works pretty well!

There is a downloadable and flashable image for the N2!
There is panfrost out of the box, including the famous blinking and disappearing mouse bug (mostly with the Open GL compositor).
There is the HDMI/monitor driver issues you´d expect, including the pinky gray and the compression-like artifacts on certain monitors.
Also, there is some weird and frequent stalling/freezing, which seems to go away when you install the cpupower package and configure (/etc/default/cpupower) the governor to performance and systemctl start and systemctl enable cpupower. (update: it is still a problem)
Oh and then, ofcourse, there is the no working power management. Which makes reboots and poweroffs impossible on mainline. Pulling the cord remains your friend.
And no audio jack support. USB audio devices are your friend as well.

But then, Panfrost actually works quite nice! (update: well...)
KDE looks good and is configured well, fully up to date software, pretty decent hardware support in general - other then N2's own hardware clearly, which is rather poor.
Good selection of software (though the missing cpupower package is puzzling), easy installation and configuration... Comes with zram swap enabled out of the box!
Video playing performance (MPV, no hardware decoding) is pretty good and general responsiveness is good as well.

You would have to wonder about the wallpaper on SDDM though. There is no wallpaper blur in SDDM, which means the login box is right on top of the Manjaro logo on the wallpaper!?
Use the lovely default Manjaro ARM wallpaper with the logo at the bottom right already, it is practically made for SDDM!

And yes, the plymouth bootsplash looks good and makes it all look rather professional (if you ignore the recent powercord pulling). :)

It actually works quite nicely.
Easily the best release since 19.08.
Congrats to the devs!
Last edited by odroidn2user on Wed Apr 21, 2021 8:41 pm, edited 1 time in total.
These users thanked the author odroidn2user for the post:
odroid (Wed Apr 21, 2021 9:18 am)

odroidn2user
Posts: 410
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 115 times
Been thanked: 107 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by odroidn2user »

OK, experience update after using it for normal stuff for some time:
However positive the early results where, that Manjaro / mainline kernel is not ready for actual use.

It keeps stalling left and right, and there is mad screen tearing. And no compositing setting will make that go away.
And blinking mouse cursors are one thing, disappearing mouse cursors are a pain.
Panfrost's Bifrost support leaves a lot of wanting as well, that mouse issue has been around for quite a while now and does not get solved.
But it seems hacking Apple's M1 chipset is more interesting than fixing mouse cursors. I can't blame them, but well, there you go.

I'm afraid this is not yet right for real use.
Still the best since 19.08/10, but still not ready for actual use.

odroidn2user
Posts: 410
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 115 times
Been thanked: 107 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by odroidn2user »

So, jgmdev's archlinux repository can be enabled.

What i've figured out so far is:
Edit /etc/pacman.conf to add the repository like this:

Code: Select all

[archlinuxdroid]
SigLevel = Optional TrustAll
Server = http://archlinuxdroid.tk/archlinuxdroid/aarch64
And then tobetters kernel becomes available, open add/remove software, update the packages.
And install linux-odroid-511 and linux-odroid-511-headers

That at least make reboot work, and appears to make the stalling go away?
Now, it doesn't seem to boot anymore without Petitboot? But with petitboot it loads.
Compositing with OpenGL 2 seems to give the best results.... but it still all looks rather broken (slowish and tearing), to be honest.

Anyone have any better suggestions?

serious96
Posts: 16
Joined: Tue Jul 23, 2019 8:15 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 9 times
Been thanked: 3 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by serious96 »

odroidn2user wrote:
Wed Apr 21, 2021 9:45 pm
So, jgmdev's archlinux repository can be enabled.

What i've figured out so far is:
Edit /etc/pacman.conf to add the repository like this:

Code: Select all

[archlinuxdroid]
SigLevel = Optional TrustAll
Server = http://archlinuxdroid.tk/archlinuxdroid/aarch64
And then tobetters kernel becomes available, open add/remove software, update the packages.
And install linux-odroid-511 and linux-odroid-511-headers

That at least make reboot work, and appears to make the stalling go away?
Now, it doesn't seem to boot anymore without Petitboot? But with petitboot it loads.
Compositing with OpenGL 2 seems to give the best results.... but it still all looks rather broken (slowish and tearing), to be honest.

Anyone have any better suggestions?
try logging in to plasma session, it’s much more stable. and i’m using linux-vim kernel because if i’m not wrong linux-vim also includes tobetter patch

odroidn2user
Posts: 410
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 115 times
Been thanked: 107 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by odroidn2user »

Yeah, been using the KDE Plasma environment, based on X11.

Is it me, or is the Tobetter (linux-odroid-511) kernel not booting reliably?
It seems a 60-40 deal whether or not it actually loads the OS and boots to a desktop.
I´d love (or rather: require) to run something reliable... Not wanting a surprise everytime you boot the device.


Anyone have anything that boots reliably?

serious96
Posts: 16
Joined: Tue Jul 23, 2019 8:15 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 9 times
Been thanked: 3 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by serious96 »

Ops, i meant plasma wayland session. Though i still felt a little lag here and there. Especially firefox, it's got address bar input lag under wayland, while if running in xwayland there is no lag
These users thanked the author serious96 for the post:
odroidn2user (Sat Apr 24, 2021 5:25 am)

odroidn2user
Posts: 410
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 115 times
Been thanked: 107 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by odroidn2user »

OK, so installing the 'plasma-wayland-session' package brings a choice when logging in.
And indeed, it looks like it is more stable.
Thanks for the tip!! Did not expect KDE Wayland to be functioning, let alone being better!? :)
At least the mouse cursor is now not blinking anymore! Yes!!
And the cursor not seem to disappear?

But the startup turning dots indicator are also now gone!? So, when you click on the taskbar, nothing seems to happen, and then poof the app opens.
Any idea how to the the click / loading notification back? I don't mean the bouncy icon thing, that is annoying, I mean the turning circles indication the app is starting?

-0-

So, I enabled the desktop effect called FPS. It seems we only get Wayland at either 15 or 20 FPS. Which would explain the feeling slow experience...
It seems Wayland (at least on KDE, Panfrost Bifrost and the N2) is not a performer, it might be more stable though...

KDE on X11, we get different FPS with Panfrost (Bifrost) Open GL, fluctuating between 15 to frequently around 30 and up to 60 when not doing much else on the desktop.
Strange enough, XRender compositing seems to do better (60 FPS) than Open GL compositing with X11, but is then clearly slower on other graphical stuff like running the KDE menu responsively.

Just tried it on my RK3399 running KDE Plasma on MAnjaro with Panfrost (Midgard) as well... Does about 30 FPS, a little more stable, on X11 with Open GL.
A Pi 4 at 2Ghz, using the KMS, Manjaro ARM (non-mali) fluctuates between 35 and 58/59 when you don't do a whole lot, with XRender doing better at the FPS count.
So Pi 4 seems to composit a little smoother, but obviously isn't as good at load with a couple of cores less than the N2 and no real Ghz advantage.

So clearly no stable fps at 60hz anywhere. Running a desktop at 15 to 30 FPS does not appear to be that great.
It seems the available ARM GPU hardware at the moment isn't fast enough to composit a modern desktop at 60fps/hz? Interesting.
And Panfrost Bifrost support can mature a bit more to get a more stable compositing performance, Panfrost (Midgard) seems a bit more stable in the performance department.
Also, for compositing, the CPU does a really decent job compared to the GPU, unless you actually use the CPU for other things - like normal computing - of course.
There seems to be a distinct load balancing advantage when using Open GL compositing, with an overall smoother experience, especially when you try to play video, but... yeah.
Learn something new every day.
These users thanked the author odroidn2user for the post:
mikec (Wed Aug 18, 2021 2:05 am)

User avatar
mctom
Posts: 440
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polish
ODROIDs: N2+, Game Advance, a few XU4
Location: Gdansk, Poland
Has thanked: 48 times
Been thanked: 41 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by mctom »

Hi! Anyone still using Manjaro on N2+? I saw they offer Sway image, which honestly looks like a dream come true, but not willing to ruin my setup to try it out. :)
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

trwn2p
Posts: 75
Joined: Fri Oct 16, 2020 5:12 am
languages_spoken: english
ODROIDs: N2 Plus
Has thanked: 3 times
Been thanked: 13 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by trwn2p »

It's been great for KDE/Gnome Wayland for over a year now here.

Code: Select all

	screenfetch
                             muser@manj-n2p
                             OS: Manjaro-ARM 21.08
                             Kernel: aarch64 Linux 5.13.12-2-ARCH
         #####               Uptime: 8m
        #######              Packages: Unknown
        ##O#O##              Shell: bash 5.1.8
        #######              Resolution: 1920x1080
      ###########            DE: KDE 5.85.0 / Plasma 5.22.5
     #############           WM: KWin
    ###############          GTK Theme: Breeze [GTK2], Breath-Dark [GTK3]
    ################         Icon Theme: breath2-dark
   #################         Disk: 11G / 66G (18%)
 #####################       CPU: Unknown @ 6x 1.8GHz
 #####################       GPU: Mali-G52 (Panfrost)
   #################         RAM: 1051MiB / 3700MiB
Archetech
These users thanked the author trwn2p for the post:
nl.smart (Mon Sep 13, 2021 9:28 pm)

User avatar
mctom
Posts: 440
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polish
ODROIDs: N2+, Game Advance, a few XU4
Location: Gdansk, Poland
Has thanked: 48 times
Been thanked: 41 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by mctom »

Thanks! What about panfrost support and graphic performance? I see you're using Arch kernel, not.. hardkernel. :)
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

trwn2p
Posts: 75
Joined: Fri Oct 16, 2020 5:12 am
languages_spoken: english
ODROIDs: N2 Plus
Has thanked: 3 times
Been thanked: 13 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by trwn2p »

I use tobetter patched kern sources and arch pkgbuild or archdroid kern which is same thing. Panfrost is from mesa-git. I build the aarch64 image on my Manj x86-64 box using the arm tools. That pulls the latest pkgs and kicks out the .img

User avatar
mctom
Posts: 440
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polish
ODROIDs: N2+, Game Advance, a few XU4
Location: Gdansk, Poland
Has thanked: 48 times
Been thanked: 41 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by mctom »

That's cool, although for building I'd rather distcc the whole thing to my arm farm.
Would you be kind enough to point me at some resources how to get this thing going? I never heard of archdroid or what "Arm tools" you refer to, unless you mean cross-compiler.
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

trwn2p
Posts: 75
Joined: Fri Oct 16, 2020 5:12 am
languages_spoken: english
ODROIDs: N2 Plus
Has thanked: 3 times
Been thanked: 13 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by trwn2p »

Distcc is overkill for img building in this case. Unless you run a distro I guess.
This is straight forward. https://forum.manjaro.org/t/wiki-how-to ... m/35461/26
Archdroid repo info is in this section under Arch arm.
These users thanked the author trwn2p for the post:
mctom (Mon Sep 13, 2021 4:44 am)

User avatar
mctom
Posts: 440
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polish
ODROIDs: N2+, Game Advance, a few XU4
Location: Gdansk, Poland
Has thanked: 48 times
Been thanked: 41 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by mctom »

Thanks.

A few days ago I installed Manjaro on my 2010ish netbook, just to see what it's like. I think the open source community will eventually shift away from Ubuntu if it continues its ethically questionable moves.
Since x86 Sway image simply didn't work, I went the hard way and installed base Manjaro manually from scratch. That surely was a tremendous learning experience. I LOVED IT!
And, alas, Sway indeed doesn't work on this particular hardware - Mesa's i915 support has a bug and there's no hope it will be ever fixed. So I adapted Weston in kiosk mode to launch whatever I need.

Now, I explained all that because one thing still puzzles me and there's no simple answer online: When building from scratch like I did, what IS the difference between Manjaro and Arch?
Is it more stable / less bleeding repositories, or anything more?

If I wanted the bare bones system where I can set up everything the way I like, is there still a point to use Manjaro?
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

trwn2p
Posts: 75
Joined: Fri Oct 16, 2020 5:12 am
languages_spoken: english
ODROIDs: N2 Plus
Has thanked: 3 times
Been thanked: 13 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by trwn2p »

The differences are easy to find on google. Manj has same pkgs but their own repos and adds stuff to the DE's for nice looks/functions vs Arch's plain stock DE's. So that's pretty much it. Both base installs are the same afaik.

User avatar
mctom
Posts: 440
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polish
ODROIDs: N2+, Game Advance, a few XU4
Location: Gdansk, Poland
Has thanked: 48 times
Been thanked: 41 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by mctom »

Good, that means if I master DE-less Manjaro then I can fluently switch to Arch with no learning whatsoever. Thanks!
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

nl.smart
Posts: 28
Joined: Sat Aug 24, 2019 6:02 pm
languages_spoken: English, French
ODROIDs: C2, N2, C4, H2+
Has thanked: 22 times
Been thanked: 6 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by nl.smart »

Hi,

I built kde image for the Odroid c2 and n2.
https://forum.manjaro.org/t/wiki-how-to ... -arm/35461

Both devices are booting without issue.

No issue with the odroid c2 and c4, samba and vnc are working well.

Issue with the odroid n2, samba and vnc are not working. mentioned for several months on the manjaro arm web site.
I can’t change with pamac the “use mirrors from”, it’s fixed by default on worldwide, I can’t choose a wished country. This pamac bug is new and not present on c2 and c4 devices.

Any ideas to solve the vnc and samba issue on the n2 ?
No issue with the odroid c2 and c4, the images (for the c2, c4 and n2) are build with the same parameter and packages... strange.

User avatar
mctom
Posts: 440
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polish
ODROIDs: N2+, Game Advance, a few XU4
Location: Gdansk, Poland
Has thanked: 48 times
Been thanked: 41 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by mctom »

Hi,
nl.smart wrote:
Mon Sep 13, 2021 9:16 pm
Issue with the odroid n2, samba and vnc are not working. mentioned for several months on the manjaro arm web site.
Could you link to that source? More details would be appreciated.
nl.smart wrote:
Mon Sep 13, 2021 9:16 pm
I can’t change with pamac the “use mirrors from”, it’s fixed by default on worldwide, I can’t choose a wished country.
If pamac is to pacman what apt is to apt-get, then perhaps this could help:
https://wiki.manjaro.org/index.php/Pacman-mirrors wrote:Update mirrorlist with the fastest mirrors
sudo pacman-mirrors --fasttrack && sudo pacman -Syyu
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

nl.smart
Posts: 28
Joined: Sat Aug 24, 2019 6:02 pm
languages_spoken: English, French
ODROIDs: C2, N2, C4, H2+
Has thanked: 22 times
Been thanked: 6 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by nl.smart »

Thanks for your reply, the pamac issue is solved, thanks to Strit a Manjaro arm dev, I changed the desktop theme.
pacman is the command line interface to manage your packages, pamac is the graphic user interface to manage your packages.

What source do you mean ? I posted those issue (vnc and samba) on the manjaro arm forum.
The problem is that they work (vnc and samba) like a charm on c2, c4 and H2+ devices.

I built the images with those packages, really practice to build your own os:

Code: Select all

## Maintained by Strit ##

# Minimal packages
sudo
parted
openssh
haveged
xorg-server
xorg-xinit
inxi
ncdu
nano
man-pages
man-db
ntfs-3g
zswap-arm

# Sound, Video and bluetooth
alsa-utils
mpv
pipewire-alsa
pipewire-pulse
pipewire-zeroconf

# Display Manager
sddm
sddm-kcm

# Plasma packages
bluedevil
breeze
drkonqi
kde-gtk-config
kinfocenter
kcalc
kscreen
kscreenlocker
ksysguard
kwallet-pam
kwayland-integration
#plasma-wayland-session
kwin
plasma-desktop
plasma-nm
plasma-pa
plasma-workspace
powerdevil
systemsettings
plasma-vault
plasma-firewall
oxygen
oxygen-icons

# KDE applications
dolphin
dolphin-plugins
kate
konsole
ark
okular
gwenview
krfb
krdc
keditbookmarks
kolourpaint

# Themes
breath2-icon-themes
gtk-theme-breath
plasma5-themes-breath2
sddm-breath2-theme
manjaro-arm-wallpapers
breeze-gtk
manjaro-icons

# Office suite
libreoffice-fresh
libreoffice-fresh-fr

# Browser
firefox
firefox-ublock-origin

# Package Manager
pamac-gtk
pamac-tray-icon-plasma

# Fonts
ttf-bitstream-vera
noto-fonts
wqy-microhei #chinese

# Manjaro tools
manjaro-settings-manager
manjaro-settings-manager-kcm
manjaro-hotfixes
manjaro-arm-flasher
manjaro-arm-installer
matray

# Other packages
openresolv
wget
tlp
flameshot
xdg-user-dirs
networkmanager-openvpn
firewalld
vlc
samba
smbclient
android-file-transfer
android-tools
android-udev
filezilla
gparted
partitionmanager
exfat-utils
xfce4-sensors-plugin
screenfetch
geoip
geoip-database
geoip-database-extra


User avatar
mctom
Posts: 440
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polish
ODROIDs: N2+, Game Advance, a few XU4
Location: Gdansk, Poland
Has thanked: 48 times
Been thanked: 41 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by mctom »

nl.smart wrote:
Mon Sep 13, 2021 11:49 pm
Thanks for your reply, the pamac issue is solved, thanks to Strit a Manjaro arm dev, I changed the desktop theme.
Well it's a good tradition to share HOW you solved the issue in case someone has the same problem.
nl.smart wrote:
Mon Sep 13, 2021 11:49 pm
What source do you mean ? I posted those issue (vnc and samba) on the manjaro arm forum.
And do you expect me, or anybody else, to go to that forum and find your posts to help you out?
I'm sorry, but this is not how online community works. If you want any help anywhere, you provide links to relevant sources.
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

nl.smart
Posts: 28
Joined: Sat Aug 24, 2019 6:02 pm
languages_spoken: English, French
ODROIDs: C2, N2, C4, H2+
Has thanked: 22 times
Been thanked: 6 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by nl.smart »

Thanks for your reply.

Share the knowledge is a part of the humanity, to improve the world, here specially the free software, I posted the pamac solution :-)

not necessary to look the Manjaro arm forum, I don't post more details, in this case not easy to answer, even for a dev.

To share the desktop I use krfb (kde) working well, cross platform and os compatible (windows, android, linux)

odroidn2user
Posts: 410
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 115 times
Been thanked: 107 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by odroidn2user »

OK, quick update.
I tested the most recent (21.08) Manjaro ARM Gnome release on my N2.
Good news: it actually loads, it has Panfrost drivers enabled and it seems like there is working audio out of the box as well. (Although I used external audio using a USB device.)
The old green/black text setup was replaced with a first run OEM-type configuration application. Nice!
Oh, and reboots sometimes work. So, that is something.

Bad news: it needs work, a lot of work.
There is stalling all over the place. It freezes left and right. And big visual flickers / glitches.
You can improve things with setting the cpupower settings, that comes preinstalled but unconfigured and not enabled. Set it with a high minimum frequency and set the governor to performance. And enable it, so that it stars at boot.
Set the performance governor and a minimum 1Ghz frequency.
Then using the terminal, disable anything power and sleep-related in Gnome with some 'gsettings set' commands.
After this it is usable. Before that, the N2 with Manjaro is in fact completely unusable for anything normal.

Then you quickly notice: there is no Gnome Layouts tool, like there is on the x86 Manjaro release. The layouts tool is also not installable, also not from AUR. So you can't easily pick a normal layout.
You're stuck with the Gnome 40 thing. And that's nice if you like that sorta thing. But I don't. Call me crazy, I actually like my panel with icons.
The gnome-extensions in AUR don't seem to get loaded in the Gnome Extensions tool, so I can't enable those. You are stuck with the Gnome Extensions website to tame the craziness that is Gnome.
https://extensions.gnome.org/
And even with the dash-to-panel extension, the desktop does the crazy zoom-in/out thing (actions menu) with the multiple desktops when you login or press the windows/meta key.
Gnome just doesn't do normal for as far as I can see. Which is just annoying.

And well, the driver support for the Arm Mali graphics set still is somewhat broken. Yeah, Panfrost for Bifrost works relatively well, but not anywhere like Midgard which has excellent support.
So there are glitches, often and in a lot of places. And i keep having some crashes.

So I installed the dash-to-panel extension, and that seems to prefer to show the mouse as loading / showing the spinning icon thing everywhere. Even when nothing is happening / loading. Annoying.
The arc-menu extension has a tendency to crash the desktop environment every (say) 20 or so uses? So yeah... Later one this seems to have reduced somewhat, but not stable at all.

I installed the budgie desktop, that actually works better and relatively well! It was a quick install. You get the gnome environment but with a normal desktop and a normal panel.
Big improvement. It doesn't crash nearly as often, and some of the glitches are there but... yeah.

Then the terminal app: In every configuration I tried, the colors are messed up. Contrast is wrong, which means applications like mc / midnight commander are useless / unreadable.
Also, the zsh shell has a nice colored thingy as a prompt, which is also unreadable as contrast between colors is too low.
And any color setting I tried, both in the standard terminal as in tillix, colors remained unreadable and unusable. So... That is a little strange, as devs on linux use terminals. I guess not.

And improvements in Bifrost driver support seem to have stalled, so I guess that is what the N2 will get.
Decent support, but with glitches everywhere. And not very good X11 support, the mouse flickering / disappearing has been there for a while. I guess Alyssa moved on to hacking the new mac, or something, instead of improving Bifrost support.

And, also, my monitors are not well supported, so there the picture looks rough, with ugly reds and such. A problem (as far as I can figure) in the HDMI drivers for the Odroid hardware.
Good news is that there is no green line! And I used a dongle-type powered hdmi-to-displaylink thingy, which actually works right / gets a clean picture.

So, it works, it loads and it is rough. But you can whip it into shape at least a little, and get something working... the Mali driver side remains somewhat ugly even two years on.
But then, you can actually use Manjaro ARM for doing desktopy stuff. Visual imperfections will be there, and by the look of things they will remain there.
Last edited by odroidn2user on Wed Sep 15, 2021 6:08 am, edited 1 time in total.
These users thanked the author odroidn2user for the post:
mctom (Wed Sep 15, 2021 4:57 am)

trwn2p
Posts: 75
Joined: Fri Oct 16, 2020 5:12 am
languages_spoken: english
ODROIDs: N2 Plus
Has thanked: 3 times
Been thanked: 13 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by trwn2p »

Try redoing your tests and review using the patched 5.14.1 jdmdev kernel and mesa-git 21.3.0 from archdroid and report back.

odroidn2user
Posts: 410
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 115 times
Been thanked: 107 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by odroidn2user »

Install the Budgie desktop environment. It's a small package or two (maybe some selected extra's). It looks like it works really well as compared to the Gnome desktop thing.
I like the gnome applicatie environment and the gvfs solution for using network shares, I do not get used to the gnome desktop dynamics. Budgie seems like a best of both worlds kinda thing.
And Panfrost seems to kinda work OK with it as well.

But then, Manjaro ARM, at least with Budgie, only does dark themes.
If you set a light theme, the font colors is still white. So with light themes you get white on white. And no app to change (font) colors
And a dark theme is fine, except when you use Libreoffice, which doesn´t support dark themes at all, you get white fonts on white backgrounds with dark themes.
So: white fonts on white background everywhere, or just in Libreoffice.

Update: removed some commentary.
Last edited by odroidn2user on Wed Sep 15, 2021 3:05 pm, edited 1 time in total.

User avatar
mctom
Posts: 440
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polish
ODROIDs: N2+, Game Advance, a few XU4
Location: Gdansk, Poland
Has thanked: 48 times
Been thanked: 41 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by mctom »

Well.. What you're testing is a community release, not an official Manjaro build. I wouldn't be that harsh for a bunch of volunteers that went through that effort.
This is why personally I prefer images with no desktop. I can write that single command to install it myself, and if I don't like it, try something else. So much less hassle than downloading 20GB worth of images and dd'ing them one after another.
So, back to the topic, I guess something Wayland based would be more suitable for N2+, considering the state of GPU drivers. How about mutter? or MATE, since they apparently did a take on Wayland themselves.
Or go all in and try Wayfire. ;)
These users thanked the author mctom for the post:
odroidn2user (Wed Sep 15, 2021 3:05 pm)
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

odroidn2user
Posts: 410
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 115 times
Been thanked: 107 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by odroidn2user »

Fair enough. Updated it. Still, you run into these kinda things everywhere, and it gets a little tiresome.
Wayfire! Yeah, hmm, didn't see myself as a wayfire kinda guy yet. But who knows.
Thanks!

I'm really digging the Budgie life, but then without a working LibreOffice...
And Ubuntu is OK as well, but the extensions can't quite get version 40 under control it seems.
Hmm...

User avatar
mctom
Posts: 440
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polish
ODROIDs: N2+, Game Advance, a few XU4
Location: Gdansk, Poland
Has thanked: 48 times
Been thanked: 41 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by mctom »

Well, if the whole Linux community decided on one DE it would definitely be rock stable by now. ;) But I really like the fact you can choose Budgie, and I can choose Sway.

I never used Budgie, but taking look at the screenshots I saw yet another Windows 95 desktop, with "start menu" and "taskbar", so I thought you'd like Mate / Mutter just as much ;)
Wayfire worked very fluently on my N2+ the last time I tried it, lots of wacky video effects and whatnot, but I tend to work on one full screen window most of the time, so it doesn't really matter to me.
Wayfire would be awesome AF on a multimedia table, that long lost concept from Bond movies, because you can even rotate and zoom windows.
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

odroidn2user
Posts: 410
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 115 times
Been thanked: 107 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by odroidn2user »

To tame Gnome 40 a bit more...

In the dash-to-panel extension, in the settings, on the behaviour tab, there is a 'Disable show overview on startup' option. <--- Important.
If you enable that, you don´t get the Gnome overview (with the multiple desktops, etc) when you log in anymore.
You then go immediately to an actual, normal looking desktop.
On Gnome 40.
Pretty nice.

The remaining issue I have is that the full screen icon menu (as with Ubuntu Gnome and macOS) is not actually available as option, if you use the dash-to-panel extention, it seems. You only get the gnome overview thing...
So you have to use an additional menu extension, and the only I know (have to research this a bit more) is arcmenu. And opening arc-menu crashes the session in about 1 in 20 times.
I'm now trying a different layout and the built in theme, perhaps that works more stable?

Oh, and the Vivaldi browser seems to have fewer rendering artefacts when compared to Firefox. Not sure how Vivaldi does with privacy, but it's pretty configurable, so you can set up it in many ways to make it usable. And it does have extensions as well, from Google and the Google Chrome Store though. So yeah.

User avatar
mctom
Posts: 440
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polish
ODROIDs: N2+, Game Advance, a few XU4
Location: Gdansk, Poland
Has thanked: 48 times
Been thanked: 41 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by mctom »

Wow, so it seems that not only 40 years is not enough to develop a working desktop printer, it actually takes more than 30 years of extensive research to find the best GUI solution for launching applications.

Bah, since I discovered that in Sway you can press super+d and just write what you want, I never looked back.
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

odroidn2user
Posts: 410
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 115 times
Been thanked: 107 times
Contact:

Re: Manjaro ARM for Odroid N2

Post by odroidn2user »

Yeah, why not redesign everything and break stuff for people everywhere? :)

That said, I'm actually liking the end result very much.
Manjaro ARM with Ubuntu 40 works. When you correct the cpupower performance governor thing and minimum frequency, disable gnome sleep and screensavers and what not.
And add the necesarry extensions. And change themes and layouts to prevent crashes. Oh, and disable the pulseaudio suspend idle thing.
Oh, and Firefox causes visual artifacts in some places... And you can´t really use X11, and you never know if it boots after updating... And no redshift / night colors, clearly. And no coming back from hibernation. Oh and you need an active hdmi->displayport dongle, because of the hdmi driver bug that rears its head with all my monitors here. And you need a USB hub for compatibility with some USB devices as there is a (hardware?) bug there as well. So yeah, it's all kinds of ugly.

But then.... The end result works!
Strange enough... It works rather well, and performance is good enough for responsive desktop use.
Surprise surprise.

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 0 guests