Will you support DRM driver for Odroid n2?

blu
Posts: 59
Joined: Wed Mar 08, 2017 11:30 pm
languages_spoken: english
ODROIDs: XU4 eMMC, N2 eMMC
Has thanked: 1 time
Been thanked: 12 times
Contact:

Re: Will you support DRM driver for Odroid n2?

Unread post by blu » Fri Jul 19, 2019 3:33 pm

Let me join @miskol -- I too am looking forward to DRM on the N2. And like in his post above, my experience with DRM on Mali also includes linux dma_buf, from EGLImage down to the presentation layer (i.e. some wayland compositor). The good news is that libEGL (i.e. libMali) advertises EGL_EXT_image_dma_buf_import, which I'm yet to try on the DRM-enabled kernel.

User avatar
odroid
Site Admin
Posts: 31835
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 89 times
Been thanked: 252 times
Contact:

Re: Will you support DRM driver for Odroid n2?

Unread post by odroid » Mon Jul 29, 2019 3:56 pm

Running WEBGL on Chromium with Wayland. The WebGL on the Wayland/N2 performance seems to be almost twice faster than X11-EGL/XU4.


Here is an instruction.
https://wiki.odroid.com/odroid-n2/appli ... on_wayland

This example might be useful when you want to make a decent WebGL powered Kiosk or Digital signage system.
These users thanked the author odroid for the post (total 3):
sjwlaoda (Mon Jul 29, 2019 5:14 pm) • xabolcs (Tue Jul 30, 2019 12:14 am) • elatllat (Wed Jul 31, 2019 7:52 am)

kardanadm
Posts: 36
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID N2
Has thanked: 10 times
Been thanked: 1 time
Contact:

Re: Will you support DRM driver for Odroid n2?

Unread post by kardanadm » Tue Jul 30, 2019 2:31 am

"ubuntu mate on the desktop" I guess does not work :)

wallyz21
Posts: 93
Joined: Thu Apr 04, 2019 11:00 am
languages_spoken: english
ODROIDs: N2
Has thanked: 9 times
Been thanked: 11 times
Contact:

Re: Will you support DRM driver for Odroid n2?

Unread post by wallyz21 » Wed Jul 31, 2019 11:32 am

Nice.

Looking at the wiki there is glmark2-es2-wayland and now chromium (with wayland support).
odroid wrote:
Running WEBGL on Chromium with Wayland. The WebGL on the Wayland/N2 performance seems to be almost twice faster than X11-EGL/XU4.
Can anyone who has run glmark2-es2-wayland provide the output results please.

(I only ask the following because I'm not sure how all the different technologies fit together)

Instead of making individual applications compatible with wayland wouldn't it make more sense to have xwayland so all current desktop applications can be used?

crashoverride
Posts: 4492
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1
Has thanked: 0
Been thanked: 62 times
Contact:

Re: Will you support DRM driver for Odroid n2?

Unread post by crashoverride » Wed Jul 31, 2019 11:12 pm

I just noticed there is a X11/GBM "bifrost" (G31) Mali driver available for Rockchip hardware:
https://github.com/rockchip-linux/libma ... f1f55c1e13
libmali: Add x11 support for bifrost r6
Can we find out if Amlogic can provide the same for N2 "bifrost" (G52)?

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

Re: Will you support DRM driver for Odroid n2?

Unread post by memeka » Fri Aug 02, 2019 9:57 am

wallyz21 wrote:
Wed Jul 31, 2019 11:32 am
Can anyone who has run glmark2-es2-wayland provide the output results please.
Some older ones, with the DRM on mainline (5.0 at the time) not 4.19: https://www.cnx-software.com/2019/03/27 ... es2-score/

XWayland doesn't support OpenGL(ES), so you can run non-accelerated apps just fine via XWayland, but not OpenGL(ES) apps.

wallyz21
Posts: 93
Joined: Thu Apr 04, 2019 11:00 am
languages_spoken: english
ODROIDs: N2
Has thanked: 9 times
Been thanked: 11 times
Contact:

Re: Will you support DRM driver for Odroid n2?

Unread post by wallyz21 » Fri Aug 02, 2019 10:09 pm

memeka wrote:
Fri Aug 02, 2019 9:57 am
XWayland doesn't support OpenGL(ES), so you can run non-accelerated apps just fine via XWayland, but not OpenGL(ES) apps.
How is Alyssa Rosenzweig at Collabora doing this then?

https://www.collabora.com/news-and-blog ... -panfrost/

From the blog:

Alyssa Rosenzweig:
Jun 27, 2019 at 11:26 PM

GNOME-Wayland, thank you for asking!

Alyssa Rosenzweig:
Jul 16, 2019 at 04:20 PM

Thank you! We've begun work on OpenGL ES 3.0 already; in fact, a few ES 3.0 features like instanced rendering have already landed in mesa master. Vulkan is a possibility, but for now, we're focused on perfecting OpenGL ES, including ES 3.0.

User avatar
meveric
Posts: 10397
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 15 times
Been thanked: 120 times
Contact:

Re: Will you support DRM driver for Odroid n2?

Unread post by meveric » Fri Aug 02, 2019 10:38 pm

wallyz21 wrote:
Fri Aug 02, 2019 10:09 pm
memeka wrote:
Fri Aug 02, 2019 9:57 am
XWayland doesn't support OpenGL(ES), so you can run non-accelerated apps just fine via XWayland, but not OpenGL(ES) apps.
How is Alyssa Rosenzweig at Collabora doing this then?
There's a difference between Wayland and XWayland..
XWayland is a compatibility layer for X11 applications running on Wayland. (in simple terms the command "XCreateSimpleWindow" for X11 will be translate to a CreateWindowSurface for Wayland and things of that nature).
There's stuff like "glmake2-es2-wayland" which runs directly under wayland, but there's also glmark2-es2 which is an X11 application using GLESv2.
The former runs under wayland, the later does not as it requires GLESv2 for X11 (if I understand correctly).
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

wallyz21
Posts: 93
Joined: Thu Apr 04, 2019 11:00 am
languages_spoken: english
ODROIDs: N2
Has thanked: 9 times
Been thanked: 11 times
Contact:

Re: Will you support DRM driver for Odroid n2?

Unread post by wallyz21 » Sat Aug 03, 2019 12:27 am

meveric wrote:
Fri Aug 02, 2019 10:38 pm
XWayland is a compatibility layer for X11 applications running on Wayland. (in simple terms the command "XCreateSimpleWindow" for X11 will be translate to a CreateWindowSurface for Wayland and things of that nature).
There's stuff like "glmake2-es2-wayland" which runs directly under wayland, but there's also glmark2-es2 which is an X11 application using GLESv2.
The former runs under wayland, the later does not as it requires GLESv2 for X11 (if I understand correctly).
So Rosenzwieg would have used wayland versions of gnome/etc! And unfortunately there is no GLES version of xwayland. I think I'm getting it. Thanks!

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

Re: Will you support DRM driver for Odroid n2?

Unread post by miskol » Sat Aug 03, 2019 4:08 am

mayor problem is that panfrost don't support GPU on odroid N2
but it should work fine on Odroid U3/4

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 1 guest