Problem with video playback with Pandaboard ES Rev.B1

229 views
Skip to first unread message

xeon

unread,
Apr 17, 2012, 12:47:47 AM4/17/12
to pandaboard
----------

- Board: Pandaboard ES Rev.B1 ( purchased in Apr 2012 )
- SD : Kingston SDHC Class4 16GB

----------


Bought a panda board ES week ago and try to run different OS for video
playback, but there's no success.

# Ubuntu Linaro 12.03

Grabbing the image from http://releases.linaro.org/12.03/ubuntu/leb-panda/.

I setup the board with following command:

gunzip -c panda-ubuntu-desktop.img.gz | sudo dd bs=64k of=/dev/
mmcblk01

The board boot nicely and I install omap extras multimedia.

sudo apt-get install ubuntu-omap4-extras-multimedia

After a restart, I play a mp4 movie with totem player, I can see the
movie is running by the time slider (it is going forward), but the
screen is just black. Tested with few other movie it appears the same.

# Ubuntu Linaro Custom Build

Grabbing snapshot of linaro of ubuntu desktop and hardware pack.

1) hwpack_linaro-lt-panda-x11-base_20120413-0_armel_supported.tar.gz
2) linaro-o-ubuntu-desktop-tar-20120413-0.tar.gz

Following the instruction from http://releases.linaro.org/12.03/ubuntu/leb-panda/
and do a setup. This time the mp4 movie is playing! But is a bit jerky
and sometime pixelated. Looks like is SW rendering than HW.

My intention is to playback mp4 videos with HW acceleration. How do I
that?

Thank you




Nicolas Dechesne

unread,
Apr 17, 2012, 3:47:59 PM4/17/12
to panda...@googlegroups.com
On Tue, Apr 17, 2012 at 6:47 AM, xeon <xeo...@gmail.com> wrote:
> My intention is to playback mp4 videos with HW acceleration. How do I
> that?

can you try to start with stock ubuntu, instead of Linaro?

1- install 11.10 ubuntu
2- run apt-get update, and apt-get upgrade, and reboot
3- add TI OMAP PPA, and install ubuntu-omap4-extras and reboot

these are the generic instructions that are supposed to work, and that
we (TI) try to support here.

Stephen Neal

unread,
Apr 18, 2012, 4:25:24 AM4/18/12
to panda...@googlegroups.com
I have tried this route and had a number of problems :

1. The 11.10 Ubuntu stock build loops around the configuration set-up on first install - asking you repeatedly for your language, country etc. (You enter these details once - it goes through the set-up process, reboots and then asks you again).  Doing some digging this is solved by getting to a terminal (ALT+F1) and doing an oem-config-remove ?  I have tried this with a number of SD cards and a number of times - and only once did this looping not happen.

2. When I do an apt-get update, apt-get upgrade and then install ubuntu-omap4-extras from the TI PPA I get an error to do with unmet dependencies. 

I have ensured that no lines are commented out in my /etc/apt/sources.list - I have three deb lines with universe and multiverse included (along with a number of others)

I drilled down the unmet dependencies manually and eventually managed to get things to update - but ended up with an XBMC install that would play audio but not video. 

If I install a Linaro build (say 12.01) I get video and audio - but the video has the green flashing corruption. (My stock test is to play video from the SVT Play Video add-in - which is H264 + AAC)

I've yet to get any proper hardware video acceleration.

Would be very useful for there to be a link to a 'start from scratch - known good' guide for getting the TI OMAP PPA stuff to work on a Pandaboard ES - starting from a blank SD card for those who have just bought a Pandaboard ES (like me)  I've followed a number of different routes - but none seem to work properly at the moment.

Nicolas Dechesne

