tech-x11 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: radeon without DRI



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Nov 14, 2009, at 2:11 PM, César Catrián Carreño wrote:

I have this r200. This is -current 5.99.21. It began to fail DRI time ago:

cetrox@core $ pcictl /dev/pci1 list [15:59:31 - 09-11-14]
001:00:0: ATI Technologies Radeon 8500 QL (VGA display)

We really need to put that in some prominent place on the website.

but is not detected by Xorg. This card has its BusID defined in xorg.conf:
Section "Device"
       Identifier      "Radeon-Single"
       Driver          "radeon"
       BusID           "PCI:1:0:0"

So you're using an xorg.conf for Xorg 1.4 with Xorg 1.6 which grew support for what they call 'PCI domains' - support for several independent PCI buses. The old NetBSD-specific code would only see whatever is visible through /dev/pci0 which is enough for most older PCs with only one PCI bus and an AGP slot, but fails in several annoying ways on most halfway recent Power Macs ( which have up to four PCI buses ), several sparc64 boxes, modern PCs etc. So, these days the BusID needs to include a Domain ID. Well actually it always did but since we only supported one domain it was always 0 and the BusID parsing code assumes domain 0 if it's omitted since XFree86 4.0.

Did you noticedthis:
drmOpenByBusid: Searching for BusID pci:0000:01:00.0

vs,

drmOpenByBusid: drmGetBusid reports pci:0001:01:00.0

?

That's DRM telling you that it didn't find your device in domain 0 but in domain 1.
So your BusID needs to look like this:
PCI:1@1:0:0

Also, X -configure would have written this BusID ( if you tried that and it didn't that's a bug so please tell me )

have fun
Michael

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

iQEVAwUBSv9mxspnzkX8Yg2nAQIlrAgAp7hzrhuqm2smUPRw0bgqfEu5B6NujTgj
2WKyZCfKtop0QCTiIwJ5Qb3B42n4NgAEL5AOPW+hq1kAxS77Zex3T9ihNO61AgKO
dflut7WJyT3uQGlqAXqtEdOP2Nem4cCfttwVvDBsRgzliKhidv+4UYF17aNjz1E7
0cMdzG6utnzG7qPd2OLQcRk58nxx/vH7fFVFZuKwcZL1VhLVdd6tzByS6rDtdqK3
mvTTp/Pm7q9u/ntqgAY6NLGuHOom2W9V0o+a2nLCeyXp3a4aDKj5Xm6jGYWtZ7B8
n8DB3MpylaMl15+f0JgQJmZr0xkK0j7rx8vEY86vQmsh0PfPqNZrlA==
=MneN
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index