Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 359631 - Move libEGL*/libOpenVG* for dynamic switching on media-libs/mesa
Summary: Move libEGL*/libOpenVG* for dynamic switching on media-libs/mesa
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-20 17:53 UTC by Raúl Porcel (RETIRED)
Modified: 2017-01-26 05:36 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Raúl Porcel (RETIRED) gentoo-dev 2011-03-20 17:53:20 UTC
Hi,

Some(if not all) of the ARM hardware that have video output, use a propietary video chip, which require propietary drivers(like Nvidia and ATI) to be used with 3d accel. 

Such drivers use openGLES instead of openGL, and i've found that the media-libs/mesa prepares the openGL libraries for dynamic switching but it doesn't with openGLES nor openVG.

Please do the same with those libs. Later we'll think how we do it for switching the libraries, if either reusing eselect-opengl or doing another eselect.

Thanks
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-03-20 22:12:52 UTC
If I understand correctly, OpenGL 4.1 already includes GLES. Do we need to specially handle OpenGL 4.1 implementations?
Comment 2 Raúl Porcel (RETIRED) gentoo-dev 2011-04-02 17:29:03 UTC
I have no clue...i only know that said drivers provide libraries that collide with the ones from mesa like nvidia-drivers opengl libs do.
Comment 3 Raúl Porcel (RETIRED) gentoo-dev 2011-04-02 17:30:41 UTC
To be exact, the files colliding in the case of the SGX540 drivers are the following:

/usr/lib/libEGL.so.1
/usr/lib/libOpenVG.so.1
Comment 4 Steev Klimaszewski (RETIRED) gentoo-dev 2011-04-03 23:08:02 UTC
It's a little more than that, because occasionally headers also clash.  I haven't looked recently, but I know there were at least 5 different headers that clashed with Mesa, along with the so files.
Comment 5 Raúl Porcel (RETIRED) gentoo-dev 2011-07-03 16:04:28 UTC
Any news?
Comment 6 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-07-09 14:07:25 UTC
Would it be enough to move the files and create symlinks? What are the plans for switching?
Comment 7 Raúl Porcel (RETIRED) gentoo-dev 2011-07-09 16:52:40 UTC
(In reply to comment #6)
> Would it be enough to move the files and create symlinks? What are the plans
> for switching?

Should be the same as it gets done for opengl...the plans for switching would be to implement the same mechanism for opengl in eselect-opengl...
Comment 8 Luca Barbato gentoo-dev 2011-07-09 19:32:22 UTC
What makes everything muddy is that EGL is shared across the other Open* libs.
Comment 9 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-07-09 22:07:12 UTC
I committed mesa-7.1_rc1 which moves libEGL and libOpenVG for switching. If there are more issues please open a new bug.
Comment 10 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-07-09 22:10:27 UTC
Oops, I meant mesa-7.11_rc1.
Comment 11 Luca Barbato gentoo-dev 2011-07-09 22:36:04 UTC
GLES should follow OpenVG as well.
Comment 12 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-07-10 10:26:11 UTC
Moving libEGL.so.1 broke users of proprietary drivers, bug 374647.

A solution is needed that provides those libraries to those users, too.
Comment 13 Matt Turner gentoo-dev 2011-09-16 18:21:54 UTC
(In reply to comment #12)
> Moving libEGL.so.1 broke users of proprietary drivers, bug 374647.
> 
> A solution is needed that provides those libraries to those users, too.

That bug is now fixed. Where do we stand with this one?
Comment 14 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-10-01 13:19:12 UTC
That bug will come back once we start moving libEGL again.
Comment 15 Andreas K. Hüttel archtester gentoo-dev 2012-02-09 20:10:10 UTC
Relevant for using kde on arm gadgets...
Comment 16 Michael Palimaka (kensington) gentoo-dev 2013-08-20 14:01:26 UTC
It seems that libEGL and libOpenVG now both live in /usr/lib64/opengl/xorg-x11/lib/.

Is there anything to do on this bug still?
Comment 17 Manuel Lauss 2016-03-30 18:08:07 UTC
This seems to be broken again:
Current mesa ebuild (media-libs/mesa-11.1.2-r1, -9999) again
installs all libraries into /usr/<libdir>:

obj /usr/lib64/libEGL.so.1.0.0 8963e1db676798917b2dc0a831e54e1b 1459358540
obj /usr/lib64/libGL.so.1.2.0 4fc2e7f7c141bbc28872c571849f3c17 1459358540

and so on.


Thanks!
Comment 18 Matt Turner gentoo-dev 2017-01-26 05:36:58 UTC
GL, EGL, GLES should use libglvnd (not in tree yet).

OpenVG appears dead, and isn't provided by anything in tree anymore.