unread,
Apr 18, 2012, 4:48:31 AM4/18/12
to panda...@googlegroups.com
On Wed, Apr 18, 2012 at 10:25 AM, Stephen Neal <stephen...@gmail.com> wrote:
> 1. The 11.10 Ubuntu stock build loops around the configuration set-up on
> first install - asking you repeatedly for your language, country etc. (You
> enter these details once - it goes through the set-up process, reboots and
> then asks you again).  Doing some digging this is solved by getting to a
> terminal (ALT+F1) and doing an oem-config-remove ?  I have tried this with a
> number of SD cards and a number of times - and only once did this looping
> not happen.
>
> 2. When I do an apt-get update, apt-get upgrade and then install
> ubuntu-omap4-extras from the TI PPA I get an error to do with unmet
> dependencies.
>
> I have ensured that no lines are commented out in my /etc/apt/sources.list -
> I have three deb lines with universe and multiverse included (along with a
> number of others)
>
> I drilled down the unmet dependencies manually and eventually managed to get
> things to update - but ended up with an XBMC install that would play audio
> but not video.

right XMBC is not working out of the box with the TI PPA, that's a
known issue. and to get XBMC working requires non trivial packages
selection between linaro and TI PPA.. i agree this isn't ideal, we
recently discussed about that and we will try to add the XMBC package
in the TI PPA, since the Linaro and TI PPAs aren't working great when
both enabled...

>
> If I install a Linaro build (say 12.01) I get video and audio - but the
> video has the green flashing corruption. (My stock test is to play video
> from the SVT Play Video add-in - which is H264 + AAC)
>
> I've yet to get any proper hardware video acceleration.
>
> Would be very useful for there to be a link to a 'start from scratch - known
> good' guide for getting the TI OMAP PPA stuff to work on a Pandaboard ES -
> starting from a blank SD card for those who have just bought a Pandaboard ES
> (like me)  I've followed a number of different routes - but none seem to
> work properly at the moment.

well, the instructions i gave are the right instructions to 'start
from scratch', really... the problem is that the ubuntu archive and
the TI PPA are both 'active' in the sense that they get updates
regularly. so it's possible that they get un-synchronized sometimes.

we will check on this, and fix issues accordingly

Ricardo Salveti

unread,
Apr 18, 2012, 11:23:16 AM4/18/12
to panda...@googlegroups.com

Can you update the packages and try it again?

Also, if it fails, please remove your ~/.gstreamer-0.10/ and give it
another try.

I just tested here with Totem, gst-launch and XBMC, and it's all working again.

Thanks,
--
Ricardo Salveti de Araujo

Ricardo Salveti

unread,
Apr 18, 2012, 11:26:06 AM4/18/12
to panda...@googlegroups.com
On Wed, Apr 18, 2012 at 5:48 AM, Nicolas Dechesne <nde...@gmail.com> wrote:
> On Wed, Apr 18, 2012 at 10:25 AM, Stephen Neal <stephen...@gmail.com> wrote:
>> 1. The 11.10 Ubuntu stock build loops around the configuration set-up on
>> first install - asking you repeatedly for your language, country etc. (You
>> enter these details once - it goes through the set-up process, reboots and
>> then asks you again).  Doing some digging this is solved by getting to a
>> terminal (ALT+F1) and doing an oem-config-remove ?  I have tried this with a
>> number of SD cards and a number of times - and only once did this looping
>> not happen.
>>
>> 2. When I do an apt-get update, apt-get upgrade and then install
>> ubuntu-omap4-extras from the TI PPA I get an error to do with unmet
>> dependencies.
>>
>> I have ensured that no lines are commented out in my /etc/apt/sources.list -
>> I have three deb lines with universe and multiverse included (along with a
>> number of others)
>>
>> I drilled down the unmet dependencies manually and eventually managed to get
>> things to update - but ended up with an XBMC install that would play audio
>> but not video.
>
> right XMBC is not working out of the box with the TI PPA, that's a
> known issue. and to get XBMC working requires non trivial packages
> selection between linaro and TI PPA.. i agree this isn't ideal, we
> recently discussed about that and we will try to add the XMBC package
> in the TI PPA, since the Linaro and TI PPAs aren't working great when
> both enabled...

Feel free to copy the latest XBMC package (Oneiric-based) from the
Linaro Overlay to the TI PPA, the package has EGL and gstreamer
enabled by default.

While testing yesterday, I noticed that the lastest changes at the
gstreamer-plugins-bad broke XBMC gstreamer support. I updated the
package at our Overlay with the previous version, plus pvrvideosink
fixes, and got it working again.

