-------- Original-Nachricht --------
> Datum: Wed, 17 Sep 2008 13:06:09 -0700
> Von: Alan Coopersmith <Alan.Coopersmith at Sun.COM>
> An: magnus nystrom <vatch23 at riseup.net>
> CC: OpenSolaris X Window System List <xwin-discuss at opensolaris.org>, 
> opensolaris-help at opensolaris.org
> Betreff: Re: [xwin-discuss] [osol-help] Dual Monitors

> magnus nystrom wrote:
> > Hi, how do I configure my Sun Ultra 80 with 2 3d elite cards, so I get
> one big desktop?
> 
> Assuming you're using the Solaris default of dtlogin (since you can't
> be running OpenSolaris on that machine yet):

???
Never say never, why do you claim that he "cannot be running OpenSolaris on the 
Ultra 80" ? You might get into trouble with your own management, by insisting 
on that. 

There has been MartUX since April 2006, there is MilaXSPARC since July 2008 and 
now there is Natamar (my SPARC-Indiana work from February which I didn't want 
to release back then, polished and upgraded to b96) :
http://www.martux.org/SPARC_distro_incl_Xorg7.2/

Not to forget, that SXCR is also called "OpenSolaris distro from Sun". And last 
but not least he could have BFU'ed or built his own distro. Or is it, that a 
non-Sun-branded distro based on OpenSolaris cannot be called OpenSolaris? Are 
you talking about the fantastic opensolaris.com terminology?
Then he could still be running SXCR, but with Xorg from the the FOX Xorg 
packages, rather than with Xsun:
http://www.martux.org/xorg/FOX1.0/SPARC/
http://user.cs.tu-berlin.de/~mbeinsx/FOX/bin-snapshots/fox-gate20080826tue__sparc-binaries__proto-snapshot.tar.bz2


> 
> (as root)
> 1) mkdir -p /etc/dt/config
> 2) cp /usr/dt/config/Xservers /etc/dt/config/Xservers
> 3) edit /etc/dt/config/Xservers and change the X server command line at
>    the end to include -dev /dev/fb0 -dev /dev/fb1 +xinerama
>    (replace /dev/fb0 & /dev/fb1 with whatever the device names of your
>     graphics cards are, fbconfig -list can help there)
> 4) pkill -HUP dtlogin
> 5) logout of your Xsession & back in
> 
> -- 
>       -Alan Coopersmith-           alan.coopersmith at sun.com
>        Sun Microsystems, Inc. - X Window System Engineering


In case he is using http://www.martux.org/SPARC_distro_incl_Xorg7.2/ or the 
Xorg bin snapshot, then he can run his desired xinerama configuration under 
Xorg 7.2, too. Here is the /etc/X11/xorg.conf that he will need for this 
purpose:

Section "Module"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
Load "cfb"
Load "cfb32"
EndSection

Section "Device"
Identifier "Sun Creator3D-0"
Driver "sunffb"
BusID "SBUS:/SUNW,ffb at 1e,0"
# Option "UseFBDev" "true"
EndSection

Section "Device"
Identifier "Sun Creator3D-1"
Driver "sunffb"
# BusID "SBUS:/SUNW.ffb at 1d,0"
# Option "UseFBDev" "true"
EndSection


Section "Monitor"
Identifier "EIZO L568-left"
Option "DPMS"
HorizSync 30-70
VertRefresh 50-160
EndSection

Section "Monitor"
Identifier "EIZO L568-right"
Option "DPMS"
HorizSync 30-70
VertRefresh 50-160
EndSection



Section "Screen"
Identifier "Left Screen"
Device "Sun Creator3D-0"
Monitor "EIZO L568-left"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection


Section "Screen"
Identifier "Right Screen"
Device "Sun Creator3D-1"
Monitor "EIZO L568-right"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Left Screen"
Screen "Right Screen" RightOf "Left Screen"
Option "Xinerama" "On"
EndSection



And here is the proof (anyways an indicator) that it works more or less 
smoothly already:

