Any plan for basic mainline linux support?

RussianNeuroMancer
Posts: 3
Joined: Sat Mar 30, 2019 1:43 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Unread post by RussianNeuroMancer » Sat Mar 30, 2019 6:11 pm

memeka wrote:
Sat Mar 30, 2019 3:47 pm
I am running 3.32 on the xu4
But on some other distribution, not Ubuntu, right?

User avatar
memeka
Posts: 4290
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Has thanked: 0
Been thanked: 8 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by memeka » Sat Mar 30, 2019 8:17 pm

Ubuntu of course

miskol
Posts: 181
Joined: Wed Jan 15, 2014 2:58 am
languages_spoken: english,slovak
Has thanked: 0
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Unread post by miskol » Sat Mar 30, 2019 8:30 pm

@memeka
I did update to ubuntu 19.04
And I started just mutter
mutter --display-server --wayland --sm-disable
it started just fine
but when I want to start some application(glmark wayland for example) it always crash mutter
Did you play with mutter as standalone window manager?

miskol
Posts: 181
Joined: Wed Jan 15, 2014 2:58 am
languages_spoken: english,slovak
Has thanked: 0
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Unread post by miskol » Sat Mar 30, 2019 8:33 pm

My patchet for gnome 3.32
https://pastebin.com/raw/BcPKARU0
latest gles fullscreen fix from gitlab :)
https://pastebin.com/raw/jtP8jQry
Last edited by miskol on Sun Mar 31, 2019 3:50 am, edited 4 times in total.

User avatar
memeka
Posts: 4290
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Has thanked: 0
Been thanked: 8 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by memeka » Sat Mar 30, 2019 8:34 pm


brad
Posts: 860
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1
Location: Australia
Has thanked: 0
Been thanked: 2 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by brad » Sat Mar 30, 2019 10:19 pm

miskol wrote:
Sat Mar 30, 2019 8:30 pm
@memeka
I did update to ubuntu 19.04
And I started just mutter
mutter --display-server --wayland --sm-disable
it started just fine
but when I want to start some application(glmark wayland for example) it always crash mutter
Did you play with mutter as standalone window manager?
You probably have it covered but making sure you reinstalled mali userspace drivers after the upgrade?

miskol
Posts: 181
Joined: Wed Jan 15, 2014 2:58 am
languages_spoken: english,slovak
Has thanked: 0
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Unread post by miskol » Sat Mar 30, 2019 10:35 pm

@brad
same crash on x64 so it isn't related to arm :)
I did benchmarks weston vs mutter like this on C2

miskol
Posts: 181
Joined: Wed Jan 15, 2014 2:58 am
languages_spoken: english,slovak
Has thanked: 0
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Unread post by miskol » Sat Mar 30, 2019 10:46 pm

so I found that I am able to run pure mutter only on 18.04 mutter 3.28 :(
so no weston vs mutter benchmark for now :(

User avatar
memeka
Posts: 4290
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Has thanked: 0
Been thanked: 8 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by memeka » Sat Mar 30, 2019 11:52 pm

I could run pure mutter on 3.32...

RussianNeuroMancer
Posts: 3
Joined: Sat Mar 30, 2019 1:43 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Unread post by RussianNeuroMancer » Sun Mar 31, 2019 12:02 am

memeka wrote:
Sat Mar 30, 2019 8:17 pm
Ubuntu of course
Which one? Did you upgrade from 18.04 to 19.04 or somehow installed Gnome 3.32 on top of Ubuntu 18.04?

User avatar
memeka
Posts: 4290
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Has thanked: 0
Been thanked: 8 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by memeka » Sun Mar 31, 2019 12:03 am

18.04, it’s LTS

miskol
Posts: 181
Joined: Wed Jan 15, 2014 2:58 am
languages_spoken: english,slovak
Has thanked: 0
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Unread post by miskol » Sun Mar 31, 2019 2:15 am

@memeka
do you build whole gnome or just mutter ?
So you must have some script to automate it :)

User avatar
memeka
Posts: 4290
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Has thanked: 0
Been thanked: 8 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by memeka » Sun Mar 31, 2019 3:28 am

Whole gnome, no script :)

