Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 606584 - >x11-drivers/nvidia-drivers-375 - libEGL wants 10_nvidia.json
Summary: >x11-drivers/nvidia-drivers-375 - libEGL wants 10_nvidia.json
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL: https://devtalk.nvidia.com/default/to...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-20 09:14 UTC by Pablo Cholaky
Modified: 2017-01-20 10:13 UTC (History)
0 users

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


Attachments
Nvidia driver EGL patch (nvidia-drivers-375.26-r1-eglfix.patch,533 bytes, patch)
2017-01-20 09:14 UTC, Pablo Cholaky
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pablo Cholaky 2017-01-20 09:14:39 UTC
Created attachment 460716 [details, diff]
Nvidia driver EGL patch

Nvidia drivers can't make work EGL without the glvnd json file as explained here: https://devtalk.nvidia.com/default/topic/973013/linux/libegl-so-1-libegl-so-375-10-difference-not-in-release-notes-docs/

Seems like Nvidia EGL architecture follows the same as libGL with glvnd, so it needs to validate the nvidia json file inside the glvnd config folder. This patch doesn't require to configure the whole Nvidia GLVND LibGL driver, but EGL needs that file there to work.

Attaching patch creating correctly the json file inside the /usr/share folder following the requirement from Nvidia's libEGL.so using strace.

Steps to reproduce:
1) Run eglinfo or eglgears_x11
2) Observe a "eglinfo: eglInitialize failed" or "EGLUT: failed to initialize EGL display" respectivelly.

Applying solution
2) Working correctly.

Thanks rej

--
Pablo
Comment 1 Pablo Cholaky 2017-01-20 09:19:06 UTC
This patch applies for 375.26-r1 version only, but should be compatible with previous ones also. This bug may be impacting since 375.10 as mention the link previously mentioned
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2017-01-20 10:08:21 UTC
Fixed in 375.26-r3 and 378.09. Thanks for the report!