Closed kde-yyds closed 1 year ago
Do you have the DISPLAY
variable set and an X server running?
Do you have the
DISPLAY
variable set and an X server running?
yes
Do you have the
DISPLAY
variable set and an X server running?
In the same terminal, glmark2-es2 works with mesa.
u0_a183@localhost ~/t/build (main) [1]> __EGL_VENDOR_LIBRARY_FILENAMES=/data/data/com.termux/files/usr/share/glvnd/egl_vendor.d/50_mesa.json glmark2-es2
=======================================================
glmark2 2023.01
=======================================================
OpenGL Information
GL_VENDOR: Mesa
GL_RENDERER: llvmpipe (LLVM 16.0.2, 128 bits)
GL_VERSION: OpenGL ES 3.2 Mesa 23.0.3
Surface Config: buf=32 r=8 g=8 b=8 a=8 depth=32 stencil=0 samples=0
Surface Size: 800x600 windowed
=======================================================
[build] use-vbo=false:^C⏎
u0_a183@localhost ~/t/build (main) [SIGINT]> __EGL_VENDOR_LIBRARY_FILENAMES=/data/data/com.termux/files/usr/share/glvnd/egl_vendor.d/10_android_wrapper.json glmark2-es2
Error: eglGetDisplay() failed with error: 0x3000
Error: main: Could not initialize canvas
u0_a183@localhost ~/t/build (main) [1]>
Does xdpyinfo -ext MIT-SHM
report support for shared pixmaps? That is needed. I personally only tested it with Termux:X11.
Does
xdpyinfo -ext MIT-SHM
report support for shared pixmaps? That is needed. I personally only tested it with Termux:X11.
i'm also using termux-x11 I updated the xwayland package and it now works.(I built xwayland by myself, and MIT-SHM didn't work)
but this time i always get error message
could not create EGLImage from HardwareBuffer
resize
Try setting the TERMUX_EGL_DISABLE_HWBUF
variable. This is still in early development and could break again.
Try setting the
TERMUX_EGL_DISABLE_HWBUF
variable. This is still in early development and could break again.
It works