Can't set any OpenGL video mode on OpenSUSE 10.1 64 bit

Hi,

I am trying to run an OpenGL application using SDL 1.2.11 on OpenSUSE 10.1 64
bit, but SDL fails to set any reasonable video mode on my system (like
640x480x32 windowed/fullscreen, or 1152x768x24 (X11 setting)).

I have a Radeon X800 XT PE installed.

The application runs fine on MS Windows, Mac OS X and 32 bit Linux.

What could be the problem?

Hello !

I am trying to run an OpenGL application using SDL 1.2.11 on OpenSUSE
10.1 64
bit, but SDL fails to set any reasonable video mode on my system (like
640x480x32 windowed/fullscreen, or 1152x768x24 (X11 setting)).

I have a Radeon X800 XT PE installed.

The application runs fine on MS Windows, Mac OS X and 32 bit Linux.

What about other OpenGL apps under OpenSUSE ?
What says glxinfo ?

CU

Torsten Giebl <wizard syntheticsw.com> writes:

Hello !

I am trying to run an OpenGL application using SDL 1.2.11 on OpenSUSE
10.1 64
bit, but SDL fails to set any reasonable video mode on my system (like
640x480x32 windowed/fullscreen, or 1152x768x24 (X11 setting)).

I have a Radeon X800 XT PE installed.

The application runs fine on MS Windows, Mac OS X and 32 bit Linux.

What about other OpenGL apps under OpenSUSE ?
What says glxinfo ?

CU

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_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_lod_bias

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----------------------------------------------------------------------
0x23 24 tc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 1 0 None
0x24 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 1 0 None
0x25 24 tc 0 32 0 r y . 8 8 8 8 0 16 8 16 16 16 16 1 0 None
0x26 24 tc 0 32 0 r . . 8 8 8 8 0 16 8 16 16 16 16 1 0 None
0x27 24 dc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 1 0 None
0x28 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 1 0 None
0x29 24 dc 0 32 0 r y . 8 8 8 8 0 16 8 16 16 16 16 1 0 None
0x2a 24 dc 0 32 0 r . . 8 8 8 8 0 16 8 16 16 16 16 1 0 None

That MESA only returns OpenGL version 1.2 bothers me. :frowning:

I don’t know much but… shouldn’t you use your video card’s driver instead
of the “generic” ones?On 9/16/06, karx11erx wrote:

Torsten Giebl <wizard syntheticsw.com> writes:

Hello !

I am trying to run an OpenGL application using SDL 1.2.11 on OpenSUSE
10.1 64
bit, but SDL fails to set any reasonable video mode on my system (like
640x480x32 windowed/fullscreen, or 1152x768x24 (X11 setting)).

I have a Radeon X800 XT PE installed.

The application runs fine on MS Windows, Mac OS X and 32 bit Linux.

What about other OpenGL apps under OpenSUSE ?
What says glxinfo ?

CU

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_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_lod_bias

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

0x23 24 tc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 1 0 None
0x24 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 1 0 None
0x25 24 tc 0 32 0 r y . 8 8 8 8 0 16 8 16 16 16 16 1 0 None
0x26 24 tc 0 32 0 r . . 8 8 8 8 0 16 8 16 16 16 16 1 0 None
0x27 24 dc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 1 0 None
0x28 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 1 0 None
0x29 24 dc 0 32 0 r y . 8 8 8 8 0 16 8 16 16 16 16 1 0 None
0x2a 24 dc 0 32 0 r . . 8 8 8 8 0 16 8 16 16 16 16 1 0 None

That MESA only returns OpenGL version 1.2 bothers me. :frowning:


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Hello !

I have a Radeon X800 XT PE installed.

If you did not, try out the latest commercial 64bit
Linux drivers from the ATI page.

CU

DARKGuy . <dark.guy.2008 gmail.com> writes:

I don’t know much but… shouldn’t you use your video card’s driver instead of
the “generic” ones?

On 9/16/06, karx11erx <
karx11erx hotmail.com> wrote:Torsten Giebl <wizard
syntheticsw.com> writes:>> Hello !>> > I am trying to run an OpenGL
application using SDL 1.2.11 on OpenSUSE> > 10.1 64> > bit, but SDL fails to set
any reasonable video mode on my system (like

640x480x32 windowed/fullscreen, or 1152x768x24 (X11 setting)).> >> >> > I
have a Radeon X800 XT PE installed.> >> >> > The application runs fine on MS
Windows, Mac OS X and 32 bit Linux.

