[Bug 986524] [NEW] radeon 0000:02:00.0: GPU lockup CP stall for more than 10000msec

2013-11-16 Thread Launchpad Bug Tracker
You have been subscribed to a public bug:

Often, the Xorg session freeze, go to black screen, and is display
again. Most of the time Xorg stop to respond.

I'm not sure what exactly is the cause of the problem, probably some
instructions send to the GPU by compiz, which make the kernel GPU  code
to be locked. So my supposition is that the kernel code can have a
deadlock situation.

The only trace of error I have is in the kernel log (the kernel itself
do not crashed):

[  808.804250] radeon :02:00.0: GPU lockup CP stall for more than 1msec
[  808.804255] GPU lockup (waiting for 0xA23F last fence id 0xA23E)
[  808.805394] radeon :02:00.0: GPU softreset 
[  808.805398] radeon :02:00.0:   GRBM_STATUS=0xB2703828
[  808.805401] radeon :02:00.0:   GRBM_STATUS_SE0=0x1C07
[  808.805404] radeon :02:00.0:   GRBM_STATUS_SE1=0x0807
[  808.805407] radeon :02:00.0:   SRBM_STATUS=0x20C0
[  808.805422] radeon :02:00.0:   GRBM_SOFT_RESET=0x7F6B
[  808.805526] radeon :02:00.0:   GRBM_STATUS=0x3828
[  808.805529] radeon :02:00.0:   GRBM_STATUS_SE0=0x0007
[  808.805532] radeon :02:00.0:   GRBM_STATUS_SE1=0x0007
[  808.805535] radeon :02:00.0:   SRBM_STATUS=0x20C0
[  808.806535] radeon :02:00.0: GPU reset succeed
[  808.832454] [drm] PCIE GART of 512M enabled (table at 0x0004).
[  808.832587] radeon :02:00.0: WB enabled
[  808.849202] [drm] ring test succeeded in 2 usecs
[  808.849217] [drm] ib test succeeded in 3 usecs

This can loop 1 to 5 times, with a few seconds between them. This situation can 
happens any time, and rarely I can continue to use my session.
Like I said, the kernel itself do not crash, generally, I login using an 
another computer with ssh, and type sudo reboot.

I have earch a little for that problem, I've found some, having GPU
lockup CP stall for more than 1msec but they seems to not be
related to my problem.

My ATI card is an Sapphire Radeon HD 6850 1Go, and I use the free
software driver. Using the previous version of Ubuntu I didn't have this
error.

I have almost no hope to have this bug fixed (too few infos, no one
having it), but is there some method I can use to get more informations
on this problem ? I will try a kernel debugging, but for a random bug,
it will be more harder. Some day it crash, some it don't crash!

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-3.2.0-23-generic 3.2.0-23.36
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu5
Architecture: amd64
AudioDevicesInUse:
 USERPID ACCESS COMMAND
 /dev/snd/controlC1:  vono   2113 F pulseaudio
 /dev/snd/controlC2:  vono   2113 F pulseaudio
 /dev/snd/controlC0:  vono   2113 F pulseaudio
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not 
found.
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf3cf8000 irq 69'
   Mixer name   : 'Realtek ALC1200'
   Components   : 'HDA:10ec0888,10438357,00100101'
   Controls  : 45
   Simple ctrls  : 21
Card1.Amixer.info:
 Card hw:1 'XFi'/'Creative X-Fi 20K1 SB073x'
   Mixer name   : '20K1'
   Components   : ''
   Controls  : 27
   Simple ctrls  : 10
Card2.Amixer.info:
 Card hw:2 'Generic'/'HD-Audio Generic at 0xf3dfc000 irq 70'
   Mixer name   : 'ATI R6xx HDMI'
   Components   : 'HDA:1002aa01,00aa0100,00100200'
   Controls  : 6
   Simple ctrls  : 1
Card2.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
CurrentDmesg:
 [   16.527645] r8169 :05:00.0: eth0: link up
 [   16.528212] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
 [   27.448590] eth0: no IPv6 routers present
Date: Sat Apr 21 12:25:11 2012
HibernationDevice: RESUME=UUID=6ebce938-3b5b-49a8-a605-570468643a2d
InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Beta amd64 (20120301)
IwConfig:
 lono wireless extensions.
 
 eth0  no wireless extensions.
MachineType: System manufacturer System Product Name
ProcEnviron:
 TERM=xterm
 PATH=(custom, user)
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-23-generic 
root=UUID=2179744d-7479-4972-970d-26d1713623d1 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-23-generic N/A
 linux-backports-modules-3.2.0-23-generic  N/A
 linux-firmware1.79
RfKill:
 
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/26/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0403
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P6T
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: 

