Subject: Re: PGX64 and XFree
To: None <joel@carnat.net>
From: Michael <macallan18@earthlink.net>
List: port-sparc64
Date: 09/21/2005 11:09:10
--Signature_Wed__21_Sep_2005_11_09_10_-0400_AcP+vavx+z04p2HB
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

> > > I got a Sun PGX64 and plugged it in my Ultra10.
> > > I enabled it as "console only" using "setenv pcib-probe-list 1,3".
> > > It works OK on Solaris 9.
> >=20
> > setenv output-device /pci/whatever/ATY,something=20
> > should do the trick without any PCI probing stunts
> >=20
>=20
> ah ok... I did the previous because it's what was written on Sun doc
:)
> so I went back to "normal" conf ("setenv pcib-probe-list 1,2,3").

Well, changing the probe list will make devices invisible to OF and
therefore NetBSD. If that's what you want there's nothing wrong with it
but NetBSD is pretty much able to figure out which display device is the
console so there's no reason to hide the others.

> > > Now I installed NetBSD 3.99.8 and try to startx.
> > > There don't seem to be any error, but X don't show - my LCD
monitor
> > > says "can't display this mode" ; XFree86/twm/xterm/xclock appear
in
> > > `top` with no special CPU charge - they're just there.
> >=20
> > According to your log X thinks all is well.
> >=20
> > > I've attached the log and conf (in case it helps).
> > > The internal ATI worked OK when I tried it (expect it won't go to
> > > 1280x1024 bcause of memory size).
> >=20
> > It should do it in 16bit. Please try this with the onboard ATI, just
to
> > make sure your LCD likes these timings at all.
> >=20
>=20
> hum... stange thing here...
> looks like XFree don't like both card being pluggued in :
> *****
> (II) ATI:  Candidate "Device" section "Card0".
> (II) ATI:  Unshared PCI/AGP Mach64 in slot 1:2:0 detected.
>=20
> Fatal server error:
> xf86MapVidMem: could not mmap screen [s=3D2000,a=3D12000000] (Invalid
> argument)
> *****

Hrm, that's odd and shouldn't happen. Probably a bug in machfb :/
Please send me your dmesg output to verify.

> The video card section looks like :
> *****
>         Identifier  "Card0"
>         Driver      "ati"
>         VendorName  "ATI"
> #       BoardName   "Rage XL"
>         ChipSet     "ati"
> #       ChipId      0x4752
> #       ChipRev     0x27
> #       BusID       "PCI:2:1:0"
>         BusID       "PCI:0:2:0"
> *****
that's the onboard ATI, while the one above lists the card.=20

> Do I have to unplug the PGX64 to have the onboard ATI work (console in
> on onboard) ? I fill a bit lazy to unscrew the U10 if I can avoid it
> :)

No, that shouldn't be necessary.
Just a couple questions:
- does the console appear on the onboard ATI and does it work properly?
- does XFree detect both chips? It looks like it's trying to use the
card which will fail when the console is on the onboard ATI.

> > > Any idea why X don't appears nicely on my LCD ?
> >=20
> > Not yet. Either X programmed some weird video timings or your LCD is
> > picky - no way for me to tell which one it is.
> >=20
>=20
> my LCD works with my NetBSD/i386 (i810) and with both video card under
> Solaris :) So I think either it XFree86 or my conf file that bugs :)

Solaris doesn't change video timings when starting X, but XFree does.

have fun
Michael

--Signature_Wed__21_Sep_2005_11_09_10_-0400_AcP+vavx+z04p2HB
Content-Type: application/pgp-signature

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

iQEVAwUBQzF3lspnzkX8Yg2nAQKTkAf8D6lgw/HGsv6Gk/3v2LsDXcnzbmKJHlNq
v4BGIYTuaCkSYubPIBjgQ28q8KryfBWEzaYxg8Qou8MpiTWr3PqwaZT4KQlGNPu8
SyaZ1DRZmW+sbPv/CxGte90kSV2K0P8YrNl6uGHepQaMEocf6ZqdEObgl9NHJZox
UxE634jRox2Xo+wTYELuIwgJDqQxrtmJSbWXBBABqCvY9hgl3vvweQKWUhBFpguG
iOG3mMd1WWG6zYKN8efennLkXrgItpojSgZ1UDe09OTLc+PsJbTYoK5M9MqGftvS
6WcvU965YCG1WXX5Ws1oCd9711PdOkKSwp3bM1IMkRieuldSqoSYeg==
=jz3R
-----END PGP SIGNATURE-----

--Signature_Wed__21_Sep_2005_11_09_10_-0400_AcP+vavx+z04p2HB--