Bug 18734 - Radeon XPRESS 200M (RC410) - xorg crash when enabling compiz (regression)
Summary: Radeon XPRESS 200M (RC410) - xorg crash when enabling compiz (regression)
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2008-11-27 08:54 UTC by Alex Villacís Lasso
Modified: 2008-11-28 12:51 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Configuration file used for Xorg (1.76 KB, text/plain)
2008-11-27 08:55 UTC, Alex Villacís Lasso
Details
Xorg.0.log after X server crashes (29.77 KB, text/plain)
2008-11-27 08:56 UTC, Alex Villacís Lasso
Details
dmesg output right after crash (5.07 KB, text/plain)
2008-11-27 08:59 UTC, Alex Villacís Lasso
Details
Console output with assertion commented out and replaced with message (6.32 KB, text/plain)
2008-11-27 11:31 UTC, Alex Villacís Lasso
Details

Description Alex Villacís Lasso 2008-11-27 08:54:46 UTC
Linux 2.6.26.6-49.fc8 Fedora 8

All code checked out as of 2008/11/26 17:00 GMT -5

Compile went OK and non-compositing environment (WindowMaker) appears to work OK. But starting compiz causes a server crash and leaves the screen in graphics mode. 

This is the same system as bug #17723, but it is NOT a duplicate of it. Previous build of xserver git tree worked Ok with 64 MB ram. Current build crashes on same conditions.

Output of lspci -v:

00:00.0 Host bridge: ATI Technologies Inc Radeon Xpress 200 Host Bridge (rev
01)
        Subsystem: Intel Corporation Unknown device d600
        Flags: bus master, 66MHz, medium devsel, latency 64
        Memory at <ignored> (64-bit, non-prefetchable)

00:01.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge (prog-if 00 [Normal
decode])
        Flags: bus master, 66MHz, medium devsel, latency 99
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=68
        I/O behind bridge: 0000e000-0000efff
        Memory behind bridge: fde00000-fdefffff
        Prefetchable memory behind bridge: d8000000-dfffffff
        Capabilities: <access denied>

00:11.0 IDE interface: ATI Technologies Inc 437A Serial ATA Controller (rev 80)
(prog-if 8f [Master SecP SecO PriP PriO])
        Subsystem: Intel Corporation Unknown device d600
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 23
        I/O ports at ff00 [size=8]
        I/O ports at fe00 [size=4]
        I/O ports at fd00 [size=8]
        I/O ports at fc00 [size=4]
        I/O ports at fb00 [size=16]
        Memory at fe02f000 (32-bit, non-prefetchable) [size=512]
        [virtual] Expansion ROM at 40000000 [disabled] [size=512K]
        Capabilities: <access denied>
        Kernel driver in use: sata_sil
        Kernel modules: sata_sil

00:12.0 IDE interface: ATI Technologies Inc 4379 Serial ATA Controller (rev 80)
(prog-if 8f [Master SecP SecO PriP PriO])
        Subsystem: Intel Corporation Unknown device d600
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 22
        I/O ports at fa00 [size=8]
        I/O ports at f900 [size=4]
        I/O ports at f800 [size=8]
        I/O ports at f700 [size=4]
        I/O ports at f600 [size=16]
        Memory at fe02e000 (32-bit, non-prefetchable) [size=512]
        [virtual] Expansion ROM at 40080000 [disabled] [size=512K]
        Capabilities: <access denied>
        Kernel driver in use: sata_sil
        Kernel modules: sata_sil

00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev
80) (prog-if 10 [OHCI])
        Subsystem: Intel Corporation Unknown device d600
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 19
        Memory at fe02d000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: ohci_hcd
        Kernel modules: ohci-hcd

00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev
80) (prog-if 10 [OHCI])
        Subsystem: Intel Corporation Unknown device d600
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 19
        Memory at fe02c000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: ohci_hcd
        Kernel modules: ohci-hcd

00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host Controller
(rev 80) (prog-if 20 [EHCI])
        Subsystem: Intel Corporation Unknown device d600
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 19
        Memory at fe02b000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: ehci_hcd
        Kernel modules: ehci-hcd

00:14.0 SMBus: ATI Technologies Inc IXP SB400 SMBus Controller (rev 82)
        Subsystem: Intel Corporation Unknown device d600
        Flags: 66MHz, medium devsel
        I/O ports at 0b00 [size=16]
        Memory at fe02a000 (32-bit, non-prefetchable) [size=1K]
        Kernel driver in use: piix4_smbus
        Kernel modules: i2c-piix4

