please choosego to mobile | Continue to access the PC version
Author: gaara

Mali GPU driver

[Copy link]

18

threads

200

posts

877

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
877
Published in 2015-12-4 14:19:35 | Show all floors
Edited by magicse at 2015-12-4 08:26
lyoko replied at 2015-12-3 23:04
you need to apply a small fix to script.bin in order to get dvi working through hdmi. loboris made a ...

You are right!

[hdmi_para]

    hdcp_enable = 0
    hdmi_cts_compatibility = 1

Orange PI 2
www.orangepi.pp.ua

0

threads

3

posts

16

credits

Novice

Rank: 1

credits
16
Published in 2015-12-4 16:57:23 | Show all floors
It still doesn't work. Maybe it's something wrong with HDMI/DVI adapter. I will check it. By the way, thanks for Your advices!

18

threads

303

posts

9574

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9574
Published in 2015-12-4 20:36:13 | Show all floors
ergodyn replied at 2015-12-4 16:57
It still doesn't work. Maybe it's something wrong with HDMI/DVI adapter. I will check it. By the way ...

I built a Lubuntu 15.04 with GPU driver based on loboris`s image. Check this thread below and try again.
http://www.orangepi.org/orangepi ... &extra=#pid7240

0

threads

10

posts

54

credits

Registered member

Rank: 2

credits
54
Published in 2015-12-4 20:56:19 | Show all floors
building working egl acceleration isn't too difficult. what's worse is posting sdcard imags everyday which dumbs down this community.

0

threads

6

posts

52

credits

Registered member

Rank: 2

credits
52
Published in 2015-12-11 05:03:56 | Show all floors
Hi guys
I used your image Lubuntu 1404 0.9.0 with GPU mali driver with integrated mali drivers(thank you very much for it). Banchmarks work perfect, but I have problems with Chromium browser.
When I run it with gpu support(set option --ignore-gpu-blacklist) it comes up but works very slow and do not play video well. Chromium also shows me next errors:
[2155:2155:1211/045430:ERROR:browser_main_loop.cc(209)] Gtk: Locale not supported by C library.
        Using the fallback 'C' locale.
libGL error: MESA-LOADER: malformed or no PCI ID
libGL error: dlopen /usr/lib/arm-linux-gnueabihf/dri/mali_drm_dri.so failed (/usr/lib/arm-linux-gnueabihf/dri/mali_drm_dri.so: cannot open shared object file: No such file or directory)
libGL error: dlopen ${ORIGIN}/dri/mali_drm_dri.so failed (${ORIGIN}/dri/mali_drm_dri.so: cannot open shared object file: No such file or directory)
libGL error: dlopen /usr/lib/dri/mali_drm_dri.so failed (/usr/lib/dri/mali_drm_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: mali_drm_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: mali_drm
[2198:2198:1211/045609:ERROR:gpu_video_decode_accelerator.cc(301)] Not implemented reached in void content::GpuVideoDecodeAccelerator::Initialize(media::VideoCodecProfile, IPC::Message*)HW video decode acceleration not available.
[2198:2198:1211/045614:ERROR:gpu_video_decode_accelerator.cc(301)] Not implemented reached in void content::GpuVideoDecodeAccelerator::Initialize(media::VideoCodecProfile, IPC::Message*)HW video decode acceleration not available.
^C^Cg_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0)


I do not have a clue where to look. Is it chromium issue or drivers? Please assist

0

threads

32

posts

353

credits

Intermediate member

Rank: 3Rank: 3

credits
353
Published in 2015-12-11 15:01:16 | Show all floors
romang replied at 2015-12-11 05:03
Hi guys
I used your image Lubuntu 1404 0.9.0 with GPU mali driver with integrated mali drivers(thank ...

I'm not sure if Chromium supports EGL.
Anyway, you should delete mesa GL and GLX libraries - they are getting in the way.

0

threads

10

posts

54

credits

Registered member

Rank: 2

credits
54
Published in 2015-12-11 22:51:50 | Show all floors
hey anyone got G2D working?

1

threads

116

posts

708

credits

Senior member

Rank: 4

credits
708
Published in 2015-12-12 05:11:29 | Show all floors
I dont think H3 supports G2D

0

threads

6

posts

52

credits

Registered member

Rank: 2

credits
52
Published in 2015-12-12 20:36:01 | Show all floors
whitewind replied at 2015-12-11 15:01
I'm not sure if Chromium supports EGL.
Anyway, you should delete mesa GL and GLX libraries - they  ...

Thank you for reply, but it doesn't help. When I remove GL libs and run Chromium I see:
  1. chromium-browser --ignore-gpu-blacklist --force-gpu-rasterization
  2. /usr/share/themes/Lubuntu-default/gtk-2.0/apps/thunar.rc:55: error: invalid string constant "thunar-statusbar", expected valid string constant
  3. [1671:1671:1212/191757:ERROR:gl_implementation_osmesa.cc(22)] Failed to load libGL.so.1: libGL.so.1: cannot open shared object file: No such file or directory
  4. [1671:1671:1212/191757:ERROR:gpu_child_thread.cc(227)] Exiting GPU process due to errors during initialization
  5. [1634:1666:1212/191757:ERROR:browser_gpu_channel_host_factory.cc(121)] Failed to launch GPU process.
Copy code
And when I run it with param --use-gl=egl I see:
  1. /usr/share/themes/Lubuntu-default/gtk-2.0/apps/thunar.rc:55: error: invalid string constant "thunar-statusbar", expected valid string constant
  2. [1800:1800:1212/194050:ERROR:gl_surface_egl.cc(479)] EGL display query failed with error EGL_SUCCESS
  3. [1800:1800:1212/194050:ERROR:gl_surface_egl.cc(486)] eglInitialize Default failed with error EGL_BAD_DISPLAY
  4. [1800:1800:1212/194050:ERROR:gl_surface_egl.cc(479)] EGL display query failed with error EGL_SUCCESS
  5. [1800:1800:1212/194050:ERROR:gl_surface_egl.cc(486)] eglInitialize Default failed with error EGL_BAD_DISPLAY
  6. [1800:1800:1212/194050:ERROR:gl_surface_x11.cc(68)] GLSurfaceEGL::InitializeOneOff failed.
  7. [1800:1800:1212/194050:ERROR:sandbox_linux.cc(345)] InitializeSandbox() called with multiple threads in process gpu-process
  8. [1800:1800:1212/194050:ERROR:gpu_child_thread.cc(227)] Exiting GPU process due to errors during initialization
  9. [1764:1795:1212/194050:ERROR:browser_gpu_channel_host_factory.cc(121)] Failed to launch GPU process.
Copy code
Any ideas? Thnaks

3

threads

16

posts

131

credits

Registered member

Rank: 2

credits
131
Published in 2015-12-13 17:04:58 | Show all floors
Anyone have script.bin, uImage and .fex kernel file for allwinner A20 boards, or Am I able to create my own?
If yes? what kernel I should use?
What image Lubuntu or Debian?
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list