public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* AIGLX
@ 2011-01-19 18:53 Ken Olum
  2011-01-19 21:11 ` AIGLX Jon TURNEY
  0 siblings, 1 reply; 6+ messages in thread
From: Ken Olum @ 2011-01-19 18:53 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: kdo

   From: Jon TURNEY <jon.turney@dronecode.org.uk>
   Date: Sun, 02 Jan 2011 18:08:02 +0000

   I would suggest that for an application like ParaView, you will probably get
   much better performance if you use the experimental hardware accelerated
   OpenGL -wgl mode, see [2] for details.

   [2] http://cygwin.com/ml/cygwin-xfree-announce/2010-11/msg00000.html

I tried this, but it did not work.  First I tried it in single-window
mode, and that gave an error in XWin.0.log that it wouldn't work with a
root window.  So then I said XWin -wgl -multiwindow, and in my
XWin.0.log I have the following error:

[  8581.437] (II) AIGLX: enabled GLX_SGI_make_current_read
[  8581.437] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[  8581.437] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[  8581.437] (II) AIGLX: enabled GLX_SGIX_pbuffer
[  8581.437] wglGetPixelFormatAttribivARB failed for WGL_NUMBER_PIXEL_FORMATS_ARB: Unknown error (c007000d (c007000d)
[  8581.437] 0 fbConfigs
[  8581.437] pxf vis  fb                      render         Ste                     aux    accum        MS    drawable             Group/
[  8581.437] idx  ID  ID VisualType Depth Lvl RGB CI DB Swap reo  R  G  B  A   Z  S  buf AR AG AB AA  bufs num  W P Pb  Float Trans Caveat
[  8581.437] -----------------------------------------------------------------------------------------------------------------------------
[  8581.437] (II) AIGLX: Set GLX version to 1.3
[  8581.437] (II) GLX: Initialized Win32 native WGL GL provider for screen 0

When I try to run glx programs they don't work, and glxinfo gives me
this error, regardless of whether I set LIBGL_ALWAYS_INDIRECT:

Error: couldn't find RGB GLX visual or fbconfig

                                        Ken

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: AIGLX
  2011-01-19 18:53 AIGLX Ken Olum
@ 2011-01-19 21:11 ` Jon TURNEY
  2011-01-21 17:52   ` AIGLX Ken Olum
  0 siblings, 1 reply; 6+ messages in thread
From: Jon TURNEY @ 2011-01-19 21:11 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: kdo

On 19/01/2011 18:53, Ken Olum wrote:
>    From: Jon TURNEY <jon.turney@dronecode.org.uk>
>    Date: Sun, 02 Jan 2011 18:08:02 +0000
> 
>    I would suggest that for an application like ParaView, you will probably get
>    much better performance if you use the experimental hardware accelerated
>    OpenGL -wgl mode, see [2] for details.
> 
>    [2] http://cygwin.com/ml/cygwin-xfree-announce/2010-11/msg00000.html
> 
> I tried this, but it did not work.  First I tried it in single-window
> mode, and that gave an error in XWin.0.log that it wouldn't work with a
> root window.  

Yes, sorry for not making that limitation clear.

> So then I said XWin -wgl -multiwindow, and in my
> XWin.0.log I have the following error:
> 
> [  8581.437] (II) AIGLX: enabled GLX_SGI_make_current_read
> [  8581.437] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
> [  8581.437] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
> [  8581.437] (II) AIGLX: enabled GLX_SGIX_pbuffer
> [  8581.437] wglGetPixelFormatAttribivARB failed for WGL_NUMBER_PIXEL_FORMATS_ARB: Unknown error (c007000d (c007000d)
> [  8581.437] 0 fbConfigs
> [  8581.437] pxf vis  fb                      render         Ste                     aux    accum        MS    drawable             Group/
> [  8581.437] idx  ID  ID VisualType Depth Lvl RGB CI DB Swap reo  R  G  B  A   Z  S  buf AR AG AB AA  bufs num  W P Pb  Float Trans Caveat
> [  8581.437] -----------------------------------------------------------------------------------------------------------------------------
> [  8581.437] (II) AIGLX: Set GLX version to 1.3
> [  8581.437] (II) GLX: Initialized Win32 native WGL GL provider for screen 0
> 
> When I try to run glx programs they don't work, and glxinfo gives me
> this error, regardless of whether I set LIBGL_ALWAYS_INDIRECT:
> 
> Error: couldn't find RGB GLX visual or fbconfig

Thanks for trying it out.  I guess you win some kind of prize for being the
first person to report a bug in WGL mode :-)

It looks like we are failing to get a list of OpenGL visuals from the driver
for your graphics card, which will prevent OpenGL from working at all.  Not
sure if this is due to something XWin is doing wrong or your graphics card
driver not properly supporting the WGL_ARB_pixel_format extension.

I wish you'd attached the full log so I could see what had been reported for
GL_VERSION, GL_VENDOR and GL_RENDERER, as that would give me some idea what
graphics driver causes this bug to manifest.

Anyhow, can you try with 'GLWIN_NO_WGL_EXTENSIONS=1 XWin -wgl -multiwindow'
which will use DescribePixelFormat() rather than the WGL_ARB_pixel_format
extension and might work better?

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: AIGLX
  2011-01-19 21:11 ` AIGLX Jon TURNEY
