Bug 416825

Summary: VA-API can not be set / enabled in newer Kaffeine versions
Product: [Applications] kaffeine Reporter: C. Leu <kle>
Component: generalAssignee: Mauro Carvalho Chehab <mchehab>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description C. Leu 2020-01-27 16:19:57 UTC
SUMMARY

The VA-API decoder cannot be set (enabled) in newer Kaffeine versions. The corresponding argument "--avcodec-hw=vaapi" shows no effect. This problem seems to affects most newer Kaffeine versions.

So long VDPAU is working properly this is not a drawback. Unfortunately VDPAU seems to be on more recent Radeon (r600) MESA driver releases often broken. The solution or workaround is to switch to the VA-API. This works perfectly in VLC were in the settings the VA-API video decoder can be selected. After this, H264 videos can be played error free.

STEPS TO REPRODUCE (r600 based Radeon GPU system needed!)
1. Install Kubuntu 18.04 LTS
2. Install a current Kaffeine version
3. Update system, also to newer MESA versions

OBSERVED RESULT

H264 video files are displayed corrupted in Kaffeine when a driver with broken VDPAU is used. A switch in Kaffeine to the working VA-API does not work, the corresponding VLClib argument shows no effect.

EXPECTED RESULT

The "--avcodec-hw=vaapi" argument should be active and working. However, it does NOT work.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 18.04
(available in About System)
KDE Plasma Version: 5.12.9
KDE Frameworks Version: 5.44.0
Qt Version: 5.9.5

ADDITIONAL INFORMATION