[TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromium 52

Locked
mdrjr
Site Admin
Posts: 11726
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 13 times
Contact:

[TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromium 52

Unread post by mdrjr » Thu May 19, 2016 5:23 pm

Download links:
US: http://imgserver.odroid.in/c2/
ASIA: http://dn.odroid.com/S905/Ubuntu/trail_image/

This image adds Mali X11 working (can be tested with glmark2-es2 and es2gears)
As well chromium 52 arm64 native build with egl enabled. WebGL demos can be found on the web.

Its very important that you don't update this image. Updating it will cause some things to be broken.

We also noted that some applications doesn't set eglSwapBuffers/eglSwalInterval correctly for proper vsync.
If you found this case you can try: FORCE_VSYNC=1 ./myApplication
That way mali libraries will force VSYNC.


We are looking for you guys feedback.

Note for Image Builders: Please don't use any parts of this image for your personal image, many things are considered in beta phase and will be likely to changed how it works.
Once the final release is ready you guys are welcome to add to your image.

c2_mali_x11.png

User avatar
meveric
Posts: 10580
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, H2 (J4105)
Has thanked: 21 times
Been thanked: 168 times
Contact:

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by meveric » Thu May 19, 2016 8:45 pm

Will you upload Mali-DDX and Mali X11 GPU drivers soon as well?
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.

mdrjr
Site Admin
Posts: 11726
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 13 times
Contact:

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by mdrjr » Thu May 19, 2016 9:23 pm

Will do once testings are over.

molesmoke
Posts: 29
Joined: Wed Apr 08, 2015 6:26 pm
languages_spoken: english
ODROIDs: C1, C2, U3, XU4
Location: UK
Has thanked: 0
Been thanked: 0
Contact:

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by molesmoke » Thu May 19, 2016 11:29 pm

Hi, glmark2-es seems to have some problems when fullscreen. Running the desktop scene you can see the motion sometimes goes backwards:
glmark2-es2 -b desktop --fullscreen

The performance is also no where near that of the fbdev drivers.

User avatar
meveric
Posts: 10580
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, H2 (J4105)
Has thanked: 21 times
Been thanked: 168 times
Contact:

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by meveric » Thu May 19, 2016 11:46 pm

molesmoke wrote:Hi, glmark2-es seems to have some problems when fullscreen. Running the desktop scene you can see the motion sometimes goes backwards:
glmark2-es2 -b desktop --fullscreen

The performance is also no where near that of the fbdev drivers.
sounds like normal Mali DDX experience. The same issue we had on the old Exynos 4 drivers as well as on the ODROID C1.
ODROID C1 can run 170 FPS and more in window mode, but dropped to 40 and below FPS in fullscreen mode.
Wonder how it will be in 4k resolution on the C2 ;)
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.

soadzoor
Posts: 51
Joined: Tue Mar 08, 2016 8:15 pm
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by soadzoor » Fri May 20, 2016 1:56 am

Testing it at the moment (actually I'm writing this post from this build). Webgl works in chromium, but actually I was hoping for more performance.
I have a demo at http://vargapeter.info/webgl/demo. I have pretty low fps trying this, but still, it does work, so that's a good point.

Another issue is that the cursor is constantly flickering. Why might that be?

stmicro
Posts: 250
Joined: Tue Apr 28, 2015 4:23 pm
languages_spoken: english, chinese
ODROIDs: Many Odroids and Rpis.
Location: shenzhen china
Has thanked: 0
Been thanked: 1 time
Contact:

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by stmicro » Fri May 20, 2016 8:09 am

I've played with this image for a few hours.
First of all the 64bit chromium works really well. Youtube plays many 720p videos smoothly. I felt much faster html rendering and scrolling thanks to the gpu acceleration.
Great appreciate hardkernel's hard work. :D I will test some official arm Opengles sdk examples this weekend and report my test results.
The flickering mouse cursor issue on the chromium also exists on my xu4 once I enabled the gpu acceleration. I hope someone or google can fix the issue soon.
how about the kodi on x11? do you guys have a plan to include it in the official release?

mdrjr
Site Admin
Posts: 11726
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 13 times
Contact:

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by mdrjr » Fri May 20, 2016 9:26 am

Kodi on x11 is the next logical step :)

crossover
Posts: 113
Joined: Wed Jul 22, 2015 2:23 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, USB-IO, HC2, Tinkering kits
Has thanked: 0
Been thanked: 0
Contact:

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by crossover » Fri May 20, 2016 10:04 am

Great trial image. It really works well. The mali gpu acceleration on the chromium is rock solid with my full-hd monitor. I believe my kids can use the c2 for their daily web browsing.
But the glmark2-es2 on 4K monitor is extremely slow as expected. i hope next c3 will have 4GB ddr4 ram with much faster gpu. ;)
Once the Kodi 16 is included, my dream comes true. please consider adding the LibreElec's mpeg2 patches since we still have tons of mpeg2 or dvd video files everywhere.
one question! is the GLshim working on aarch64 mali driver? I want to play some classic games which have been ported/packaged by meveric on my c2.