We need some further debugging here to understand which change broke
XBMC support.

Cheers,

xeon

unread,
Apr 19, 2012, 4:15:04 AM4/19/12
to pandaboard
I followed the step from Nicholas and install ubuntu-omap4-extras.

sudo add-apt-repository ppa:tiomap-dev/release
sudo apt-get update
sudo apt-get install ubuntu-omap4-extras

While installing half way, it throws out this error.

 /var/cache/apt/archives/gstreamer0.10-plugins-
bad_0.10.22-2ubuntu4+ti1.5.4.6+1_armel.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

When I reboot, the x-server couldn't startup:

The boot console throwing this error when I tried an 'startx'. It
prompts to refer to /var/log/Xorg.0.log for error log.

Here's the log:

[    57.918]
X.Org X Server 1.10.4
Release Date: 2011-08-19
[    57.918] X Protocol Version 11, Revision 0
[    57.918] Build Operating System: Linux 2.6.35-24-omap armv7l
Ubuntu
[    57.918] Current Operating System: Linux thunder-desktop
3.0.0-1205-omap4 #10-Ubuntu SMP PREEMPT Thu Sep 29 03:57:24 UTC 2011
armv7l
[    57.919] Kernel command line: ro elevator=noop vram=32M
mem=456M@0x80000000 mem=512M@0xA0000000 root=UUID=f0bd976c-22b9-4a53-
ac7d-3a9b25da496f fixrtc quiet splash
[    57.919] Build Date: 19 October 2011  06:22:31AM
[    57.919] xorg-server 2:1.10.4-1ubuntu4.2 (For technical support
please see http://www.ubuntu.com/support)
[    57.919] Current version of pixman: 0.22.2
[    57.919] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[    57.919] Markers: (--) probed, (**) from config file, (==) default
setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    57.923] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Apr 19
16:07:35 2012
[    57.923] (==) Using system config directory "/usr/share/X11/
xorg.conf.d"
[    57.926] (==) ServerLayout "Server Layout"
[    57.926] (**) |-->Screen "Screen" (0)
[    57.926] (**) |   |-->Monitor "<default monitor>"
[    57.926] (**) |   |-->Device "Video Device"
[    57.926] (==) No monitor specified for screen "Screen".
Using a default monitor configuration.
[    57.928] (**) |-->Input Device "Keyboard"
[    57.928] (**) |-->Input Device "Main Touch Screen"
[    57.928] (==) Automatically adding devices
[    57.928] (==) Automatically enabling devices
[    57.928] (WW) The directory "/usr/share/fonts/X11/cyrillic" does
not exist.
[    57.928] Entry deleted from font path.
[    57.928] (WW) The directory "/usr/share/fonts/X11/100dpi/" does
not exist.
[    57.929] Entry deleted from font path.
[    57.929] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not
exist.
[    57.929] Entry deleted from font path.
[    57.929] (WW) The directory "/usr/share/fonts/X11/100dpi" does not
exist.
[    57.929] Entry deleted from font path.
[    57.929] (WW) The directory "/usr/share/fonts/X11/75dpi" does not
exist.
[    57.929] Entry deleted from font path.
[    57.929] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
built-ins
[    57.929] (==) ModulePath set to "/usr/lib/arm-linux-gnueabi/xorg/
extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[    57.930] (II) Loader magic: 0x13f45c
[    57.930] (II) Module ABI versions:
[    57.930] X.Org ANSI C Emulation: 0.4
[    57.930] X.Org Video Driver: 10.0
[    57.930] X.Org XInput driver : 12.3
[    57.930] X.Org Server Extension : 5.0
[    57.930] (II) LoadModule: "extmod"
[    57.930] (II) Loading /usr/lib/xorg/modules/extensions/
libextmod.so
[    57.930] (II) Module extmod: vendor="X.Org Foundation"
[    57.930] compiled for 1.10.4, module version = 1.0.0
[    57.933] Module class: X.Org Server Extension
[    57.933] ABI class: X.Org Server Extension, version 5.0
[    57.933] (II) Loading extension MIT-SCREEN-SAVER
[    57.933] (II) Loading extension XFree86-VidModeExtension
[    57.933] (II) Loading extension XFree86-DGA
[    57.933] (II) Loading extension DPMS
[    57.934] (II) Loading extension XVideo
[    57.934] (II) Loading extension XVideo-MotionCompensation
[    57.934] (II) Loading extension X-Resource
[    57.934] (II) LoadModule: "dbe"
[    57.934] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[    57.935] (II) Module dbe: vendor="X.Org Foundation"
[    57.935] compiled for 1.10.4, module version = 1.0.0
[    57.935] Module class: X.Org Server Extension
[    57.936] ABI class: X.Org Server Extension, version 5.0
[    57.936] (II) Loading extension DOUBLE-BUFFER
[    57.936] (II) LoadModule: "glx"
[    57.937] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    57.937] (II) Module glx: vendor="X.Org Foundation"
[    57.938] compiled for 1.10.4, module version = 1.0.0
[    57.938] ABI class: X.Org Server Extension, version 5.0
[    57.938] (==) AIGLX enabled
[    57.938] (II) Loading extension GLX
[    57.938] (II) LoadModule: "record"
[    57.938] (II) Loading /usr/lib/xorg/modules/extensions/
librecord.so
[    57.940] (II) Module record: vendor="X.Org Foundation"
[    57.940] compiled for 1.10.4, module version = 1.13.0
[    57.940] Module class: X.Org Server Extension
[    57.940] ABI class: X.Org Server Extension, version 5.0
[    57.940] (II) Loading extension RECORD
[    57.940] (II) LoadModule: "dri"
[    57.940] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[    57.940] (II) Module dri: vendor="X.Org Foundation"
[    57.942] compiled for 1.10.4, module version = 1.0.0
[    57.942] ABI class: X.Org Server Extension, version 5.0
[    57.942] (II) Loading extension XFree86-DRI
[    57.942] (II) LoadModule: "dri2"
[    57.944] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[    57.944] (II) Module dri2: vendor="X.Org Foundation"
[    57.944] compiled for 1.10.4, module version = 1.2.0
[    57.944] ABI class: X.Org Server Extension, version 5.0
[    57.944] (II) Loading extension DRI2
[    57.944] (II) LoadModule: "pvr"
[    57.945] (II) Loading /usr/lib/xorg/modules/drivers/pvr_drv.so
[    57.946] (II) Module PVR: vendor="X.Org Foundation"
[    57.947] compiled for 1.10.4, module version = 1.7.34399
[    57.947] Module class: X.Org Video Driver
[    57.947] ABI class: X.Org Video Driver, version 10.0
[    57.947] (II) LoadModule: "evdev"
[    57.947] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    57.954] (II) Module evdev: vendor="X.Org Foundation"
[    57.954] compiled for 1.10.2, module version = 2.6.0
[    57.954] Module class: X.Org XInput Driver
[    57.954] ABI class: X.Org XInput driver, version 12.3
[    57.954] (II) pvr: Driver for PowerVR chipsets: PowerVR SGX
[    57.954] (--) using VT number 7




[    57.993] (WW) Falling back to old probe method for pvr
[    57.994] drmOpenDevice: node name is /dev/dri/card0
[    58.005] drmOpenDevice: open result is 6, (OK)
[    58.005] drmOpenByBusid: Searching for BusID platform:omapdrm:00
[    58.005] drmOpenDevice: node name is /dev/dri/card0
[    58.013] drmOpenDevice: open result is 6, (OK)
[    58.013] drmOpenByBusid: drmOpenMinor returns 6
[    58.013] drmOpenByBusid: drmGetBusid reports platform:omapdrm:00
[    58.013] (EE) Couldn't get PVR Services status
[    58.013] (EE) No devices detected.
[    58.014]
Fatal server error:
[    58.014] no screens found
[    58.014]
Please consult the The X.Org Foundation support
at http://wiki.x.org
 for help.
[    58.014] Please also check the log file at "/var/log/Xorg.0.log"
for additional information.
[    58.014]
[    58.113]  ddxSigGiveUp: Closing log

How can I make it work?

Thank you
Reply all
Reply to author
Forward
0 new messages