AGP speed not detected properly causing black screen and unkillable Xorg process
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Binary package hint: kernel-
After updating to dapper, I ended up with a black screen and a hung Xorg process that I could not even force kill. Here is the error in the syslog that seems relevant to this problem. The Xorg process was taking all cpu.
-------
[ 64.049497] [drm] Initialized radeon 1.24.0 20060225 on minor 0
[ 64.933205] agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.
[ 64.933220] agpgart: Badness. Don't know which AGP mode to set. [bridge_
[ 64.933223] agpgart: Bridge couldn't do AGP x4.
[ 64.933229] agpgart: Putting AGP V3 device at 0000:00:00.0 into 0x mode
[ 64.933281] agpgart: Putting AGP V3 device at 0000:01:00.0 into 0x mode
...
[ 69.264076] [drm] Setting GART location based on new memory map
[ 69.264087] [drm] Loading R300 Microcode
[ 69.273656] [drm] writeback test failed
-------
After doing net searches for similar problems, I ran across some messages about unkillable xorg processes that stated that the AGP speed was being detected incorrectly with newer kernels and some setups. After changing my bios to 4X AGP instead of 8X AGP, xorg works again and the following is the relevant output in the syslog. Note that the writeback test fails above and works below. This system was running breezy just fine before (2.6.12-10).
-------
blue@crow:/root$ dmesg | grep agp
[ 85.564568] agpgart: Detected AGP bridge 0
[ 85.567727] agpgart: AGP aperture is 64M @ 0xf8000000
[ 85.580437] Linux agpgart interface v0.101 (c) Dave Jones
[ 115.076136] agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.
[ 115.076153] agpgart: Putting AGP V3 device at 0000:00:00.0 into 4x mode
[ 115.076206] agpgart: Putting AGP V3 device at 0000:01:00.0 into 4x mode
blue@crow:/root$ dmesg | grep drm
[ 114.185322] [drm] Initialized drm 1.0.1 20051102
[ 114.192610] [drm] Initialized radeon 1.24.0 20060225 on minor 0
[ 119.407115] [drm] Setting GART location based on new memory map
[ 119.407207] [drm] Loading R300 Microcode
[ 119.407274] [drm] writeback test succeeded in 1 usecs
-------
Changed in linux-source-2.6.15: | |
status: | Invalid → New |
Here is more information about system.
# lspci -v
Capabilities: [80] AGP version 3.5
Capabilities: [c0] #08 [0060]
Capabilities: [68] Power Management version 2
Capabilities: [58] #08 [8001]
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8385 [K8T800 AGP] Host Bridge (rev 01)
Subsystem: ASUSTeK Computer Inc. K8V Deluxe/K8V-X motherboard
Flags: bus master, 66MHz, medium devsel, latency 8
Memory at f8000000 (32-bit, prefetchable) [size=64M]
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 South] (prog-if 00 [Normal decode])
Prefetchable memory behind bridge: d7f00000-f7efffff
Capabilities: [80] Power Management version 2
Flags: bus master, 66MHz, medium devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 0000a000-0000afff
Memory behind bridge: fcd00000-fd2fffff
0000:00:07.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80) (prog-if 10 [OHCI])
Capabilities: [50] Power Management version 2
Subsystem: ASUSTeK Computer Inc.: Unknown device 808a
Flags: bus master, medium devsel, latency 64, IRQ 185
Memory at fd700000 (32-bit, non-prefetchable) [size=2K]
I/O ports at bc00 [size=128]
0000:00:08.0 RAID bus controller: Promise Technology, Inc. PDC20378 (FastTrak 378/SATA 378) (rev 02)
Capabilities: [60] Power Management version 2
Subsystem: ASUSTeK Computer Inc. K8V Deluxe/PC-DL Deluxe motherboard
Flags: bus master, 66MHz, medium devsel, latency 96, IRQ 169
I/O ports at ec00 [size=64]
I/O ports at dc00 [size=16]
I/O ports at cc00 [size=128]
Memory at fd900000 (32-bit, non-prefetchable) [size=4K]
Memory at fd800000 (32-bit, non-prefetchable) [size=128K]
0000:00:0a.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 13)
Capabilities: [48] Power Management version 2
Capabilities: [50] Vital Product Data
Subsystem: ASUSTeK Computer Inc. Marvell 88E8001 Gigabit Ethernet Controller (Asus)
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 201
Memory at fdb00000 (32-bit, non-prefetchable) [size=16K]
I/O ports at b000 [size=256]
Expansion ROM at fda00000 [disabled] [size=128K]
0000:00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
Capabilities: [c0] Power Management version 2
Subsystem: ASUSTeK Computer Inc. A7V600/K8V Deluxe/K8V-X motherboard
Flags: bus master, medium devsel, latency 64, IRQ 177
I/O ports at e800 [size=8]
I/O ports at e400 [size=4]
I/O ports at e000 [size=8]
I/O ports at d800 [size=4]
I/O ports at d400 [size=16]
I/O ports at d000 [size=256]
0000:00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/ B/VT82C686/ A/B/VT823x/ A/C PIPC Bus Master IDE (rev 06) (prog-if 8a [Master SecP PriP])
Subsystem: ASUSTeK Computer Inc. A7V600/K8V-X motherboard
...