may i suggest, based on your symptom (ie southern islands gpu lockup in
tf2; you're fortunate that a gpu reset is successful unlike me), that
you look at bug #1652486.

after rebuilding mesa with the upstream patch applied (see patch in
aforementioned bug report) and installing the resulting packages
(specifically libgl1-mesa-dri:i386 as tf2 is i386 even on amd64, but
also dependencies and associated packages) tf2 no longer prompts a gpu
lockup (even after hours of game play, where it use to occur in under 10
minutes).

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xserver-xorg-video-ati in Ubuntu.
https://bugs.launchpad.net/bugs/1643362

Title:
  GPU lockup with radeon driver and ATI R9 280X card

Status in xserver-xorg-video-ati package in Ubuntu:
  Incomplete

Bug description:
  Hello,

  I recently upgraded from 14.04 to 16.04, and been experiencing display
  freezes.

  So far just while playing Team Fortress 2 on Steam. It happens
  regularly when I play the game (so far maybe 20 times in the past
  couple of weeks). Most of the time system recovers after 10-20 seconds
  and I'm able to continue where I left off (killed in the game of
  course :-). But once I had to force restart by power reset.

  I didn't have this problem with the FGLRX driver in 14.04.

  Here's what is logged in kern.log when the problem occurs:

  Nov 20 11:24:44 localhost kernel: [44811.788856] radeon 0000:06:00.0: ring 0 
stalled for more than 10028msec
  Nov 20 11:24:44 localhost kernel: [44811.788860] radeon 0000:06:00.0: GPU 
lockup (current fence id 0x000000000008cd3d last fence id 0x000000000008cd46 on 
ring 0)
  Nov 20 11:24:45 localhost kernel: [44812.306449] radeon 0000:06:00.0: Saved 
369 dwords of commands on ring 0.
  Nov 20 11:24:45 localhost kernel: [44812.306525] radeon 0000:06:00.0: GPU 
softreset: 0x00000049
  Nov 20 11:24:45 localhost kernel: [44812.306527] radeon 0000:06:00.0:   
GRBM_STATUS               = 0xF4500028
  Nov 20 11:24:45 localhost kernel: [44812.306529] radeon 0000:06:00.0:   
GRBM_STATUS_SE0           = 0xCC000002
  Nov 20 11:24:45 localhost kernel: [44812.306531] radeon 0000:06:00.0:   
GRBM_STATUS_SE1           = 0xCC000000
  Nov 20 11:24:45 localhost kernel: [44812.306533] radeon 0000:06:00.0:   
SRBM_STATUS               = 0x200000C0
  Nov 20 11:24:45 localhost kernel: [44812.306567] radeon 0000:06:00.0:   
SRBM_STATUS2              = 0x00000000
  Nov 20 11:24:45 localhost kernel: [44812.306569] radeon 0000:06:00.0:   
R_008674_CP_STALLED_STAT1 = 0x00000000
  Nov 20 11:24:45 localhost kernel: [44812.306571] radeon 0000:06:00.0:   
R_008678_CP_STALLED_STAT2 = 0x40000000
  Nov 20 11:24:45 localhost kernel: [44812.306572] radeon 0000:06:00.0:   
R_00867C_CP_BUSY_STAT     = 0x00408006
  Nov 20 11:24:45 localhost kernel: [44812.306574] radeon 0000:06:00.0:   
R_008680_CP_STAT          = 0x84228647
  Nov 20 11:24:45 localhost kernel: [44812.306576] radeon 0000:06:00.0:   
R_00D034_DMA_STATUS_REG   = 0x44C83D57
  Nov 20 11:24:45 localhost kernel: [44812.306577] radeon 0000:06:00.0:   
R_00D834_DMA_STATUS_REG   = 0x44C83D57
  Nov 20 11:24:45 localhost kernel: [44812.306579] radeon 0000:06:00.0:   
VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x00000000
  Nov 20 11:24:45 localhost kernel: [44812.306581] radeon 0000:06:00.0:   
VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x00000000
  Nov 20 11:24:45 localhost kernel: [44812.807533] radeon 0000:06:00.0: 
GRBM_SOFT_RESET=0x0000DDFF
  Nov 20 11:24:45 localhost kernel: [44812.807588] radeon 0000:06:00.0: 
