public inbox for cygwin-xfree@sourceware.org help / color / mirror / Atom feed
From: Jon TURNEY <jon.turney@dronecode.org.uk> To: cygwin-xfree@cygwin.com Cc: kdo@cosmos.phy.tufts.edu Subject: Re: AIGLX Date: Wed, 19 Jan 2011 21:11:00 -0000 [thread overview] Message-ID: <4D375370.8020005@dronecode.org.uk> (raw) In-Reply-To: <E1Pfd9q-00088O-Bh@cosmos.phy.tufts.edu> 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/
next prev parent reply other threads:[~2011-01-19 21:11 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-01-19 18:53 AIGLX Ken Olum 2011-01-19 21:11 ` Jon TURNEY [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=4D375370.8020005@dronecode.org.uk \ --to=jon.turney@dronecode.org.uk \ --cc=cygwin-xfree@cygwin.com \ --cc=kdo@cosmos.phy.tufts.edu \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).