Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GLFW Error: GLX: No GLXFBConfigs #56

Open
ssssyq1123 opened this issue Sep 26, 2024 · 3 comments
Open

GLFW Error: GLX: No GLXFBConfigs #56

ssssyq1123 opened this issue Sep 26, 2024 · 3 comments

Comments

@ssssyq1123
Copy link

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

Screenshots
image

System (please complete the following information):

  • GW version v1.1.0
  • OS: Linux version 3.10.0-1160.el7.x86_64 ([email protected]) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44)
@kcleal
Copy link
Owner

kcleal commented Sep 26, 2024

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)

@ssssyq1123
Copy link
Author

ssssyq1123 commented Sep 29, 2024

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

@kcleal
Copy link
Owner

kcleal commented Sep 29, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants