Public bug reported:

Binary package hint: linux-image-2.6.15-27-686

Ubuntu 6.06.1 LTS

Kernel image 2.6.15

I've just put a ATI Radeon based 9200SE video card into a FoxConn
WinFast 760GXK8MC motherboard and had an entertaining few hours getting
the xserver to run DRI properly. So I thought I'd write it up to give it
a chance of getting fixed.

The Motherboard uses the SiS 760GX + SiS964/964L chipset and has onboard
Graphics capability . The AGP interface is 8x with Fast Writes.

With a vanilla module load you get the dreaded drm failure with the
Radeon when you try and start the Xserver. Xlog reports that the drm
bind has failed and shuts down the DRI facility.

Jan 27 14:39:02 localhost kernel: [17179597.016000] [drm] Initialized drm 1.0.1 
20051102
Jan 27 14:39:02 localhost kernel: [17179597.028000] ACPI: PCI Interrupt 
0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 225
Jan 27 14:39:02 localhost kernel: [17179597.032000] [drm] Initialized radeon 
1.24.0 20060225 on minor 0
Jan 27 14:39:03 localhost hpiod: 0.9.7 accepting connections at 48354... 
Jan 27 14:39:03 localhost kernel: [17179598.140000] agpgart: Found an AGP 3.1 
compliant device at 0000:00:00.0.
Jan 27 14:39:03 localhost kernel: [17179598.140000] agpgart: Putting AGP V3 
device at 0000:00:00.0 into 4x mode
Jan 27 14:39:03 localhost kernel: [17179598.140000] agpgart: Putting AGP V3 
device at 0000:01:00.0 into 4x mode
Jan 27 14:39:03 localhost kernel: [17179598.140000] [drm:radeon_cp_init] 
*ERROR* radeon_cp_init called without lock held
Jan 27 14:39:03 localhost kernel: [17179598.140000] [drm:drm_unlock] *ERROR* 
Process 4399 using kernel context 0

The problem appears to be with the module dependencies. If you do a
'lsmod | egrep agp' you see that the 'agpgart' module depends on both
the sis_agp and amd64_agp drivers, with the sis_agp in charge (my system
has a Sempron 2600 processor in it with the amd64 extensions) and the
sis_agp driver seems to get its numbers wrong.

Jan 27 14:33:22 localhost kernel: [17179586.704000] agpgart: Detected SiS 760 
chipset
Jan 27 14:33:22 localhost kernel: [17179586.704000] agpgart: AGP aperture is 4M 
@ 0xd0000000

The Aperture in the BIOS is only 128M wide.

The solution was to add the following to /etc/modprobe.d/blacklist

blacklist sis_agp

which removes the sis_agp driver from contention and lets the amd64_agp
driver take the strain. At which point we get this

[17179587.400000] Linux agpgart interface v0.101 (c) Dave Jones
[17179587.412000] agpgart: Detected AGP bridge 0
[17179587.416000] agpgart: AGP aperture is 128M @ 0xd0000000

and everything works just fine, or at least seems to.

** Affects: linux-source-2.6.15 (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
Kernel loads two AGP bridges - causes Radeon DRI to fail
https://launchpad.net/bugs/81950

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to