Re: call for testers - switching ofppc to xorg X11

Michael <[email protected]> Mon, 6 Dec 2010 08:28:27 -0500
Newsgroups gmane.os.netbsd.ports.ofppc
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Dec 5, 2010, at 9:22 PM, matthew green wrote:

> it is still broken.  it comes up in only 800x600 and the colours
> are wrong.  i'm not sure how to describe it.  the 800x600 seems
> to be somewhat 'expected' given this autoconfig:
>
> genfb0 at pci0 dev 8 function 0: ATI Technologies Radeon 9200PRO 5960
> genfb0: framebuffer at 0xc0000000, size 800x600, depth 8, stride 800
> wsdisplay0 at genfb0 kbdmux 1: console (default, vt100 emulation)
> wsmux1: connecting to wsdisplay0
> drm at genfb0 not configured

Genfb relies on a callback to set palette registers - if OF on your  
machine doesn't do that right ( or the callback isn't there or  
whatever ) it can't do anything about it.

>>> i'm going to switch ofppc to xorg by default... and we'll fix these
>>> issues.
>>
>> I'm still trying to figure out what exactly broke X -configure :/
>
> well, xf86-video-wsfb fails to do PROBE_DETECT which is what
> X -configure uses.

It never did anything else.

>  but i have a ati 9200 card, and i was kind of expecting to be able  
> to use the 'radeon' driver, but that
> doesn't find any devices.

It doesn't work with any driver I tried so far.

>  "pcictl list" doesn't show it, either. i'd expect to see it on  
> pci0, but it isn't:
>
> # dmesg|grep 'at pci0'
> pchb0 at pci0 dev 0 function 0
> genfb0 at pci0 dev 8 function 0: ATI Technologies Radeon 9200PRO 5960
> genfb1 at pci0 dev 8 function 1: ATI Technologies Radeon 9200 Pro  
> Secondary
> # pcictl pci0 list
> 000:00:0: Marvell MV6436x System Controller (host bridge, revision  
> 0x03)

This is weird - if pcictl can't see it then neither can libpciaccess,  
all it does is walk over /dev/pci* nodes. You can't really blame Xorg  
for that.

have fun
Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBTPzk+8pnzkX8Yg2nAQL05gf/dPWRcoqSIaDxw6GBIJKkyA8qtBgOxKOb
wF49ry7sgN+R/w1RnJNRna3NxBLJEA4wKdkTXCorL+ukp6D1gCehmykJvSOr62nB
eYh2e90qsVnwgJL8fyg+aOvh4Q9PpBzZwED8c4APHrjW61x9akqEr61ISiyxKbtF
w+bfOletRAh3ZFrdHPYCcOSW8bT/ezb5KHF/bUeBacVaphR3clsUv59kDZ7+ImQd
3YYMdzoRuTVcq7yvgNLafYSjIEAHywAHXA+rZKEajuFYQVA1vlOq4TUmgxBf0zh0
JRlzuu2KR5VQhwaGPUaoImiragHis2aF6gSqPBfR0krN3peiIOZpUg==
=6JQT
-----END PGP SIGNATURE-----