Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
Author: gaara

Mali GPU driver

[Copy link]

18

Threads

200

Posts

841

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
841
Post time 2015-12-4 14:19:35 | Show all posts
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
Post time 2015-12-4 16:57:23 | Show all posts
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

7920

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
7920
Post time 2015-12-4 20:36:13 | Show all posts
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
Post time 2015-12-4 20:56:19 | Show all posts
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
Post time 2015-12-11 05:03:56 | Show all posts
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

295

Credits

Intermediate member

Rank: 3Rank: 3

Credits
295
Post time 2015-12-11 15:01:16 | Show all posts
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
Post time 2015-12-11 22:51:50 | Show all posts
hey anyone got G2D working?

1

Threads

116

Posts

661

Credits

Senior member

Rank: 4

Credits
661
Post time 2015-12-12 05:11:29 | Show all posts
I dont think H3 supports G2D

0

Threads

6

Posts

52

Credits

Registered member

Rank: 2

Credits
52
Post time 2015-12-12 20:36:01 | Show all posts
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 the 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 the Code
Any ideas? Thnaks

3

Threads

16

Posts

129

Credits

Registered member

Rank: 2

Credits
129
Post time 2015-12-13 17:04:58 | Show all posts
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 have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2020-6-6 03:52 GMT+8 , Processed in 0.035723 second(s), 20 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list