summaryrefslogtreecommitdiff
path: root/distrib/notes/README.sparc64
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2011-02-21 18:13:19 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2011-02-21 18:13:19 +0000
commit7f97ee23100bfa1e10a48a3f582d2c84f29b2996 (patch)
tree7e44f9d4bca2fd99ecb136e61ada62d3f6f3307d /distrib/notes/README.sparc64
parent0db0d4395a194373eab8fa8802212ebb493dae8f (diff)
Better instructions for accelerated PCI configuration, including a
working configuration template people can use, should they need to provide the refresh frequencies their monitor support in order to get high resolution truecolor modes. ok matthieu@
Diffstat (limited to 'distrib/notes/README.sparc64')
-rw-r--r--distrib/notes/README.sparc6430
1 files changed, 21 insertions, 9 deletions
diff --git a/distrib/notes/README.sparc64 b/distrib/notes/README.sparc64
index 9acadde21..d66ae825a 100644
--- a/distrib/notes/README.sparc64
+++ b/distrib/notes/README.sparc64
@@ -19,7 +19,7 @@ To use xdm from rc.conf, it is necessary to disable /dev/console in
Single, accelerated display
---------------------------
Accelerated access to the framebuffer is supported on machines with
-PCI VGA or UPA Creator framebuffers.
+PCI VGA or UPA Creator framebuffers.
To use a PCI VGA framebuffer, retrieve the PCI bus, device and function
of the video card, eg:
@@ -27,21 +27,33 @@ of the video card, eg:
vgafb0 at pci0 dev 19 function 0 "ATI Rage XL" rev 0x27
wsdisplay0 at vgafb0: console (std, sun emulation), using wskbd0
-The framebuffer is on bus 0, device 19, function 0. Now, using the
-configuration in the first section as a guide, add a "Device" section
-with something like the following (replace 0:19:0 with the bus:dev:func
-of the framebuffer):
+The framebuffer is on bus 0, device 19, function 0. Now, create
+/etc/X11/xorg.conf, with the following content (replace 0:19:0 with the
+bus:dev:func of the framebuffer):
Section "Device"
Identifier "Card0"
- Driver "ati"
BusID "PCI:0:19:0"
Option "composite_sync" "True"
- # Use the following option on Blade-100
+ # Use the following option on Blade-100
# Option "reference_clock" "29.5MHz"
EndSection
-See xorg.conf(5) for more options.
+ Section "Monitor"
+ Identifier "Monitor0"
+ HorizSync 31.5-70
+ VertRefresh 50-90
+ EndSection
+
+ Section "Screen"
+ Identifier "Screen0"
+ Device "Card0"
+ Monitor "Monitor0"
+ EndSection
+
+See xorg.conf(5) for more options. You may want to replace the frequency
+ranges in the "Monitor" section with the actual ranges supported by
+your monitor.
For UPA Creator framebuffers, the device will be automatically detected
and you don't need to have an xorg.conf file.
@@ -86,4 +98,4 @@ To use xdm from rc.conf, it is necessary to disable /dev/console in
problem_blurb
-$OpenBSD: README.sparc64,v 1.9 2009/05/20 18:26:35 miod Exp $
+$OpenBSD: README.sparc64,v 1.10 2011/02/21 18:13:18 miod Exp $