User avatar
mad_ady
Posts: 5659
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 7 times
Been thanked: 13 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by mad_ady » Sun Mar 31, 2019 3:46 am

@memeka is a man of few words :D
Perhaps he's cooking a recepie...

User avatar
memeka
Posts: 4290
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Has thanked: 0
Been thanked: 8 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by memeka » Sun Mar 31, 2019 3:56 am

Or trying to get a baby to sleep :)

User avatar
mad_ady
Posts: 5659
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 7 times
Been thanked: 13 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by mad_ady » Sun Mar 31, 2019 4:39 am

Oh, congratulations! Didn't know you were expecting :)
We'll be quiet now...

brad
Posts: 860
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1
Location: Australia
Has thanked: 0
Been thanked: 2 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by brad » Sun Mar 31, 2019 8:20 am

RussianNeuroMancer wrote:
Sun Mar 31, 2019 12:02 am
Which one? Did you upgrade from 18.04 to 19.04 or somehow installed Gnome 3.32 on top of Ubuntu 18.04?
I was successfully in upgrade from 18.04 to 18.10 but I had failures during upgrade from 18.10 to 19.04.

- Weston not running
- Mutter not running (but needs patches still)

Surprisingly kde_wayland is starting further than it has in previous Ubuntu releases, It show me my mouse pointer and I can start some basic wayland apps from another terminal but no acceleration.

miskol
Posts: 181
Joined: Wed Jan 15, 2014 2:58 am
languages_spoken: english,slovak
Has thanked: 0
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Unread post by miskol » Sun Mar 31, 2019 8:40 pm

@brad
I use this to debug which library is loading
LD_DEBUG=libs weston &> log

phaseshifter
Posts: 3241
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2 @15 V D.C ,,...other odroid acc`s as well
Has thanked: 10 times
Been thanked: 20 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by phaseshifter » Thu Apr 04, 2019 5:21 am

my 20 cents worth....i think that mainline kernel is a necessary need for a production board in the likes of the N-2 ...component supply willing... i think the sales of this board will go for quite some time..it has the c-series boy`s running out to buy one..
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

kalon33
Posts: 1
Joined: Fri Apr 05, 2019 2:03 am
languages_spoken: english, french
Has thanked: 0
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Unread post by kalon33 » Fri Apr 05, 2019 2:05 am

Dear all,

Did you tested hardware accelerated encoding/decoding/transcoding using this board? Do you know its capabilities regarding to this point? Better than the C2? Which codecs are accelerated?


Thanks for your help.

brad
Posts: 860
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1
Location: Australia
Has thanked: 0
Been thanked: 2 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by brad » Fri Apr 05, 2019 10:27 am

kalon33 wrote:
Fri Apr 05, 2019 2:05 am
Dear all,

Did you tested hardware accelerated encoding/decoding/transcoding using this board? Do you know its capabilities regarding to this point? Better than the C2? Which codecs are accelerated?


Thanks for your help.
Not as yet (only GPU has been tested working with various software). vdec glx is being actively worked apon , g12a should follow and then g12b (The N2). It one of the most complex features to add (both kernel and userspace) from what I understand. Audio support is also missing from mainline kernel but Baylibre appear to be working hard to get clocks more accurate to support audio correctly.

BTW official patchset for N2 has now been submitted to kernel maintainers for review - https://lkml.org/lkml/2019/4/4/1244

So things are moving at a very nice pace (considering N2 has just been officially released) but we need to have a little patience :)

elatllat
Posts: 1221
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1
Has thanked: 0
Been thanked: 2 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by elatllat » Sat Apr 06, 2019 12:14 pm

