Bug 36508

Summary: [RV620] GPU lockup and kernel oops with compiz
Product: DRI Reporter: Bryce Harrington <bryce>
Component: DRM/RadeonAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED INVALID QA Contact:
Severity: major    
Priority: high CC: christopher.m.penalver
Version: DRI git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
BootDmesg.txt
none
CurrentDmesg.txt
none
XorgLog.txt none

Description Bryce Harrington 2011-04-22 12:52:00 UTC
Forwarding this bug from Ubuntu reporter rww:
http://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/757141

[Problem]
Intermittent failure (GPU lockup) booting live usb environment with Unity/Compiz.  Out of 10 boot attempts, it experienced this gpu lockup 3 times.  4/10 times it booted properly.  2/10 times the monitor powered off.  1/10 times the kernel showed an oops message.

[Original Description]
I booted a LiveUSB of the current natty daily ISO. It got to the screen where it asks whether I want to Try or Install Ubuntu. I selected "Try". It switched back to the console, then loaded xorg with a cursor in the center of the screen and a black background and stopped. I could move the cursor around with my mouse, but Ctrl-Alt-F1 didn't do anything. I eventually did Alt-Sysrq-R and Alt-Sysrq-K to restart xorg, logged in on gdm, and got to a normal desktop.

01:00.0 VGA compatible controller [0300]: ATI Technologies Inc RV620 LE [Radeon HD 3450] [1002:95c5] (prog-if 00 [VGA controller])
	Subsystem: ASUSTeK Computer Inc. Device [1043:01f4]

dmesg
[  224.800113] Call Trace:
[  224.800122]  [<ffffffff81065cef>] ? warn_slowpath_common+0x7f/0xc0
[  224.800126]  [<ffffffff81065de6>] ? warn_slowpath_fmt+0x46/0x50
[  224.800146]  [<ffffffffa00d26df>] ? radeon_fence_wait+0x36f/0x3e0 [radeon]
[  224.800152]  [<ffffffff81087f30>] ? autoremove_wake_function+0x0/0x40
[  224.800171]  [<ffffffffa00d2fc1>] ? radeon_sync_obj_wait+0x11/0x20 [radeon]
[  224.800181]  [<ffffffffa005ab0d>] ? ttm_bo_wait+0xfd/0x1b0 [ttm]
[  224.800188]  [<ffffffffa005ae88>] ? ttm_bo_list_ref_sub+0x28/0x30 [ttm]
[  224.800209]  [<ffffffffa00eb9e3>] ? radeon_gem_wait_idle_ioctl+0x93/0x110 [radeon]
[  224.800224]  [<ffffffffa0022384>] ? drm_ioctl+0x3e4/0x4c0 [drm]
[  224.800245]  [<ffffffffa00eb950>] ? radeon_gem_wait_idle_ioctl+0x0/0x110 [radeon]
[  224.800251]  [<ffffffff8100b7b1>] ? handle_signal+0x131/0x260
[  224.800256]  [<ffffffff810156d1>] ? fpu_finit+0x21/0x40
[  224.800259]  [<ffffffff810157fa>] ? init_fpu+0x4a/0x150
[  224.800265]  [<ffffffff8117648f>] ? do_vfs_ioctl+0x8f/0x360
[  224.800269]  [<ffffffff8100bd06>] ? sys_rt_sigreturn+0x106/0x140
[  224.800273]  [<ffffffff811767f1>] ? sys_ioctl+0x91/0xa0
[  224.800276]  [<ffffffff8100c002>] ? system_call_fastpath+0x16/0x1b
[  224.800280] ---[ end trace 4b79756e0a682393 ]---

From the photos it shows a slightly different trace for an oops related to the compiz process:
radeon_gart_bind
radeon_ttm_backend_bind
ttm_tt_bind
ttm_bo_move_ttm
ttm_bo_handle_move_mem
ttm_bo_move_buffer
ttm_bo_validate
radeon_bo_list_validate
radeon_cs_parser_relocs
radeon_cs_ioctl
drm_ioctl
? handle_mm_fault
? radeon_cs_ioctl
? do_page_fault
do_vfs_iotcl
sys_iotcl
system_call_fastpath

DistroRelease: Ubuntu 11.04
Package: xorg 1:7.6+4ubuntu3
ProcVersionSignature: Ubuntu 2.6.38-8.41-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
Architecture: amd64
CompizPlugins: [core,bailer,detection,composite,opengl,decor,mousepoll,vpswitch,regex,animation,snap,expo,move,compiztoolbox,place,grid,imgpng,gnomecompat,wall,ezoom,workarounds,staticswitcher,resize,fade,unitymtgrabhandles,scale,session,unityshell]
CompositorRunning: compiz
Date: Mon Apr 11 05:50:59 2011
DistUpgraded: Fresh install
DistroCodename: natty
DistroVariant: ubuntu
GdmLog2:

GraphicsCard:
ATI Technologies Inc RV620 LE [Radeon HD 3450] [1002:95c5] (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device [1043:01f4]
LiveMediaBuild: Ubuntu 11.04 "Natty Narwhal" - Beta amd64 (20110410)
MachineType: System manufacturer P5K-E
ProcEnviron:
LANGUAGE=en_US:en
LANG=en_US.UTF-8ProcKernelCmdLine: noprompt cdrom-detect/try-usb=true file=/cdrom/preseed/hostname.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
Renderer: Unknown
SourcePackage: xorg
Symptom: display
Title: Xorg freeze
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/19/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1305
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P5K-E
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1305:bd06/19/2009:svnSystemmanufacturer:pnP5K-E:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP5K-E:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: P5K-E
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
version.compiz: compiz 1:0.9.4+bzr20110407-0ubuntu2
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.23-1ubuntu6
version.libgl1-mesa-dri: libgl1-mesa-dri 7.10.1-0ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.1-0ubuntu3
version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu3
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu4
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-4ubuntu6
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu6
Comment 1 Bryce Harrington 2011-04-22 13:02:10 UTC
Created attachment 45968 [details]
BootDmesg.txt
Comment 2 Bryce Harrington 2011-04-22 13:02:31 UTC
Created attachment 45969 [details]
CurrentDmesg.txt
Comment 3 Bryce Harrington 2011-04-22 13:02:49 UTC
Created attachment 45970 [details]
XorgLog.txt
Comment 5 Bryce Harrington 2011-04-22 13:43:26 UTC
OpenGL vendor string:   X.Org
OpenGL renderer string: Gallium 0.4 on AMD RV620
OpenGL version string:  2.1 Mesa 7.10.1
Comment 6 Alex Deucher 2011-04-22 14:45:06 UTC
Does mesa 7.10.2 work any better?  Does your mesa tree have this patch:
http://cgit.freedesktop.org/mesa/mesa/commit/?h=7.10&id=ed4aa47d429fdb682bec9b64e6350601aa7e5bc3
Comment 7 Christopher M. Penalver 2016-02-26 03:53:19 UTC
Fix released downstream.

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.