SRBM_SOFT_RESET=0x00000100
  Nov 20 11:24:45 localhost kernel: [44812.808734] radeon 0000:06:00.0:   
GRBM_STATUS               = 0x00003028
  Nov 20 11:24:45 localhost kernel: [44812.808736] radeon 0000:06:00.0:   
GRBM_STATUS_SE0           = 0x00000006
  Nov 20 11:24:45 localhost kernel: [44812.808738] radeon 0000:06:00.0:   
GRBM_STATUS_SE1           = 0x00000006
  Nov 20 11:24:45 localhost kernel: [44812.808740] radeon 0000:06:00.0:   
SRBM_STATUS               = 0x200000C0
  Nov 20 11:24:45 localhost kernel: [44812.808783] radeon 0000:06:00.0:   
SRBM_STATUS2              = 0x00000000
  Nov 20 11:24:45 localhost kernel: [44812.808785] radeon 0000:06:00.0:   
R_008674_CP_STALLED_STAT1 = 0x00000000
  Nov 20 11:24:45 localhost kernel: [44812.808787] radeon 0000:06:00.0:   
R_008678_CP_STALLED_STAT2 = 0x00000000
  Nov 20 11:24:45 localhost kernel: [44812.808788] radeon 0000:06:00.0:   
R_00867C_CP_BUSY_STAT     = 0x00000000
  Nov 20 11:24:45 localhost kernel: [44812.808790] radeon 0000:06:00.0:   
R_008680_CP_STAT          = 0x00000000
  Nov 20 11:24:45 localhost kernel: [44812.808792] radeon 0000:06:00.0:   
R_00D034_DMA_STATUS_REG   = 0x44C83D57
  Nov 20 11:24:45 localhost kernel: [44812.808794] radeon 0000:06:00.0:   
R_00D834_DMA_STATUS_REG   = 0x44C83D57
  Nov 20 11:24:45 localhost kernel: [44812.808881] radeon 0000:06:00.0: GPU 
reset succeeded, trying to resume
  Nov 20 11:24:45 localhost kernel: [44812.838386] [drm] probing gen 2 caps for 
device 1002:5a1f = 31cd02/0
  Nov 20 11:24:45 localhost kernel: [44812.838389] [drm] PCIE gen 2 link speeds 
already enabled
  Nov 20 11:24:45 localhost kernel: [44812.840991] [drm] PCIE GART of 2048M 
enabled (table at 0x00000000002E8000).
  Nov 20 11:24:45 localhost kernel: [44812.841097] radeon 0000:06:00.0: WB 
enabled
  Nov 20 11:24:45 localhost kernel: [44812.841100] radeon 0000:06:00.0: fence 
driver on ring 0 use gpu addr 0x00000000c0000c00 and cpu addr 0xffff88042577ac00
  Nov 20 11:24:45 localhost kernel: [44812.841102] radeon 0000:06:00.0: fence 
driver on ring 1 use gpu addr 0x00000000c0000c04 and cpu addr 0xffff88042577ac04
  Nov 20 11:24:45 localhost kernel: [44812.841104] radeon 0000:06:00.0: fence 
driver on ring 2 use gpu addr 0x00000000c0000c08 and cpu addr 0xffff88042577ac08
  Nov 20 11:24:45 localhost kernel: [44812.841105] radeon 0000:06:00.0: fence 
driver on ring 3 use gpu addr 0x00000000c0000c0c and cpu addr 0xffff88042577ac0c
  Nov 20 11:24:45 localhost kernel: [44812.841107] radeon 0000:06:00.0: fence 
driver on ring 4 use gpu addr 0x00000000c0000c10 and cpu addr 0xffff88042577ac10
  Nov 20 11:24:45 localhost kernel: [44812.841496] radeon 0000:06:00.0: fence 
driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0xffffc90002035a18
  Nov 20 11:24:45 localhost kernel: [44812.851855] radeon 0000:06:00.0: VCE 
init error (-22).
  Nov 20 11:24:46 localhost kernel: [44813.018298] [drm] ring test on 0 
succeeded in 1 usecs
  Nov 20 11:24:46 localhost kernel: [44813.018304] [drm] ring test on 1 