mdrjr
Site Admin
Posts: 11726
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 13 times
Contact:

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by mdrjr » Fri May 20, 2016 10:12 am

Mali MP450-3 on C2 should be fast enough for 4k content, the problem is RAM... and even DDR4 wont fix it.
4K is not a reality unless you are going to spend over $3k on a x86 system.

User avatar
meveric
Posts: 10580
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, H2 (J4105)
Has thanked: 21 times
Been thanked: 168 times
Contact:

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by meveric » Fri May 20, 2016 2:50 pm

crossover wrote:one question! is the GLshim working on aarch64 mali driver? I want to play some classic games which have been ported/packaged by meveric on my c2.
GLshim works on C2 I ported it a couple months back already (one of my first ports) and also tried a couple of games which were working fine.
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.

crossover
Posts: 113
Joined: Wed Jul 22, 2015 2:23 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, USB-IO, HC2, Tinkering kits
Has thanked: 0
Been thanked: 0
Contact:

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by crossover » Fri May 20, 2016 3:49 pm

meveric wrote:
crossover wrote:one question! is the GLshim working on aarch64 mali driver? I want to play some classic games which have been ported/packaged by meveric on my c2.
GLshim works on C2 I ported it a couple months back already (one of my first ports) and also tried a couple of games which were working fine.
Great! I'll try [libgl-odroid] package for playing the SuperTuxCart in your repo this weekend. :twisted:

Goerlitzer
Posts: 50
Joined: Thu Jun 20, 2013 4:25 pm
languages_spoken: English, German
ODROIDs: ODROID X2, XU, XU3, C1
Has thanked: 0
Been thanked: 0
Contact:

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by Goerlitzer » Fri May 20, 2016 7:03 pm

Thanks for the hard work on this image! Windows are slaggy but I think that's a question of time that you can fix it. I could start thunderbird, but it chrashes often and now I am not able to open it again. I'm looking forward to take the c2 as a desktop replacement for daily work :)

mdrjr
Site Admin
Posts: 11726
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 13 times
Contact:

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by mdrjr » Fri May 20, 2016 7:06 pm

there's no issue with thunderbird.. I've tested it here just now and its fine.

mdrjr
Site Admin
Posts: 11726
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 13 times
Contact:

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by mdrjr » Fri May 20, 2016 7:12 pm

Just going to leave this here: https://www.youtube.com/watch?v=DLD_-rVAkqs

Goerlitzer
Posts: 50
Joined: Thu Jun 20, 2013 4:25 pm
languages_spoken: English, German
ODROIDs: ODROID X2, XU, XU3, C1
Has thanked: 0
Been thanked: 0
Contact:

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by Goerlitzer » Fri May 20, 2016 7:32 pm

mdrjr wrote:there's no issue with thunderbird.. I've tested it here just now and its fine.
O.k., now it's working again. Maybe it's a problem of to much mails on my IMAP-Server while download. BTW: The video you post isn't watchable with chromium. I got the following error:

"An error occured. Please try again later."

User avatar
meveric
Posts: 10580
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, H2 (J4105)
Has thanked: 21 times
Been thanked: 168 times
Contact:

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by meveric » Fri May 20, 2016 8:09 pm

crossover wrote:
meveric wrote:
crossover wrote:one question! is the GLshim working on aarch64 mali driver? I want to play some classic games which have been ported/packaged by meveric on my c2.
GLshim works on C2 I ported it a couple months back already (one of my first ports) and also tried a couple of games which were working fine.
Great! I'll try [libgl-odroid] package for playing the SuperTuxCart in your repo this weekend. :twisted:
I probably need to update GLshim for that, SuperTuxCart was "kinda broken" until recently, but with the latest changes from @ptitSeb it's working again now.
Could also be that you need an updated version of libglues-odroid as well.
I'm currently building Chromium 50 stable for Debian Jessie on arm64 after that I'll look into updating GLshim and GLU.
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.

User avatar
meveric
Posts: 10580
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, H2 (J4105)
Has thanked: 21 times
Been thanked: 168 times
Contact:

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by meveric » Fri May 20, 2016 8:13 pm

