Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1308290 - RFE: Enable OpenGL ES 2 support in GstGL
Summary: RFE: Enable OpenGL ES 2 support in GstGL
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gstreamer1-plugins-bad-free
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Brian Pepple
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-14 00:21 UTC by Kevin Kofler
Modified: 2016-08-27 10:20 UTC (History)
4 users (show)

Fixed In Version: gstreamer1-plugins-bad-free-1.9.1-2.fc25
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-27 10:20:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Fix FTBFS, #1295444, #1267665, #1308290 (8.28 KB, patch)
2016-02-20 15:15 UTC, Kevin Kofler
no flags Details | Diff

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.


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