libgles2-mesa-dev breaks gstreamer-imx video acceleration (14.04 armhf)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mesa (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Installing libgles2-mesa-dev 10.1.3-0ubuntu0.6 armhf together with libxcb-randr0 breaks accelerated video playback with gstreamer-imx on UDOObuntu 2.1.2 (based on Ubuntu 14.04 LTS - see http://
This could be broken installation scripts or missing Pre-Depends.
For example, video playback works fine on udoobuntu-
# VIDEO + SOUND OK - without libgles2-mesa-dev installed
gst-launch-1.0 playbin uri=file:
gst123 big_buck_
Introduce breakage by installing libgles2-mesa-dev *without* having libxcb-randr0 installed:
sudo apt-get -y --purge remove libxcb-randr0 && sudo apt-get -y install libgles2-mesa-dev
gst-launch-1.0 playbin uri=file:
gst123 big_buck_
Note that just uninstalling libgles2-mesa-dev does *NOT* fix the issue, only uninstalling libxcb-randr0 and reinstalling it before or without libgles2-mesa-dev brings video playback back to live.
Workaround1, complete libxcb-randr0 installation before installing libgles2-mesa-dev:
sudo apt-get -y --purge remove libxcb-randr0 && sudo apt-get -y install libxcb-randr0 && sudo apt-get -y install libgles2-mesa-dev
# VIDEO + SOUND OK for gst-launch-1.0 and gst123
Workaround2, install all dependencies before libgles2-mesa-dev:
sudo apt-get -y --purge remove libxcb-randr0 && sudo apt-get -y install libegl1-mesa-dev && sudo apt-get -y install libgles2-mesa-dev
# VIDEO + SOUND OK for gst-launch-1.0 and gst123
So it looks like the libgles2-mesa-dev installation process if run before libxcb-randr0 has finished installation (libc triggers run, etc), messes up some configuration bits of libxcb-randr0 which stick around even after libgles2-mesa-dev is uninstalled.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: libgles2-mesa-dev 10.1.3-0ubuntu0.6
Uname: Linux 3.14.56-
ApportVersion: 2.14.1-0ubuntu3.23
Architecture: armhf
Date: Thu May 4 09:51:33 2017
SourcePackage: mesa
UpgradeStatus: No upgrade log present (probably fresh install)
that doesn't sound right, a -dev package can't break it, sounds like you were missing some updates or getting a mixed set of them
anyway, it's been four years, probably not an issue anymore if it ever was