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

No GLXFBConfigs returned using X11 forwarding #234

Open
dsfenn opened this issue Dec 6, 2023 · 1 comment
Open

No GLXFBConfigs returned using X11 forwarding #234

dsfenn opened this issue Dec 6, 2023 · 1 comment

Comments

@dsfenn
Copy link

dsfenn commented Dec 6, 2023

I'm running Julia on a headless server, with X11 forwarding, using GLFW 3.4.1. When using either a Linux or Windows client, I get this error:

julia> window = GLFW.CreateWindow(640, 480, "GLFW.jl")
ERROR: GLFWError (API_UNAVAILABLE): GLX: No GLXFBConfigs returned
Stacktrace:
 [1] _ErrorCallbackWrapper(code::Int32, description::Cstring)
   @ GLFW ~/.julia/packages/GLFW/BWxfF/src/callback.jl:43
 [2] CreateWindow(width::Int64, height::Int64, title::String, monitor::GLFW.Monitor, share::GLFW.Window)
   @ GLFW ~/.julia/packages/GLFW/BWxfF/src/glfw3.jl:499
 [3] CreateWindow
   @ ~/.julia/packages/GLFW/BWxfF/src/glfw3.jl:499 [inlined]
 [4] CreateWindow(width::Int64, height::Int64, title::String)
   @ GLFW ~/.julia/packages/GLFW/BWxfF/src/glfw3.jl:499
 [5] top-level scope
   @ REPL[2]:1

In case it's relevant, I'm able to run glxgears fine.

Also, in case it's relevant, here's the output of glxinfo:

dsfenn@pfe25:~> glxinfo | grep OpenGL
OpenGL vendor string: Mesa
OpenGL renderer string: llvmpipe (LLVM 16.0.6, 256 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 23.1.4
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.5 (Compatibility Profile) Mesa 23.1.4
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 23.1.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:

Thanks

EDIT: This post initially stated that this problem only occurred using a Windows client, as I seemed to have success with a Linux client at the beginning. However, it's now not working for either Windows or Linux, so I've edited the post to reflect that.

@dsfenn dsfenn changed the title No GLXFBConfigs returned using X11 forwarding on Windows 10 client No GLXFBConfigs returned using X11 forwarding Dec 7, 2023
@sebastian-east
Copy link

I am also getting the exact same error when attempting to use X forwarding between a windows and linux machine, also with GLFW 3.4.1 (I can also run glxgears fine, and X forwarding is working with WGLMakie and python plotting libraries). Anyone have any suggestions?

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