succeeded in 1 usecs
  Nov 20 11:24:46 localhost kernel: [44813.018308] [drm] ring test on 2 
succeeded in 1 usecs
  Nov 20 11:24:46 localhost kernel: [44813.018314] [drm] ring test on 3 
succeeded in 3 usecs
  Nov 20 11:24:46 localhost kernel: [44813.018319] [drm] ring test on 4 
succeeded in 3 usecs
  Nov 20 11:24:46 localhost kernel: [44813.213882] [drm] ring test on 5 
succeeded in 2 usecs
  Nov 20 11:24:46 localhost kernel: [44813.213887] [drm] UVD initialized 
successfully.
  Nov 20 11:24:46 localhost kernel: [44813.388724] [drm:si_dpm_set_power_state 
[radeon]] *ERROR* si_set_sw_state failed
  Nov 20 11:24:46 localhost kernel: [44813.430182] [drm] ib test on ring 0 
succeeded in 0 usecs
  Nov 20 11:24:46 localhost kernel: [44813.430212] [drm] ib test on ring 1 
succeeded in 0 usecs
  Nov 20 11:24:46 localhost kernel: [44813.430235] [drm] ib test on ring 2 
succeeded in 0 usecs
  Nov 20 11:24:46 localhost kernel: [44813.430255] [drm] ib test on ring 3 
succeeded in 0 usecs
  Nov 20 11:24:46 localhost kernel: [44813.430274] [drm] ib test on ring 4 
succeeded in 0 usecs
  Nov 20 11:24:56 localhost kernel: [44823.576511] radeon 0000:06:00.0: ring 5 
stalled for more than 10000msec
  Nov 20 11:24:56 localhost kernel: [44823.576520] radeon 0000:06:00.0: GPU 
lockup (current fence id 0x0000000000000002 last fence id 0x0000000000000004 on 
ring 5)
  Nov 20 11:24:56 localhost kernel: [44823.576648] [drm:uvd_v1_0_ib_test 
[radeon]] *ERROR* radeon: fence wait failed (-35).
  Nov 20 11:24:56 localhost kernel: [44823.576696] [drm:radeon_ib_ring_tests 
[radeon]] *ERROR* radeon: failed testing IB on ring 5 (-35).
  Nov 20 11:24:56 localhost kernel: [44823.576720] radeon 0000:06:00.0: 
scheduling IB failed (-12).
  Nov 20 11:24:56 localhost kernel: [44823.576735] 
[drm:radeon_vce_get_create_msg [radeon]] *ERROR* radeon: failed to schedule ib 
(-12).
  Nov 20 11:24:56 localhost kernel: [44823.576751] [drm:radeon_vce_ib_test 
[radeon]] *ERROR* radeon: failed to get create msg (-12).
  Nov 20 11:24:56 localhost kernel: [44823.576769] [drm:radeon_ib_ring_tests 
[radeon]] *ERROR* radeon: failed testing IB on ring 6 (-12).
  Nov 20 11:24:56 localhost kernel: [44823.576776] radeon 0000:06:00.0: 
scheduling IB failed (-12).
  Nov 20 11:24:56 localhost kernel: [44823.576796] 
[drm:radeon_vce_get_create_msg [radeon]] *ERROR* radeon: failed to schedule ib 
(-12).
  Nov 20 11:24:56 localhost kernel: [44823.576812] [drm:radeon_vce_ib_test 
[radeon]] *ERROR* radeon: failed to get create msg (-12).
  Nov 20 11:24:56 localhost kernel: [44823.576828] [drm:radeon_ib_ring_tests 
[radeon]] *ERROR* radeon: failed testing IB on ring 7 (-12).

  GPU info:

  06:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. 
[AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X] [1002:6798] (prog-if 00 
[VGA controller])
        Subsystem: XFX Pine Group Inc. Tahiti XT [Radeon HD 7970/8970 OEM / R9 
280X] [1682:3001]
        Flags: bus master, fast devsel, latency 0, IRQ 51
        Memory at c0000000 (64-bit, prefetchable) [size=256M]
        Memory at fe500000 (64-bit, non-prefetchable) [size=256K]
        I/O ports at b000 [size=256]
        Expansion ROM at fe540000 [disabled] [size=128K]
        Capabilities: [48] Vendor Specific Information: Len=08 <?>
        Capabilities: [50] Power Management version 3
        Capabilities: [58] Express Legacy Endpoint, MSI 00
        Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 
