FS#52122 - [qt5-multimedia] missing shader for YUV formats

Attached to Project: Arch Linux
Opened by Hartmut Seichter (seichterh) - Sunday, 11 December 2016, 22:25 GMT
Last edited by Antonio Rojas (arojas) - Monday, 12 December 2016, 10:57 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

An application that uses QML and Q3D in combination with camera capture from QtMultimedia needs a set of shaders that are part of the qtmultimediaquicktools. Those are seemingly missing in the Arch package.

The shader compiler throws:

Failed to find shader ":/qtmultimediaquicktools/shaders/triplanaryuvvideo_core.vert"

Steps to reproduce:

Build a simple QML app with OpenGL and a camera capture.

Please note there is a upstream bug (https://bugreports.qt.io/browse/QTBUG-51064) regarding this shader. The app in question already applies the workaround mentioned.
This task depends upon

Closed by  Antonio Rojas (arojas)
Monday, 12 December 2016, 10:57 GMT
Reason for closing:  Upstream
Comment by Antonio Rojas (arojas) - Sunday, 11 December 2016, 23:18 GMT
Those shaders (without the _core suffix) are embedded in libQt5MultimediaQuick_p.so as resources. Given that your application is searching for the files with the _core suffix, it seems that the workaround mentioned in the upstream report is not being applied.
Comment by Hartmut Seichter (seichterh) - Monday, 12 December 2016, 09:48 GMT
Thanks for looking into this. I can confirm now this seems to be an upstream bug. Today, I crossed checked with my workplace nVIDIA machine (the other was a Intel 520) with same patch level and all works as expected. I guess there is something broken internally with QtMultimedia or QtQuick. Apologies for the noise, issue can be closed.

Loading...