← Back to team overview

kernel-packages team mailing list archive

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

 

Public bug reported:

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

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "Full dmesg output"
   https://bugs.launchpad.net/bugs/1574130/+attachment/4644798/+files/dmesg.log

-- 
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:
  New

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


Follow ups