[Bug 986524] [NEW] radeon 0000:02:00.0: GPU lockup CP stall for more than 10000msec

2012-04-21 Thread Yvon TANGUY
Public bug reported:

Often, the Xorg session freeze, go to black screen, and is display
again. Most of the time Xorg stop to respond.

I'm not sure what exactly is the cause of the problem, probably some
instructions send to the GPU by compiz, which make the kernel GPU  code
to be locked. So my supposition is that the kernel code can have a
deadlock situation.

The only trace of error I have is in the kernel log (the kernel itself
do not crashed):

[  808.804250] radeon :02:00.0: GPU lockup CP stall for more than 1msec
[  808.804255] GPU lockup (waiting for 0xA23F last fence id 0xA23E)
[  808.805394] radeon :02:00.0: GPU softreset 
[  808.805398] radeon :02:00.0:   GRBM_STATUS=0xB2703828
[  808.805401] radeon :02:00.0:   GRBM_STATUS_SE0=0x1C07
[  808.805404] radeon :02:00.0:   GRBM_STATUS_SE1=0x0807
[  808.805407] radeon :02:00.0:   SRBM_STATUS=0x20C0
[  808.805422] radeon :02:00.0:   GRBM_SOFT_RESET=0x7F6B
[  808.805526] radeon :02:00.0:   GRBM_STATUS=0x3828
[  808.805529] radeon :02:00.0:   GRBM_STATUS_SE0=0x0007
[  808.805532] radeon :02:00.0:   GRBM_STATUS_SE1=0x0007
[  808.805535] radeon :02:00.0:   SRBM_STATUS=0x20C0
[  808.806535] radeon :02:00.0: GPU reset succeed
[  808.832454] [drm] PCIE GART of 512M enabled (table at 0x0004).
[  808.832587] radeon :02:00.0: WB enabled
[  808.849202] [drm] ring test succeeded in 2 usecs
[  808.849217] [drm] ib test succeeded in 3 usecs

This can loop 1 to 5 times, with a few seconds between them. This situation can 
happens any time, and rarely I can continue to use my session.
Like I said, the kernel itself do not crash, generally, I login using an 
another computer with ssh, and type sudo reboot.

I have earch a little for that problem, I've found some, having GPU
lockup CP stall for more than 1msec but they seems to not be
related to my problem.

My ATI card is an Sapphire Radeon HD 6850 1Go, and I use the free
software driver. Using the previous version of Ubuntu I didn't have this
error.

I have almost no hope to have this bug fixed (too few infos, no one
having it), but is there some method I can use to get more informations
on this problem ? I will try a kernel debugging, but for a random bug,
it will be more harder. Some day it crash, some it don't crash!

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-3.2.0-23-generic 3.2.0-23.36
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu5
Architecture: amd64
AudioDevicesInUse:
 USERPID ACCESS COMMAND
 /dev/snd/controlC1:  vono   2113 F pulseaudio
 /dev/snd/controlC2:  vono   2113 F pulseaudio
 /dev/snd/controlC0:  vono   2113 F pulseaudio
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not 
found.
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf3cf8000 irq 69'
   Mixer name   : 'Realtek ALC1200'
   Components   : 'HDA:10ec0888,10438357,00100101'
   Controls  : 45
   Simple ctrls  : 21
Card1.Amixer.info:
 Card hw:1 'XFi'/'Creative X-Fi 20K1 SB073x'
   Mixer name   : '20K1'
   Components   : ''
   Controls  : 27
   Simple ctrls  : 10
Card2.Amixer.info:
 Card hw:2 'Generic'/'HD-Audio Generic at 0xf3dfc000 irq 70'
   Mixer name   : 'ATI R6xx HDMI'
   Components   : 'HDA:1002aa01,00aa0100,00100200'
   Controls  : 6
   Simple ctrls  : 1
Card2.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
CurrentDmesg:
 [   16.527645] r8169 :05:00.0: eth0: link up
 [   16.528212] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
 [   27.448590] eth0: no IPv6 routers present
Date: Sat Apr 21 12:25:11 2012
HibernationDevice: RESUME=UUID=6ebce938-3b5b-49a8-a605-570468643a2d
InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Beta amd64 (20120301)
IwConfig:
 lono wireless extensions.
 
 eth0  no wireless extensions.
MachineType: System manufacturer System Product Name
ProcEnviron:
 TERM=xterm
 PATH=(custom, user)
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-23-generic 
root=UUID=2179744d-7479-4972-970d-26d1713623d1 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-23-generic N/A
 linux-backports-modules-3.2.0-23-generic  N/A
 linux-firmware1.79
RfKill:
 
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/26/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0403
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P6T
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