1 |
On Wed, 2009-06-10 at 14:33 +0200, Johannes Geiss wrote: |
2 |
|
3 |
> I updated my xorg-server to the latest version 1.5.3-r6 and now my X11 |
4 |
> performance for OpenGL (Mesa 7.3-r1) is bad and has wrong colours (eg. |
5 |
> glxgears). |
6 |
|
7 |
I did a little investigation of my problem and saw this: |
8 |
|
9 |
xorg-server-1.5.3-r6 has a library called libglx.so. This library uses |
10 |
|
11 |
drmOpenOnce(NULL, "pci:0001:01:08.0", ...) |
12 |
|
13 |
to get the graphics card. |
14 |
|
15 |
lspci reports |
16 |
|
17 |
0001:01:08.0 VGA compatible controller: |
18 |
ATI Technologies Inc Radeon RV250 If [Radeon 9000] (rev 01) |
19 |
|
20 |
So the PCI Bus ID seems to be correct. |
21 |
|
22 |
libdrm-2.4.5 has the function drmOpenOnce(). This function goes down to |
23 |
drmOpen(NULL, "pci:0001:01:08.0") and |
24 |
drmOpenByBusid("pci:0001:01:08.0"). |
25 |
|
26 |
Now drmGetBusid(fd) is called and returns "pci:0000:01:08.0". Which is |
27 |
wrong, because it differs from the original PCI Bus ID. So my graphics |
28 |
card will not be used with hardware accelerated OpenGL. |
29 |
|
30 |
drmGetBusid() calls the kernel module drm via IOCTL |
31 |
DRM_IOCTL_GET_UNIQUE. (see file drm_ioc32.c). So is it a bug in the |
32 |
kernel? Whom can I report this? |
33 |
|
34 |
Thanks for any suggestions |
35 |
Johannes |
36 |
-- |
37 |
|
38 |
------//-------------------------------------------------------------- |
39 |
// Johannes R. Geiss Zaurus, Pegasos, Amiga and C64 user |
40 |
\\ // PGP at http://home.arcor.de/jgeiss/pgpkey.txt |
41 |
--\X/----------------------------------------------------------------- |