Bug 13331 - client/server handshake gets the wrong extensions
Summary: client/server handshake gets the wrong extensions
Status: RESOLVED WONTFIX
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/Ext/GLX (show other bugs)
Version: 7.3 (2007.09)
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-21 01:07 UTC by Pierre Ossman
Modified: 2007-11-21 01:31 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Pierre Ossman 2007-11-21 01:07:16 UTC
For some reason the handshake between the client and server ends up with the wrong result. Some extensions go missing even though both parties support them.

Output from glxinfo:

server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, 
    GLX_OML_swap_method, GLX_SGI_swap_control, GLX_SGIS_multisample, 
    GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
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_MESA_allocate_memory, 
    GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control, 
    GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_SGI_swap_control, 
    GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig, 
    GLX_SGIX_visual_select_group

Notice that GLX_EXT_texture_from_pixmap is present on both server and client, but not in the result. Hence, compiz refuses to work.

Versions:

xorg-x11-server-Xorg-1.4.99.1-0.10.fc9
mesa-libGL-7.1-0.4.fc9
Comment 1 Michel Dänzer 2007-11-21 01:20:02 UTC
(In reply to comment #0)
> Notice that GLX_EXT_texture_from_pixmap is present on both server and client,
> but not in the result. Hence, compiz refuses to work.

GLX_EXT_texture_from_pixmap currently only works with indirect rendering, but there's no way to express that in the GLX API, so setting LIBGL_ALWAYS_INDIRECT=1 is currently required for this extension to be advertised. Some distros have compiz wrapper scripts to handle this.
Comment 2 Pierre Ossman 2007-11-21 01:31:13 UTC
I'm confused. Isn't GLX_EXT_texture_from_pixmap the ability provided by AIGLX? Since compiz relies on direct rendering for decent speed, it seems odd for it to rely on features only available with indirect rendering.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.