@ 2011-01-21 17:52   ` Ken Olum
  2011-01-24 18:38     ` AIGLX Jon TURNEY
  0 siblings, 1 reply; 6+ messages in thread
From: Ken Olum @ 2011-01-21 17:52 UTC (permalink / raw)
  To: cygwin-xfree

[-- Attachment #1: Type: text/plain, Size: 1171 bytes --]

   From: Jon TURNEY <jon.turney@dronecode.org.uk>
   Date: Wed, 19 Jan 2011 21:11:12 +0000

   Anyhow, can you try with 'GLWIN_NO_WGL_EXTENSIONS=1 XWin -wgl -multiwindow'

Thanks.  I did this and it worked.  However, for a particular paraview
dataset that I happened to have lying around it is slower than direct
rendering by a factor of about 2.  That may be related to the fact
that this particular scene has wiggly tubes with structure too small
to show on the screen, so there is a high ratio of data to things that
actually get displayed.  For the same scene, unaccelerated indirect
rendering is much slower than accelerated, perhaps by a factor of 10.
So when you can't use direct rendering, acceleration is a big help.

Once I say -wgl, direct rendering no longer works.  That is, if I
don't set LIBGL_ALWAYS_INDIRECT, then I get a long (infinite?)
sequence of errors like this:

X Error: BadMatch (invalid parameter attributes) 8
  Major opcode: 73 (X_GetImage)
  Resource id:  0xa0039a

I attach my XWin.0.log from a test in which I first succeeded with
LIBGL_ALWAYS_INDIRECT and then got the error above without it.

                                        Ken

[-- Attachment #2: XWin.0.log.1 --]
[-- Type: application/octet-stream, Size: 11032 bytes --]

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.9.3.0 (10903000)
Snapshot: 20110102-git-29db9091c6ae4995

XWin was started with the following command line:

XWin -wgl -multiwindow 

ddxProcessArgument - Initializing default screens
winInitializeScreenDefaults - primary monitor w 1280 h 1024
winInitializeDefaultScreens - native DPI x 96 y 96
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/kdo-sr1111nx:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
[ 88581.375] winInitializeScreens - 1
[ 88581.375] winInitializeScreen - 0
[ 88581.375] (WW) Failed to open protocol names file /usr/lib/X11/protocol.txt
[ 88581.375] (II) xorg.conf is not supported
[ 88581.375] (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
[ 88581.375] LoadPreferences: /home/kdo/.XWinrc not found
[ 88581.375] LoadPreferences: Loading /etc/X11/system.XWinrc
[ 88581.375] LoadPreferences: Done parsing the configuration file...
[ 88581.375] winGetDisplay: DISPLAY=:0.0
[ 88581.375] winDetectSupportedEngines - Windows NT/2000/XP
[ 88581.375] winDetectSupportedEngines - DirectDraw installed
[ 88581.375] winDetectSupportedEngines - Allowing PrimaryDD
[ 88581.375] winDetectSupportedEngines - DirectDraw4 installed
[ 88581.375] winDetectSupportedEngines - Returning, supported engines 0000001f
[ 88581.375] winSetEngine - Multi Window or Rootless => ShadowGDI
[ 88581.390] winScreenInit - Using Windows display depth of 32 bits per pixel
[ 88581.421] winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 1024 depth: 32
[ 88581.421] winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
[ 88581.421] winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32
[ 88581.421] null screen fn ReparentWindow
[ 88581.421] null screen fn RestackWindow
[ 88581.421] InitQueue - Calling pthread_mutex_init
[ 88581.421] InitQueue - pthread_mutex_init returned
[ 88581.421] InitQueue - Calling pthread_cond_init
[ 88581.421] InitQueue - pthread_cond_init returned
[ 88581.421] winInitMultiWindowWM - Hello
[ 88581.421] winInitMultiWindowWM - Calling pthread_mutex_lock ()
[ 88581.421] winMultiWindowXMsgProc - Hello
[ 88581.421] winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
[ 88581.421] Screen 0 added at virtual desktop coordinate (0,0).
[ 88581.421] MIT-SHM extension disabled due to lack of kernel support
[ 88581.421] XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel
[ 88581.640] GL_VERSION:     1.4.0 - Build 4.14.10.3762
[ 88581.640] GL_VENDOR:      Intel
[ 88581.640] GL_RENDERER:    Intel 845G
[ 88581.640] GL_EXTENSIONS:  GL_ARB_multitexture GL_ARB_point_parameters GL_ARB_texture_border_clamp GL_ARB_texture_compression
[ 88581.640] GL_EXTENSIONS:  GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3
[ 88581.640] GL_EXTENSIONS:  GL_ARB_texture_env_crossbar GL_ARB_transpose_matrix GL_ARB_vertex_program GL_ARB_window_pos GL_EXT_abgr
[ 88581.640] GL_EXTENSIONS:  GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract
[ 88581.640] GL_EXTENSIONS:  GL_EXT_clip_volume_hint GL_EXT_compiled_vertex_array GL_EXT_cull_vertex GL_EXT_fog_coord
[ 88581.640] GL_EXTENSIONS:  GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_packed_pixels_12 GL_EXT_rescale_normal
[ 88581.640] GL_EXTENSIONS:  GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_stencil_wrap
[ 88581.640] GL_EXTENSIONS:  GL_EXT_texture_compression_s3tc GL_EXT_texture_env_add GL_EXT_texture_env_combine
[ 88581.640] GL_EXTENSIONS:  GL_EXT_texture_filter_anisotropic GL_3DFX_texture_compression_FXT1 GL_IBM_texture_mirrored_repeat
[ 88581.640] GL_EXTENSIONS:  GL_NV_blend_square GL_NV_texgen_reflection GL_WIN_swap_hint GL_SGIS_generate_mipmap
[ 88581.640] WGL_EXTENSIONS: WGL_ARB_buffer_region WGL_ARB_extensions_string WGL_ARB_make_current_read WGL_ARB_pixel_format
[ 88581.640] WGL_EXTENSIONS: WGL_ARB_pbuffer WGL_EXT_swap_control
[ 88581.640] GLWIN_NO_WGL_EXTENSIONS is set, ignoring WGL_EXTENSIONS
[ 88581.640] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[ 88581.640] 30 fbConfigs
[ 88581.640] pxf vis  fb                      render         Ste                     aux    accum        MS    drawable             Group/
[ 88581.640] idx  ID  ID VisualType Depth Lvl RGB CI DB Swap reo  R  G  B  A   Z  S  buf AR AG AB AA  bufs num  W P Pb  Float Trans Caveat
[ 88581.640] -----------------------------------------------------------------------------------------------------------------------------
[ 88581.640]   1  60  42 TrueColor    32   0   y   .  .       .   8  8  8  8   0  0   0   0  0  0  0    0    0  y . .     .     .     2  
[ 88581.640]   2  61  43 TrueColor    32   0   y   .  y       .   8  8  8  8   0  0   0  16 16 16 16    0    0  y . .     .     .     2  
[ 88581.640]   3  62  44 TrueColor    32   0   y   .  .       .   8  8  8  8  16  0   0   0  0  0  0    0    0  y . .     .     .     2  
[ 88581.640]   4  41  45 TrueColor    32   0   y   .  y       .   8  8  8  8  16  0   0  16 16 16 16    0    0  y . .     .     .     2  
[ 88581.640]   5  63  46 TrueColor    32   0   y   .  .       .   8  8  8  8  24  8   0   0  0  0  0    0    0  y . .     .     .     2  
[ 88581.640]   6  21  47 TrueColor    32   0   y   .  y       .   8  8  8  8  24  8   0  16 16 16 16    0    0  y . .     .     .     2  
[ 88581.640]   7  64  48 TrueColor    32   0   y   .  .       .   8  8  8  0  32  8   0  16 16 16  0    0    0  y y .     .     .     0 *
[ 88581.640]   8  65  49 TrueColor    32   0   y   .  .       .   8  8  8  0  16  8   0  16 16 16  0    0    0  y y .     .     .     0 *
[ 88581.640]   9  66  4a TrueColor    32   0   y   .  y copy  .   8  8  8  0  32  8   0  16 16 16  0    0    0  y . .     .     .     0 *
[ 88581.640]  10  67  4b TrueColor    32   0   y   .  y copy  .   8  8  8  0  16  8   0  16 16 16  0    0    0  y . .     .     .     0 *
[ 88581.640]  11  68  4c TrueColor    32   0   y   .  .       .   8  8  8  8  32  8   0  16 16 16 16    0    0  y y .     .     .     0 *
[ 88581.640]  12  69  4d TrueColor    32   0   y   .  .       .   8  8  8  8  16  8   0  16 16 16 16    0    0  y y .     .     .     0 *
[ 88581.640]  13  6a  4e TrueColor    32   0   y   .  y copy  .   8  8  8  8  32  8   0  16 16 16 16    0    0  y . .     .     .     0 *
[ 88581.640]  14  6b  4f TrueColor    32   0   y   .  y copy  .   8  8  8  8  16  8   0  16 16 16 16    0    0  y . .     .     .     0 *
[ 88581.640]  19   0  50 TrueColor    24   0   y   .  .       .   8  8  8  0  32  8   0  16 16 16  0    0    0  . y .     .     .     0 *
[ 88581.640]  20   0  51 TrueColor    24   0   y   .  .       .   8  8  8  0  16  8   0  16 16 16  0    0    0  . y .     .     .     0 *
[ 88581.640]  21   0  52 TrueColor    24   0   y   .  .       .   8  8  8  8  32  8   0  16 16 16 16    0    0  . y .     .     .     0 *
[ 88581.640]  22   0  53 TrueColor    24   0   y   .  .       .   8  8  8  8  16  8   0  16 16 16 16    0    0  . y .     .     .     0 *
[ 88581.640]  25   0  54 TrueColor    16   0   y   .  .       .   5  5  5  0  32  8   0  11 11 10  0    0    0  . y .     .     .     0 *
[ 88581.640]  26   0  55 TrueColor    16   0   y   .  .       .   5  5  5  0  16  8   0  11 11 10  0    0    0  . y .     .     .     0 *
[ 88581.640]  27   0  56 TrueColor    16   0   y   .  .       .   5  5  5  8  32  8   0   8  8  8  8    0    0  . y .     .     .     0 *
[ 88581.640]  28   0  57 TrueColor    16   0   y   .  .       .   5  5  5  8  16  8   0   8  8  8  8    0    0  . y .     .     .     0 *
[ 88581.640]  31   0  58 TrueColor     8   0   y   .  .       .   3  3  2  0  32  8   0  11 11 10  0    0    0  . y .     .     .     0 *
[ 88581.640]  32   0  59 TrueColor     8   0   y   .  .       .   3  3  2  0  16  8   0  11 11 10  0    0    0  . y .     .     .     0 *
[ 88581.640]  33   0  5a TrueColor     8   0   y   .  .       .   3  3  2  8  32  8   0   8  8  8  8    0    0  . y .     .     .     0 *
[ 88581.640]  34   0  5b TrueColor     8   0   y   .  .       .   3  3  2  8  16  8   0   8  8  8  8    0    0  . y .     .     .     0 *
[ 88581.640]  37   0  5c TrueColor     4   0   y   .  .       .   1  1  1  0  32  8   0   5  6  5  0    0    0  . y .     .     .     0 *
[ 88581.640]  38   0  5d TrueColor     4   0   y   .  .       .   1  1  1  0  16  8   0   5  6  5  0    0    0  . y .     .     .     0 *
[ 88581.640]  39   0  5e TrueColor     4   0   y   .  .       .   1  1  1  8  32  8   0   4  4  4  4    0    0  . y .     .     .     0 *
[ 88581.640]  40   0  5f TrueColor     4   0   y   .  .       .   1  1  1  8  16  8   0   4  4  4  4    0    0  . y .     .     .     0 *
[ 88581.656] (II) GLX: Initialized Win32 native WGL GL provider for screen 0
[ 88581.671] [dix] Could not init font path element /usr/share/fonts/TTF/, removing from list!
[ 88581.671] [dix] Could not init font path element /usr/share/fonts/OTF/, removing from list!
[ 88582.375] winPointerWarpCursor - Discarding first warp: 640 512
[ 88582.375] (--) 3 mouse buttons found
[ 88582.375] (--) Setting autorepeat to delay=500, rate=31
[ 88582.375] (--) Windows keyboard layout: "00000409" (00000409) "US", type 4
[ 88582.375] (--) Found matching XKB configuration "English (USA)"
[ 88582.375] (--) Model = "pc105" Layout = "us" Variant = "none" Options = "none"
[ 88582.375] Rules = "base" Model = "pc105" Layout = "us" Variant = "none" Options = "none"
[ 88582.375] winInitMultiWindowWM - pthread_mutex_lock () returned.
[ 88582.390] winMultiWindowXMsgProc - pthread_mutex_lock () returned.
[ 88582.390] winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
[ 88582.390] winGetDisplay: DISPLAY=:0.0
[ 88582.390] winMultiWindowXMsgProc - DISPLAY=:0.0
[ 88582.390] winInitMultiWindowWM - pthread_mutex_unlock () returned.
[ 88582.406] winProcEstablishConnection - Hello
[ 88582.406] winInitClipboard ()
[ 88582.406] winClipboardProc - Hello
[ 88582.406] DetectUnicodeSupport - Windows NT/2000/XP
[ 88582.406] winProcEstablishConnection - winInitClipboard returned.
[ 88582.406] winGetDisplay: DISPLAY=:0.0
[ 88582.406] winClipboardProc - DISPLAY=:0.0
[ 88582.406] winGetDisplay: DISPLAY=:0.0
[ 88582.406] winInitMultiWindowWM - DISPLAY=:0.0
[ 88582.406] winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the display.
[ 88582.421] winClipboardProc - XOpenDisplay () returned and successfully opened the display.
[ 88582.421] winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the display.
[ 88753.484] winGetWindowInfo: forcing window to exist
[ 88753.515] glwrap: Resolved "glGetProgramivARB"
[ 88763.734] winGetWindowInfo: forcing window to exist
[ 88763.750] OS has icon alpha channel support: yes
[ 88763.828] glwrap: Resolved "glBlendFuncSeparateEXT"
[ 88775.375] winGetWindowInfo: forcing window to exist
[ 88779.578] winGetWindowInfo: forcing window to exist

[-- Attachment #3: Type: text/plain, Size: 223 bytes --]

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: AIGLX
  2011-01-21 17:52   ` AIGLX Ken Olum
@ 2011-01-24 18:38     ` Jon TURNEY
  2011-02-04 17:14       ` AIGLX Ken Olum
  0 siblings, 1 reply; 6+ messages in thread
From: Jon TURNEY @ 2011-01-24 18:38 UTC (permalink / raw)
  To: cygwin-xfree, kdo

On 21/01/2011 17:52, Ken Olum wrote:
>    From: Jon TURNEY <jon.turney@dronecode.org.uk>
>    Date: Wed, 19 Jan 2011 21:11:12 +0000
> 
>    Anyhow, can you try with 'GLWIN_NO_WGL_EXTENSIONS=1 XWin -wgl -multiwindow'
> 
> Thanks.  I did this and it worked.  However, for a particular paraview
> dataset that I happened to have lying around it is slower than direct
> rendering by a factor of about 2.  That may be related to the fact
> that this particular scene has wiggly tubes with structure too small
> to show on the screen, so there is a high ratio of data to things that
> actually get displayed.  For the same scene, unaccelerated indirect
> rendering is much slower than accelerated, perhaps by a factor of 10.
> So when you can't use direct rendering, acceleration is a big help.

Ok, thanks very much for trying it out anyhow.  It's very useful to have a
data point like that for an actual real-world use case :-)

Another factor is possibly that you aren't going to get awesome hardware
accelerated performance with an Intel 845G, either.

> Once I say -wgl, direct rendering no longer works.  That is, if I
> don't set LIBGL_ALWAYS_INDIRECT, then I get a long (infinite?)
> sequence of errors like this:
> 
> X Error: BadMatch (invalid parameter attributes) 8
>   Major opcode: 73 (X_GetImage)
>   Resource id:  0xa0039a

I can't reproduce this problem.  Can you give me a few more details on the
host which is running paraview: unix version, version of libGL and version of
paraview?

Do you get that error with other OpenGL applications (e.g. glxinfo) or just
paraview?

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: AIGLX
  2011-01-24 18:38     ` AIGLX Jon TURNEY
@ 2011-02-04 17:14       ` Ken Olum
  2011-03-05 18:05         ` AIGLX Jon TURNEY
  0 siblings, 1 reply; 6+ messages in thread
From: Ken Olum @ 2011-02-04 17:14 UTC (permalink / raw)
  To: cygwin-xfree

   From: Jon TURNEY <jon.turney@dronecode.org.uk>
   Date: Mon, 24 Jan 2011 18:38:36 +0000

   > Once I say -wgl, direct rendering no longer works.  That is, if I
   > don't set LIBGL_ALWAYS_INDIRECT, then I get a long (infinite?)
   > sequence of errors like this:
   > 
   > X Error: BadMatch (invalid parameter attributes) 8
   >   Major opcode: 73 (X_GetImage)
   >   Resource id:  0xa0039a

   I can't reproduce this problem.  Can you give me a few more details on the
   host which is running paraview: unix version, version of libGL and version of
   paraview?

Mandriva 2010.2 on x86_64 with kernel 2.6.33.7-server-2mnb
libGL is from lib64mesagl1-devel-7.8.1-6mdv2010.1
Paraview is version 3.8.1 for x86

I don't have a clear picture of when this bug occurs and when it doesn't.
I just deleted my paraview configuration file .config/ParaView/ParaView3.8.1.ini
to start with a clean environment, and now when I type paraview it
gives me a large but finite number of these warnings and then starts
up.

When I create objects (e.g., try Sources->Arrow) it displays them
without further errors, but extremely slowly.  You can watch the
individual polygons appear on the screen.

   Do you get that error with other OpenGL applications (e.g. glxinfo) or just
   paraview?

glxinfo does not give these errors.  I haven't tried any other OpenGL
application.

                                        Ken

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: AIGLX
  2011-02-04 17:14       ` AIGLX Ken Olum
@ 2011-03-05 18:05         ` Jon TURNEY
  0 siblings, 0 replies; 6+ messages in thread
From: Jon TURNEY @ 2011-03-05 18:05 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: kdo

On 04/02/2011 17:14, Ken Olum wrote:
>    From: Jon TURNEY <jon.turney@dronecode.org.uk>
>    Date: Mon, 24 Jan 2011 18:38:36 +0000
> 
>    > Once I say -wgl, direct rendering no longer works.  That is, if I
>    > don't set LIBGL_ALWAYS_INDIRECT, then I get a long (infinite?)
>    > sequence of errors like this:
>    > 
>    > X Error: BadMatch (invalid parameter attributes) 8
>    >   Major opcode: 73 (X_GetImage)
>    >   Resource id:  0xa0039a
> 
>    I can't reproduce this problem.  Can you give me a few more details on the
>    host which is running paraview: unix version, version of libGL and version of
>    paraview?
> 
> Mandriva 2010.2 on x86_64 with kernel 2.6.33.7-server-2mnb
> libGL is from lib64mesagl1-devel-7.8.1-6mdv2010.1
> Paraview is version 3.8.1 for x86

Thanks for the info.

I tried to reproduce this problem using the x86 version of the above (I don't
have any hardware capable of running x64 VMs at the moment), with no success,
so either it's specific to x64 in some way, or there's something else I need
to do.

> I don't have a clear picture of when this bug occurs and when it doesn't.
> I just deleted my paraview configuration file .config/ParaView/ParaView3.8.1.ini
> to start with a clean environment, and now when I type paraview it
> gives me a large but finite number of these warnings and then starts
> up.
> 
> When I create objects (e.g., try Sources->Arrow) it displays them
> without further errors, but extremely slowly.  You can watch the
> individual polygons appear on the screen.
> 
>    Do you get that error with other OpenGL applications (e.g. glxinfo) or just
>    paraview?
> 
> glxinfo does not give these errors.  I haven't tried any other OpenGL
> application.

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-03-05 18:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-19 18:53 AIGLX Ken Olum
2011-01-19 21:11 ` AIGLX Jon TURNEY
2011-01-21 17:52   ` AIGLX Ken Olum
2011-01-24 18:38     ` AIGLX Jon TURNEY
2011-02-04 17:14       ` AIGLX Ken Olum
2011-03-05 18:05         ` AIGLX Jon TURNEY

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).