mdrjr wrote:Just going to leave this here: https://www.youtube.com/watch?v=DLD_-rVAkqs
Kodi seems to have quite some glitches, especially on the menu.

Also when you opened the Info screen it was dropping and skipping frames very much like the C1, although it doesn't drop frames on the C1.

I guess X11 and 4k is not a very good combination just yet.
But it's nice to see it's actually possible to run it already :)
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.

mdrjr
Site Admin
Posts: 11726
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 13 times
Contact:

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by mdrjr » Fri May 20, 2016 8:55 pm

meveric wrote:
mdrjr wrote:Just going to leave this here: https://www.youtube.com/watch?v=DLD_-rVAkqs
Kodi seems to have quite some glitches, especially on the menu.

Also when you opened the Info screen it was dropping and skipping frames very much like the C1, although it doesn't drop frames on the C1.

I guess X11 and 4k is not a very good combination just yet.
But it's nice to see it's actually possible to run it already :)
That's because Mali can't do 4k. Not only the GPU is slow to 4k the RAM isn't fast enough for it.
And I doubt that any current SoC will be able to handle even the Kodi UI at 4k without going berserk.

We'll add the same hack as Android uses.. render in 1080p and use the hardware to upscale to 4k.

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

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by memeka » Fri May 20, 2016 9:37 pm

nvidia can do it :P

mdrjr
Site Admin
Posts: 11726
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 13 times
Contact:

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by mdrjr » Fri May 20, 2016 9:43 pm

memeka wrote:nvidia can do it :P
Useless comment comparing $200 vs $40

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

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by crashoverride » Fri May 20, 2016 10:11 pm

memeka wrote:nvidia can do it :P
That is almost a challenge I want to take! :o

I haven't formally investigated but I imagine the memory bandwidth demands are the limiting factor doing 4K Video and 4K GUI at the same time. However, there are Mali GLES extensions that help mitigate this. Most GLES applications update the entire frame buffer every frame. Using the Mali extentions you can specify to update only areas that need it (dirty rectangles). This would save a HUGE amount of bandwidth.

So while I believe it can be done, I doubt there is any point in doing it. The Kodi GUI is not "interesting" enough to require 4K detail.

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

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by memeka » Fri May 20, 2016 10:13 pm

mdrjr wrote:
memeka wrote:nvidia can do it :P
Useless comment comparing $200 vs $40
well, you said no current SBC, not no 40$ SBC :)
anyway, i think not even XU4's GPU could do the GUI in 4k (i think it's not just the memory bw), keeping it 1080p upscaled to 4k seems like the way to go :)

User avatar
meveric
Posts: 10580
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, H2 (J4105)
Has thanked: 21 times
Been thanked: 168 times
Contact:

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by meveric » Fri May 20, 2016 10:20 pm

mdrjr wrote:And I doubt that any current SoC will be able to handle even the Kodi UI at 4k without going berserk.
are you sure?
What about the current Exynos systems.. with Mali 7xx or 8xx are you sure even they can't handle 4k correctly?
I mean I'm not surprised the Mali 450 can't handle it, since the Utgard technology is 9 years old and Mali 450 is also 4 years old by now, but Midgard 4th gen should be able to handle 4k, don't you think?

https://en.wikipedia.org/wiki/Mali_%28GPU%29
Mali 8xx series are 5-10 times as fast as Mali 450 but 1080p vs 4k is only 4x the amount of data. so they should be able to handle it.
Mali 450:
142 Mtri/s
2.6 Gpix/s

Mal: T880
1700Mtri/s
13.6Gpix/s
Last edited by meveric on Fri May 20, 2016 10:28 pm, edited 1 time in total.
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.

mdrjr
Site Admin
Posts: 11726
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 13 times
Contact:

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by mdrjr » Fri May 20, 2016 10:25 pm

Nope it can't. Maybe the 880mp12 on exynos8
But with descent cooling

User avatar
meveric
Posts: 10580
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, H2 (J4105)
Has thanked: 21 times
Been thanked: 168 times
Contact:

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by meveric » Fri May 20, 2016 10:32 pm

Well seems they need to work on this. It shouldn't be too hard, especially stuff like Kodi where there's barely anything going on on the screen should be possible with these devices, and that's just looking at Mali.
Adreno and Tegra are also very powerful GPUs although Tegra is probably too expensive for a real comparison.
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.

User avatar
noobs4u
Posts: 111
Joined: Fri Apr 01, 2016 1:56 am
languages_spoken: english
ODROIDs: XU4, C2
Has thanked: 8 times
Been thanked: 2 times
Contact:

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by noobs4u » Sat May 21, 2016 12:00 am