What about other OpenGL apps under OpenSUSE ?> What says glxinfo ?>>
CU>OpenGL vendor string: Mesa project: www.mesa3d.orgOpenGL renderer string:
Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.4.1)OpenGL
extensions: GL_ARB_imaging, GL_ARB_multitexture,
GL_ARB_texture_border_clamp, GL_ARB_texture_cube_map,
GL_ARB_texture_env_add, GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
GL_ARB_transpose_matrix, GL_EXT_abgr,
GL_EXT_blend_color, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
GL_EXT_texture_env_dot3, GL_EXT_texture_lod_bias
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----------------------------------------------------------------------
0x23 24 tc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 1 0 None0x24 24
tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 1 0 None0x25 24 tc 0
32 0 r y . 8 8 8 8 0 16 8 16 16 16 16 1 0 None
0x26 24 tc 0 32 0 r . . 8 8 8 8 0 16 8 16 16 16 16 1 0 None0x27 24
dc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 1 0 None0x28 24 dc 0
24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 1 0 None
0x29 24 dc 0 32 0 r y . 8 8 8 8 0 16 8 16 16 16 16 1 0 None0x2a 24
dc 0 32 0 r . . 8 8 8 8 0 16 8 16 16 16 16 1 0 NoneThat MESA only
returns OpenGL version 1.2 bothers me.
:(_______________________________________________SDL mailing listSDL
libsdl.orghttp://www.libsdl.org/mailman/listinfo/sdl


SDL mailing list
SDL libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

What is telling you I am not using the ATI drivers?

Torsten Giebl <wizard syntheticsw.com> writes:

Hello !

I have a Radeon X800 XT PE installed.

If you did not, try out the latest commercial 64bit
Linux drivers from the ATI page.

CU

I have installed the latest ATI 64 bit Linux drivers, but that didn’t cure the
problem. Btw, glxgears works, but only delivers 100 fps, which seems to be too
little, given my hardware.

Hello !

What is telling you I am not using the ATI drivers?

When you would use the commercial ATI drivers there should
be written something like ATI Radeon x800 … or something like
that. As Mesa is only emulating OpenGL with a Software Renderer.

CU

Torsten Giebl wrote:

Hello !

What is telling you I am not using the ATI drivers?

When you would use the commercial ATI drivers there should
be written something like ATI Radeon x800 … or something like
that. As Mesa is only emulating OpenGL with a Software Renderer.

Except if he’s running Xgl. But I suppose you get what you deserve for
doing so :slight_smile:

Stephane

Stephane Marchesin <stephane.marchesin wanadoo.fr> writes:

Torsten Giebl wrote:

Hello !

What is telling you I am not using the ATI drivers?

When you would use the commercial ATI drivers there should
be written something like ATI Radeon x800 … or something like
that. As Mesa is only emulating OpenGL with a Software Renderer.

Except if he’s running Xgl. But I suppose you get what you deserve for
doing so :slight_smile:

Stephane

Afaik MESA can emulate OpenGL with software rendering, but will use hardware
acceleration if available.

I wouldn’t know how to make my Linux installation use the ATI drivers if it
doesn’t already - I’ve done all I could do (i.e. install the drivers from ATI’s
Linux driver page).

Torsten Giebl <wizard syntheticsw.com> writes:

Hello !

What is telling you I am not using the ATI drivers?

When you would use the commercial ATI drivers there should
be written something like ATI Radeon x800 … or something like
that. As Mesa is only emulating OpenGL with a Software Renderer.

CU

Oops - I forgot some of the glxinfo output:

name of display: :0.0
display: :0 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: ATI
client glx version string: 1.3
client glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_get_proc_address, GLX_SGI_video_sync, GLX_ARB_multisample,
GLX_ATI_pixel_format_float, GLX_ATI_render_texture
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_multisample
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_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_lod_bias

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----------------------------------------------------------------------
0x23 24 tc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 1 0 None
0x24 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 1 0 None
0x25 24 tc 0 32 0 r y . 8 8 8 8 0 16 8 16 16 16 16 1 0 None
0x26 24 tc 0 32 0 r . . 8 8 8 8 0 16 8 16 16 16 16 1 0 None
0x27 24 dc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 1 0 None
0x28 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 1 0 None
0x29 24 dc 0 32 0 r y . 8 8 8 8 0 16 8 16 16 16 16 1 0 None
0x2a 24 dc 0 32 0 r . . 8 8 8 8 0 16 8 16 16 16 16 1 0 None

karx11erx <karx11erx hotmail.com> writes:

Hi,

I am trying to run an OpenGL application using SDL 1.2.11 on OpenSUSE 10.1 64
bit, but SDL fails to set any reasonable video mode on my system (like
640x480x32 windowed/fullscreen, or 1152x768x24 (X11 setting)).

I have a Radeon X800 XT PE installed.

The application runs fine on MS Windows, Mac OS X and 32 bit Linux.

What could be the problem?

Hm. I just found out from the fglrx log file that the driver installer failed to
recompile the kernel (required) … so I’ll get the kernel source and will try
to reinstall.

Stoned koala bears drooled eucalyptus spit in awe as karx11erx said:

What is telling you I am not using the ATI drivers?

Your glxinfo shows that you are using software mesa. Clues: no mention
of ATI in the vendor strings, lack of the extensions (ie vertex &
fragment shaders) known to be supported by ATI.

Using the ATI drivers (fglrx), glxinfo comes out like this on my box:

name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
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: ATI
client glx version string: 1.3
client glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_get_proc_address, GLX_ARB_multisample,
GLX_ATI_pixel_format_float, GLX_ATI_render_texture
GLX version: 1.2
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_multisample
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9600 Generic
OpenGL version string: 2.0.5582 (8.21.7)
OpenGL extensions:
GL_ARB_multitexture, GL_EXT_texture_env_add,
GL_EXT_compiled_vertex_array, GL_S3_s3tc, GL_ARB_depth_texture,
GL_ARB_fragment_program, GL_ARB_fragment_program_shadow,
GL_ARB_fragment_shader, GL_ARB_multisample, GL_ARB_occlusion_query,
GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shader_objects,
GL_ARB_shading_language_100, GL_ARB_shadow, GL_ARB_shadow_ambient,
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_transpose_matrix, GL_ARB_vertex_blend,
GL_ARB_vertex_buffer_object, GL_ARB_vertex_program,
GL_ARB_vertex_shader, GL_ARB_window_pos, GL_ARB_draw_buffers,
GL_ATI_draw_buffers, GL_ATI_element_array, GL_ATI_envmap_bumpmap,
GL_ATI_fragment_shader, GL_ATI_map_object_buffer,
GL_ATI_separate_stencil, GL_ATI_texture_env_combine3,
GL_ATI_texture_float, GL_ATI_texture_mirror_once,
GL_ATI_vertex_array_object, GL_ATI_vertex_attrib_array_object,
GL_ATI_vertex_streams, GL_ATIX_texture_env_combine3,
GL_ATIX_texture_env_route, GL_ATIX_vertex_shader_output_point_size,
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_framebuffer_object, 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_wrap, GL_EXT_texgen_reflection,
GL_EXT_texture3D, GL_EXT_texture_compression_s3tc,
GL_EXT_texture_cube_map, GL_EXT_texture_edge_clamp,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias,
GL_EXT_texture_mirror_clamp, GL_EXT_texture_object,
GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_EXT_vertex_shader,
GL_HP_occlusion_test, GL_NV_blend_square, GL_NV_occlusion_query,
GL_NV_texgen_reflection, GL_SGI_color_matrix, GL_SGIS_generate_mipmap,
GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays glu version: 1.3 glu
extensions: GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

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----------------------------------------------------------------------
0x23 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 1 0 None
0x24 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 None
0x25 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 None
0x26 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 None
0x27 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
0x28 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
0x29 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 1 0 None
0x2a 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 1 0 None
0x2b 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 1 0 None
0x2c 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 None
0x2d 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 None
0x2e 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 None
0x2f 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
0x30 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
0x31 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 1 0 None
0x32 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 1 0 None

and then repeat again for :0.1, the second head.


William Brodie-Tyrrell

Carpe Diem - fish of the day.

<@William_Brodie-Tyrre>
http://www.brodie-tyrrell.org/