2006-11-27 04:25:45 -07:00
|
|
|
Post-installation instructions for X.Org on OpenBSD/amd64
|
|
|
|
---------------------------------------------------------
|
|
|
|
|
2007-12-17 01:23:48 -07:00
|
|
|
Conventions used in this document:
|
|
|
|
- somename(1) implies that "somename" is a program, and there is a
|
|
|
|
manual page available in section 1 of the manual pages for further
|
|
|
|
reading, viewed by typing "man 1 somename".
|
|
|
|
|
2006-11-27 04:25:45 -07:00
|
|
|
1. Make sure your system has support for X enabled:
|
|
|
|
|
2007-12-17 01:23:48 -07:00
|
|
|
You must have "option APERTURE" in your kernel configuration and
|
2012-07-22 13:12:13 -06:00
|
|
|
uncomment the line that says:
|
2006-11-27 04:25:45 -07:00
|
|
|
|
2012-07-22 13:12:13 -06:00
|
|
|
machdep.allowaperture=2
|
2006-11-27 04:25:45 -07:00
|
|
|
|
|
|
|
in /etc/sysctl.conf. See xf86(4) for more details about security
|
|
|
|
issues related to this. After changing this variable in sysctl.conf,
|
|
|
|
you will need to reboot for the change to take effect.
|
|
|
|
|
2012-07-22 13:12:13 -06:00
|
|
|
2. Start either xdm(1) or startx(1).
|
2006-11-27 04:25:45 -07:00
|
|
|
|
2012-07-22 13:12:13 -06:00
|
|
|
a. Start xdm(1), the X display manager by activating the xdm_flags option
|
2012-08-11 00:49:52 -06:00
|
|
|
in /etc/rc.conf(8) or /etc/rc.conf.local(8).
|
2006-11-27 04:25:45 -07:00
|
|
|
|
2012-07-22 13:12:13 -06:00
|
|
|
b. Start startx(1) from a console shell. It is the X script that starts
|
|
|
|
the X server and a few X applications, including a window manager.
|
2007-12-17 01:23:48 -07:00
|
|
|
|
2012-07-22 13:12:13 -06:00
|
|
|
3. If needed, Create the configuration file for your server.
|
2007-12-17 01:23:48 -07:00
|
|
|
|
|
|
|
For many users of X.Org's servers, an xorg.conf file is not needed,
|
2012-07-22 13:12:13 -06:00
|
|
|
X, will automatically detect and use your hardware.
|
2006-11-27 04:25:45 -07:00
|
|
|
|
2012-07-22 13:12:13 -06:00
|
|
|
For the few cases where your hardware is not properly autodetected
|
|
|
|
or supported or not supported as you wish, you will have to create
|
|
|
|
a configuration file.
|
|
|
|
|
|
|
|
Report to http://www.openbsd.org/faq/faq11.html#amd64i386 for details.
|
2006-11-27 04:25:45 -07:00
|
|
|
|
2007-12-17 01:23:48 -07:00
|
|
|
See also Xorg(1), xorg.conf(5).
|
2006-11-27 04:25:45 -07:00
|
|
|
|
2012-07-22 13:12:13 -06:00
|
|
|
3.1. Note about Radeon cards.
|
2006-11-27 04:25:45 -07:00
|
|
|
|
2012-07-22 13:12:13 -06:00
|
|
|
OpenBSD provides two versions of the X.Org driver for ATI Radeon cards.
|
2006-11-27 04:25:45 -07:00
|
|
|
|
2012-11-18 16:32:07 -07:00
|
|
|
- radeon(4) is the (almost) current X.Org driver. It has more support for
|
|
|
|
recent hardware, but unfortunately also exposes a few regressions,
|
|
|
|
leading to screen corruption on some hardware, and is known not
|
|
|
|
to work in ZapHod mode. It is selected by default.
|
|
|
|
|
2012-07-22 13:12:13 -06:00
|
|
|
- radeonold(4) is an older version of the driver, which is known to
|
|
|
|
work on most of the Radeon cards, except the newer ones. It is
|
|
|
|
robust and also works in "ZapHod" mode (one X screen per physical
|
2012-11-18 16:32:07 -07:00
|
|
|
screen). It needs to be enabled explicitly by creating a simple
|
|
|
|
/etc/X11/xorg.conf file containing:
|
2012-07-22 13:12:13 -06:00
|
|
|
|
|
|
|
Section "Device"
|
2012-11-18 16:32:07 -07:00
|
|
|
Identifier "Old Radeon card"
|
|
|
|
Driver "radeonold"
|
2012-07-22 13:12:13 -06:00
|
|
|
EndSection
|
|
|
|
|
|
|
|
4. With X.Org XOrgVersion, you can use anti-aliased fonts in many applications.
|
|
|
|
visit http://www.openbsd.org/faq/truetype.html for more information.
|
2006-11-27 04:25:45 -07:00
|
|
|
|
|
|
|
problem_blurb
|
|
|
|
|
2012-11-18 16:32:07 -07:00
|
|
|
$OpenBSD: README.amd64,v 1.6 2012/11/18 23:32:07 matthieu Exp $
|