Skip to content
This repository has been archived by the owner on Apr 28, 2021. It is now read-only.

LoadError: GLX version 1.3 is required #128

Closed
ChrisRackauckas opened this issue Nov 23, 2016 · 4 comments
Closed

LoadError: GLX version 1.3 is required #128

ChrisRackauckas opened this issue Nov 23, 2016 · 4 comments

Comments

@ChrisRackauckas
Copy link
Contributor

I get the error:

ERROR: LoadError: GLX: GLX version 1.3 is required
 in (::GLFW.##5#6)(::Int32, ::String) at /home/crackauc/.julia/v0.5/GLFW/src/GLFW.jl:22
 in ##ErrorCallbackWrapper#270(::Int32, ::Cstring) at /home/crackauc/.julia/v0.5/GLFW/src/callback.jl:50
 in CreateWindow(::Int64, ::Int64, ::String, ::GLFW.Monitor, ::GLFW.Window) at /home/crackauc/.julia/v0.5/GLFW/src/glfw3.jl:342
 in #create_glcontext#46(::Tuple{Int64,Int64}, ::Bool, ::Int64, ::Int64, ::Array{Tuple{UInt32,Int64},1}, ::Array{Tuple{UInt32,Integer},1}, ::Bool, ::Bool, ::GLWindow.#create_glcontext, ::String) at /home/crackauc/.julia/v0.5/GLWindow/src/screen.jl:198
 in (::GLWindow.#kw##create_glcontext)(::Array{Any,1}, ::GLWindow.#create_glcontext, ::String) at ./<missing>:0
 in #Screen#47(::Tuple{Int64,Int64}, ::Bool, ::Int64, ::Int64, ::Array{Tuple{UInt32,Int64},1}, ::Array{Tuple{UInt32,Integer},1}, ::Array{Function,1}, ::Bool, ::ColorTypes.RGBA{FixedPointNumbers.UFixed{UInt8,8}}, ::Tuple{Float32,ColorTypes.RGBA{FixedPointNumbers.UFixed{UInt8,8}}}, ::Bool, ::Bool, ::Bool, ::Type{T}, ::String) at /home/crackauc/.julia/v0.5/GLWindow/src/screen.jl:237
 in (::Core.#kw#Type)(::Array{Any,1}, ::Type{GLWindow.Screen}, ::String) at ./<missing>:0
 in #glscreen#60(::Tuple{Int64,Int64}, ::Bool, ::Bool, ::ColorTypes.RGBA{FixedPointNumbers.UFixed{UInt8,8}}, ::Tuple{Float32,ColorTypes.RGBA{FixedPointNumbers.UFixed{UInt8,8}}}, ::Bool, ::Bool, ::Function, ::String) at /home/crackauc/.julia/v0.5/GLVisualize/src/renderloop.jl:73
 in (::GLVisualize.#kw##glscreen)(::Array{Any,1}, ::GLVisualize.#glscreen, ::String) at ./<missing>:0
 in (::Core.#kw#Type)(::Array{Any,1}, ::Type{ExampleRunner.RunnerConfig}) at ./<missing>:0
while loading /home/crackauc/.julia/v0.5/GLVisualize/test/runtests.jl, in expression starting on line 31

But my glxinfo is confusing:

[crackauc@crackauc2 ~]$ glxinfo
name of display: :1
display: :1  screen: 0
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_visual_info, 
    GLX_EXT_visual_rating, GLX_OML_swap_method, GLX_SGIS_multisample, 
    GLX_SGIX_fbconfig, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier, 
    GLX_SGI_make_current_read
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
client glx extensions:
    GLX_ARB_context_flush_control, GLX_ARB_create_context, 
    GLX_ARB_create_context_profile, GLX_ARB_create_context_robustness, 
    GLX_ARB_fbconfig_float, GLX_ARB_get_proc_address, GLX_ARB_multisample, 
    GLX_EXT_buffer_age, GLX_EXT_create_context_es2_profile, 
    GLX_EXT_create_context_es_profile, GLX_EXT_fbconfig_packed_float, 
    GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context, GLX_EXT_stereo_tree, 
    GLX_EXT_swap_control, GLX_EXT_swap_control_tear, 
    GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating, 
    GLX_NV_copy_buffer, GLX_NV_copy_image, GLX_NV_delay_before_swap, 
    GLX_NV_float_buffer, GLX_NV_multisample_coverage, GLX_NV_present_video, 
    GLX_NV_robustness_video_memory_purge, GLX_NV_swap_group, 
    GLX_NV_video_capture, GLX_NV_video_out, GLX_SGIX_fbconfig, 
    GLX_SGIX_pbuffer, GLX_SGI_swap_control, GLX_SGI_video_sync
GLX version: 1.2
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.4.1)
OpenGL extensions:
    GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multitexture, 
    GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shadow, 
    GL_ARB_texture_border_clamp, GL_ARB_texture_cube_map, 
    GL_ARB_texture_env_add, GL_ARB_texture_env_combine, 
    GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3, 
    GL_ARB_texture_mirrored_repeat, GL_ARB_transpose_matrix, 
    GL_ARB_window_pos, GL_ATI_texture_mirror_once, GL_EXT_abgr, GL_EXT_bgra, 
    GL_EXT_blend_color, GL_EXT_blend_func_separate, GL_EXT_blend_minmax, 
    GL_EXT_blend_subtract, GL_EXT_draw_range_elements, GL_EXT_fog_coord, 
    GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels, GL_EXT_rescale_normal, 
    GL_EXT_secondary_color, GL_EXT_separate_specular_color, 
    GL_EXT_shadow_funcs, GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, 
    GL_EXT_texture3D, GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add, 
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, 
    GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_vertex_array, 
    GL_IBM_texture_mirrored_repeat, GL_NV_blend_square, GL_NV_point_sprite, 
    GL_NV_texgen_reflection, GL_NV_texture_rectangle, GL_SGIS_generate_mipmap, 
    GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow

8 GLX Visuals
    visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav
  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------------
0x023 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 16  0  0  0  0  0  0 0 None
0x024 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 16  8 16 16 16  0  0 0 None
0x025 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 16  8 16 16 16 16  0 0 None
0x026 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 16  8 16 16 16 16  0 0 None
0x027 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 16  0  0  0  0  0  0 0 None
0x028 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 16  8 16 16 16  0  0 0 None
0x029 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 16  8 16 16 16 16  0 0 None
0x02a 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0 16  8 16 16 16 16  0 0 None

8 GLXFBConfigs:
    visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav
  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------------
0x023 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 16  0  0  0  0  0  0 0 None
0x024 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 16  8 16 16 16  0  0 0 None
0x025 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 16  8 16 16 16 16  0 0 None
0x026 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 16  8 16 16 16 16  0 0 None
0x027 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 16  0  0  0  0  0  0 0 None
0x028 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 16  8 16 16 16  0  0 0 None
0x029 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 16  8 16 16 16 16  0 0 None
0x02a 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0 16  8 16 16 16 16  0 0 None

Don't I have the v1.4 version installed from NVIDIA? Note that this is using VNC, so maybe there's an issue with that?

@SimonDanisch
Copy link
Member

direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)

This is a big red flag ;) That even more so:

OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2

This means you don't have hardware accelerated OpenGL installed. I'm guessing you haven't installed the NVIDIA driver correctly, which is pretty much the default on linux.

@ChrisRackauckas
Copy link
Contributor Author

It is installed, but it doesn't automatically get used over VNC. I can try running the Julia process through VirtualGL: vglrun julia, but yeah this starts to become a project.

@SimonDanisch
Copy link
Member

Oh sorry, overlooked the VNC. Uh yeah, that\s difficult... You can have a look at:
#117

@SimonDanisch
Copy link
Member

duplication of #146

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

No branches or pull requests

2 participants