[Mesa-users] Using GLX remotely....how to configure?
L. A. Walsh
freedesktop at tlinx.org
Fri Mar 14 10:36:54 PDT 2014
It used to be the case about 2 years back, that
I could run GLX programs remotely, via X, with reasonable performance
for a Xdisplay running on Windows via Cygwin, on the same
1Gb net as the running program.
The reason I'm being "vague" is that I think it was under openSuse's
12.1 that it last worked.
What seemed to change -- I'm not sure on the timing was a complete
reconfig of the configuration files into rc-style, numbered run scripts in
/etc/X11/xorg.conf.d.
I'm wondering if Mesa switched away from using 'xlib-glx' in that
time frame and to using the the "dri-modules" around then -- and
wondering if that might be related.
Can Mesa be run over a remote X connection -- or how does one set
up the server side?
It seems it tries to load 'swrast' and fails. From the bug I filed
in opensuse's db @ https://bugzilla.novell.com/show_bug.cgi?id=867019,
I get the following -- in trying to start a gnome session:
Ishtar:/etc/xrdp> export LIBGL_DEBUG=verbose
Ishtar:/etc/xrdp> startwm.sh
/usr/bin/gnome-session
Starting gnome-session
libGL: OpenDriver: trying /usr/lib64/dri/updates/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib64/dri/updates/swrast_dri.so
libGL: Can't open configuration file /home/law/.drirc: No such file or
directory.
libGL error: failed to load driver: swrast
gnome-session-is-accelerated: No GLX_EXT_texture_from_pixmap support.
gnome-session-check-accelerated: Helper exited with code 256
libGL: OpenDriver: trying /usr/lib64/dri/updates/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib64/dri/updates/swrast_dri.so
libGL: Can't open configuration file /home/law/.drirc: No such file or
directory.
libGL error: failed to load driver: swrast
gnome-session-is-accelerated: No GLX_EXT_texture_from_pixmap support.
gnome-session-check-accelerated: Helper exited with code 256
** (process:11515): WARNING **: software acceleration check failed: Child
process exited with code 1
----
What is .drirc? I.e. it looks like it might be for specifying
different default values -- but it also looks like it is failing after
not being able to find it.
------
I used to get basic or minimal functionality w/remote, but now I
get no remote.
The box I'm running the programs has a VGA compat card (it's
basically a mostly headless server -- with the the vga support,
on board in the motherboard.
glxinfo displays:
> LIBGL_DEBUG=verbose glxinfo 2>&1
name of display: athenae.hs.tlinx.org:0
libGL: OpenDriver: trying /usr/lib64/dri/updates/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib64/dri/updates/swrast_dri.so
libGL: Can't open configuration file /home/law/.drirc: No such file or
directory.
libGL error: failed to load driver: swrast
display: athenae.hs.tlinx.org:0 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.4
server glx extensions:
GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, GLX_OML_swap_method,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGI_make_current_read, GLX_SGI_swap_control
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_create_context, GLX_ARB_create_context_profile,
GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float,
GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample,
GLX_EXT_create_context_es2_profile, GLX_EXT_fbconfig_packed_float,
GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context,
GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer,
GLX_MESA_multithread_makecurrent, GLX_MESA_swap_control,
GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync
GLX version: 1.4
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_MESA_multithread_makecurrent, GLX_OML_swap_method,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGI_make_current_read, GLX_SGI_swap_control
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 590/PCIe/SSE2
OpenGL version string: 1.4 (4.4.0)
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program,
GL_ARB_fragment_program_shadow, GL_ARB_framebuffer_object, GL_ARB_imaging,
GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_occlusion_query,
GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shadow,
GL_ARB_texture_border_clamp, GL_ARB_texture_compression,
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_texture_non_power_of_two, GL_ARB_texture_rectangle,
GL_ARB_texture_rg, GL_ARB_transpose_matrix, GL_ARB_vertex_program,
GL_ARB_window_pos, GL_ATI_draw_buffers, GL_ATI_texture_float,
GL_ATI_texture_mirror_once, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_draw_range_elements,
GL_EXT_fog_coord, GL_EXT_framebuffer_blit, GL_EXT_framebuffer_multisample,
GL_EXT_framebuffer_object, GL_EXT_framebuffer_sRGB,
GL_EXT_multi_draw_arrays, GL_EXT_packed_depth_stencil,
GL_EXT_packed_pixels, GL_EXT_point_parameters, 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_compression_dxt1,
GL_EXT_texture_compression_s3tc, GL_EXT_texture_edge_clamp,
GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic,
GL_EXT_texture_lod, GL_EXT_texture_lod_bias, GL_EXT_texture_mirror_clamp,
GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_vertex_array,
GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat,
GL_INGR_blend_func_separate, GL_NV_blend_square,
GL_NV_copy_depth_to_color, GL_NV_depth_clamp, GL_NV_fog_distance,
GL_NV_fragment_program, GL_NV_fragment_program2,
GL_NV_fragment_program_option, GL_NV_light_max_exponent,
GL_NV_multisample_filter_hint, GL_NV_packed_depth_stencil,
GL_NV_point_sprite, GL_NV_texgen_reflection,
GL_NV_texture_compression_vtc, GL_NV_texture_env_combine4,
GL_NV_texture_rectangle, GL_NV_vertex_program, GL_NV_vertex_program1_1,
GL_NV_vertex_program2, GL_NV_vertex_program2_option,
GL_NV_vertex_program3, GL_SGIS_generate_mipmap,
GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow,
GL_SUN_multi_draw_arrays, GL_SUN_slice_accum
------------------
I.e. Glx is picking up the type of GLX supported on the remote
card -- and correctly detecting my Nvidia based graphics card.
So ... the open suse people claim that might be the problem and
that MesaGL might not work with Nividia's GLX on windows using
cygwin. (!?)
So how can I get it to work? Ideas?
Thanks!
More information about the mesa-users
mailing list