stmicro wrote:I've played with this image for a few hours.
First of all the 64bit chromium works really well. Youtube plays many 720p videos smoothly. I felt much faster html rendering and scrolling thanks to the gpu acceleration.
Great appreciate hardkernel's hard work. :D I will test some official arm Opengles sdk examples this weekend and report my test results.
The flickering mouse cursor issue on the chromium also exists on my xu4 once I enabled the gpu acceleration. I hope someone or google can fix the issue soon.
how about the kodi on x11? do you guys have a plan to include it in the official release?
Just installed the new image. YouTube videos are jittery and choppy regardless of the quality used. Audio is also affected. I haven't run any updates as the first post indicates that would break a few things. I'll try to modify some of the chromium flags. All but 3 graphic features are Hardware Accelerated which is a huge improvement over the official mate image, but that image runs videos much better than this image. At least for me. What did I miss?
chrome_gpu.png
(141.88 KiB) Downloaded 5791 times

Thanks.
Last edited by noobs4u on Sat May 21, 2016 12:58 am, edited 5 times in total.

User avatar
noobs4u
Posts: 111
Joined: Fri Apr 01, 2016 1:56 am
languages_spoken: english
ODROIDs: XU4, C2
Has thanked: 8 times
Been thanked: 2 times
Contact:

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by noobs4u » Sat May 21, 2016 12:17 am

soadzoor wrote:Testing it at the moment (actually I'm writing this post from this build). Webgl works in chromium, but actually I was hoping for more performance.
I have a demo at http://vargapeter.info/webgl/demo. I have pretty low fps trying this, but still, it does work, so that's a good point.

Another issue is that the cursor is constantly flickering. Why might that be?
While posting here (using this build), I also notice the cursor constantly flickering.

mmiszczuk
Posts: 24
Joined: Sat Mar 26, 2016 3:43 am
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by mmiszczuk » Sat May 21, 2016 2:56 am

Yes, youtube play much better than build 1.1, but not still good (I have loss of frame, freeze etc).

stmicro
Posts: 250
Joined: Tue Apr 28, 2015 4:23 pm
languages_spoken: english, chinese
ODROIDs: Many Odroids and Rpis.
Location: shenzhen china
Has thanked: 0
Been thanked: 1 time
Contact:

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by stmicro » Sat May 21, 2016 8:59 am

I must do two things to enjoy 720p Youtube in full screen mode flawlessly.
1. Run chromium on the command line like this as described in the first post.
FORCE_VSYNC=1 chromium-browser
2. I also had to change the HDMI resolution to 1280x720 60Hz via modifying boot.ini file.

Anyway I strongly suggest the official release must set the default value of VSYNC to TRUE for beginners like me. :mrgreen:
None-vsync option must be very useless except for meaningless GPU benchmark for normal users.

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

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by crashoverride » Sat May 21, 2016 6:48 pm

stmicro wrote:I must do two things to enjoy 720p Youtube in full screen mode flawlessly.
1. Run chromium on the command line like this as described in the first post.
FORCE_VSYNC=1 chromium-browser
2. I also had to change the HDMI resolution to 1280x720 60Hz via modifying boot.ini file.
The default vsync is supposed to be enabled:
https://www.khronos.org/registry/egl/sd ... rval.xhtml
The default swap interval is 1.
It should only be disabled if the application explicitly commands it by calling eglSwapInterval with a zero (0) value. Simply reading the value in a test program should narrow the component that causes the issue. If it reads back as one (1) as it should, then the issue likely the DDX. If it reads back as zero (0), then the issue likely libmali.so. Alternatively, you could find out what component is using the environment variable FORCE_VSYNC and triage from there.

-

The 1280x720 resolution is most likely due to the DDX. The X11 driver has no acceleration and so is using memcpy or pixman to copy the contents of the GPU buffer to the display frame buffer.

Directly scanning out the GPU buffer to the display (to avoid the copy entirely when full screen) would be challenging since there is no SMMU on the C2. This means the GPU (which has a MMU) must instead use contiguous memory to share it with the display controller. This would also require the display controller driver to be modified to allow updating the scan out frame buffer. This would be a major engineering endeavor but will be eventually required in order to have a Kernel DRM driver.

The next best option is to use the GE2D hardware to perform hardware accelerated blitting. This would again require the GPU to use contiguous memory in the absence of a SMMU. Past attempts to use this on C1 showed there may be memory alignment requirements that GPU buffers would need to meet. With some complicated math, it may be possible to manually perform the SMMU operations using DMA buffer scatter/gather maps.

A final option is to use the DMA hardware controller to perform the copy. This would have the limitation of only working in 32bit color mode due to memory alignment requirements. Additionally, it would require that the GPU only use 32bit pixmaps since color conversion would not be possible as it would with GE2D. The implementation would also have to manually perform the operations a SMMU would. This means getting the scatter/gather map of the GPU buffer and DMA copying in page sized chunks instead of a single operation.

The DDX driver source code and S905 datasheet are not available and the Mali userspace source code is closed source. This means none of the options can currently be explored.

In an ideal world:
1) The antiquated X11 architecture would be long forgotten and replaced with something modern.
2) ARM would abstract the platform interface of their userspace driver into an API making it possible to perform platform integration without access to the full source code.

