Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 503976 - require eselect module for EGL for wayland.
Summary: require eselect module for EGL for wayland.
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: C. Wijtmans
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-09 12:59 UTC by C. Wijtmans
Modified: 2016-10-20 11:32 UTC (History)
1 user (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 C. Wijtmans 2014-03-09 12:59:09 UTC
With the release of 32bit and 64 bit EGL from nvidia we now need a mechanism that allows wayland to use nvidia EGL. for now i think it requires mesa egl. I am not sure what gles is used for but it is required for KDE with wayland. I geuss a virtual ebuild and eselect module is required like there is for opengl and perhaps for gles as well.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-03-09 15:31:22 UTC
What is the problem here?

libEGL and libGLES* should be interchangeable in any implementation. x11-drivers/nvidia-drivers does not provide the headers, though, so setting a DEPEND on a virtual which RDEPENDS on both media-libs/mesa and x11-drivers/nvidia-drivers will not fix your issue, whatever it is.

Also, eselect-opengl works just fine.
Comment 2 C. Wijtmans 2014-03-09 17:24:29 UTC
what also what?
Of course eselect-opengl works fine, that is the point.
Wayland needs way of knowing whether to use nvidia EGL or mesa EGL
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-03-09 18:42:06 UTC
(In reply to C.J. Wijtmans from comment #2)
> what also what?

What problem are you trying to report? All I see is a solution.

> Of course eselect-opengl works fine, that is the point.
> Wayland needs way of knowing whether to use nvidia EGL or mesa EGL

How does introducing a virtual and an eselect module tell wayland anything? It should compile against mesa, not nvidia EGL.
Comment 4 C. Wijtmans 2014-03-09 23:57:26 UTC
No it shouldnt, whats the point of nvidia supporting EGL for wayland if we build it against a mesa software renderer? Does mesa EGL compile against nvidia opengl? I dont think so but i dont know.
Comment 5 C. Wijtmans 2014-03-27 20:37:22 UTC
This is what i am talking about:

# ls -lah /usr/lib64/libEGL.so
lrwxrwxrwx 1 root root 34 Mar 27 02:15 /usr/lib64/libEGL.so -> opengl/nvidia/lib/libEGL.so.334.21

There is no reason for me to have a mesa EGL module built for my system. Yet packages depend on mesa EGL.

I geuss EGL can be handled by eselect opengl.
Comment 6 C. Wijtmans 2016-10-20 11:32:48 UTC
obsolete?