GLFW Error: GLX: No GLXFBConfigs
Opened this issue · 3 comments
Describe the bug
Hi, I install gw through conda, when I tested using the command "gw hg38", I got this error
GLFW Error: GLX: No GLXFBConfigs returned
GLFW Error: GLX: Failed to find a suitable GLXFBConfig
ERROR: glfwCreateWindow failed
System (please complete the following information):
- GW version v1.1.0
- OS: Linux version 3.10.0-1160.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44)
Hi @ssssyq1123,
Could you run GW_DEBUG=1 gw hg38
and let me know the output? Thanks!
You can try building from source using this command:
"${SHELL}" <(curl -L https://raw.githubusercontent.com/kcleal/gw/master/deps/conda_installer.sh)
Hi @ssssyq1123,
Could you run
GW_DEBUG=1 gw hg38
and let me know the output? Thanks!You can try building from source using this command:
"${SHELL}" <(curl -L https://raw.githubusercontent.com/kcleal/gw/master/deps/conda_installer.sh)
Hi, I run GW_DEBUG=1 gw hg38
, the result showed that
DISPLAY=localhost:20.0
LIBGL_DEBUG=
LIBGL_ALWAYS_INDIRECT=
LIBGL_ALWAYS_SOFTWARE=
MESA_DEBUG=
MESA_GL_VERSION_OVERRIDE=
GLX_DEBUG=
GALLIUM_DRIVER=
__GL_LOG_LEVEL=
LD_DEBUG=
XDG_SESSION_TYPE=
WAYLAND_DEBUG=
GLFW version: 3.4.0 Wayland X11 GLX Null EGL OSMesa monotonic shared
GLFW_CONTEXT_VERSION_MAJOR=
GLFW_CONTEXT_VERSION_MINOR=
GLFW Error: GLX: No GLXFBConfigs returned
GLFW Error: GLX: Failed to find a suitable GLXFBConfig
ERROR: glfwCreateWindow failed
I also run "${SHELL}" <(curl -L https://raw.githubusercontent.com/kcleal/gw/master/deps/conda_installer.sh)
and it failed. It showed that
Could not solve for environment specs
The following packages are incompatible
├─ glfw >=3.3 does not exist (perhaps a typo or a missing channel);
├─ libegl-devel does not exist (perhaps a typo or a missing channel);
├─ libgl-devel does not exist (perhaps a typo or a missing channel);
├─ libgles-devel does not exist (perhaps a typo or a missing channel);
├─ libglx-devel does not exist (perhaps a typo or a missing channel);
└─ wayland does not exist (perhaps a typo or a missing channel).
Then I manual install the packages through conda, and I run gw hg38
, it showed
[E::fai_load3_core] Failed to open FASTA index https://github.com/kcleal/ref_genomes/releases/download/v0.1.0/hg38.fa.gz.fai: Success
Error: reference genome could not be opened https://github.com/kcleal/ref_genomes/releases/download/v0.1.0/hg38.fa.gz
Then I load my local genome, the error comes again.....
GLFW Error: GLX: No GLXFBConfigs returned
GLFW Error: GLX: Failed to find a suitable GLXFBConfig
ERROR: glfwCreateWindow failed
Hi @ssssyq1123,
Thanks for trying.
Could I ask, was GW built from source, or is this the conda package that is still failing? sorry it wasn't clear to me.
I just updated the conda install script, there were some missing channels, sorry about that, it should work now.
To see if glx is configured run glxinfo
The glx error indicates this is something that's occurring outside of GW, relating to how openGL is loaded at runtime.