Re: MIT-SHM extension / Apple X11
Re: MIT-SHM extension / Apple X11
- Subject: Re: MIT-SHM extension / Apple X11
- From: Olivier Kaloudoff <email@hidden>
- Date: Wed, 10 Mar 2004 07:00:18 +0100 (CET)
On mardi mars 9th 2004, Aidan Kehoe wrote:
Hi Aidan,
> Ar an 9z la de mm 3, scrmobh Olivier Kaloudoff :
> > On lundi mars 8th 2004, Kalou wrote:
> >
> > > Hi ! I'm using the latest XFree downloaded and compiled from source
> > > from apple.com (archive name is X11ForMaxOSXSource-1.0.tar.gz); now
> > > some applications are complaining about missing MIT-SHM extention.
> > > Does the Apple X11 support MIT-SHM extension, and, if so, how do I
> > > activate it ? Best Regards, Olivier Kaloudoff
> >
> > Is the following question either a FAQ, or a question
> > for which there is no answer ;-) ?
> I believe it does support it. Anyway, XFree86 4.4, which is available at
> http://www.lami.univ-evry.fr/XFree86/4.4.0/binaries/Darwin-ppc-7.x/ has
> identical performance to Apple's X11, is newer, and definitely supports
> MIT-SHM. One issue you may run into is that there's a hard-coded
> /sbin/sysctl call to enforce a SYSV shared memory limit (which you may hit
> using MIT-SHM) in /etc/rc on Panther, instead of using /etc/sysctl.conf ;
> I've changed it to
> sysctl -w kern.sysv.shmmax=167772160
> sysctl -w kern.sysv.shmmin=1
> sysctl -w kern.sysv.shmmni=32
> sysctl -w kern.sysv.shmseg=32
> sysctl -w kern.sysv.shmall=8192
> and that seems to be plenty for the apps I use that use MIT-SHM.
> (Admittedly, there are not many of those.)
> Be aware, though, that MIT-SHM can never work if the machine on which an X11
> application is executing is not the machine on which it is displaying. (That
> is, it is a remote application.) MIT-SHM requires that the app and the
> server have access to the same physical memory.
Thank you for theses infos, I'll try this.
Best Regards,
Olivier Kaloudoff
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.