LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   freeglut problem, "Unable to create direct context rendering" (https://www.linuxquestions.org/questions/linux-software-2/freeglut-problem-unable-to-create-direct-context-rendering-917844/)

Masataka 12-09-2011 01:01 AM

freeglut problem, "Unable to create direct context rendering"
 
Hi, I'm facing a problem similar as:

http://www.linuxquestions.org/questi...cation-799952/

I think it might caused by lack of Intel graphic driver, so searched '2) Mesa 3D GL driver' might be fit in
http://intellinuxgraphics.org/download.html

How can I get installed intel graphic driver in [r]? Which module appropriate?

---------- Environment:
- Windows XP 32bit [c]lient has SSH connection to the [r]emote server
- [c] has running X windows server (Xming), and a terminal emulator (TeraTerm) logged in [r] properly

$ pymol
freeglut (pymol): Unable to create direct context rendering for window 'PyMOL Viewer'
This may hurt performance.
...
OpenGL graphics engine:
GL_VENDOR: Intel
GL_RENDERER: Intel 945G
GL_VERSION: 1.2 (1.4.0 - Build 4.14.10.4543)

$ cat /etc/redhat-release
CentOS release 5.7 (Final)

$ glxinfo
name of display: localhost:10.0
display: localhost:10 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGIS_multisample, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier,
GLX_SGIX_fbconfig
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
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_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_fbconfig
OpenGL vendor string: Intel
OpenGL renderer string: Intel 945G
OpenGL version string: 1.2 (1.4.0 - Build 4.14.10.4543)
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_multitexture, GL_ARB_point_parameters,
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_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
GL_EXT_blend_func_separate, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
GL_EXT_clip_volume_hint, GL_EXT_draw_range_elements, GL_EXT_fog_coord,
GL_EXT_multi_draw_arrays, 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_env_add, GL_EXT_texture_env_combine,
GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
GL_NV_blend_square, GL_NV_texgen_reflection, GL_SGIS_generate_mipmap,
GL_SGIS_texture_border_clamp, GL_SUN_multi_draw_arrays

visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x22 24 tc 1 24 0 r . . 8 8 8 0 0 0 0 0 0 0 0 0 0 None
0x23 24 tc 1 24 0 r . . 8 8 8 0 0 0 0 16 16 16 16 0 0 None
0x24 24 tc 1 24 0 r . . 8 8 8 0 0 0 8 0 0 0 0 0 0 None
0x25 24 tc 1 24 0 r . . 8 8 8 0 0 0 8 16 16 16 16 0 0 None
0x26 24 tc 1 24 0 r y . 8 8 8 0 0 0 0 0 0 0 0 0 0 None
0x27 24 tc 1 24 0 r y . 8 8 8 0 0 0 0 16 16 16 16 0 0 None
0x28 24 tc 1 24 0 r y . 8 8 8 0 0 0 8 0 0 0 0 0 0 None
0x29 24 tc 1 24 0 r y . 8 8 8 0 0 0 8 16 16 16 16 0 0 None
0x2a 24 tc 1 24 0 r . . 8 8 8 0 2 0 0 0 0 0 0 0 0 None
0x2b 24 tc 1 24 0 r . . 8 8 8 0 2 0 0 16 16 16 16 0 0 None
0x2c 24 tc 1 24 0 r . . 8 8 8 0 2 0 8 0 0 0 0 0 0 None
0x2d 24 tc 1 24 0 r . . 8 8 8 0 2 0 8 16 16 16 16 0 0 None
0x2e 24 tc 1 24 0 r y . 8 8 8 0 2 0 0 0 0 0 0 0 0 None
0x2f 24 tc 1 24 0 r y . 8 8 8 0 2 0 0 16 16 16 16 0 0 None
0x30 24 tc 1 24 0 r y . 8 8 8 0 2 0 8 0 0 0 0 0 0 None
0x31 24 tc 1 24 0 r y . 8 8 8 0 2 0 8 16 16 16 16 0 0 None
0x32 24 tc 1 24 0 r . . 8 8 8 0 0 24 0 0 0 0 0 0 0 None
0x33 24 tc 1 24 0 r . . 8 8 8 0 0 24 0 16 16 16 16 0 0 None
0x34 24 tc 1 24 0 r . . 8 8 8 0 0 24 8 0 0 0 0 0 0 None
0x35 24 tc 1 24 0 r . . 8 8 8 0 0 24 8 16 16 16 16 0 0 None
0x36 24 tc 1 24 0 r y . 8 8 8 0 0 24 0 0 0 0 0 0 0 None
0x37 24 tc 1 24 0 r y . 8 8 8 0 0 24 0 16 16 16 16 0 0 None
0x38 24 tc 1 24 0 r y . 8 8 8 0 0 24 8 0 0 0 0 0 0 None
0x39 24 tc 1 24 0 r y . 8 8 8 0 0 24 8 16 16 16 16 0 0 None
0x3a 24 tc 1 24 0 r . . 8 8 8 0 2 24 0 0 0 0 0 0 0 None
0x3b 24 tc 1 24 0 r . . 8 8 8 0 2 24 0 16 16 16 16 0 0 None
0x3c 24 tc 1 24 0 r . . 8 8 8 0 2 24 8 0 0 0 0 0 0 None
0x3d 24 tc 1 24 0 r . . 8 8 8 0 2 24 8 16 16 16 16 0 0 None
0x3e 24 tc 1 24 0 r y . 8 8 8 0 2 24 0 0 0 0 0 0 0 None
0x3f 24 tc 1 24 0 r y . 8 8 8 0 2 24 0 16 16 16 16 0 0 None
0x40 24 tc 1 24 0 r y . 8 8 8 0 2 24 8 0 0 0 0 0 0 None
0x41 24 tc 1 24 0 r y . 8 8 8 0 2 24 8 16 16 16 16 0 0 None

adamk75 12-09-2011 04:22 AM

The problem is that you're doing this over ssh. How can you're GL application get direct access to the video hardware when that hardware is on another machine?

Masataka 12-17-2011 08:01 AM

Thanks, I see how the graphic driver is detected depends on detecting itself directly or not.

Masataka


All times are GMT -5. The time now is 08:54 AM.