Open m1ndgames opened 5 years ago
Probably because it's trying to use Mesa EGL instead of the Nvidia EGL implementation, or the driver is too old.
Have you tried running other EGL apps?
Here's what it looks like on Debian with the Nvidia drivers installed:
> ls -la /usr/lib/x86_64-linux-gnu/libEGL*
lrwxrwxrwx 1 root root 20 Mar 2 04:21 /usr/lib/x86_64-linux-gnu/libEGL_mesa.so.0 -> libEGL_mesa.so.0.0.0
-rw-r--r-- 1 root root 259288 Mar 2 04:21 /usr/lib/x86_64-linux-gnu/libEGL_mesa.so.0.0.0
lrwxrwxrwx 1 root root 61 Jul 26 2018 /usr/lib/x86_64-linux-gnu/libEGL_nvidia.so.0 -> /etc/alternatives/nvidia--libEGL_nvidia.so.0-x86_64-linux-gnu
lrwxrwxrwx 1 root root 49 Jul 26 2018 /usr/lib/x86_64-linux-gnu/libEGL.so -> /etc/alternatives/glx--libEGL.so-x86_64-linux-gnu
lrwxrwxrwx 1 root root 51 Aug 26 2018 /usr/lib/x86_64-linux-gnu/libEGL.so.1 -> /etc/alternatives/glx--libEGL.so.1-x86_64-linux-gnu
Console:
Attempting to initialize EGL from file libEGL.so ...
Successfully loaded EGL library!
Successfully initialized display on device idx: 0, EGL version: 1.5
Running CGLSimpleDevice::HALInit...
Calling glGetString: 0x7f0f0d623440
Version: 4.6.0 NVIDIA 418.74
Vendor: NVIDIA Corporation
Renderer: GeForce GTX 1080 Ti/PCIe/SSE2
OpenGL initialized!
I added this to my run.py:
rgb_render_config={'window_size': (800, 600), 'minimap_size': (256, 256)}
console log: Attempting to initialize EGL from file libEGL.so ... Failed to find EGL functions in library file!
Im using the nvidia-340xx propritary driver for my laptops Quadro FX 880M.