Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-ppc-user
Navigation:
Lists: gentoo-ppc-user: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-ppc-user@g.o
From: Johannes Geiss <johannes.geiss@...>
Subject: Re: Pegasos II + Radeon 9000: No DRI and wrong colours for OpenGL
Date: Thu, 11 Jun 2009 22:03:15 +0200
On Wed, 2009-06-10 at 14:33 +0200, Johannes Geiss wrote:

> I updated my xorg-server to the latest version 1.5.3-r6 and now my X11
> performance for OpenGL (Mesa 7.3-r1) is bad and has wrong colours (eg.
> glxgears).

I did a little investigation of my problem and saw this:

xorg-server-1.5.3-r6 has a library called libglx.so. This library uses 

	drmOpenOnce(NULL, "pci:0001:01:08.0", ...)

to get the graphics card.

lspci reports

	0001:01:08.0 VGA compatible controller:
	ATI Technologies Inc Radeon RV250 If [Radeon 9000] (rev 01)

So the PCI Bus ID seems to be correct.

libdrm-2.4.5 has the function drmOpenOnce(). This function goes down to
drmOpen(NULL, "pci:0001:01:08.0") and
drmOpenByBusid("pci:0001:01:08.0").

Now drmGetBusid(fd) is called and returns "pci:0000:01:08.0". Which is
wrong, because it differs from the original PCI Bus ID. So my graphics
card will not be used with hardware accelerated OpenGL.

drmGetBusid() calls the kernel module drm via IOCTL
DRM_IOCTL_GET_UNIQUE. (see file drm_ioc32.c). So is it a bug in the
kernel? Whom can I report this?

Thanks for any suggestions
Johannes
-- 

------//--------------------------------------------------------------
     //    Johannes R. Geiss       Zaurus, Pegasos, Amiga and C64 user
 \\ //                   PGP at http://home.arcor.de/jgeiss/pgpkey.txt
--\X/-----------------------------------------------------------------
Attachment:
signature.asc (This is a digitally signed message part)
References:
Pegasos II + Radeon 9000: No DRI and wrong colours for OpenGL
-- Johannes Geiss
Navigation:
Lists: gentoo-ppc-user: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Pegasos II + Radeon 9000: No DRI and wrong colours for OpenGL
Next by thread:
how to install gentoo with livecd kernel file on ibook G3?
Previous by date:
Pegasos II + Radeon 9000: No DRI and wrong colours for OpenGL
Next by date:
how to install gentoo with livecd kernel file on ibook G3?


Updated Jun 19, 2009

Summary: Archive of the gentoo-ppc-user mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.