RandomCoderOrg / gl4es-port

GL4ES Port to termux proot users
https://randomcoderorg.github.io/gl4es-port/
MIT License
11 stars 3 forks source link

Unable to open display localhost:1 #2

Open sandibabsel opened 2 years ago

sandibabsel commented 2 years ago

root@localhost:~# glxinfo LIBGL: Initialising gl4es LIBGL: v1.1.5 built on Mar 26 2022 12:26:17 LIBGL: Using GLES 2.0 backend LIBGL: loaded: libGLESv2.so LIBGL: loaded: libEGL.so LIBGL: Using GLES 2.0 backend LIBGL: Error while gathering supported extension (eglInitialize: EGL_NOT_INITIALIZED), default to none LIBGL: Targeting OpenGL 2.1 LIBGL: WARNING, No Limited or Full NPOT support in hardware, Forcing NPOT have no effect!
LIBGL: Not trying to batch small subsequent glDrawXXXX LIBGL: try to use VBO LIBGL: Force texture for Attachment color0 on FBO LIBGL: Hack to trigger a SwapBuffers when a Full Framebuffer Blit on default FBO is done LIBGL: glX Will try to recycle EGL Surface LIBGL: Current folder is:/root Error: unable to open display localhost:1 LIBGL: Shuting down

GuythatUhmCreatesRandomStuff commented 2 weeks ago

termux-x11 :0 -xstartup "(command here)" or if you have an X session running export DISPLAY=:[display number which is mostly 0 or 1]