Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Could not create GBM EGL display: EGL_NOT_INITIALIZED
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
beelze
n00b
n00b


Joined: 10 Apr 2020
Posts: 4

PostPosted: Wed Jan 08, 2025 5:18 pm    Post subject: Could not create GBM EGL display: EGL_NOT_INITIALIZED Reply with quote

Recently I've found yelp isn't working with "Could not create GBM EGL display: EGL_NOT_INITIALIZED" message.

NVIDIA Corporation GP108 [GeForce GT 1030]
x11-drivers/nvidia-drivers-550.142
options nvidia-drm modeset=1

eglinfo shows "GBM platform: eglinfo: eglInitialize failed" full log
Back to top
View user's profile Send private message
rab0171610
Guru
Guru


Joined: 24 Dec 2022
Posts: 451

PostPosted: Wed Jan 08, 2025 7:19 pm    Post subject: Reply with quote

What is the output of (as your user, not as root):
Code:
env | grep EGL

If it returns nothing you can try setting an environment variable (exactly as is, with double underscores at the beginning of the string):
Code:
__EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/10_nvidia.json

Make sure the file exists on your system as well:
Code:
$ ls /usr/share/glvnd/egl_vendor.d/
10_nvidia.json  50_mesa.json

Make sure the env variable is set and active:
Code:
env | grep EGL

should return at minimum:
Code:
__EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/10_nvidia.json

If that does not help, then I would suggest filing a bug about yelp for the gnome devs.

You can also post more info here about your system and setup, specifically your emerge --info.
Back to top
View user's profile Send private message
beelze
n00b
n00b


Joined: 10 Apr 2020
Posts: 4

PostPosted: Wed Jan 08, 2025 10:35 pm    Post subject: Reply with quote

rab0171610 wrote:

Code:
__EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/10_nvidia.json


it worked :D thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum