You are not logged in.

#1 2016-01-07 19:59:02

ckoinig
Member
Registered: 2016-01-07
Posts: 2

System freeze when playing video using VDPAU with OS radeon driver

Hi,

I've setup VDPAU as described in the wiki but when trying to play a h264 video the screen freezes after a couple of frames and the entire system freezes shortly thereafter.

Some Information on my setup:
MacPro ca. 2009
Radeon HD 5870 using the opensource radeon driver
Dualhead setup
mesa-vdpau installed, driver set as r600
Kernel parameter radeon.dpm=0 (if I don't the screen freezes instantly when playing the video so I at least get to see a couple of frames.)
Playing video without VDPAU works fine.

dmsg shows this:

[  751.892209] radeon 0000:08:00.0: ring 3 stalled for more than 10100msec
[  751.892216] radeon 0000:08:00.0: GPU lockup (current fence id 0x00000000000000bf last fence id 0x00000000000000c2 on ring 3)
[  751.898310] radeon 0000:08:00.0: couldn't schedule ib
[  751.898339] [drm:radeon_uvd_suspend [radeon]] *ERROR* Error destroying UVD (-22)!
[  751.899412] radeon 0000:08:00.0: Saved 1687 dwords of commands on ring 0.
[  751.899425] radeon 0000:08:00.0: GPU softreset: 0x0000008C
[  751.899428] radeon 0000:08:00.0:   GRBM_STATUS               = 0xA0003828
[  751.899431] radeon 0000:08:00.0:   GRBM_STATUS_SE0           = 0x00000007
[  751.899434] radeon 0000:08:00.0:   GRBM_STATUS_SE1           = 0x00000007
[  751.899436] radeon 0000:08:00.0:   SRBM_STATUS               = 0x200846C0
[  751.899439] radeon 0000:08:00.0:   SRBM_STATUS2              = 0x00000000
[  751.899441] radeon 0000:08:00.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
[  751.899444] radeon 0000:08:00.0:   R_008678_CP_STALLED_STAT2 = 0x00010000
[  751.899446] radeon 0000:08:00.0:   R_00867C_CP_BUSY_STAT     = 0x00000002
[  751.899449] radeon 0000:08:00.0:   R_008680_CP_STAT          = 0x80010243
[  751.899451] radeon 0000:08:00.0:   R_00D034_DMA_STATUS_REG   = 0x60C83146
[  751.924620] radeon 0000:08:00.0: GRBM_SOFT_RESET=0x00004001
[  751.924673] radeon 0000:08:00.0: SRBM_SOFT_RESET=0x00108100
[  751.925832] radeon 0000:08:00.0:   GRBM_STATUS               = 0x00003828
[  751.925834] radeon 0000:08:00.0:   GRBM_STATUS_SE0           = 0x00000007
[  751.925835] radeon 0000:08:00.0:   GRBM_STATUS_SE1           = 0x00000007
[  751.925837] radeon 0000:08:00.0:   SRBM_STATUS               = 0x200808C0
[  751.925839] radeon 0000:08:00.0:   SRBM_STATUS2              = 0x00000000
[  751.925840] radeon 0000:08:00.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
[  751.925842] radeon 0000:08:00.0:   R_008678_CP_STALLED_STAT2 = 0x00000000
[  751.925846] radeon 0000:08:00.0:   R_00867C_CP_BUSY_STAT     = 0x00000000
[  751.925847] radeon 0000:08:00.0:   R_008680_CP_STAT          = 0x00000000
[  751.925849] radeon 0000:08:00.0:   R_00D034_DMA_STATUS_REG   = 0x44C83D57
[  751.925861] radeon 0000:08:00.0: GPU reset succeeded, trying to resume
[  752.010001] pcieport 0000:00:03.0: AER: Uncorrected (Non-Fatal) error received: id=0018
[  752.010010] pcieport 0000:00:03.0: PCIe Bus Error: severity=Uncorrected (Non-Fatal), type=Transaction Layer, id=0018(Requester ID)
[  752.010013] pcieport 0000:00:03.0:   device [8086:340a] error status/mask=00004000/00000000
[  752.010015] pcieport 0000:00:03.0:    [14] Completion Timeout     (First)
[  752.010019] pcieport 0000:00:03.0: broadcast error_detected message
[  752.010021] pcieport 0000:00:03.0: AER: Device recovery failed
[  752.053880] pcieport 0000:00:03.0: AER: Uncorrected (Non-Fatal) error received: id=0018
[  752.053888] pcieport 0000:00:03.0: PCIe Bus Error: severity=Uncorrected (Non-Fatal), type=Transaction Layer, id=0018(Requester ID)
[  752.053890] pcieport 0000:00:03.0:   device [8086:340a] error status/mask=00004000/00000000
[  752.053892] pcieport 0000:00:03.0:    [14] Completion Timeout     (First)
[  752.053896] pcieport 0000:00:03.0: broadcast error_detected message
[  752.053898] pcieport 0000:00:03.0: AER: Device recovery failed

Note: Just to try and exclude any obvious configuration mistakes I also tried hardware decoding from a ubuntu livecd with basically the same results.
I also tried the binary blob driver which doesn't crash but I can't say if it realy uses hardware decoding as for some reason the whole display was realy slow and xorg used 100% cpu (regardles of playing video)

Any help would be greatly appreciated

Last edited by ckoinig (2016-01-07 20:08:58)

Offline

#2 2016-01-07 20:00:45

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: System freeze when playing video using VDPAU with OS radeon driver

Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Fo … s_and_code


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-01-07 20:09:40

ckoinig
Member
Registered: 2016-01-07
Posts: 2

Re: System freeze when playing video using VDPAU with OS radeon driver

jasonwryan wrote:

Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Fo … s_and_code

my bad, fixed!

Offline

Board footer

Powered by FluxBB