[xcrysden] The rapid screen flickering issue on Mac OS X

Dan Michael O. Heggø d.m.o.heggo at ub.uio.no
Mon Jan 23 23:40:54 CET 2012


The first line in sources.conf should point to the repo root, i.e.
file:///Users/Admin/ports (not including x11/mesa), but I'm not sure
if that's causing your problem. Please reply to me in private if this
is not helping, as I don't think this is very relevant for the other
users on the mailing list.

Dan Michael

On 23 January 2012 23:14, Zhu, Jian-Xin <jxzhu at lanl.gov> wrote:
> Hi Dan,
>
> As a followup to my previous email, it looks I should have run "portindex"
> under /Users/Admin/ports rather than under /Users/Admin/ports/x11/mesa
>
> But I got the error during the "sudo port install mesa" stage
>
> Š.
> To make python 2.7 the default (i.e. the version you get when you run
> 'python'), please run:
>        sudo port select --set python python27
>
> --->  Cleaning python27
> --->  Computing dependencies for mesa
> could not read "/Users/Admin/ports/x11/mesa/Portfile": permission denied
> Error: Status 1 encountered during processing.
> To report a bug, see <http://guide.macports.org/#project.tickets>
>
>
>
> I don't see there is a permission problem.
>
> ~/ports/x11/mesa] Admin% ls -al
> total 16
> drwxr-xr-x  4 Admin  staff   136 Jan 23 15:11 ./
> drwxr-xr-x  3 Admin  staff   102 Jan 23 14:15 ../
> -rw-r--r--  1 Admin  staff  2531 Jan 22 14:39 Portfile
> lrwxr-xr-x  1 root   staff    67 Jan 23 15:01 work@ ->
> /opt/local/var/macports/build/_Users_Admin_ports_x11_mesa/mesa/work
>
> Thanks for the help.
>
> Jian-Xin
>
>
>
>
>
>
> -----Original Message-----
> From: "Dan Michael O. Heggø" <d.m.o.heggo at ub.uio.no>
> Reply-To: XCrySDen mailing list <xcrysden at democritos.it>
> Date: Mon, 23 Jan 2012 21:30:09 +0100
> To: XCrySDen mailing list <xcrysden at democritos.it>
> Subject: Re: [xcrysden] The rapid screen flickering issue on Mac OS X
>
>>Thanks for pointing me in the right direction!
>>
>>I tried replacing mesa-7.11.2 with mesa-7.0.2, and with everything
>>else being equal, the flickering issue then disappeared (I even tried
>>swapping mesa-7.11.2 back again, and there the flickering was back
>>again. So it's related to some changes in mesa between version 7.0.2
>>and 7.11.2. Just for testing, I tried building some intermediate
>>versions (7.0.4, 7.1 and 7.2), but neither built easily, and I didn't
>>want to spend a lot of time on that. I'm not really sure how to follow
>>this up.
>>
>>In case anyone's interested in having mesa-7.0.2 installed through
>>macports, my modified portfile for mesa-7.0.2 is here:
>>https://gist.github.com/1658983
>>It can be put in a local repo, that will take precedence over the
>>remote repo, which can be quite useful:
>>http://guide.macports.org/#development.local-repositories
>>
>>Dan Michael
>>
>>
>>On 23 January 2012 11:34, Tone Kokalj <tone.kokalj at ijs.si> wrote:
>>>
>>> Concerning the rapid screen flickering issue on Mac OS X, I forward the
>>> email of the Hanspeter Niederstrasser, who have managed the xcrysden @
>>> fink.
>>>
>>> -------- Forwarded Message --------
>>>> From: Hanspeter Niederstrasser <hanspeter at snaggledworks.com>
>>>> To: tone.kokalj at ijs.si
>>>> Cc: "Dan Michael O. Heggø" <d.m.o.heggo at ub.uio.no>
>>>> Subject: Re: [Fwd: [xcrysden] The rapid screen flickering issue on Mac
>>>> OS X]
>>>> Date: Fri, 20 Jan 2012 12:39:06 -0500
>>>>
>>>> That user is using MacPorts (a different OS X package manager from
>>>>Fink)
>>>> and it's probable that their libraries are built with different
>>>> settings.  A quick glance shows that MacPorts uses mesa-7.11.2 and Fink
>>>> has the older 7.0.2, so it might be due to version issues.  Fink is
>>>> still on an older version for historical reasons.
>>>>
>>>> I definitely don't see any flickering in xcrysden here with the Fink
>>>> install on 10.7.  The only quick issue I noticed when loading one of
>>>>the
>>>> sample files was that turning on aliasing made the dragging and
>>>>rotating
>>>> very slow, but I think that's primarily a lack of hardware
>>>>acceleration.
>>>>   No flickering though.
>>>>
>>>> I would advise the user (CC'd) to ask the MacPorts mesa maintainer as
>>>>he
>>>> might know more about a cause or workaround.  If he wants to invest the
>>>> time, he could also try installing xcrysden through Fink to see if the
>>>> flicker disappears so a hardware issue can be eliminated as a
>>>> possibility .  But building all of xcrysden's dependencies from scratch
>>>> (esp gcc46) for just a test is quite an undertaking.
>>>>
>>>> Hanspeter
>>>
>>> --
>>> Anton Kokalj
>>> J. Stefan Institute, Jamova 39, 1000 Ljubljana, Slovenia
>>> (tel: +386-1-477-3523 // fax:+386-1-477-3822)
>>>
>>> Please, if possible, avoid sending me Word or PowerPoint attachments.
>>> See:  http://www.gnu.org/philosophy/no-word-attachments.html
>>>
>>> _______________________________________________
>>> XCrySDen mailing list
>>> XCrySDen at democritos.it
>>> http://www.democritos.it/mailman/listinfo/xcrysden
>>_______________________________________________
>>XCrySDen mailing list
>>XCrySDen at democritos.it
>>http://www.democritos.it/mailman/listinfo/xcrysden
>
> _______________________________________________
> XCrySDen mailing list
> XCrySDen at democritos.it
> http://www.democritos.it/mailman/listinfo/xcrysden


More information about the XCrySDen mailing list