libgles2-mesa-dev breaks gstreamer-imx video acceleration (14.04 armhf)

Bug #1688200 reported by J.
6
This bug affects 1 person
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://www.udoo.org/downloads/).

This could be broken installation scripts or missing Pre-Depends.

For example, video playback works fine on udoobuntu-udoo-qdl-desktop_2.1.img:
    # VIDEO + SOUND OK - without libgles2-mesa-dev installed
    gst-launch-1.0 playbin uri=file:///home/udooer/big_buck_bunny_720p_h264.mp4
    gst123 big_buck_bunny_720p_h264.mp4

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:///home/udooer/big_buck_bunny_720p_h264.mp4 # BLACK & PAUSED
    gst123 big_buck_bunny_720p_h264.mp4 # SOUND ONLY + BLACK WINDOW

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-udooqdl-02044-gddaad11 armv7l
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)

Revision history for this message
J. (tjanik) wrote :
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

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

Changed in mesa (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.