← Back to team overview

kernel-packages team mailing list archive

[Bug 1574130] Re: radeon GPU lockup when using VLC and Firefox

 

This also occurs with the mainline kernel version
4.6.0-040600rc6.201605012031.

As far as I can tell the dmesg output is identical, but I'm including it
below in case there's something useful in there.

[  135.984685] [drm:btc_dpm_set_power_state [radeon]] *ERROR* rv770_restrict_performance_levels_before_switch failed
[  163.326451] radeon 0000:01:00.0: ring 5 stalled for more than 10056msec
[  163.326466] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000000127 last fence id 0x0000000000000129 on ring 5)
[  163.712685] radeon 0000:01:00.0: couldn't schedule ib
[  163.712779] [drm:radeon_uvd_suspend [radeon]] *ERROR* Error destroying UVD (-22)!
[  163.713913] radeon 0000:01:00.0: Saved 1207 dwords of commands on ring 0.
[  163.713933] radeon 0000:01:00.0: GPU softreset: 0x00000088
[  163.713940] radeon 0000:01:00.0:   GRBM_STATUS               = 0xA0003828
[  163.714000] radeon 0000:01:00.0:   GRBM_STATUS_SE0           = 0x00000007
[  163.714011] radeon 0000:01:00.0:   GRBM_STATUS_SE1           = 0x00000007
[  163.714020] radeon 0000:01:00.0:   SRBM_STATUS               = 0x200040C0
[  163.714025] radeon 0000:01:00.0:   SRBM_STATUS2              = 0x00000000
[  163.714030] radeon 0000:01:00.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
[  163.714036] radeon 0000:01:00.0:   R_008678_CP_STALLED_STAT2 = 0x00010000
[  163.714041] radeon 0000:01:00.0:   R_00867C_CP_BUSY_STAT     = 0x00000002
[  163.714049] radeon 0000:01:00.0:   R_008680_CP_STAT          = 0x80010243
[  163.714055] radeon 0000:01:00.0:   R_00D034_DMA_STATUS_REG   = 0x44C83D57
[  163.719401] radeon 0000:01:00.0: GRBM_SOFT_RESET=0x00004001
[  163.719457] radeon 0000:01:00.0: SRBM_SOFT_RESET=0x00008100
[  163.720607] radeon 0000:01:00.0:   GRBM_STATUS               = 0x00003828
[  163.720612] radeon 0000:01:00.0:   GRBM_STATUS_SE0           = 0x00000007
[  163.720617] radeon 0000:01:00.0:   GRBM_STATUS_SE1           = 0x00000007
[  163.720622] radeon 0000:01:00.0:   SRBM_STATUS               = 0x200000C0
[  163.720627] radeon 0000:01:00.0:   SRBM_STATUS2              = 0x00000000
[  163.720632] radeon 0000:01:00.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
[  163.720637] radeon 0000:01:00.0:   R_008678_CP_STALLED_STAT2 = 0x00000000
[  163.720642] radeon 0000:01:00.0:   R_00867C_CP_BUSY_STAT     = 0x00000000
[  163.720647] radeon 0000:01:00.0:   R_008680_CP_STAT          = 0x00000000
[  163.720652] radeon 0000:01:00.0:   R_00D034_DMA_STATUS_REG   = 0x44C83D57
[  163.720671] radeon 0000:01:00.0: GPU reset succeeded, trying to resume
[  163.743430] [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
[  163.745989] [drm] PCIE GART of 1024M enabled (table at 0x0000000000274000).
[  163.746080] radeon 0000:01:00.0: WB enabled
[  163.746083] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xffff88031acd9c00
[  163.746085] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xffff88031acd9c0c
[  163.747529] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000072118 and cpu addr 0xffffc90002832118
[  163.968633] [drm:r600_ring_test [radeon]] *ERROR* radeon: ring 0 test failed (scratch(0x8504)=0xCAFEDEAD)
[  163.968653] [drm:evergreen_resume [radeon]] *ERROR* evergreen startup failed on resume
[  173.998451] radeon 0000:01:00.0: ring 0 stalled for more than 10244msec
[  173.998466] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000002be7 last fence id 0x0000000000002c0c on ring 0)
[  174.498119] radeon 0000:01:00.0: ring 0 stalled for more than 10744msec
[  174.498132] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000002be7 last fence id 0x0000000000002c0c on ring 0)
[  174.997788] radeon 0000:01:00.0: ring 0 stalled for more than 11244msec
[  174.997802] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000002be7 last fence id 0x0000000000002c0c on ring 0)
[  175.505453] radeon 0000:01:00.0: ring 0 stalled for more than 11752msec
[  175.505465] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000002be7 last fence id 0x0000000000002c0c on ring 0)
[  176.009098] radeon 0000:01:00.0: ring 0 stalled for more than 12256msec
[  176.009110] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000002be7 last fence id 0x0000000000002c0c on ring 0)
[  176.508805] radeon 0000:01:00.0: ring 0 stalled for more than 12756msec
[  176.508817] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000002be7 last fence id 0x0000000000002c0c on ring 0)
[  177.024448] radeon 0000:01:00.0: ring 0 stalled for more than 13272msec
[  177.024461] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000002be7 last fence id 0x0000000000002c0c on ring 0)
[  177.524150] radeon 0000:01:00.0: ring 0 stalled for more than 13772msec
[  177.524159] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000002be7 last fence id 0x0000000000002c0c on ring 0)
[  178.023856] radeon 0000:01:00.0: ring 0 stalled for more than 14272msec
[  178.023868] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000002be7 last fence id 0x0000000000002c0c on ring 0)
[  178.523432] radeon 0000:01:00.0: ring 0 stalled for more than 14772msec
[  178.523441] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000002be7 last fence id 0x0000000000002c0c on ring 0)
[  179.023179] radeon 0000:01:00.0: ring 0 stalled for more than 15272msec
[  179.023193] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000002be7 last fence id 0x0000000000002c0c on ring 0)
[  179.522914] radeon 0000:01:00.0: ring 0 stalled for more than 15772msec
[  179.522927] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000002be7 last fence id 0x0000000000002c0c on ring 0)
[  180.022596] radeon 0000:01:00.0: ring 0 stalled for more than 16272msec
[  180.022608] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000002be7 last fence id 0x0000000000002c0c on ring 0)
[  180.522291] radeon 0000:01:00.0: ring 0 stalled for more than 16772msec
[  180.522302] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000002be7 last fence id 0x0000000000002c0c on ring 0)
[  181.021990] radeon 0000:01:00.0: ring 0 stalled for more than 17272msec
[  181.022001] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000002be7 last fence id 0x0000000000002c0c on ring 0)
[  181.521683] radeon 0000:01:00.0: ring 0 stalled for more than 17772msec
[  181.521695] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000002be7 last fence id 0x0000000000002c0c on ring 0)
[  182.021418] radeon 0000:01:00.0: ring 0 stalled for more than 18272msec
[  182.021430] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000002be7 last fence id 0x0000000000002c0c on ring 0)
[  182.521078] radeon 0000:01:00.0: ring 0 stalled for more than 18772msec
[  182.521090] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000002be7 last fence id 0x0000000000002c0c on ring 0)
[  183.020791] radeon 0000:01:00.0: ring 0 stalled for more than 19272msec
[  183.020803] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000002be7 last fence id 0x0000000000002c0c on ring 0)
[  183.371464] radeon 0000:01:00.0: couldn't schedule ib
[  183.371558] [drm:radeon_uvd_suspend [radeon]] *ERROR* Error destroying UVD (-22)!
[  183.372700] radeon 0000:01:00.0: Saved 157543 dwords of commands on ring 0.
[  183.372726] radeon 0000:01:00.0: GPU softreset: 0x00000008
[  183.372729] radeon 0000:01:00.0:   GRBM_STATUS               = 0xA0003828
[  183.372732] radeon 0000:01:00.0:   GRBM_STATUS_SE0           = 0x00000007
[  183.372734] radeon 0000:01:00.0:   GRBM_STATUS_SE1           = 0x00000007
[  183.372736] radeon 0000:01:00.0:   SRBM_STATUS               = 0x200000C0
[  183.372739] radeon 0000:01:00.0:   SRBM_STATUS2              = 0x00000000
[  183.372741] radeon 0000:01:00.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
[  183.372743] radeon 0000:01:00.0:   R_008678_CP_STALLED_STAT2 = 0x00010002
[  183.372746] radeon 0000:01:00.0:   R_00867C_CP_BUSY_STAT     = 0x00020182
[  183.372751] radeon 0000:01:00.0:   R_008680_CP_STAT          = 0x80038243
[  183.372754] radeon 0000:01:00.0:   R_00D034_DMA_STATUS_REG   = 0x44C83D57
[  183.384036] radeon 0000:01:00.0: GRBM_SOFT_RESET=0x00004001
[  183.384065] radeon 0000:01:00.0: SRBM_SOFT_RESET=0x00000100
[  183.384645] radeon 0000:01:00.0:   GRBM_STATUS               = 0x00003828
[  183.384647] radeon 0000:01:00.0:   GRBM_STATUS_SE0           = 0x00000007
[  183.384649] radeon 0000:01:00.0:   GRBM_STATUS_SE1           = 0x00000007
[  183.384651] radeon 0000:01:00.0:   SRBM_STATUS               = 0x200000C0
[  183.384653] radeon 0000:01:00.0:   SRBM_STATUS2              = 0x00000000
[  183.384656] radeon 0000:01:00.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
[  183.384662] radeon 0000:01:00.0:   R_008678_CP_STALLED_STAT2 = 0x00000000
[  183.384664] radeon 0000:01:00.0:   R_00867C_CP_BUSY_STAT     = 0x00000000
[  183.384666] radeon 0000:01:00.0:   R_008680_CP_STAT          = 0x00000000
[  183.384669] radeon 0000:01:00.0:   R_00D034_DMA_STATUS_REG   = 0x44C83D57
[  183.384700] radeon 0000:01:00.0: GPU reset succeeded, trying to resume
[  183.407669] [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
[  183.409686] [drm] PCIE GART of 1024M enabled (table at 0x0000000000274000).
[  183.409752] radeon 0000:01:00.0: WB enabled
[  183.409755] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xffff88031acd9c00
[  183.409757] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xffff88031acd9c0c
[  183.411200] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000072118 and cpu addr 0xffffc90002832118
[  183.419549] [drm] ring test on 0 succeeded in 3 usecs
[  183.419560] [drm] ring test on 3 succeeded in 12 usecs
[  183.507591] [drm] ring test on 5 succeeded in 2 usecs
[  183.507607] [drm] UVD initialized successfully.
[  184.539947] [drm:r600_ib_test [radeon]] *ERROR* radeon: fence wait timed out.
[  184.540021] [drm:radeon_ib_ring_tests [radeon]] *ERROR* radeon: failed testing IB on GFX ring (-110).

** Changed in: linux (Ubuntu)
       Status: Incomplete => Confirmed

** Tags added: kernel-bug-exists-upstream

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1574130

Title:
  radeon GPU lockup when using VLC and Firefox

Status in linux package in Ubuntu:
  Confirmed
Status in vlc package in Ubuntu:
  Confirmed

Bug description:
  When playing a video with VLC and running Firefox at the same time,
  the radeon driver consistently (reproducibly) locks up and crashes on
  my machine since upgrading to 16.04. I'm using a Radeon HD 6870.

  This does not happen with other video players (totem, mpv). Tested
  with different video codecs and different window managers (gnome-
  shell, metacity).

  When VLC starts, the following message is printed to dmesg:

  [  102.379520] [drm:btc_dpm_set_power_state [radeon]] *ERROR*
  rv770_restrict_performance_levels_before_switch failed

  This is not the case with Totem.
  When Firefox is started, or if Firefox had been running in the first place, a few seconds later it locks up:

  [  157.157196] radeon 0000:01:00.0: ring 5 stalled for more than 10104msec
  [  157.157212] radeon 0000:01:00.0: GPU lockup (current fence id 0x00000000000003b7 last fence id 0x00000000000003bb on ring 5)
  [  157.506657] radeon 0000:01:00.0: couldn't schedule ib
  [  157.506746] [drm:radeon_uvd_suspend [radeon]] *ERROR* Error destroying UVD (-22)!
  [  157.507820] radeon 0000:01:00.0: Saved 535 dwords of commands on ring 0.
  [  157.507840] radeon 0000:01:00.0: GPU softreset: 0x00000088
  [  157.507846] radeon 0000:01:00.0:   GRBM_STATUS               = 0xA0003828
  [  157.507852] radeon 0000:01:00.0:   GRBM_STATUS_SE0           = 0x00000007
  [  157.507858] radeon 0000:01:00.0:   GRBM_STATUS_SE1           = 0x00000007
  [  157.507863] radeon 0000:01:00.0:   SRBM_STATUS               = 0x200040C0
  [  157.507868] radeon 0000:01:00.0:   SRBM_STATUS2              = 0x00000000
  [  157.507874] radeon 0000:01:00.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
  [  157.507879] radeon 0000:01:00.0:   R_008678_CP_STALLED_STAT2 = 0x00010000
  [  157.507884] radeon 0000:01:00.0:   R_00867C_CP_BUSY_STAT     = 0x00000002
  [  157.507890] radeon 0000:01:00.0:   R_008680_CP_STAT          = 0x80010243
  [  157.507895] radeon 0000:01:00.0:   R_00D034_DMA_STATUS_REG   = 0x44C83D57
  [  157.520474] radeon 0000:01:00.0: GRBM_SOFT_RESET=0x00004001
  [  157.520532] radeon 0000:01:00.0: SRBM_SOFT_RESET=0x00008100
  [  157.521682] radeon 0000:01:00.0:   GRBM_STATUS               = 0x00003828
  [  157.521687] radeon 0000:01:00.0:   GRBM_STATUS_SE0           = 0x00000007
  [  157.521692] radeon 0000:01:00.0:   GRBM_STATUS_SE1           = 0x00000007
  [  157.521698] radeon 0000:01:00.0:   SRBM_STATUS               = 0x200000C0
  [  157.521703] radeon 0000:01:00.0:   SRBM_STATUS2              = 0x00000000
  [  157.521708] radeon 0000:01:00.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
  [  157.521714] radeon 0000:01:00.0:   R_008678_CP_STALLED_STAT2 = 0x00000000
  [  157.521719] radeon 0000:01:00.0:   R_00867C_CP_BUSY_STAT     = 0x00000000
  [  157.521724] radeon 0000:01:00.0:   R_008680_CP_STAT          = 0x00000000
  [  157.521730] radeon 0000:01:00.0:   R_00D034_DMA_STATUS_REG   = 0x44C83D57
  [  157.521750] radeon 0000:01:00.0: GPU reset succeeded, trying to resume
  [  157.544993] [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
  [  157.547598] [drm] PCIE GART of 1024M enabled (table at 0x0000000000274000).
  [  157.547689] radeon 0000:01:00.0: WB enabled
  [  157.547692] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xffff8800cf551c00
  [  157.547694] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xffff8800cf551c0c
  [  157.549250] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000072118 and cpu addr 0xffffc90002032118
  [  157.771955] [drm:r600_ring_test [radeon]] *ERROR* radeon: ring 0 test failed (scratch(0x8504)=0xCAFEDEAD)
  [  157.771978] [drm:evergreen_resume [radeon]] *ERROR* evergreen startup failed on resume

  
  Software version information:

  % cat /proc/version
  Linux version 4.4.0-21-generic (buildd@lgw01-21) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016

  % dpkg -l firefox vlc
  Desired=Unknown/Install/Remove/Purge/Hold
  | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
  |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
  ||/ Name                       Version            Architecture       Description
  +++-==========================-==================-==================-=========================================================
  ii  firefox                    45.0.2+build1-0ubu amd64              Safe and easy web browser from Mozilla
  ii  vlc                        2.2.2-5            amd64              multimedia player and streamer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1574130/+subscriptions


References