Re: Rapid flicker of X11 application (build on LION) window contents
Re: Rapid flicker of X11 application (build on LION) window contents
- Subject: Re: Rapid flicker of X11 application (build on LION) window contents
- From: Jeremy Huddleston <email@hidden>
- Date: Tue, 02 Aug 2011 16:27:28 -0700
On Aug 2, 2011, at 2:20 PM, David M. Wood wrote:
> Hello all! This is my first posting to this group. I rooted around the x11-users mailing list archive, but can't find anything recent enough to appear relevant...
>
> I'm trying to build on Lion (Xcode 4.1) an X11 molecule/solid state visualization package named XCrySDen, which heavily uses Tcl/Tk and Mesa libraries. I've been using mac port libraries to provide mesa, tcl/tk, FFT and linear algebra support, and EVEN X11 support. The problem is that the package BUILDS fine, but when executed pops up a graphics window whose CONTENTS
>
> * Flickers rapidly: 10-12 times per second or so. (Over a VNC connection, curiously, these artifacts I think disappear!)
>
> * Contains incorrect stuff: little swatches of the Dock, of the OS X Desktop, and of fairly distant (on the Desktop) Terminal windows, in place of uniform black.
>
> I happen to be using XQuartz 2.6.3, but the problem is still there if I launch the app from Apple's X11 xterm.
> Strangely, the same source tree and makefiles result in a NON-FLICKERING application when build on Snow Leopard <-- Key observation?
Are you using the same versions of MacPorts libraries on both systems? Mesa was recently updated from 7.8.2 to 7.10.x and then 7.11-rcX in MacPorts, and I'd like to make sure to eliminate those as a variable here...
Can you try using the exact same MacPorts bits on Lion to see if the issue goes away (tar up /opt/local on SL and replace your Lion one with it)? That should hopefully eliminate any compiler issue if the same exact bits don't work on Lion when they did on SL.
>
> I have tried
>
> 1) using -L/opt/local/lib -lXmu -lX11 -lXext in place of -L/usr/X11R6/lib -lXmu -lX11 -lXext : No change; builds fine, flickers
You should be doing that in general to use MacPorts
>
> 2 using
>
> TK_LIB = -L/usr/lib -ltk8.5
> TCL_LIB = -L/usr/lib -ltcl8.5
> GLU_LIB = -L/usr/X11/lib -lGLU
> GL_LIB = -L/usr/X11/lib -lGL
You want to use -L/opt/local/lib instead of /usr/lib and /usr/X11/lib there to use MacPorts
> Still no change: builds, same bad flicker.
>
> Any suggestions about what to suspect?
Are there any interesting issues written to system.log? Can you try building MacPorts' mesa with the +indirect variant to see if the issue exists with IGLX as well?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden