Update to OpenGL 2.1
#5
My Odroid N2 is in about the same situation, there's a lack of drivers coming from ARM because they're pushing Android and Wayland.  BUT, if you're in a position to build a kernel, and I've done it a few times: take the kernel-level Mali package https://developer.arm.com/tools-and-soft...ard-kernel and build it in, then add the user-space drivers from https://developer.arm.com/tools-and-soft...user-space

The user-space driver is actually a libmali.so file with a few symlinks pointing at it, looks something like this:
Code:
lrwxrwxrwx 1 root root        11 Dec  2 13:43 libEGL.so -> libEGL.so.1
lrwxrwxrwx 1 root root        10 Dec  2 13:43 libEGL.so.1 -> libmali.so
lrwxrwxrwx 1 root root        17 Dec  2 13:43 libGLESv1_CM.so -> libGLESv1_CM.so.1
lrwxrwxrwx 1 root root        10 Dec  2 13:43 libGLESv1_CM.so.1 -> libmali.so
lrwxrwxrwx 1 root root        14 Dec  2 13:43 libGLESv2.so -> libGLESv2.so.2
lrwxrwxrwx 1 root root        10 Dec  2 13:43 libGLESv2.so.2 -> libmali.so
-rwxr-x--- 1 root root 149838991 Dec 18  2017 libmali.so
-rwxr-x--- 1 root root  19467864 Dec 18  2017 liboffline_compiler_api_gles.so
lrwxrwxrwx 1 root root        14 Dec  2 13:43 libOpenCL.so -> libOpenCL.so.1
lrwxrwxrwx 1 root root        10 Dec  2 13:43 libOpenCL.so.1 -> libmali.so
The library is a big binary blob but if you use nm to look into it you see functions and objects defined that belong to several Khronos languages.  If it's complete with the kernel-level stuff added it could be used to do OpenGL ES or OpenCL at least.  Looks like this wouldn't get OpenGL ES 2.1 but somewhere I saw 3.0 I think.

There are limitations on how it can be distributed but the workaround is to have everybody fetch their own package after agreeing to the distribution restrictions then use it with a package that somebody else made, you used to have to install Java that way.  If you try to use the user-space stuff by itself you get "undefined reference" errors because you've only got part of it.

I have a hunch that OpenGL shaders are about the same as OpenCL kernels, they're little subroutines which get compiled before use.  And that certainly didn't come from any OpenGL tutorial I've read.


Messages In This Thread
Update to OpenGL 2.1 - by RudderDuck - 11-08-2019, 02:34 PM
RE: Update to OpenGL 2.1 - by ab1jx - 11-29-2019, 08:18 PM
RE: Update to OpenGL 2.1 - by pjsf - 11-29-2019, 10:49 PM
RE: Update to OpenGL 2.1 - by ab1jx - 12-01-2019, 06:45 PM
RE: Update to OpenGL 2.1 - by ab1jx - 12-02-2019, 10:00 PM
RE: Update to OpenGL 2.1 - by sebt3 - 01-13-2020, 10:55 AM
RE: Update to OpenGL 2.1 - by aaspectre - 01-17-2020, 04:34 PM
RE: Update to OpenGL 2.1 - by aaspectre - 01-18-2020, 05:39 AM
RE: Update to OpenGL 2.1 - by icecream95 - 01-19-2020, 12:51 AM
RE: Update to OpenGL 2.1 - by RudderDuck - 02-05-2020, 03:37 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Exclamation 'failed to open panfrost' after system update using archarm Puckla 1 381 03-01-2024, 06:46 PM
Last Post: Puckla
  Manjaro [ARM Stable Update] 2021-07-23 issues Bocanila 1 2,069 08-21-2023, 09:10 PM
Last Post: vanessadonald
  Manjaro update: nerd-font-terminus dependency issue Vinay 3 1,398 05-10-2023, 04:51 AM
Last Post: Vinay
  Manjaro update broke hardware video acceleration with mpv myself600 2 1,402 01-25-2023, 09:12 AM
Last Post: myself600
Question Debian (Vanilla) no output on display after Kernel update (6.0.8-1) as365n4 1 1,310 12-09-2022, 12:43 PM
Last Post: as365n4
  WiFi stopped on Pinebook Pro after update tkudog 3 2,719 11-24-2022, 04:32 PM
Last Post: tkudog
  Manjaro update: wxgtk dependency issue Vinay 5 2,654 09-09-2022, 12:03 PM
Last Post: Vinay
  Error trying to update Manjaro software boosterh 5 2,974 08-31-2022, 10:28 PM
Last Post: shulamy
  Manjaro Gnome 22.06 pamac update fail/soft-bricked-OS u974615 5 2,464 08-21-2022, 12:00 PM
Last Post: u974615
  Manjaro PBP stable update 2022-06-19 bricked wpeckham 2 1,711 06-30-2022, 10:03 PM
Last Post: wangyukunshan

Forum Jump:


Users browsing this thread: 1 Guest(s)