<?>
        Capabilities: [150] Advanced Error Reporting
        Capabilities: [200] #15
        Capabilities: [270] #19
        Capabilities: [2b0] Address Translation Service (ATS)
        Capabilities: [2c0] #13
        Capabilities: [2d0] #1b
        Kernel driver in use: radeon
        Kernel modules: radeon

  
  Driver info (hope this is right package):

  xserver-xorg-video-radeon:
    Installed: 1:7.7.0-1
    Candidate: 1:7.7.0-1
    Version table:
   *** 1:7.7.0-1 500
          500 http://mirrors.us.kernel.org/ubuntu xenial/main amd64 Packages
          100 /var/lib/dpkg/status

  
  Please let me know if I can provide any additional info.

  Thanks!

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: xserver-xorg-video-radeon 1:7.7.0-1
  ProcVersionSignature: Ubuntu 4.4.0-47.68-generic 4.4.24
  Uname: Linux 4.4.0-47-generic x86_64
  .tmp.unity_support_test.0:
   
  ApportVersion: 2.20.1-0ubuntu2.1
  Architecture: amd64
  CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
  CompositorRunning: compiz
  CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
  CompositorUnredirectFSW: true
  CurrentDesktop: Unity
  Date: Sun Nov 20 12:04:55 2016
  DistUpgraded: 2016-11-10 10:14:25,318 DEBUG icon theme changed, re-reading
  DistroCodename: xenial
  DistroVariant: ubuntu
  DkmsStatus:
   sysdig, 0.8.0, 3.13.0-101-generic, x86_64: installed
   sysdig, 0.8.0, 4.4.0-47-generic, x86_64: installed
  ExtraDebuggingInterest: Yes
  GraphicsCard:
   Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / 
R9 280X] [1002:6798] (prog-if 00 [VGA controller])
     Subsystem: XFX Pine Group Inc. Tahiti XT [Radeon HD 7970/8970 OEM / R9 
280X] [1682:3001]
  InstallationDate: Installed on 2015-10-24 (393 days ago)
  InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 
(20140722.2)
  MachineType: To be filled by O.E.M. To be filled by O.E.M.
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-47-generic.efi.signed 
root=UUID=fd938939-3f24-4139-89fa-dcb63125cf92 ro quiet splash nomdmonddf 
nomdmonisw vt.handoff=7
  SourcePackage: xserver-xorg-video-ati
  UpgradeStatus: Upgraded to xenial on 2016-11-10 (10 days ago)
  dmi.bios.date: 10/16/2012
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 1604
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: SABERTOOTH 990FX
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: Rev 1.xx
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr1604:bd10/16/2012:svnTobefilledbyO.E.M.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnASUSTeKCOMPUTERINC.:rnSABERTOOTH990FX:rvrRev1.xx:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.name: To be filled by O.E.M.
  dmi.product.version: To be filled by O.E.M.
  dmi.sys.vendor: To be filled by O.E.M.
  version.compiz: compiz 1:0.9.12.2+16.04.20160823-0ubuntu1
  version.ia32-libs: ia32-libs N/A
  version.libdrm2: libdrm2 2.4.67-1ubuntu0.16.04.2
  version.libgl1-mesa-dri: libgl1-mesa-dri 11.2.0-1ubuntu2.2
  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
  version.libgl1-mesa-glx: libgl1-mesa-glx 11.2.0-1ubuntu2.2
  version.xserver-xorg-core: xserver-xorg-core 2:1.18.4-0ubuntu0.1
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.1-1ubuntu2
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.7.0-1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20160325-1ubuntu1.1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 
1:1.0.12-1build2
  xserver.bootTime: Sat Nov 19 22:58:09 2016
  xserver.configfile: default
  xserver.errors:
   
  xserver.logfile: /var/log/Xorg.0.log
  xserver.version: 2:1.18.4-0ubuntu0.1
  xserver.video_driver: radeon

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/1643362/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to