xenocara/distrib/notes
2017-02-27 21:16:05 +00:00
..
m4.common This is now X.Org 7.7 2012-07-22 18:55:01 +00:00
Makefile Remove the X pseudo-package support. outdated and never used. 2014-07-12 12:32:45 +00:00
README.alpha Disable Xorg on alpha. Xrender is broken since 2 releases and I still 2011-02-19 19:51:53 +00:00
README.amd64 More xenodm. While here promote rcctl(8). 2017-02-27 21:16:05 +00:00
README.arm64 Initial notes for arm64. To be updated when xserver is tested. 2017-02-03 04:34:10 +00:00
README.armv7 Beagle has been replaced by armv7. 2013-09-09 13:38:33 +00:00
README.hppa
README.i386 More xenodm. While here promote rcctl(8). 2017-02-27 21:16:05 +00:00
README.landisk Add. 2007-05-12 10:24:28 +00:00
README.loongson Switch to xenodm(1). 2017-02-26 16:39:22 +00:00
README.luna88k Switch to xenodm(1). 2017-02-26 16:39:22 +00:00
README.macppc Switch to xenodm(1). 2017-02-26 16:39:22 +00:00
README.octeon Add README.octeon and all octeon X sets lists. 2013-08-17 16:57:33 +00:00
README.sgi Switch to xenodm(1). 2017-02-26 16:39:22 +00:00
README.socppc start at socppc 2010-03-22 14:51:05 +00:00
README.sparc64 Switch to xenodm(1). 2017-02-26 16:39:22 +00:00

Post-installation instructions for X.Org on OpenBSD/sparc64
-----------------------------------------------------------

Contents
--------
	Single, unaccelerated display
	Single, accelerated display
	Dual, unaccelerated display

Single, unaccelerated display
-----------------------------
This setup is by far the easiest to configure and is supported on just
about every machine OpenBSD/sparc64 runs on (both PCI and SBus based
machines).  These setup do not require any configuration file.

To use xenodm from rc.conf.local(8), it is necessary to disable
/dev/console in /etc/ttys, change the 'status' of /dev/console to
'off'.

Single, accelerated display
---------------------------
Accelerated access to the framebuffer is supported on machines with
PCI VGA or UPA Creator framebuffers.
To use a PCI VGA framebuffer, retrieve the PCI bus, device and function
of the video card, eg:

	blade$ dmesg | grep vgafb
	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, 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"
		BusID		"PCI:0:19:0"
		Option		"composite_sync" "True"
		# Use the following option on Blade-100
		# Option	"reference_clock" "29.5MHz"
	EndSection

	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.

Dual, unaccelerated display
---------------------------
Dual-headed displays are only supported on machines with SBus framebuffers.
These configurations will require a configuration file.
Create /etc/X11/xorg.conf, with these two sections for each framebuffer:

	Section "Device"
		Identifier	"Wsdisplay0"
		Driver		"wsfb"
		Option		"device"	"/dev/ttyC0"
	EndSection

	Section "Screen"
		Identifier	"Screen0"
		Device		"Wsdisplay0"
	EndSection

This example is for the first screen. For the others, increment the
"Wsdisplay" and "Screen" numbers, and change the device to /dev/ttyD0
for the second display, /dev/ttyE0 for the third, and so on.

Then, you'll need to create a ServerLayout section describing all the
displays and their location relative to the first, as in:

	Section "ServerLayout"
		Identifier	"wsfb"
		Screen  0       "Screen0"
		Screen  1       "Screen1" RightOf "Screen0"
	EndSection

See xorg.conf(5) for more options.

To use xenodm from rc.conf.local(8), it is necessary to disable
/dev/console in /etc/ttys, change the 'status' of /dev/console to
'off'.

problem_blurb

$OpenBSD: README.sparc64,v 1.12 2017/02/26 16:39:22 matthieu Exp $