Bug 1308290

Summary: RFE: Enable OpenGL ES 2 support in GstGL
Product: [Fedora] Fedora Reporter: Kevin Kofler <kevin>
Component: gstreamer1-plugins-bad-freeAssignee: Brian Pepple <bdpepple>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: bdpepple, rdieter, uraeus, wtaymans
Target Milestone: ---Keywords: FutureFeature, Patch, Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: gstreamer1-plugins-bad-free-1.9.1-2.fc25 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-27 10:20:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Fix FTBFS, #1295444, #1267665, #1308290 none

Description Kevin Kofler 2016-02-14 00:21:12 UTC
Description of problem:
GstGL in Rawhide's gstreamer1-plugins-bad-free is built with only desktop OpenGL support. But Samsung's Chromium GStreamer backend (which I am also trying to backport to QtWebEngine) needs GstGL built with OpenGL ES support (even on desktop platforms). It should be possible to build it with support for both.

Version-Release number of selected component (if applicable):
gstreamer1-plugins-bad-free-1.7.1-4.fc24

How reproducible:
Always

Steps to Reproduce:
1. Check out qt5-qtwebengine from dist-git.
2. Switch to the gstreamer branch.
3. Try to build that branch for Rawhide.

Actual results:
error: #error "GstGL with GLES2 support is required"

Expected results:
The build succeeds, or proceeds far enough to uncover some issue in my package rather than in GStreamer.

Additional info:
The way Chromium uses GstGL is that it renders using OpenGL ES, sends the OpenGL ES instructions over across IPC, and lets the GPU process convert that to whatever OpenGL the machine natively uses using ANGLE. That is why it always needs OpenGL ES support in GstGL, even on desktop platforms. (But the current gstreamer1-plugins-bad-free specfile doesn't even enable OpenGL ES on ARM.)

Comment 1 Kevin Kofler 2016-02-20 15:15:51 UTC
Created attachment 1128806 [details]
Fix FTBFS, #1295444, #1267665, #1308290

The attached patch fixes this bug, bug #1295444, bug #1267665 and the FTBFS of the current Rawhide specfile.

Comment 2 Kevin Kofler 2016-02-20 15:17:55 UTC
Please note that this RFE is just a matter of adding a BuildRequires: mesa-libGLES-devel. GstGL builds fine with BOTH desktop OpenGL and OpenGL ES support.

Comment 3 Fedora Update System 2016-08-19 11:14:31 UTC
gstreamer1-plugins-bad-free-1.9.1-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-a1bc3f1930

Comment 4 Fedora Update System 2016-08-19 16:50:30 UTC
gstreamer1-plugins-bad-free-1.9.1-2.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-a1bc3f1930

Comment 5 Fedora Update System 2016-08-27 10:19:58 UTC
gstreamer1-plugins-bad-free-1.9.1-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.