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

DRI does not work with 2.6.5 kernel



Hi,

I apologize for sending this to both -kernel and -x lists. The reason
is that I'm not certain whether this is a kernel issue, an X issue,
or (most likely) a misconfiguration problem on my part with either
the kernel or X.

I run unstable, on which I have 4.3.0-7 of all X packages. Everything
works fine with my Radeon Mobility M6 LY rev 0 card on a Thinkpad R32
laptop when I use kernel 2.6.0 (locally built). 

After I have compiled and installed kernel 2.6.5, X hangs on startup.
The XFree86 log has the following two messages repeating forever
(until I switch the box off), and nothing shows up on the screen.

(EE) RADEON(0): RADEONCPGetBuffer: CP GetBuffer -1020
(EE) RADEON(0): GetBuffer timed out, resetting engine...

The earlier lines in this logfile indicate that Direct rendering is 
disabled. Switching back to the 2.6.0 kernel eliminates the problem.

Now, I have the same kernel config as far as DRM is concerned in both
kernels. Here's the diff between the XFree86 logfiles under the
working (---) and new (+++) kernels:

@@ -711,11 +711,9 @@
 (II) RADEON(0): X context handle = 0x00000001
 (II) RADEON(0): [drm] installed DRM signal handler
 (II) RADEON(0): [DRI] installation complete
-(II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers
-(II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers
-(II) RADEON(0): [drm] dma control initialized, using IRQ 11
-(II) RADEON(0): [drm] Initialized kernel agp heap manager, 5111808
-(II) RADEON(0): Direct rendering enabled
+(II) RADEON(0): [drm] removed 1 reserved context for kernel
+(II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xd086f000 at
0x4148b000
+(II) RADEON(0): Direct rendering disabled
 (==) RandR enabled
 (II) Initializing built-in extension MIT-SHM
 (II) Initializing built-in extension XInputExtension
@@ -762,7 +760,3061344 @@
 Warning: font renderer for ".bdf.Z" already registered at priority 0
 Warning: font renderer for ".bdf.gz" already registered at priority 0
 Warning: font renderer for ".pmf" already registered at priority 0
-GetModeLine - scrn: 0 clock: 65000
-GetModeLine - hdsp: 1024 hbeg: 1040 hend: 1176 httl: 1344
-              vdsp: 768 vbeg: 770 vend: 776 vttl: 806 flags:
-2147483648
-(II) 3rd Button detected: disabling emulate3Button
+(EE) RADEON(0): RADEONCPGetBuffer: CP GetBuffer -1020
+(EE) RADEON(0): GetBuffer timed out, resetting engine...

I'd be grateful for any help. I hesitated to post the complete XFree log,
kernel config, and dmesg for both cases, but please let me know if I should.

Thanks for any leads,
Alex

-- 
Alexander Roitman   http://ebner.neuroscience.umn.edu/people/alex.html
Dept. of Neuroscience, Lions Research Building
2001 6th Street SE, Minneapolis, MN  55455
Tel (612) 625-7566   FAX (612) 626-9201

Attachment: signature.asc
Description: Digital signature


Reply to: