sis 760 AGP broken on amd64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
X.Org X server |
Invalid
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
linux-source-2.6.20 (Ubuntu) |
Invalid
|
Medium
|
Ben Collins | ||
linux-source-2.6.22 (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
xserver-xorg-video-sis (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Here's a bunch of data. Hope it's useful. :)
motherboard with sis 760GX/965L chipset (asus k8s-mx)
radeon 9250 AGP video card (asus)
running dapper liveCD, March 8, 2006 release
/var/log/messages:
Mar 8 22:16:30 ubuntu kernel: [4294763.439000] agpgart: Detected SiS 760 chipset
Mar 8 22:16:30 ubuntu kernel: [4294763.440000] agpgart: AGP aperture is 4M @ 0xf0000000
Mar 8 22:16:46 ubuntu kernel: [4294790.205000] [drm] Initialized drm 1.0.0 20040925
Mar 8 22:16:47 ubuntu kernel: [4294790.466000] ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 18 (level, low) -> IRQ 217
Mar 8 22:16:47 ubuntu kernel: [4294790.466000] [drm] Initialized radeon 1.19.0 20050911 on minor 0:
Mar 8 22:16:47 ubuntu kernel: [4294790.467000] agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
Mar 8 22:16:47 ubuntu kernel: [4294790.467000] agpgart: Putting AGP V3 device at 0000:00:00.0 into 4x mode
Mar 8 22:16:47 ubuntu kernel: [4294790.467000] agpgart: Putting AGP V3 device at 0000:01:00.0 into 4x mode
However, Xorg log reports:
(II) RADEON(0): [drm] created "radeon" driver at busid "pci:0000:01:00.0"
(II) RADEON(0): [drm] added 8192 byte SAREA at 0xa0b2e000
(II) RADEON(0): [drm] mapped SAREA 0xa0b2e000 to 0x778d3000
(II) RADEON(0): [drm] framebuffer handle = 0xc0000000
(II) RADEON(0): [drm] added 1 reserved context for kernel
(II) RADEON(0): [agp] Mode 0x1f004e09 [AGP 0x1039/0x0760; Card 0x1002/0x5960]
(II) RADEON(0): [agp] 8192 kB allocated with handle 0x00000001
(EE) RADEON(0): [agp] Could not bind
(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
And, according to /var/log/syslog:
Mar 8 22:16:46 ubuntu kernel: [4294790.205000] [drm] Initialized drm 1.0.0 20040925
Mar 8 22:16:47 ubuntu kernel: [4294790.466000] ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 18 (level, low) -> IRQ 217
Mar 8 22:16:47 ubuntu kernel: [4294790.466000] [drm] Initialized radeon 1.19.0 20050911 on minor 0:
Mar 8 22:16:47 ubuntu kernel: [4294790.467000] agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
Mar 8 22:16:47 ubuntu kernel: [4294790.467000] agpgart: Putting AGP V3 device at 0000:00:00.0 into 4x mode
Mar 8 22:16:47 ubuntu kernel: [4294790.467000] agpgart: Putting AGP V3 device at 0000:01:00.0 into 4x mode
Mar 8 22:16:47 ubuntu kernel: [4294790.469000] [drm:radeon_
Mar 8 22:16:47 ubuntu kernel: [4294790.469000] [drm:drm_unlock] *ERROR* Process 4977 using kernel context 0
A google of the 1st error message led to:
http://
However, the sis_agp module is loaded:
lsmod
radeon 108832 0
drm 72852 1 radeon
sis_agp 8708 1
amd64_agp 12356 0
agpgart 34888 3 drm,amd64_
I did back out of the x server, unload the radeon and drm modules, and then restart x, to make sure that agpgart, amd64_agp and sis_agp were loaded first.
The result:
glxinfo | grep render
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect
FWIW:
cat /proc/interrupts
CPU0
0: 2422903 IO-APIC-edge timer
1: 7049 IO-APIC-edge i8042
9: 0 IO-APIC-level acpi
14: 4014 IO-APIC-edge ide0
169: 438 IO-APIC-level libata
177: 2 IO-APIC-level ehci_hcd:usb1
185: 0 IO-APIC-level ohci_hcd:usb2
193: 37721 IO-APIC-level ohci_hcd:usb3
201: 0 IO-APIC-level ohci_hcd:usb4
209: 9909 IO-APIC-level eth0
217: 3953 IO-APIC-level SiS SI7012
NMI: 0
LOC: 2422276
ERR: 0
MIS: 0
Process 4977 is:
ps ax | grep 4977
4977 tty7 Ss+ 0:45 /usr/bin/X :0 -br -audit 0 -auth /var/lib/
from lspci -v
0000:00:00.0 Host bridge: Silicon Integrated Systems [SiS] 760/M760 Host (rev 03)
Subsystem: ASUSTeK Computer Inc.: Unknown device 8159
Flags: bus master, medium devsel, latency 32
Memory at f0000000 (32-bit, non-prefetchable) [size=128M]
0000:00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SG86C202 (prog-if 00 [Normal decode])
Flags: bus master, 66MHz, medium devsel, latency 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
I/O behind bridge: 0000b000-0000bfff
Memory behind bridge: fea00000-feafffff
0000:01:00.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200 PRO] (rev 01) (prog-if 00 [VGA])
Subsystem: ASUSTeK Computer Inc.: Unknown device 004c
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 217
Memory at c0000000 (32-bit, prefetchable) [size=128M]
I/O ports at b800 [size=256]
Memory at feaf0000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at feac0000 [disabled] [size=128K]
0000:01:00.1 Display controller: ATI Technologies Inc: Unknown device 5940 (rev 01)
Subsystem: ASUSTeK Computer Inc.: Unknown device 004d
Flags: bus master, 66MHz, medium devsel, latency 64
Memory at b8000000 (32-bit, prefetchable) [size=128M]
Memory at feae0000 (32-bit, non-prefetchable) [size=64K]
And here's the xorg log in its totality:
<< deleted, see attachment from comment #8 >>
I will be happy to help with testing on this hardware if needed.
Changed in linux-source-2.6.15: | |
assignee: | nobody → ben-collins |
Changed in linux-source-2.6.15: | |
status: | Unconfirmed → Confirmed |
Changed in xorg-server: | |
status: | Unknown → Confirmed |
Changed in linux-source-2.6.22: | |
status: | New → Confirmed |
Changed in linux-source-2.6.22: | |
assignee: | nobody → ubuntu-kernel-team |
Changed in xorg-server: | |
importance: | Unknown → Medium |
Changed in linux (Ubuntu): | |
status: | Incomplete → Invalid |
Changed in xorg-server: | |
importance: | Medium → Unknown |
Changed in xorg-server: | |
importance: | Unknown → Medium |
Changed in xorg-server: | |
importance: | Medium → Undecided |
status: | Confirmed → New |
status: | New → Invalid |
is this a regression?
the AGP aperture is only 4M this is never going to be big enough for the radeon driver..
you should check your BIOS to see if you can increase it.. that or the sis driver is getting the wrong size somehow..