From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5430 invoked by alias); 19 Jan 2011 21:11:12 -0000 Received: (qmail 5421 invoked by uid 22791); 19 Jan 2011 21:11:11 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW,TW_GL,TW_PX X-Spam-Check-By: sourceware.org Received: from smtpout.karoo.kcom.com (HELO smtpout.karoo.kcom.com) (212.50.160.34) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 19 Jan 2011 21:11:02 +0000 Received: from 213-152-38-55.dsl.eclipse.net.uk (HELO [192.168.0.5]) ([213.152.38.55]) by smtpout.karoo.kcom.com with ESMTP; 19 Jan 2011 21:10:59 +0000 Message-ID: <4D375370.8020005@dronecode.org.uk> Date: Wed, 19 Jan 2011 21:11:00 -0000 From: Jon TURNEY Reply-To: cygwin-xfree@cygwin.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com CC: kdo@cosmos.phy.tufts.edu Subject: Re: AIGLX References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com X-SW-Source: 2011-01/txt/msg00025.txt.bz2 On 19/01/2011 18:53, Ken Olum wrote: > From: Jon TURNEY > 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/