SIS DRI and libGL warning: 3D driver claims to not support visual 0x4a

Alex Deucher alexdeucher at gmail.com
Tue Feb 6 06:45:32 PST 2007


On 2/6/07, Tomasz Dominikowski <dominikowski at gmail.com> wrote:
> Hello Xorg users and developers. I have a problem with the SIS DRI
> driver. I'm using Ubuntu Feisty-current with SIS630 DRI-enabled
> graphics. Whenever I start a 3D-accelerated application I get a
> warning:
>
> libGL warning: 3D driver claims to not support visual 0x4a
>
> I wouldn't be worried if most if not all 3D applications fail to
> display properly. Of all the 3D games I've tried only Neverball works
> without visual glitches. The rest either fail to display graphics
> correctly or crash altogether. Those were just tests though.
>
> What I really wanted to run was AIGLX with Beryl. AIGLX works fine,
> Composite is enabled. However, Beryl fails to start:
>
> tom at srebrny:~$ beryl-manager
> tom at srebrny:~$ libGL warning: 3D driver claims to not support visual 0x4a
> **************************************************************
> * Beryl system compatiblity check                            *
> **************************************************************
>
> Detected xserver                                : AIGLX
>
> Checking Display :0.0 ...
>
> Checking for XComposite extension               : passed (v0.3)
> Checking for XDamage extension                  : passed
> Checking for RandR extension                    : passed
> Checking for XSync extension                    : passed
>
> Checking Screen 0 ...
>
> libGL warning: 3D driver claims to not support visual 0x4a
> Root visual is not a double buffered GL visual
> libGL warning: 3D driver claims to not support visual 0x4a
> beryl: Root visual is not a double buffered GL visual
> beryl: Failed to manage screen: 0
> beryl: No manageable screens found on display :0.0
>
> Now, I'm no expert at this, but the SIS DRI is badly missing
> GL_ARB_texture_non_power_of_two instruction and the "double buffered
> GL visual",  whatever that means.
>
> Here's my glxinfo:
>
> tom at srebrny:~$ glxinfo
> name of display: :0.0
> libGL warning: 3D driver claims to not support visual 0x4a
> 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_EXT_texture_from_pixmap, GLX_OML_swap_method,
>    GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
>    GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_MESA_copy_sub_buffer
> 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_SGIS_multisample, GLX_SGIX_fbconfig
> OpenGL vendor string: Eric Anholt
> OpenGL renderer string: Mesa DRI SiS 20060710 AGP 1x
> OpenGL version string: 1.2 Mesa 6.5.1
> OpenGL extensions:
>    GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
>    GL_ARB_texture_compression, GL_ARB_texture_mirrored_repeat,
>    GL_ARB_transpose_matrix, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra,
>    GL_EXT_clip_volume_hint, GL_EXT_compiled_vertex_array,
>    GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_packed_pixels,
>    GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color,
>    GL_EXT_separate_specular_color, GL_EXT_stencil_wrap, GL_EXT_subtexture,
>    GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp,
>    GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_vertex_array,
>    GL_APPLE_packed_pixels, GL_IBM_rasterpos_clip,
>    GL_IBM_texture_mirrored_repeat, GL_MESA_ycbcr_texture, GL_MESA_window_pos,
>    GL_NV_blend_square, GL_NV_light_max_exponent, GL_NV_texgen_reflection,
>    GL_OES_read_format, GL_SGIS_texture_border_clamp,
>    GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod
> 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
> ----------------------------------------------------------------------
> 0x22 24 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
> 0x23 24 tc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
> 0x24 24 tc  0 32  0 r  .  .  8  8  8  8  0 16  0  0  0  0  0  0 0 None
> 0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 16  0  0  0  0  0  0 0 None
> 0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 32  0  0  0  0  0  0 0 None
> 0x27 24 tc  0 32  0 r  y  .  8  8  8  8  0 32  0  0  0  0  0  0 0 None
> 0x28 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
> 0x29 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
> 0x2a 24 tc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
> 0x2b 24 tc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
> 0x2c 24 tc  0 32  0 r  .  .  8  8  8  8  0 16  0 16 16 16 16  0 0 Slow
> 0x2d 24 tc  0 32  0 r  y  .  8  8  8  8  0 16  0 16 16 16 16  0 0 Slow
> 0x2e 24 tc  0 32  0 r  .  .  8  8  8  8  0 32  0 16 16 16 16  0 0 Slow
> 0x2f 24 tc  0 32  0 r  y  .  8  8  8  8  0 32  0 16 16 16 16  0 0 Slow
> 0x30 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
> 0x31 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
> 0x4a 32 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 Ncon
>
> I would honestly appreciate any input on this. I know, I know SiS630
> is old and everyone forgot about it already. Some of us can't afford
> the fancy cards to have the desktop effects enabled. Besides this is a
> laptop, can't really change anything here. So I guess there should be
> some work done that I would have done myself (I'm a translator for
> GNOME and other projects and I do a lot of non-dev work for OSS), but
> alas, lack the programming skills. Thus I ask here, is someone able to
> fix the SIS DRI driver?

It's easy enough to make the root window default to a double buffered
visual, but the big problem is going to be the lack of NPOT textures.
IIRC, neither beryl or compiz support POT textures if NPOT texutres
are not available.

Alex

>
> With regards,
>                         Tomasz Dominikowski
>
> --
> Tomasz Dominikowski
> http://www.skyos.org
> "Brian, let us pray. Dear Lord... stay out of our way!"
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg
>



More information about the xorg mailing list