FS#49304 - [linux] system freeze when I use h264 acceleration ( vdpau for example ) with radeon driver

Attached to Project: Arch Linux
Opened by patrick (potomac) - Thursday, 12 May 2016, 00:50 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 14 June 2016, 14:38 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:
I have a system freeze with linux kernel 4.5.3-1 if I use a player who uses h264 acceleration ( vdpau ), for example mplayer, vlc, kaffeine, the system will immediately freeze ( keyboard, mouse don't respond ),

I use the radeon driver, my graphic card is : amd radeon HD4650 pcie,

if I downgrade to kernel 4.5.2-1 then there is no freeze, all is ok,

so there is a serious problem in kernel 4.5.3-1 related to radeon driver when vdpau ( h264 acceleration ) is used

Additional info:
* package version(s) linux 4.5.3-1
* config and/or log files etc.


Steps to reproduce:
- install linux 4.5.3-1
- use the radeon driver
- open a video with a player configured to use h264 acceleration ( vdpau ), for example mplayer, vlc
- a system freeze will occur
- downgrading to kernel 4.5.2-1 is a workaround
This task depends upon

Closed by  Doug Newgard (Scimmia)
Tuesday, 14 June 2016, 14:38 GMT
Reason for closing:  Fixed
Comment by patrick (potomac) - Thursday, 12 May 2016, 01:24 GMT
in fact it's not related to h264 acceleration, but it's related to a TV card "leadtek DTV1000 T" ( Conexant CX22702 DVB-T ),

everytime I try to watch TV with this card and with kernel 4.5.3-1 then I get a system freeze ( even if vdpau is disabled )

when I downgrade to kernel 4.5.2-1 then there is no bug, no freeze
Comment by patrick (potomac) - Thursday, 12 May 2016, 03:47 GMT
it would be great if someone can edit my bug report, in order to change the title to this :

"[linux] system freeze when using a TV card DVB-T ( digital TV ) with kernel 4.5.3"

and also edit the details of the bugreport,

on gentoo forums someone has also the same problem :

https://forums.gentoo.org/viewtopic-t-1044450.html
Comment by patrick (potomac) - Thursday, 12 May 2016, 03:58 GMT
I tried the linux kernel mainline 4.6rc7, the bug is still here,

so I will try to do a git-bisect between kernel 4.5.2 and 4.5.3, in order to find the faulty commit
Comment by patrick (potomac) - Thursday, 12 May 2016, 04:05 GMT
an interesting news here, there is already a suspect :

https://lkml.org/lkml/2016/5/11/678
Comment by patrick (potomac) - Thursday, 12 May 2016, 06:14 GMT
here is a patch which fixes the bug :

https://bugzilla.kernel.org/attachment.cgi?id=216031

it reverts commit 2c1f6951a8a82e6de0d82b1158b5e493fc6c54ab
Comment by patrick (potomac) - Thursday, 12 May 2016, 16:16 GMT
it would be interesting to add this patch in linux 4.5.4-2 without waiting upstream,

it's a safe patch
Comment by patrick (potomac) - Friday, 13 May 2016, 02:19 GMT
a patch from upstream, it solves the bug without reverting commit 2c1f6951a8a82e6de0d82b1158b5e493fc6c54ab

https://lkml.org/lkml/2016/5/12/348
Comment by Geoff (perseus) - Friday, 13 May 2016, 08:46 GMT
Confirming this on 32 bit using Hauppauge Nova-T DVB-T. A word of thanks to patrick for his work on the problem.

Loading...