Subject: Re: PGX64 and XFree
To: None <joel@carnat.net>
From: Michael <macallan18@earthlink.net>
List: port-sparc64
Date: 09/21/2005 12:14:44
--Signature_Wed__21_Sep_2005_12_14_44_-0400_yzA2Tdmj0CJAjGdw
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

> machfb1 at pci2 dev 1 function 0: ATI Technologies Rage XL (rev. 0x27)
> machfb1: 16 MB aperture at 0x11000000, 4 KB registers at 0x12000000
...
> Fatal server error:
> xf86MapVidMem: could not mmap screen [s=3D2000,a=3D12000000] (Invalid
> argument)

This belongs the the card which isn't the console so XFree can't map it.

> -> PGX64 pluggued in
> -> PGX64 set as "output-device screen2:r1280x1024x60" (with
> show-displays/nvalias)
> * dmesg's display on the PGX64
> machfb0 at pci1 dev 2 function 0: ATI Technologies 3D Rage Pro (rev.=20
0x5c)
> machfb0: 16 MB aperture at 0xe1000000, 4 KB registers at 0xe2000000
> memctl: 00651a77
> machfb0: 4096 KB SGRAM 98.924 MHz, maximum RAMDAC clock 230 MHz
> machfb0: initial resolution 1152x900 at 8 bpp
> wsdisplay0 at machfb0 kbdmux 1: console (default, sun emulation)
> wsmux1: connecting to wsdisplay0
> wsdisplay0: screen 1-3 added (default, sun emulation)
> <snip>
> machfb1 at pci2 dev 1 function 0: ATI Technologies Rage XL (rev. 0x27)
> machfb1: 16 MB aperture at 0x11000000, 4 KB registers at 0x12000000
> memctl: 10a57a3b
> ref_freq=3D29.498MHz
> machfb1: 8188 KB SGRAM 114.992 MHz, maximum RAMDAC clock 230 MHz
> machfb1: initial resolution 1152x864 at 8 bpp
> initializing the DSP
> wsdisplay1 at machfb1 kbdmux 1
> wsmux1: connecting to wsdisplay1
> wsdisplay1: screen 0-3 added (default, sun emulation)
> * it's using 1280x1024x60
> * I can type and see typed things on the screen.
> * `XFree86 -configure` still dies saying
> Fatal server error:
> xf86MapVidMem: could not mmap screen [s=3D2000,a=3De2000000] (Invalid
> argument)

And this belongs to the onboard ATI which can't be mapped when the card
is console.

Please change your kernel config like this:

wsdisplay0      at wsemuldisplaydev? console 1
wsdisplay*      at wsemuldisplaydev?

and comment out all other wsdisplay at whatever lines. This should force
wsdisplay0 to the console device. Apparently there's also a bug in
machfb, I'll have a look.

have fun
Michael

--Signature_Wed__21_Sep_2005_12_14_44_-0400_yzA2Tdmj0CJAjGdw
Content-Type: application/pgp-signature

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

iQEVAwUBQzGG9MpnzkX8Yg2nAQJi8wf/Qbc2VxGSyz3skargAKmSqci7erAzPD3L
E4VzQc1wRmfYknxm8BoA+x4G/oI/knkqEeDP1yTwGp6QuCmi6eSI7Cl1S6bWNLYb
tzjOh4W4Hwj8xkhobtkkToDClB1m/oBJOD+zARdV5Wc679GrDWPAjEqZJ0OIb5Ad
FnEy3h+VOWvKihrQWINs60eXwgjMkmWTlJf3gu+ph8ne/Av4nH35Z8vuzWMh1pe5
xsVV5oNdXjeQ4RZqzHSj9eRHfiFhsGwGCiQy7cfqD1e3Hbg2hakQbfRJgXos1kBT
T5YKbsfpeYyE+mB/SLweloag4sFzgR4sudORwTFWK2lrmQ8vZ4WmvQ==
=w9UZ
-----END PGP SIGNATURE-----

--Signature_Wed__21_Sep_2005_12_14_44_-0400_yzA2Tdmj0CJAjGdw--