00:14.1 IDE interface: ATI Technologies Inc Standard Dual Channel PCI IDE
Controller (rev 80) (prog-if 8a [Master SecP PriP])
        Subsystem: Intel Corporation Unknown device d600
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16
        I/O ports at 01f0 [size=8]
        I/O ports at 03f4 [size=1]
        I/O ports at 0170 [size=8]
        I/O ports at 0374 [size=1]
        I/O ports at f400 [size=16]
        Capabilities: <access denied>
        Kernel driver in use: pata_atiixp
        Kernel modules: pata_atiixp

00:14.2 Audio device: ATI Technologies Inc SB450 HDA Audio (rev 01)
        Subsystem: Intel Corporation Unknown device d600
        Flags: bus master, slow devsel, latency 64, IRQ 16
        Memory at fe024000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: HDA Intel
        Kernel modules: snd-hda-intel

00:14.3 ISA bridge: ATI Technologies Inc IXP SB400 PCI-ISA Bridge (rev 80)
        Subsystem: Intel Corporation Unknown device d600
        Flags: bus master, 66MHz, medium devsel, latency 0

00:14.4 PCI bridge: ATI Technologies Inc IXP SB400 PCI-PCI Bridge (rev 80)
(prog-if 01 [Subtractive decode])
        Flags: bus master, VGA palette snoop, 66MHz, medium devsel, latency 64
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=64
        I/O behind bridge: 0000d000-0000dfff
        Memory behind bridge: fdd00000-fddfffff
        Prefetchable memory behind bridge: fdc00000-fdcfffff

01:05.0 VGA compatible controller: ATI Technologies Inc RC410 [Radeon Xpress
200] (prog-if 00 [VGA controller])
        Subsystem: Intel Corporation Unknown device d600
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17
        Memory at d8000000 (32-bit, prefetchable) [size=128M]
        I/O ports at ee00 [size=256]
        Memory at fdef0000 (32-bit, non-prefetchable) [size=64K]
        [virtual] Expansion ROM at fde00000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: radeon

02:02.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
        Subsystem: Intel Corporation Unknown device d600
        Flags: bus master, medium devsel, latency 64, IRQ 21
        I/O ports at de00 [size=256]
        Memory at fddff000 (32-bit, non-prefetchable) [size=256]
        Capabilities: <access denied>
        Kernel driver in use: 8139too
        Kernel modules: 8139cp, 8139too
Comment 1 Alex Villacís Lasso 2008-11-27 08:55:46 UTC
Created attachment 20631 [details]
Configuration file used for Xorg
Comment 2 Alex Villacís Lasso 2008-11-27 08:56:24 UTC
Created attachment 20632 [details]
Xorg.0.log after X server crashes
Comment 3 Alex Villacís Lasso 2008-11-27 08:59:10 UTC
Created attachment 20633 [details]
dmesg output right after crash

System is still responsive, and can be ssh'd into. That is how I got these files. ps aux shows no trace of the xserver process, so it has crashed, but I see no trace at all on the log file.
Comment 4 Michel Dänzer 2008-11-27 09:30:59 UTC
The key line is

X: shader/prog_statevars.c:783: append_token: Assertion `0' failed.

Looks like the failing assertion was introduced in mesa commit 11701b4c151de450e0b80d9e61266ff178b4bd60 ('mesa: add some missing switch cases for generating state var strings').
Comment 5 Brian Paul 2008-11-27 10:02:08 UTC
I'm removing the assertion.  It's harmless.  But it would be nice to know what the switch value is that's not handled.
Comment 6 Alex Villacís Lasso 2008-11-27 11:30:02 UTC
(In reply to comment #5)
> I'm removing the assertion.  It's harmless.  But it would be nice to know what
> the switch value is that's not handled.
> 

I commented out the assertion and put in its place a call to _mesa_problem. I get the following:

Mesa 7.3-devel implementation error: unhandled state index 0x0000009e while appe
nding to 'state.(internal)'

Please report at bugzilla.freedesktop.org

...but otherwise the problem is 'fixed'.
Comment 7 Alex Villacís Lasso 2008-11-27 11:31:03 UTC
Created attachment 20638 [details]
Console output with assertion commented out and replaced with message
Comment 8 Brian Paul 2008-11-28 12:51:38 UTC
OK, 0x0000009e corresponds to driver-private state.  I'm committing a minor change/fix.  Closing this bug.



Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.