Skip to content

No GLXFBConfigs returned using X11 forwarding #234

@dsfenn

Description

@dsfenn

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions