C2 / Ubuntu 18.04 - failed to load driver: mali_drm

Post Reply
yesbird
Posts: 6
Joined: Wed Apr 05, 2017 6:35 am
languages_spoken: english
ODROIDs: C2 + Linux Ubuntu Mate 16.04
Has thanked: 0
Been thanked: 0
Contact:

C2 / Ubuntu 18.04 - failed to load driver: mali_drm

Unread post by yesbird » Sun Dec 16, 2018 2:40 pm

Hi guys !

Trying new C2 image of Ubuntu 18.04 I am getting following error, while gazebo running (suprisely) .
Could anyone help me please to fix it - I only don't like when something going wrong - this may have consequences in future. Here are details:

odroid@odroid:~/temp$ gazebo
MESA-LOADER: failed to retrieve device information
libGL error: unable to load driver: mali_drm_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: mali_drm

odroid@odroid:~/temp$ glmark2-es2
Error: eglCreateContext() failed with error: 0x3005
Error: CanvasGeneric: Invalid EGL state
Error: main: Could not initialize canvas
odroid@odroid:~/temp$

odroid@odroid:~/temp$ uname -a
Linux odroid 3.16.61-29 #1 SMP PREEMPT Tue Dec 11 11:26:42 -02 2018 aarch64 aarch64 aarch64 GNU/Linux

odroid@odroid:~/temp$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic

Thanks in advance.

User avatar
meveric
Posts: 10275
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: 13 times
Been thanked: 102 times
Contact:

Re: C2 / Ubuntu 18.04 - failed to load driver: mali_drm

Unread post by meveric » Sun Dec 16, 2018 6:03 pm

you're trying to start an OpenGL application, but the ODROID C2 does not support OpenGL only OpenGL ES.

gazebo seems to be an QT5 application so it could be that the Qt5 version you use is compiled against OpenGL rather than OpenGL ES.
There was a guide for that on the forum where you can build your own Qt5 version with OpenGL ES support.

But glmark2-es2 should work, so there is a chance your GPU drivers are broken.

If you have a desktop installed maybe reinstalling mali-x11 drivers might fix this.
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.

yesbird
Posts: 6
Joined: Wed Apr 05, 2017 6:35 am
languages_spoken: english
ODROIDs: C2 + Linux Ubuntu Mate 16.04
Has thanked: 0
Been thanked: 0
Contact:

Re: C2 / Ubuntu 18.04 - failed to load driver: mali_drm

Unread post by yesbird » Mon Dec 17, 2018 4:42 am

meveric, thank you very much for suggestion - I will explore mali-x11 drivers staff.

yesbird
Posts: 6
Joined: Wed Apr 05, 2017 6:35 am
languages_spoken: english
ODROIDs: C2 + Linux Ubuntu Mate 16.04
Has thanked: 0
Been thanked: 0
Contact:

Re: C2 / Ubuntu 18.04 - failed to load driver: mali_drm

Unread post by yesbird » Mon Dec 17, 2018 3:02 pm

Thanks to meveric glmark2-es2 works well now - reinstalling mali-x11 drivers done the trick.

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 2 guests