jack at opensolaris:~# /usr/X11/bin/Xorg-bin -verbose
Cannot create /var/dt/sdtlogin directory for display manager pipe: No such file 
or directory
X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: SunOS 5.11 snv_95 sun4u 
Current Operating System: SunOS opensolaris 5.11 Natamar_0.4__b96 sun4u
Build Date: 28 August 2008

Solaris ABI: 32-bit
SUNWxorg-mesa package version: 6.9.0.5.11.0001,REV=0.2008.01.31
        Before reporting problems, check http://sunsolve.sun.com/
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Sep 17 17:34:24 2008
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Left Screen" (0)
(**) |   |-->Monitor "EIZO L568-left"
(**) |   |-->Device "Sun Creator3D-0"
(**) |-->Screen "Right Screen" (1)
(**) |   |-->Monitor "EIZO L568-right"
(**) |   |-->Device "Sun Creator3D-1"
(==) |-->Input Device "<default pointer>"
(==) |-->Input Device "<default keyboard>"
(WW) The core pointer device wasn't specified explicitly in the layout.
        Using the default mouse configuration.
(WW) The core keyboard device wasn't specified explicitly in the layout.
        Using the default keyboard configuration.
(WW) No FontPath specified.  Using compiled-in default.
(WW) `fonts.dir' not found (or not valid) in "/usr/X11/lib/X11/fonts/TrueType/".
        Entry deleted from font path.
        (Run 'mkfontdir' on "/usr/X11/lib/X11/fonts/TrueType/").
(WW) The directory "/usr/X11/lib/X11/fonts/Type1/sun/" does not exist.
        Entry deleted from font path.
(WW) The directory "/usr/X11/lib/X11/fonts/F3bitmaps/" does not exist.
        Entry deleted from font path.
(==) FontPath set to:
        /usr/X11/lib/X11/fonts/Type1/,
        /usr/X11/lib/X11/fonts/misc/,
        /usr/X11/lib/X11/fonts/100dpi/,
        /usr/X11/lib/X11/fonts/75dpi/
(==) RgbPath set to "/usr/X11/lib/X11/rgb"
(==) ModulePath set to "/usr/X11/lib/modules"
(**) Xinerama: enabled
(II) Loading /usr/X11/lib/modules//libpcidata.so
(II) Module pcidata: vendor="X.Org Foundation"
        compiled for 1.3.0, module version = 1.0.0
(II) Psycho PCI host bridge found ("SUNW,psycho")
(II) Psycho PCI host bridge found ("SUNW,psycho")
(!!) More than one possible primary device found
(--) PCI: (0 at 1:2:0) unknown vendor (0x1091) unknown chipset (0x07a0) rev 0, 
Mem @ 0x02000000/25, 0x04000000/16, 0x04800000/23, BIOS @ 0x05000000/18
(--) PCI: (0 at 1:4:0) ATI Technologies Inc Rage XL rev 39, Mem @ 
0x05000000/24, 0x06000000/12, BIOS @ 0x06020000/17
(--) PCI: (0 at 1:5:0) 3DLabs Permedia II 2D+3D rev 1, Mem @ 0x06040000/17, 
0x06800000/23, 0x07000000/23, BIOS @ 0x07800000/16
(--) SBUS_or_UPA: (0xf006cf3c) Sun FFB2+ Vertical Creator 3D at /SUNW,ffb at 
1e,0
(--) SBUS_or_UPA: (0xf0075108) Sun FFB2+ Vertical Creator at /SUNW,ffb at 1d,0
(II) Module "type1" is no longer provided  - using "freetype" instead
(II) Module "ddc" already built-in
(II) Loading /usr/X11/lib/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
        compiled for 1.3.0, module version = 1.0.0
(II) Loading /usr/X11/lib/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
        compiled for 1.3.0, module version = 1.0.0
(II) Loading /usr/X11/lib/modules/fonts//libfreetype.so
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
        compiled for 1.3.0, module version = 2.1.0
(II) Loading /usr/X11/lib/modules/extensions//libglx.so
(II) Module glx: vendor="X.Org Foundation"
        compiled for 1.3.0, module version = 1.0.0
(==) AIGLX enabled
(II) Loading /usr/X11/lib/modules//libint10.so
(II) Module int10: vendor="X.Org Foundation"
        compiled for 1.3.0, module version = 1.0.0
(II) Loading /usr/X11/lib/modules//libvbe.so
(II) Module vbe: vendor="X.Org Foundation"
        compiled for 1.3.0, module version = 1.1.0
(II) Loading /usr/X11/lib/modules//libcfb.so
(II) Module cfb: vendor="X.Org Foundation"
        compiled for 1.3.0, module version = 1.0.0
(II) Loading /usr/X11/lib/modules//libmfb.so
(II) Module mfb: vendor="X.Org Foundation"
        compiled for 1.3.0, module version = 1.0.0
(II) Loading /usr/X11/lib/modules//libcfb32.so
(II) Module cfb32: vendor="X.Org Foundation"
        compiled for 1.3.0, module version = 1.0.0
(II) Loading /usr/X11/lib/modules/drivers//sunffb_drv.so
(II) Module sunffb: vendor="X.Org Foundation"
        compiled for 1.3.0, module version = 1.1.0
(II) Loading /usr/X11/lib/modules/input//mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
        compiled for 1.3.0, module version = 1.2.3
(II) Loading /usr/X11/lib/modules/input//kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
        compiled for 1.3.0, module version = 1.1.0
(II) SUNFFB: driver for Creator, Creator 3D and Elite 3D
(WW) SUNFFB: More than one matching Device section found: Sun Creator3D-1
(--) Assigning device section with no busID to SBUS_or_UPA:/SUNW,ffb at 1d,0
(==) SUNFFB(0): RGB weight 888
(==) SUNFFB(0): Default visual is TrueColor
(==) SUNFFB(0): Using gamma correction (1.0, 1.0, 1.0)
(==) SUNFFB(0): Using HW cursor
(II) Loading /usr/X11/lib/modules//libfb.so
(II) Module fb: vendor="X.Org Foundation"
        compiled for 1.3.0, module version = 1.0.0
(II) Loading /usr/X11/lib/modules//libxaa.so
(II) Module xaa: vendor="X.Org Foundation"
        compiled for 1.3.0, module version = 1.2.0
(II) Module "ramdac" already built-in
(II) Loading /usr/X11/lib/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
        compiled for 1.3.0, module version = 1.0.0
(==) SUNFFB(0): DPI set to (75, 75)
(==) SUNFFB(1): RGB weight 888
(==) SUNFFB(1): Default visual is TrueColor
(==) SUNFFB(1): Using gamma correction (1.0, 1.0, 1.0)
(==) SUNFFB(1): Using HW cursor
(II) Module "ramdac" already built-in
(==) SUNFFB(1): DPI set to (75, 75)
(--) Depth 24 pixmap format is 32 bpp
(II) /dev/fb0: (II) /dev/fb0: BT498 (PAC2) ramdac detected
(II) /dev/fb0: Detected Creator/Creator3D
(II) SUNFFB(0): Using XFree86 Acceleration Architecture (XAA)
        Screen to screen bit blits
        Solid filled rectangles
        8x8 mono pattern filled rectangles
        Indirect CPU to Screen color expansion
        Solid Lines
        Dashed Lines
        Driver provided ScreenToScreenBitBlt replacement
        Driver provided WritePixmap replacement
(II) /dev/fb0: Using acceleration
(==) SUNFFB(0): Backing store disabled
(==) SUNFFB(0): Silken mouse disabled
(II) /dev/fb0: DGA support initialized.
(**) SUNFFB(0): DPMS enabled
(**) SUNFFB(0): DPMS enabled
(==) RandR enabled
(II) /dev/fb1: (II) /dev/fb1: BT498 (PAC2) ramdac detected
(II) /dev/fb1: Detected Creator/Creator3D
(II) SUNFFB(1): Using XFree86 Acceleration Architecture (XAA)
        Screen to screen bit blits
        Solid filled rectangles
        8x8 mono pattern filled rectangles
        Indirect CPU to Screen color expansion
        Solid Lines
        Dashed Lines
        Driver provided ScreenToScreenBitBlt replacement
        Driver provided WritePixmap replacement
(II) /dev/fb1: Using acceleration
(==) SUNFFB(1): Backing store disabled
(==) SUNFFB(1): Silken mouse disabled
(II) /dev/fb1: DGA support initialized.
(**) SUNFFB(1): DPMS enabled
(**) SUNFFB(1): DPMS enabled
(==) RandR enabled
(EE) AIGLX: Screen 0 is not DRI capable
(II) Loading /usr/X11/lib/modules/extensions//libGLcore.so
(II) Module GLcore: vendor="X.Org Foundation"
        compiled for 1.3.0, module version = 1.0.0
(II) GLX: Initialized MESA-PROXY GL provider for screen 0
(EE) AIGLX: Screen 1 is not DRI capable
(II) GLX: Initialized MESA-PROXY GL provider for screen 1
(II) <default pointer>: Setting Device option to "/dev/mouse"
(**) <default pointer>: Protocol: VUID
(**) <default pointer>: Core Pointer
(II) <default pointer>: Setting Buttons option to "3"
(==) <default pointer>: Emulate3Buttons, Emulate3Timeout: 50
(**) <default pointer>: ZAxisMapping: buttons 4 and 5
(**) <default pointer>: Buttons: 9
(**) <default keyboard>: Core Keyboard
(--) <default keyboard>: Keyboard type: Sun Type 4/5/6 (4)
(--) <default keyboard>: Keyboard layout: 34
(--) XKB: model: "sun_type5_unix"
(--) XKB: layout: "us"
(--) <default keyboard>: XkbModel = sun_type5_unix
(--) <default keyboard>: XkbLayout = us
(**) <default keyboard>: XkbRules: "xorg"
(**) <default keyboard>: XkbModel: "sun_type5_unix"
(**) <default keyboard>: XkbLayout: "us"
(**) <default keyboard>: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "<default keyboard>" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "<default pointer>" (type: MOUSE)
(WW) <default pointer>: couldn't set absolute mouse scaling resolution: Invalid 
argument
FreeFontPath: FPE "/usr/X11/lib/X11/fonts/misc/" refcount is 2, should be 1; 
fixing.
(WW) xf86CloseConsole():  unable to retrieve framebuffer attributes 
(Inappropriate ioctl for device)
jack at opensolaris:~# startx
xauth:  creating new authority file /jack/.serverauth.669
xauth:  creating new authority file /jack/.Xauthority
xauth:  creating new authority file /jack/.Xauthority

This is the /usr/X11/bin/Xorg-bin wrapper for best Ati compatibility.

For debug output see: /tmp/Xerrors and /usr/X11/var/log/Xorg.0.log

Now running "Xorg-bin -verbose -ignoreABI -allowMouseOpenFail [ARGS]" ... 


Note: Never use "-logverbose" on a SunBlade100/150, it would lock the system.


^C
waiting for X server to shut down X connection to :0.0 broken (explicit kill or 
server shutdown).


xinit:  unexpected signal 2.
jack at opensolaris:~# uname -a
SunOS opensolaris 5.11 Natamar_0.4__b96 sun4u sparc SUNW,Ultra-30
jack at opensolaris:~# date
Wed Sep 17 18:00:58 PDT 2008
jack at opensolaris:~# psrinfo -a
ld.so.1: perl: fatal: relocation error: file /usr/perl5/5.8.4/bin/perl: symbol 
PL_sigfpe_saved: referenced symbol not found
Killed
jack at opensolaris:~# isainfo -k
sparcv9
jack at opensolaris:~# 


Martin Bochnig
Natamar OpenSolaris && X11 Engineering

Reply via email to