The goal of this project is to make Darwin more usable by providing an installation ISO, documentation, and add-on software. You are welcome to join #puredarwin on irc.freenode.net if you would like to join PureDarwin development and to add to this site.

Recent site activity

For developers‎ > ‎

X.Org

This page is about X.Org on Darwin.

Making X.Org work on Darwin (again) appears to need some (considerable) work.
The source subdirectory hw/darwin/iokit apparently has been removed and needs to be resurrected. The last sign of life was "Beginnings of an update Darwin driver" from bbyer in commit 9ecf79ca0111dd899ca88dd54156f71013220fcc.
Volunteers needed.

Since XFree86 appears to work, see the XFree86 page for more information.

History of X.Org on Darwin

"The X window server for Darwin and Mac OS X provided by the X.Org Foundation. is called XDarwin. (...) XDarwin can also be run from the Darwin console in IOKit mode. (...) From the console, the Darwin port of X11R6.8 uses the IOKit for device driver loading and discovery, rather than the X11R6.8 module loader. Because of this, the X11R6.8 configuration file is not used on Darwin or Mac OS X systems. The descriptions found elsewhere of devices supported by X11R6.8 for other operating systems also do not apply. (...) X11R6.8 for Darwin or Mac OS X will work with any video card that you have an IOKit driver for. (...) If you have a pure Darwin installation, you may need to download additional third-party drivers from Apple's Darwin site. IOKit drivers are typically installed in /System/Library/Extensions/ or /Library/Extensions/."

X.app

The X.app that is shipped with Leopard apparently lacks the IOKit mode that would be needed for Darwin, as it apparently only supports the Quartz modes:

Quartz modes (Experimental / In Development):
-fullscreen : run full screen in parallel with Mac OS X window server.
-rootless : run rootless inside Mac OS X window server.

Is there a way to get the IOKit mode back?

X.Org in MacPorts

It seems like it needs some work, since all it currently does is print the following message: build a version that needs Quartz (which is not available in PureDarwin). The source subdirectory hw/darwin/iokit apparently has been removed and needs to be resurrected.

--->  Fetching xorg
Error: Target org.macports.fetch returned: 
        Hi, my name is xorg, I am broken for the time being, so please do not file a bug for me.
        Instead, you can use Apple's X11 that is provided on the OS X install CDs ...
            and also install the X11 SDK from Xcode Tools because they are both required.
        There is also a working XFree86 port and ongoing development to port X11R7 to OS X.

X.Org in fink

fink (which is basically apt-get for Mac OS X and Darwin) contains two binary packages
These can be unpacked to a PureDarwin volume by:
sudo su
cd /Volumes/PureDarwin/
UNP=$(find xorg*_darwin-i386.deb 2>/dev/null) && for UN in $UNP; \
do ar p $UN data.tar.gz | zcat | tar xv ; done
Then we can try to run them on PureDarwin with
export PATH=/usr/X11R6/bin:$PATH
startx
However, it turns out that this links to ApplicationServices which is not a part of Darwin and hence makes these packages worthless for PureDarwin.
Please let us know if otherwise!

Sign in  |  Recent Site Activity  |  Terms  |  Report Abuse  |  Print page  |  Powered by Google Sites