From: Paul Wellner Bou <pwellner@gm...> - 2006-01-23 21:43:18
I am trying for a few days to enable DRI with my radeon 7500 now and I
have not found any solution. Is this possible?
I have a Debian (testing/unstable) System with the latest x.org and I
tried loading and unloading the kernel modules in different order.
Then I downloaded the latest snapshots from
http://dri.freedesktop.org/snapshots/. The error messages are a little
bit different, but the result is the same.
I tried a lot configuration options for the xorg.conf listet here:
http://ftp.x.org/pub/X11R7.0/doc/html/radeon.4.html and got EXA
working (with a few errors rendering the firefox menu and the
thunderbird progress bar, but working very well with the composite
extension and transset and xcompmgr from experimental).
My System (hardware and software) configuration:
0000:00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS AGP Port
(virtual PCI-to-PCI bridge)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon
RV200 QW [Radeon 7500]
(The first one is the on-board graphic chip, I think which I am not
using. In the xorg.conf I specified the PCI 1:00:0 port to be sure.)
$ apt-cache policy xserver-xorg
The dmesg output regarding agp and drm (the same as the relevant lines
in the syslog):
Linux agpgart interface v0.101 (c) Dave Jones
[drm] Initialized drm 1.0.1 20051102
[drm] Initialized radeon 1.22.0 20060120 on minor 0:
[drm] Used old pci detect: framebuffer loaded
mtrr: 0xc0000000,0x8000000 overlaps existing 0xc0000000,0x4000000
[drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held,
held 0 owner 00000000 ddf247c0
[drm:drm_unlock] *ERROR* Process 7204 using kernel context 0
Process 7204 is X:
$ ps aux | grep 7204
root 7204 13.7 8.1 48308 42248 tty7 S<s+ 21:44 6:46
/usr/X11R6/bin/X :0 -audit 0 -auth /var/lib/gdm/:0.Xauth vt7
$ lsmod | grep agp
agpgart 35848 1 drm
$ lsmod | grep radeon
radeon 111776 0
drm 78680 1 radeon
Using ati-agp does not change anything. Loading it, agpgart is loaded
at the same time. Loading the modules manually (and rebooting for
every possibility) to change the order they are loaded, does not
change anything, neither. :-|
Last, the Xorg.log output:
drmOpenByBusid: Searching for BusID pci:0000:01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: drmOpenMinor returns 9
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
(II) RADEON(0): [drm] loaded kernel module for "radeon" driver
(II) RADEON(0): [drm] DRM interface version 1.2
(II) RADEON(0): [drm] created "radeon" driver at busid "pci:0000:01:00.0"
(II) RADEON(0): [drm] added 8192 byte SAREA at 0xe1d6e000
(II) RADEON(0): [drm] mapped SAREA 0xe1d6e000 to 0xb7fcf000
(II) RADEON(0): [drm] framebuffer handle =3D 0xc0000000
(II) RADEON(0): [drm] added 1 reserved context for kernel
(WW) RADEON(0): [agp] AGP not available
(EE) RADEON(0): [agp] AGP failed to initialize. Disabling the DRI.
(II) RADEON(0): [agp] You may want to make sure the agpgart kernel module
is loaded before the radeon kernel module.
(II) RADEON(0): [drm] removed 1 reserved context for kernel
I'm doing something wrong? Do I need some other kernel modules? What
else can I try?
Thank you very much.
From: Roland Scheidegger <rscheidegger_lists@hi...> - 2006-01-23 21:58:14
Paul Wellner Bou wrote:
> Using ati-agp does not change anything. Loading it, agpgart is loaded
> at the same time. Loading the modules manually (and rebooting for
> every possibility) to change the order they are loaded, does not
> change anything, neither. :-|
You don't need ati-agp. Since you have a sis chipset, you need however
sis-agp (unless this is an a64, then you'd need amd64-agp).