Bug 18713 - vaapi broken with 4.4.13 kernel, works with 4.1.15 (intel HD Graphics 5500 â Dell XP13 9343)
Summary: vaapi broken with 4.4.13 kernel, works with 4.1.15 (intel HD Graphics 5500 â ...
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 5
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Kernel and Drivers maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-15 13:40 CEST by Christian Lohmaier
Modified: 2018-01-27 16:17 CET (History)
5 users (show)

See Also:
Source RPM: kernel-4.4.13-1.mga5.src.rpm
CVE:
Status comment:


Attachments
journalctl -b or working kernel (155.36 KB, text/x-log)
2016-06-16 16:51 CEST, Christian Lohmaier
Details
journalctl -b of broken kernel. (149.88 KB, text/x-log)
2016-06-16 16:52 CEST, Christian Lohmaier
Details
lspcidrake -v wiht 4.4.13 kernel (2.96 KB, text/x-log)
2016-06-16 16:55 CEST, Christian Lohmaier
Details

Description Christian Lohmaier 2016-06-15 13:40:54 CEST
Description of problem:
when trying to play video with vaapi / hardware decoding, all I get is a solid grey video (ts with mpeg2 video), or largely green video with varying amounts of some lighter shade of green and some purple lines at the top (h264 in mp4)

Version-Release number of selected component (if applicable):
kernel-desktop-4.4.13-1.mga5-1-1.mga5 is broken
kernel-desktop-4.1.15-2.mga5-1-1.mga5 is working 

How reproducible:
100%

Steps to Reproduce:
1. use mpv with --hwdec=auto to play-back video
2. mpv uses vaapi and prints "Using hardware decoding (vaapi-copy)"
3. see broken video.

same works flawlessly when booting to previous kernel.
Also no problem when using software decoding.
Comment 1 w unruh 2016-06-15 16:42:03 CEST
Did you try some of the previous 4.4 kernels (eg 4.4.5 etc) that have appeared 
 in updates_testing over the past 6 months? Ie, do you have a feeling as to when this broke?

CC: (none) => unruh

Comment 2 Christian Lohmaier 2016-06-15 17:47:18 CEST
nope, sorry, I don't have testing repo enabled. So can even be regression from 4.2 or 4.3 kernels if you can point me to a package archive, I could try with the other kernels...
Comment 3 Christian Lohmaier 2016-06-16 11:26:36 CEST
unfortunately this is not the only regression - when plugging in or out an external monitor (in this case a TV using a min-displayport â hdmi adapter), the backlight controls are likely to get dysfunctional.

pressing keys shows OSD and claims to switch values, but that has no impact on actual panel brightness :-(
Comment 4 Thomas Backlund 2016-06-16 12:05:35 CEST
Please attach journalctl -b output from both working 4.1.15, and from a non-working 4.4.13 and the output of lspcidrake -v

CC: (none) => tmb

Comment 5 Christian Lohmaier 2016-06-16 16:51:51 CEST
Created attachment 8005 [details]
journalctl -b or working kernel
Comment 6 Christian Lohmaier 2016-06-16 16:52:22 CEST
Created attachment 8006 [details]
journalctl -b of broken kernel.
Comment 7 Christian Lohmaier 2016-06-16 16:55:52 CEST
Created attachment 8007 [details]
lspcidrake -v wiht 4.4.13 kernel

difference to 4.1.15 output is (besides kernel version string in hub lines) only that "intel_pch_thermal" was previously listed as "unknown", apart from that identical.
Marja Van Waes 2016-06-16 19:47:32 CEST

CC: (none) => marja11
Assignee: bugsquad => tmb

Arne Spiegelhauer 2016-06-24 09:16:31 CEST

CC: (none) => gm2.asp

Comment 8 Arne Spiegelhauer 2016-06-24 15:18:54 CEST
using vaapi-driver-intel from cauldron seems to remove this issue
Comment 9 Marja Van Waes 2016-08-26 11:43:17 CEST
Mass-reassigning all bugs with "kernel" in the Source RPM field that are assigned to tmb, to the kernel packagers group, because tmb is currently MIA.

Assignee: tmb => kernel

Comment 10 Arne Spiegelhauer 2016-10-13 20:19:10 CEST
Please disregard comment 8.
Turns out that successful playback was due to mythfrontend falling back to CPU decoding on failure to initialize the vaapi driver.
Sorry about the misinformation
Comment 11 Arne Spiegelhauer 2016-10-14 18:06:22 CEST
However, installing both lib64va1 and vaapi-driver-intel from cauldron does allow at least mythfrontend and vlc to use vaapi. (problem with only installing the driver was incompatible API version)
Furthermore, building and installing latest version (1.7.2) of those components on mga5 removes a log about failure to open /usr/lib64/dri/hybrid_drv_video.so (which, as far as I understand, is of no use for my hardware anyway)
Comment 12 Christian Lohmaier 2017-08-21 18:03:12 CEST
FYI: works OK on Mga6, so kind wfm now... bob interlacer is broken though (gives vertical jitter), but you can use the superior motion-compensated backinterlacer

Summary: vaapi broken with 4.4.13 kernel, works with 4.1.15 (intel HD Graphics 5500 â Dell XP13 9343) => vaapi broken with 4.4.13 kernel, works with 4.1.15 (intel HD Graphics 5500 â Dell XP13 9343)

Comment 13 José Jorge 2018-01-27 16:17:13 CET
Too late to fix in MGA5...

Resolution: (none) => OLD
CC: (none) => lists.jjorge
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.