brad wrote:
Fri Apr 05, 2019 10:27 am
...
BTW official patchset for N2 has now been submitted to kernel maintainers for review - https://lkml.org/lkml/2019/4/4/1244...
Only 4 / 12 of those patches apply cleanly so use "git apply -3"... even then 4 files conflict... replacing them and the broken g12a.c with the g12b branch results in boot halting at "unable to open rtc device".
Last edited by elatllat on Sat Apr 06, 2019 10:35 pm, edited 1 time in total.

brad
Posts: 860
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1
Location: Australia
Has thanked: 0
Been thanked: 2 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by brad » Sat Apr 06, 2019 10:00 pm

brad wrote:
Sat Mar 30, 2019 2:35 pm
RussianNeuroMancer wrote:
Sat Mar 30, 2019 1:52 pm
brad wrote:
Sat Mar 30, 2019 12:17 pm
memeka wrote:
Wed Mar 27, 2019 2:22 pm
@tobetter - for gnome3, these are the changes in mutter: https://pastebin.com/iZDwk1yZ
apply then rebuild mutter debs ;)
Great work, its nice having accelerated gnome. Tested and working well :)
Did you manager to get it working with Ubuntu 19.04? Asking because Mutter 3.32 reported to be much, much faster than 3.28.
I have only tried 3.28.3 for the moment. I have also tried kde_wayland but it was failing to start correctly.

It looks like it might be time to upgrade and do some testing on Ubuntu 19.04.

Starting with update to cosmic
Gnome and kde are running in 19.04 but without wayland acceleration but latest updates to 19.04 had to be applied (apt-get dist-upgrade).

weston will not start (well weston-launch) and mutter will not start from the command line in wayland mode, it segfaults. I will try to add in memeka's patches listed above. For the moment I have only been trying memeka's gdm_compat module.

gnome runs poorly in software mode (ie does X11 mode) but kde actually ran quiet well with no mali, cannot wait to get it working in wayland modes.

miskol
Posts: 181
Joined: Wed Jan 15, 2014 2:58 am
languages_spoken: english,slovak
Has thanked: 0
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Unread post by miskol » Sat Apr 06, 2019 11:25 pm

I am starting armbian support
viewtopic.php?f=176&t=34441
so anybody can build ubuntu 19.04 :)

brad
Posts: 860
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1
Location: Australia
Has thanked: 0
Been thanked: 2 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by brad » Mon Apr 08, 2019 3:42 pm

elatllat wrote:
Sat Apr 06, 2019 12:14 pm
brad wrote:
Fri Apr 05, 2019 10:27 am
...
BTW official patchset for N2 has now been submitted to kernel maintainers for review - https://lkml.org/lkml/2019/4/4/1244...
Only 4 / 12 of those patches apply cleanly so use "git apply -3"... even then 4 files conflict... replacing them and the broken g12a.c with the g12b branch results in boot halting at "unable to open rtc device".
There are some missing dependencies, I think we will need a 5.2 branch to start with before applying these patches. Particularly the following dependencies which have been pulled for 5.2

https://patchwork.kernel.org/patch/10879753/
https://patchwork.kernel.org/patch/10879751/

I triied to apply these first to 5.1-rc3 & linux-next but still not quiet applying cleanly. I see gpu updates for meson8b are also needed on top for a start.

VoxUnius
Posts: 3
Joined: Wed Apr 10, 2019 8:58 pm
languages_spoken: English, Russian
ODROIDs: N2, XU4
Location: Australia
Has thanked: 0
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Unread post by VoxUnius » Wed Apr 10, 2019 9:04 pm

Hi Everyone,

I've set up N2 with Gentoo. Everything is good so far, however, kernel 5.1 does not boot up, it only shows 6 penguins and stops there. I think it could be related to GCC version. I tried using 8.2.0-r6. Am I the only one who used it?

Cheers.

