README for X11R6.8 on OpenBSD : Rebuilding the X Distribution
Previous: Kernel Support for X
Next: Building New X Clients

8. Rebuilding the X DistributionYou should configure the distribution by editing xc/config/cf/host.def before compiling. To compile the sources, invoke ``make World'' in the xc directory.

Note that OpenBSD project now has its own source tree, with some local modifications. You may want to start with this tree to rebuild from sources. The OpenBSD XF4 source tree is available by anoncvs from all OpenBSD anoncvs servers. See http://www.openbsd.org/anoncvs.html for details on anoncvs.

X11R6.8 also compiles on other OpenBSD architectures.

8.1. X11R6.8 on OpenBSD/alpha

The X server is known to work on some VGA cards in alpha machines that support BWX I/O, with OpenBSD 3.2 and higher.

The following cards have been successfully tested for now:

Note that this version of doesn't work on TGA cards. The version shipped with OpenBSD 3.1 and higher includes an OS-specific driver wsfb that is used to support TGA cards.

8.2. X11R6.8 on OpenBSD/macppc

The X server is currently known to work on the G4 Macs and new iBooks with ATI Rage 128 cards running OpenBSD 3.0 or later. Other machines are more or less untested. Earlier OpenBSD versions lack some kernel support for it.

Use xorgconfig to build a /etc/X11/xorg.conf file before starting the server for the first time.

For the Titanium Powerbook G4, you can try the following mode line in /etc/X11/xorg.conf to match the flat panel resolution:

Modeline "1152x768" 64.995 1152 1213 1349 1472  768 771 777 806 -HSync -VSync

8.3. OpenBSD/sparc

OpenBSD 3.2 on sparc switched to the wscons device driver and now uses the OS specific wsfb driver in the X server. This driver is not included in X11R6.8. Please use the version shipped with OpenBSD instead.

8.4. OpenBSD/sparc64

This version only has support for X clients on OpenBSD/sparc64. Note that the version shipped with OpenBSD also has support for the X server on both SBus and PCI based machines.


README for X11R6.8 on OpenBSD : Rebuilding the X Distribution
Previous: Kernel Support for X
Next: Building New X Clients