In reality:
The goal is not to make everything work since that is currently impossible. Instead, the goal is to make it the least amount of broken. ;)

mmiszczuk
Posts: 24
Joined: Sat Mar 26, 2016 3:43 am
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by mmiszczuk » Sun May 22, 2016 3:25 am

I wonder what is error during boot (also was in version 1.1)

LongChair
Posts: 153
Joined: Mon Mar 28, 2016 2:32 pm
languages_spoken: english
ODROIDs: ODROID C2
Has thanked: 0
Been thanked: 0
Contact:

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by LongChair » Sun May 22, 2016 4:12 am

@mdrjr : are the X11 driver sources public yet ? that would be very useful for LibreElec appliances :)

BlackPPoint
Posts: 47
Joined: Fri Mar 18, 2016 1:29 am
languages_spoken: russian, english
ODROIDs: C2
Location: Russia
Has thanked: 0
Been thanked: 0
Contact:

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by BlackPPoint » Sun May 22, 2016 2:25 pm

to use meveric's repos i need to

Code: Select all

sudo dpkg --add-architecture armhf
Isn't it should be added by default?

User avatar
meveric
Posts: 10580
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, H2 (J4105)
Has thanked: 21 times
Been thanked: 168 times
Contact:

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by meveric » Sun May 22, 2016 10:29 pm

my repository is mainly for Debian packages, not all of them will work under Ubuntu.
Also I offer arm64 and armhf packages. Depending on your needs.
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.

mdrjr
Site Admin
Posts: 11726
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 13 times
Contact:

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by mdrjr » Mon May 23, 2016 9:32 am

LongChair wrote:@mdrjr : are the X11 driver sources public yet ? that would be very useful for LibreElec appliances :)
AFAIK, LibreELEC doesn't use X11 ...

mdrjr
Site Admin
Posts: 11726
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 13 times
Contact:

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by mdrjr » Mon May 23, 2016 9:32 am

mmiszczuk wrote:I wonder what is error during boot (also was in version 1.1)
I wonder what's the error...

proller
Posts: 6
Joined: Wed Aug 21, 2013 12:26 am
languages_spoken: perl russian english
ODROIDs: x2
Has thanked: 0
Been thanked: 0
Contact:

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by proller » Mon May 23, 2016 7:26 pm

4k30hz - ok (maybe bit laggy, but works)
4k50hz, 4k60hz - blank screen (but under android ok)

this game (with irrlicht ogl-es branch) ok - http://forum.odroid.com/viewtopic.php?f=91&t=6034
Urho3D with patch ok - https://github.com/urho3d/Urho3D/pull/1384

sometimes bug appear in all apps - some frames rendered from past (in glmark rotating horse jumps back), but after reboot ok

User avatar
meveric
Posts: 10580
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, H2 (J4105)
Has thanked: 21 times
Been thanked: 168 times
Contact:

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by meveric » Mon May 23, 2016 11:57 pm

I'm not sure if the FPS are calculated correctly.

I can get up to 230 FPS in window mode with glmark2-es2 but if I go fullscreen it says it's about 80~90 FPS still although everything above 50 FPS should be very fluently the 80~90 FPS feel kinda laggy, more like 40 FPS, so I wonder if the FPS are calculated 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.

spyvsspy
Posts: 63
Joined: Fri May 06, 2016 5:15 am
languages_spoken: english
ODROIDs: C2 XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by spyvsspy » Wed May 25, 2016 3:53 pm

love seeing the progression made here..
so when roughly we can expect a full working Mali X11, a month from now ? 6 months ? *ROUGHLY* :)

not rushing , just wondering.. as i'm re-imaging sdcards 2-3 times a day :)

mdrjr
Site Admin
Posts: 11726
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 13 times
Contact:

Re: [TEST] Ubuntu 16.04 Mate image with Mali X11 and Chromiu

Unread post by mdrjr » Wed May 25, 2016 5:04 pm

Thread is closed.
All updates pushed today.

http://odroid.com/dokuwiki/doku.php?id= ... _note_v1.2

Locked

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 3 guests