brad
Posts: 860
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1
Location: Australia
Has thanked: 0
Been thanked: 2 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by brad » Wed Apr 10, 2019 9:13 pm

VoxUnius wrote:
Wed Apr 10, 2019 9:04 pm
Hi Everyone,

I've set up N2 with Gentoo. Everything is good so far, however, kernel 5.1 does not boot up, it only shows 6 penguins and stops there. I think it could be related to GCC version. I tried using 8.2.0-r6. Am I the only one who used it?

Cheers.
Not all patches for N2 have been pushed into 5.1 as yet and many are aimed at 5.2 release or later and awaiting review / merge. Niel's integration branch here is a good stating point if you are interested in testing upcoming mainline integration https://gitlab.com/superna9999/linux/co ... d-n2-integ

I have built using both gcc 7 and 8 so both should be working ok to compile. Memeka shared a working confg for the N2 as there are a couple of required changes to get Ethernet functioning. viewtopic.php?f=176&t=33993&start=50#p250456

VoxUnius
Posts: 3
Joined: Wed Apr 10, 2019 8:58 pm
languages_spoken: English, Russian
ODROIDs: N2, XU4
Location: Australia
Has thanked: 0
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Unread post by VoxUnius » Wed Apr 10, 2019 9:48 pm

Yeah, I was following memeka's guide and did use the repository you mentioned. Strange it didn't work.

brad
Posts: 860
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1
Location: Australia
Has thanked: 0
Been thanked: 2 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by brad » Thu Apr 11, 2019 4:50 pm

VoxUnius wrote:
Wed Apr 10, 2019 9:48 pm
Yeah, I was following memeka's guide and did use the repository you mentioned. Strange it didn't work.
If you have the boot logs we can try to assist you to find the problem

VoxUnius
Posts: 3
Joined: Wed Apr 10, 2019 8:58 pm
languages_spoken: English, Russian
ODROIDs: N2, XU4
Location: Australia
Has thanked: 0
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Unread post by VoxUnius » Thu Apr 11, 2019 9:41 pm

brad wrote:
Thu Apr 11, 2019 4:50 pm
If you have the boot logs we can try to assist you to find the problem
Thanks, guys. I wish I had them. The process doesn't seem to reach the stage where it can log anything.

I suspect, it could be something related to initramfs compression or address. Still playing with it. What's strange is that the same procedure did work for 4.9.

Could anyone clarify these points:
1. Do we have to call mkimage on the kernel gz file?
2. Does the original initramfs file have to be compressed? By default, genkernel uses xz. I tried both gz and uncompressed with no luck.
3. Do addresses in boot.ini have to correlate with those we pass to mkimage (-a -e)?

elatllat
Posts: 1221
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1
Has thanked: 0
Been thanked: 2 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by elatllat » Wed Apr 17, 2019 9:46 pm

brad wrote:
Wed Apr 10, 2019 9:13 pm
...g12b-odroid-n2-integ...
Progress;

https://lkml.org/lkml/2019/4/16/1056

https://git.kernel.org/pub/scm/linux/ke ... h=to-build
These users thanked the author elatllat for the post (total 2):
DanDroid (Thu Apr 18, 2019 1:29 am) • xabolcs (Thu Apr 18, 2019 8:12 am)

brad
Posts: 860
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1
Location: Australia
Has thanked: 0
Been thanked: 2 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by brad » Thu Apr 18, 2019 12:25 am

elatllat wrote:
Wed Apr 17, 2019 9:46 pm
Progress;
Jerome Brunet (Baylibre) is working on Audio in ASOC tree for g12a which will hopefully land in 5.2 once complete..

https://git.kernel.org/pub/scm/linux/ke ... ?h=for-5.2
These users thanked the author brad for the post:
DanDroid (Thu Apr 18, 2019 1:29 am)

Post Reply

Return to “General Topics”

Who is online

Users browsing this forum: No registered users and 2 guests