Subject: Re: X11 on Ultra 5
To: None <rmk@rmkhome.com>
From: Michael <macallan18@earthlink.net>
List: port-sparc64
Date: 12/23/2005 16:21:29
--Signature_Fri__23_Dec_2005_16_21_29_-0500_EPnIM+x/v2=At+D5
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

> What is the appropriate method for setting up X11 on an Ultra 5? I
> tried xf86cfg and also "X -configure". This gets X working with single
> resolution of 640x480. Do I need to hack the config file by hand to
> get other resolutions?

Short answer - yes.
Long answer - have a look at the "screen" section:

Section "Screen"
        Identifier "Screen0"
        Device     "mach64"
        Monitor    "Monitor0"
        DefaultDepth 24
        SubSection "Display"
                Modes "1152x876"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Modes "1152x876"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Modes "1152x876"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Modes "1152x876"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

This one would give you 1152x876 in 24 bit. ( provided you use the
onboard ATI Rage and it happens to be the Pro variant with 4MB VRAM. The
older 2MB Rage II would run out of VRAM trying to display this )
Adapting this to other resolutions is straight forward - change
DefaultDepth and the corresponding "Display" SubSection. ( and
DeviceName should match your Device section of course )

have fun
Michael

--Signature_Fri__23_Dec_2005_16_21_29_-0500_EPnIM+x/v2=At+D5
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iQEVAwUBQ6xqWcpnzkX8Yg2nAQLR7AgAp+l0/P43A17C28RowcT8qqshejKAygyw
DbEQqvNB+zTA0f6wa5kLhbxtHKM1UZw2etY8sWEtFGo7+nhksxZzL0HB4F1nWtQv
6hXSA9NoVrGY8aRyDlyqhT7CC4OevKh8rVUpPQJ7m3aTP504EAdtys/7UdbyjCxl
o+JlyP1yHI2/jMHsXs3TLTiIlysP2QUI7OFP6y9kt6Q4LUlOSSWQHJzDNfddJGQ5
5BT5Y1iFBzytMbHnwfluXv+O9fzGVvJ0SpmrV/3xJ16fwPoRn/LGJu1dLKBMLPxV
JhWLsuKyXbmT4FCVREndYpXyKvJYLYSZvyw9bMUFM51mXI0xJ7tuhw==
=tbXD
-----END PGP SIGNATURE-----

--Signature_Fri__23_Dec_2005_16_21_29_-0500_EPnIM+x/v2=At+D5--