[Mesa-dev] FlightGear r300 GPU lockup CP stall for more than 10000msec
David Fries
david at fries.net
Wed Mar 21 23:18:21 PDT 2012
I'm seeing a reproducible GPU lockup after upgrading FlightGear
(shaders are also causing an application crash). I've compiled mesa
with debugging from master e07b1603e24ddd21a61b11390712c4b39d6a3c5c
and tried to get some debug output. It hangs when I'm changing the
viewpoint and more when changing to the tower viewpoint. Sometimes it
will go to a blank screen then random pixels/pixmaps, other times it
displayed the kernel oops, X no longer responds, but a soft reboot
will clear it when it is going through BIOS. In the oops listed below
I was running glxgears along with FlightGear and the first three view
switches or so it would freeze, but recovered, where without glxgears
it didn't recovered, then it hung. Any ideas?
glxinfo
OpenGL vendor string: X.Org R300 Project
OpenGL renderer string: Gallium 0.4 on ATI RS480
OpenGL version string: 2.1 Mesa 7.11.2
OpenGL shading language version string: 1.20
export GALLIUM_DUMP_CPU=1
export MESA_DEBUG=all
FlightGear version: 2.4.0
util_cpu_caps.nr_cpus = 2
util_cpu_caps.x86_cpu_type = 8
util_cpu_caps.cacheline = 64
util_cpu_caps.has_tsc = 1
util_cpu_caps.has_mmx = 1
util_cpu_caps.has_mmx2 = 1
util_cpu_caps.has_sse = 1
util_cpu_caps.has_sse2 = 1
util_cpu_caps.has_sse3 = 1
util_cpu_caps.has_ssse3 = 0
util_cpu_caps.has_sse4_1 = 0
util_cpu_caps.has_sse4_2 = 0
util_cpu_caps.has_avx = 0
util_cpu_caps.has_3dnow = 1
util_cpu_caps.has_3dnow_ext = 1
util_cpu_caps.has_altivec = 0
r300: DRM version: 2.13.0, Name: ATI RS480, ID: 0x5975, GB: 1, Z: 1
r300: GART size: 509 MB, VRAM size: 128 MB
r300: AA compression RAM: YES, Z compression RAM: YES, HiZ RAM: NO
START-LIST 425, address 0x140583e0
ATTR_4F_NV attr 3: 1.000000 1.000000 1.000000 1.000000
VBO-VERTEX-LIST, 192 vertices 1 primitives, 8 vertsize
END-LIST 425
START-LIST 426, address 0x14059910
ATTR_4F_NV attr 3: 1.000000 1.000000 1.000000 1.000000
VBO-VERTEX-LIST, 4 vertices 1 primitives, 6 vertsize
END-LIST 426
START-LIST 427, address 0x1405a120
ATTR_4F_NV attr 3: 0.801785 0.684306 0.000000 1.000000
VBO-VERTEX-LIST, 44 vertices 1 primitives, 6 vertsize
END-LIST 427
START-LIST 428, address 0x1405a930
ATTR_4F_NV attr 3: 0.801785 0.684306 0.000000 1.000000
VBO-VERTEX-LIST, 44 vertices 1 primitives, 6 vertsize
END-LIST 428
START-LIST 429, address 0x14175710
VBO-VERTEX-LIST, 560 vertices 1 primitives, 7 vertsize
VBO-VERTEX-LIST, 714 vertices 1 primitives, 7 vertsize
END-LIST 429
START-LIST 430, address 0x13ee7fc0
VBO-VERTEX-LIST, 456 vertices 1 primitives, 7 vertsize
VBO-VERTEX-LIST, 30 vertices 1 primitives, 7 vertsize
END-LIST 430
radeon: Failed to allocate a buffer:
radeon: size : 1048576 bytes
radeon: alignment : 16 bytes
radeon: domains : 2
radeon 0000:01:05.0: GPU lockup CP stall for more than 10000msec
GPU lockup (waiting for 0x00006082 last fence id 0x00006081)
radeon: wait for empty RBBM fifo failed ! Bad things might happen.
Failed to wait GUI idle while programming pipes. Bad things might happen.
radeon 0000:01:05.0: (r300_asic_reset:415) RBBM_STATUS=0x84116112
radeon 0000:01:05.0: (r300_asic_reset:434) RBBM_STATUS=0x84010140
radeon 0000:01:05.0: (r300_asic_reset:446) RBBM_STATUS=0x84000140
radeon 0000:01:05.0: failed to reset GPU
radeon 0000:01:05.0: GPU reset failed
[TTM] Failed to expire sync object before buffer eviction.
[drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(6).
[drm:radeon_cs_ib_chunk] *ERROR* Failed to schedule IB !
[drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(7).
[drm:radeon_cs_ib_chunk] *ERROR* Failed to schedule IB !
radeon 0000:01:05.0: object_init failed for (1048576, 0x00000002)
[drm:radeon_gem_object_create] *ERROR* Failed to allocate GEM object (1048576, 2, 4096, -12)
[drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(8).
[drm:radeon_cs_ib_chunk] *ERROR* Failed to schedule IB !
[drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(9).
[drm:radeon_cs_ib_chunk] *ERROR* Failed to schedule IB !
[drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(10).
[drm:radeon_cs_ib_chunk] *ERROR* Failed to schedule IB !
[drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(11).
[drm:radeon_cs_ib_chunk] *ERROR* Failed to schedule IB !
[drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(12).
[drm:radeon_cs_ib_chunk] *ERROR* Failed to schedule IB !
[drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(13).
[drm:radeon_cs_ib_chunk] *ERROR* Failed to schedule IB !
[drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(14).
[drm:radeon_cs_ib_chunk] *ERROR* Failed to schedule IB !
[drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(15).
[drm:radeon_cs_ib_chunk] *ERROR* Failed to schedule IB !
[drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(0).
[drm:radeon_cs_ib_chunk] *ERROR* Failed to schedule IB !
[drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(1).
[drm:radeon_cs_ib_chunk] *ERROR* Failed to schedule IB !
[drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(2).
[drm:radeon_cs_ib_chunk] *ERROR* Failed to schedule IB !
[drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(3).
[drm:radeon_cs_ib_chunk] *ERROR* Failed to schedule IB !
[drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(4).
[drm:radeon_cs_ib_chunk] *ERROR* Failed to schedule IB !
[drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(5).
[drm:radeon_cs_ib_chunk] *ERROR* Failed to schedule IB !
[drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(6).
[drm:radeon_cs_ib_chunk] *ERROR* Failed to schedule IB !
[drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(7).
[drm:radeon_cs_ib_chunk] *ERROR* Failed to schedule IB !
[drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(8).
[drm:radeon_cs_ib_chunk] *ERROR* Failed to schedule IB !
[drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(9).
[drm:radeon_cs_ib_chunk] *ERROR* Failed to schedule IB !
[drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(10).
[drm:radeon_cs_ib_chunk] *ERROR* Failed to schedule IB !
BUG: unable to handle kernel paging request at ffffc90000c1d000
IP: [<ffffffffa03f1a3b>] radeon_cs_update_pages+0x103/0x120 [radeon]
PGD 75455067 PUD 75456067 PMD 6ed79067 PTE 0
Oops: 0002 [#1] SMP
CPU 0
Modules linked in: nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack xt_tcpudp ipt_REJECT iptable_filter ip_tables x_tables cpufreq_userspace bnep rfcomm binfmt_misc uinput nfsd nfs lockd fscache auth_rpcgss nfs_acl sunrpc cryptd aes_x86_64 aes_generic bridge stp llc kvm_amd kvm powernow_k8 mperf cpufreq_stats cpufreq_powersave cpufreq_conservative loop dm_crypt dm_mod snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm arc4 snd_seq_dummy btusb snd_seq_oss radeon bluetooth snd_seq_midi snd_rawmidi snd_seq_midi_event usbhid ath5k snd_seq ttm ath drm_kms_helper snd_timer drm snd_seq_device mac80211 uhci_hcd snd sdhci_pci joydev 8139too sdhci pcmcia i2c_algo_bit soundcore cfg80211 ohci_hcd 8139cp mmc_core psmouse shpchp i2c_piix4 snd_page_alloc ehci_hcd yenta_socket pci_hotplug rfkill pcmcia_rsrc mii serio_raw k8temp i2c_core pcmcia_core evdev processor wmi ac thermal container button battery thermal_sys
Pid: 15597, comm: fgfs Not tainted 3.3.0+ #25 Acer Aspire 5100 /Navarro
RIP: 0010:[<ffffffffa03f1a3b>] [<ffffffffa03f1a3b>] radeon_cs_update_pages+0x103/0x120 [radeon]
RSP: 0018:ffff88000e01bbb8 EFLAGS: 00010286
RAX: ffff88006ff2f128 RBX: ffff8800635668c0 RCX: 0000000000000e54
RDX: 0000000000000004 RSI: ffff88005650c000 RDI: ffffc90000c1d000
RBP: 0000000000000000 R08: ffff8800754027e0 R09: ffff8800754027e0
R10: 0000000000014940 R11: ffffffffffffffee R12: 0000000000000001
R13: 0000000000000001 R14: ffff88000e01bce8 R15: ffffc90000c1d000
FS: 00007ffee58647c0(0000) GS:ffff880077c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc90000c1d000 CR3: 0000000062c37000 CR4: 00000000000006f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process fgfs (pid: 15597, threadinfo ffff88000e01a000, task ffff88006d60b310)
Stack:
00000000000080d0 0000000000000003 ffff88005650c000 00007ffee58ae020
ffffea0000000e54 0000000000000e54 0000000000000040 ffff8800635668c0
ffff88000e01bce8 0000000000000000 ffff88006ff2f538 ffff8800635668c0
Call Trace:
[<ffffffffa03efa74>] ? radeon_get_ib_value+0x4c/0x6b [radeon]
[<ffffffffa03f35de>] ? r100_cs_packet_parse+0x2e/0xd3 [radeon]
[<ffffffffa03faa3b>] ? r300_cs_parse+0x56/0x2f5 [radeon]
[<ffffffffa03f1668>] ? radeon_cs_ioctl+0x1aa/0x47a [radeon]
[<ffffffffa02aa582>] ? drm_ioctl+0x276/0x331 [drm]
[<ffffffff810ad970>] ? handle_pte_fault+0x289/0x63c
[<ffffffffa03f14be>] ? radeon_cs_finish_pages+0x98/0x98 [radeon]
[<ffffffff8104cd52>] ? pick_next_task_fair+0xb6/0x111
[<ffffffff8134ae2b>] ? __schedule+0x623/0x730
[<ffffffff810d3eb5>] ? do_vfs_ioctl+0x446/0x487
[<ffffffff810d3f41>] ? sys_ioctl+0x4b/0x72
[<ffffffff8134c422>] ? system_call_fastpath+0x16/0x1b
Code: 48 85 c0 48 8b 4c 24 08 74 0d 41 c7 46 7c f2 ff ff ff 45 31 e4 eb 1e 49 8b 46 68 48 8b 34 cb 48 8b 4c 24 28 4c 03 78 30 4c 89 ff <f3> a4 89 6b 30 42 89 6c ab 08 48 83 c4 38 44 89 e0 5b 5d 41 5c
RIP [<ffffffffa03f1a3b>] radeon_cs_update_pages+0x103/0x120 [radeon]
RSP <ffff88000e01bbb8>
CR2: ffffc90000c1d000
---[ end trace 78cce38bd9a7f31d ]---
--
David Fries <david at fries.net> PGP pub CB1EE8F0
http://fries.net/~david/
More information about the mesa-dev
mailing list