Public bug reported:

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)

** Affects: mesa (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug armhf third-party-packages trusty

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to mesa in Ubuntu.
https://bugs.launchpad.net/bugs/1688200

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1688200/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to