From: Adam Kessel <adam@ro...> - 2004-05-22 18:33:36
I'm trying to get 3d acceleration with an ATI Radeon Mobility M7 LW
[Radeon Mobility 7500], running Debian sid.
I tried installing the drm-trunk DEBs, which are recent snapshots.
I always get the following error on starting X:
Symbol drmGetClient from module /usr/X11R6/lib/modules-dri-trunk/drivers/radeon_drv.o is unresolved!
I'm running kernel 2.6.6. I have the modules ati_agp and agpgart loaded,
followed by radeon. The radeon module is unused after X is started. AGP
(**) RADEON(0): Option "AGPMode" "4"
(--) RADEON(0): Chipset: "ATI Radeon Mobility M7 LW (AGP)" (ChipID = 0x4c57)
(II) RADEON(0): AGP card detected
(**) RADEON(0): Using AGP 4x mode
I have tried using the radeon module that comes with kernel 2.6.6 as well
as the drm-trunk module. I have tried varying ColorDepth and am
generally using ColorDepth 16.
I've tried using drivers ati and radeon, but it appears that one is just
a wrapper of the other, so there is no difference.
I have also tried different AGPModes and FBDev on and off.
In case it is useful, I am posting my kernel config and XF86Config-4
Running xserver 4.3.0.dfsg.1 from Debian sid.
Any ideas what the problem is? I've spent a fair amount of time googling
to no avail.
From: Adam Kessel <adam@ro...> - 2004-05-22 23:16:52
On Sat, May 22, 2004 at 02:33:25PM -0400, Adam Kessel wrote:
> Symbol drmGetClient from module
> /usr/X11R6/lib/modules-dri-trunk/drivers/radeon_drv.o is unresolved!
I managed to solve this one--unfortunately I'm not sure exactly what did
it, but I rebuilt the kernel with framebuffer support, also added load
"dri" and "drm" in XF86Config-4 which was missing, and changed resolution
to 1400x1050, which made the text readable.
Now I get the following error in dmesg:
[drm] Initialized radeon 1.10.0 20020828 on minor 0: ATI Radeon LW Mobility 7500 M7
[drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
[drm:radeon_unlock] *ERROR* Process 1330 using kernel context 0
and in X log:
(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 0xd084c000
(II) RADEON(0): [drm] mapped SAREA 0xd084c000 to 0x42277000
(II) RADEON(0): [drm] framebuffer handle = 0xe0000000
(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
(II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xd084c000 at 0x42277000
(II) RADEON(0): Memory manager initialized to (0,0) (1408,8191)
(II) RADEON(0): Reserved area from (0,1050) to (1408,1052)
(II) RADEON(0): Largest offscreen area available: 1408 x 7139
(II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)
I am loading agpgart and ati-agp prior to radeon.
This problem is apparently fairly common, but I haven't found any