Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012

Showing 41-103 of 103 messages
Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 Boudet, Xavier 9/4/12 5:25 AM
Hi there,

A major update has been done on TI PPA. Please read the below e-mail especially for upgrade.
If you do not have installed the TI release PPA, please refer to New installation procedure.

New installation procedure:
  1- Add TI OMAP release PPA:
    $ sudo su -
    # export http_proxy=<your proxy if any>
    # export https_proxy=<your proxy if any>
    # add-apt-repository ppa:tiomap-dev/release
  2- Perform the upgrade:
    $ sudo apt-get update
    $ sudo apt-get dist-upgrade
    $ sudo apt-get install ubuntu-omap4-extras
  3- You can re-run a dist-upgrade for safety at the end, then reboot

Update procedure:
1- Perform the upgrade:
    $ sudo apt-get update
    $ sudo apt-get dist-upgrade


Post Installation Important Information:
* after the installation/update, it is advised to log as default user and to execute:
    # On Panda 4430: 
    $ /usr/bin/alsaucm -c Panda set _verb HiFi 
    # On PandaES 4460: 
    $ /usr/bin/alsaucm -c PandaES set _verb HiFi

* You need to force installation of new bootloaders through command:
    $ sudo /usr/sbin/flash-kernel --update-bootloader

* It is advised to use Ubuntu 2D instead of Ubuntu (3D) default UI. Nevertheless, main compiz issues have been fixed.

* In some cases, you might need to re-install dkms packages: after reboot,  check if omapdrm_pvr module is loaded, if not execute following command before to reboot:
    $ sudo apt-get install --reinstall pvr-omap4-dkms

New/Fixed in August 2012 release:
 * Kernel bug fixes:
- SmartReflex Class 1.5 enabled with stability patches
- IVAHD Power management (turning off IVAHD in between frames)
- Temperature sensor fix
- Add ARM HW ERRATA 743622, 751472 and 742230, PL310: 769419, OMAP: i659, i608, i705.
- upstream patches + bug fixes:  suspend and wake-up fixes, reduced/fixed timer interrupt occurrences (twd)
 * H264 and MPEG4 video encoder. No camera support yet but Support for combo use-cases such as: v4l2 usb camera -> preview -> encode -> decode -> display.
   Below is an example of VTC (videoconference) e.g. V4L2 USB webcam + preview + encode + decode + display, using V4L2, DRI2 and PVR.
     gst-launch -v v4l2src ! stridetransform ! queue ! tee name=t \
     t. ! queue ! dri2videosink sync=false \
     t. ! queue ! ducatih264enc rate-preset=low-delay profile=100 ! h264parse ! ducatih264dec ! queue ! pvrvideosink sync=false
 * Decoder issues Fixes.
 * Xrandr Rotation Fixes.

Known Issues:
* BT is not supported
* Black screen issue on some HW - workaround: boot with screen un-plugged, plug it after 1 minute. Issue under investigation.

Support:
updates for bug fixes in the PPA, so make sure to keep your system up-to-date!


Reference/Reminder:

The 'top-level' ubuntu-omap-extras will install the following packages:
 - ubuntu-omap-extras-multimedia: another meta package that installs all the requires packages for MM use case:
   * GST, a modified version still compatible with all Ubuntu apps such as totem
   * gst-ducati and libDCE the main components that bring MM h/w acceleration into the system
 - ubuntu-omap-extras-graphics: meta package that pulls in all GFX components including new X11 driver (binary blob) and SGX kernel module (source using DKMS to build)
 - ubuntu-omap-extras-config: some config scripts to set some permission issues, and to ensure that the Ducati firmware is loaded at boot time by upstart.

This release comes with the following major changes:
 - DCE interface for the h/w accelerated codecs - already there in 11.10
 - migration to rpmsg driver (aka syslink3, see http://lwn.net/Articles/448562/ and http://omappedia.org/wiki/Category:RPMsg)
 - DRI2 extension for Video support (http://www.phoronix.com/scan.php?page=news_item&px=OTgxOQ)
 - migration to a new open source X11 driver for OMAP (http://cgit.freedesktop.org/xorg/driver/xf86-video-omap/ )
 - a new GST video-sink: dri2videosink to display video through the SGX (instead of v4l2sink). For more information, see https://wiki.linaro.org/OfficeofCTO/MemoryManagement?action=AttachFile&do=view&target=linux-video.pdf
 - Linux 3.4 kernel, Ubuntu kernel will be replaced. This kernel is largely based of Linaro kernel, and sources are available here: http://dev.omapzoom.org/?p=integration/kernel-ubuntu.git. Linux-image-<version> package version correspond to a tag ti-ubuntu-<kernel version>  in this tree.
 - ...

Regards, 

Xavier Boudet

Re: Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 fang bao 9/5/12 2:45 AM
Hi Boudet,

I encountered some issues after updating to TI OMAP Release PPA Update September 2012.

1. HW MM h/w acceleration doesn't work.

When running the totem to play a H264 1080p stream, there is an error:

libdce.c: 437: init info: attempting to open X11 connection
libdce.c: 515: init error: could not get plugin ioctl base: -22

I have filed a bug here: https://bugs.launchpad.net/ubuntu-omap4-extras-multimedia/+bug/1046226

2. System hangs on booting.

The system often hangs on booting with black window.  After several reboot, it might be OK. But it will hang next time.
I didn't know where to file this bug.

Regards,

Fang Bao
Re: [pandaboard] Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 JimD 9/4/12 2:28 PM
On 04/09/12 13:25, Boudet, Xavier wrote:
A major update has been done on TI PPA. Please read the below e-mail especially for upgrade.
If you do not have installed the TI release PPA, please refer to New installation procedure.

All very except that it now seems to have totally broken all my accelerated video (yes, I've rebooted).

For example, if I try to use totem to play video using the hardware acceleration I now get an error “general stream error” and a simple gst-launch -v ducatih264enc gives me

Setting pipeline to PAUSED ...

libdce.c:437:   init    info: attempting to open X11 connection
libdce.c:515:   init    error: could not get plugin ioctl base: -22
Setting pipeline to NULL ...
Freeing pipeline ...

Any ideas? Looks like the libdce hardware acceleration has somehow vanished.

One clue: it looks like the ducati is at the wrong version or something. If it do an apt-get install tiomap4-syslink-mm-ducati-firmware then I get:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  ti-firmware-ipu-dce ubuntu-omap4-extras ubuntu-omap4-extras-multimedia

The following NEW packages will be installed:
  tiomap4-syslink-mm-ducati-firmware
0 upgraded, 1 newly installed, 3 to remove and 0 not upgraded.
Need to get 0 B/5,444 kB of archives.
After this operation, 13.1 MB of additional disk space will be used.
Do you want to continue [Y/n]?
What's happening here?

Thanks in advance,

Jim.
Re: [pandaboard] Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 fang bao 9/5/12 11:41 PM
Yeah, this issue is same as my story.
Further more, I encountered frequent hang in Ubuntu boot step.
Re: [pandaboard] Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 Xavier Boudet 9/6/12 12:33 AM
Hello, 

Sorry for the late answer.

First of all, tiomap4-syslink-mm-ducati-firmware has been replaced by ti-firmware-ipu-mm.

Fang Bao: can you check if the omapdrm_pvr module is present after boot? If not, please force re-install with command: sudo apt-get install --reinstall pvr-omap4-dkms.

Jim: not sure why you are using ducatih264enc... Can you just try:
DISPLAY=:0 gst-launch-0.10 playbin2 uri=file://<your file> video-sink="dri2videosink"

If you are still facing issue, please boot, reproduce the issue you are facing then execute as root or with sudo: omap-collect-info
Then send me the output file.

Regards, 

Xavier Boudet 
Re: [pandaboard] Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 Xavier Boudet 9/6/12 2:17 AM
I just checked https://bugs.launchpad.net/ubuntu-omap4-extras-multimedia/+bug/1046226

You have executed:
md5sum /lib/firmware/ducati-m3-core0.xem
Please execute:
md5sum /lib/firmware/ducati-m3-core0.xem3

You shall get something like that:
7a15454a89945bf0ac48ecee92a7a42d  /lib/firmware/ducati-m3-core0.xem3

If not the case please reinstall ti-firmware-ipu-dce.
Re: [pandaboard] Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 fang bao 9/6/12 2:38 AM
Hi Boudet,

I have checked the omapdrm_pvr module, it was loaded by kernel.
Re: [pandaboard] Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 fang bao 9/6/12 2:39 AM
I have confirmed. The md5 is correct.

# md5sum /lib/firmware/ducati*

7a15454a89945bf0ac48ecee92a7a42d /lib/firmware/ducati-m3-core0.xem3

Re: [pandaboard] Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 Xavier Boudet 9/6/12 2:51 AM
Having a look to the dmesg output from https://bugs.launchpad.net/ubuntu-omap4-extras-multimedia/+bug/1046226
The problem is clearly here:
[   11.473022] cma: dma_alloc_from_contiguous(cma ed10bdc0, count 25088, align 8)
[   11.479644] alloc_contig_range test_pages_isolated(99700, 9f900) failed
[   11.482086] cma: dma_alloc_from_contiguous(): memory range at c0e59000 is busy, retrying
[   11.485717] alloc_contig_range test_pages_isolated(99800, 9fa00) failed
[   11.487792] cma: dma_alloc_from_contiguous(): memory range at c0e5b000 is busy, retrying
[   11.493316] alloc_contig_range test_pages_isolated(99800, 9fb00) failed
[   11.496856] cma: dma_alloc_from_contiguous(): memory range at c0e5d000 is busy, retrying
[   11.511535] alloc_contig_range test_pages_isolated(99800, 9fc00) failed
[   11.514160] cma: dma_alloc_from_contiguous(): memory range at c0e5f000 is busy, retrying
[   11.515563] Unable to handle kernel NULL pointer dereference at virtual address 000000ec
I would be surprised it comes from the bootargs, but indeed you might try.
I answered you the following into the bug:

You need in fact to edit as root the file /boot/boot.script
update the bootargs line as follow:
setenv bootargs ro elevator=noop mem=1G@0x80000000 root=UUID=4dd037b6-24e8-4602-9caa-f13574fb6709 fixrtc quiet splash

You will then need to execute: sudo flash-kernel
Finally reboot

Xavier Boudet
Re: [pandaboard] Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 fang bao 9/6/12 3:12 AM
Thanks Boudet. Following your instructions, the new kernel command line has been flashed into boot image.
After reboot, I find the correct kernel command in dmesg log.

But when I run totem to play H264 stream, there is a new error:

$ totem XXXXXXX.MP4
libdce.c:437:    init    info: attempting to open X11 connection
** Message: Error: Could not decode stream.
gstducatividdec.c(1081): gst_ducati_viddec_chain (): /GstPlayBin2:play/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstDucatiH264Dec:ducatih264dec0:
process returned error: -1 08008000

When I tried again, there is no error printed. But totem can't play stream also.

So the HW MM codec doesn't work.
Re: [pandaboard] Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 Xavier Boudet 9/6/12 3:58 AM
Do you still have the same messages in dmesg?
[   11.473022] cma: dma_alloc_from_contiguous(cma ed10bdc0, count 25088, align 8)
[   11.479644] alloc_contig_range test_pages_isolated(99700, 9f900) failed
[   11.482086] cma: dma_alloc_from_contiguous(): memory range at c0e59000 is busy, retrying
[   11.485717] alloc_contig_range test_pages_isolated(99800, 9fa00) failed
...
Re: [pandaboard] Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 fang bao 9/6/12 4:21 AM
No, there is no related failed mssage in dmesg. All related messages are listed below:

[   10.428894] cma: dma_alloc_from_contiguous(cma ed10bdc0, count 3, align 2)
[   10.433563] cma: dma_alloc_from_contiguous(): returned c0e4b000
[   10.433654] cma: dma_alloc_from_contiguous(cma ed10bdc0, count 3, align 2)
[   10.435455] cma: dma_alloc_from_contiguous(): returned c0e4b080
[   10.435577] rproc remoteproc1: powering up ipu_c0
[   10.489440] rproc remoteproc1: Booting fw image ducati-m3-core0.xem3, size 3595847
[   10.489562] omap-iommu omap-iommu.1: ipu: version 2.1
[   10.489593] cma: dma_alloc_from_contiguous(cma ed10bdc0, count 1536, align 8)
[   10.492095] cma: dma_alloc_from_contiguous(): returned c0e4d000
[   10.508117] cma: dma_alloc_from_contiguous(cma ed10bdc0, count 25088, align 8)
[   10.528198] cma: dma_alloc_from_contiguous(): returned c0e59000
[   10.726684] cma: dma_alloc_from_contiguous(cma ed10bdc0, count 256, align 8)
[   10.728057] cma: dma_alloc_from_contiguous(): returned c0f1d000
[   10.760162] rproc remoteproc1: remote processor ipu_c0 is now up
[   10.760742] cma: dma_alloc_from_contiguous(cma ed10bdc0, count 64, align 6)
[   10.762817] cma: dma_alloc_from_contiguous(): returned c0e4b800
[   10.765258] virtio_rpmsg_bus virtio0: rpmsg host is online
[   10.765289] rproc remoteproc1: registered virtio0 (type 7)
[   10.843231] usb 1-1.3: link qh8-0e01/eb705940 start 5 [1/2 us]
[   11.243743] omap-rproc omap-rproc.1: received echo reply from ipu_c0
Re: [pandaboard] Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 Xavier Boudet 9/6/12 6:37 AM
Ok, then everything shall be OK now...
Can you try different videos?
All videos are failing or only few?
Re: [pandaboard] Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 JimD 9/6/12 6:45 AM
Just a very simple update.

Yes, I too see the black screen on boot up. It's not actually a hang but some sort of failure to start the X server properly.

Oddly, the workaround is to switch to the control using Control-Alt-F1 and then back to X with Control-Alt-F7.

I have no explanation for what this problem is or why the workaround works but it seems to.

I didn't mention it in my original e-mail to avoid complicating the discussion.

In related news I logged into my pandaboard remotely (I'm not at the same location right now), modified the /boot/boot.script and it now seems to work a little better. I'll report in later when I can log onto the screen and try the other tests.

Regards,

Jim.

p.s. Thanks to everyone for the help in diagnosing this problem.
Re: [pandaboard] Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 Xavier Boudet 9/6/12 7:19 AM
Thanks Jim,
If you are still seeing issue, do not hesitate to collect data though : sudo omap-collect-info
Re: [pandaboard] Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 JimD 9/6/12 12:03 PM
Bingo! After the modifications to /boot/boot.script it now works perfectly. Many thanks for your prompt help in fixing this.

Can I just ask what on earth all the mem= runes were? It looks like it was trying to place RAM all over the machines address space. The latest version looks like it puts all the RAM in one place half way up the physical address space. This seems a little curious, is there any specific reason for it?

For that reason why was it split before and what happened to the vram parameter (or whatever it was called)? I'[m very interested in the PandaBoard's architecture.

Also, not that I'm being ungrateful, but we still have the minor irritation of the black login screen.

Finally I was looking at the options for ducatih264enc. It would appear that it can handle constant bit rate and various levels of the standard but there doesn't seem to be an option to allow variable bit rate with a fixed quality. Am I missing something here?

Once again, many thanks for your help.

Jim.


On 06/09/12 15:19, Boudet, Xavier wrote:
Thanks Jim,
If you are still seeing issue, do not hesitate to�collect�data though : sudo omap-collect-info


On Thu, Sep 6, 2012 at 3:46 PM, Jim Darby <ubersc...@gmail.com> wrote:
Just a very simple update.

Yes, I too see the black screen on boot up. It's not actually a hang but some sort of failure to start the X server properly.

Oddly, the workaround is to switch to the control using Control-Alt-F1 and then back to X with Control-Alt-F7.

I have no explanation for what this problem is or why the workaround works but it seems to.

I didn't mention it in my original e-mail to avoid complicating the discussion.

In related news I logged into my pandaboard remotely (I'm not at the same location right now), modified the /boot/boot.script and it now seems to work a little better. I'll report in later when I can log onto the screen and try the other tests.

Regards,

Jim.

p.s. Thanks to everyone for the help in diagnosing this problem.


On 06/09/12 07:41, fang bao wrote:
Yeah, this issue is same as my story.
Further more, I encountered frequent hang in Ubuntu boot step.

On Wednesday, September 5, 2012 5:28:57 AM UTC+8, JimD wrote:
On 04/09/12 13:25, Boudet, Xavier wrote:
A major update has been done on TI PPA. Please read the below e-mail especially for upgrade.
If you do not have installed the TI release PPA, please refer to New installation procedure.

All very except that it now seems to have totally broken all my accelerated video (yes, I've rebooted).

For example, if I try to use totem to play video using the hardware acceleration I now get an error �general stream error� and a simple gst-launch -v ducatih264enc gives me

Setting pipeline to PAUSED ...
libdce.c:437:�� init��� info: attempting to open X11 connection
libdce.c:515:�� init��� error: could not get plugin ioctl base: -22

Setting pipeline to NULL ...
Freeing pipeline ...

Any ideas? Looks like the libdce hardware acceleration has somehow vanished.

One clue: it looks like the ducati is at the wrong version or something. If it do an apt-get install tiomap4-syslink-mm-ducati-firmware then I get:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
� ti-firmware-ipu-dce ubuntu-omap4-extras ubuntu-omap4-extras-multimedia

The following NEW packages will be installed:
� tiomap4-syslink-mm-ducati-firmware

0 upgraded, 1 newly installed, 3 to remove and 0 not upgraded.
Need to get 0 B/5,444 kB of archives.
After this operation, 13.1 MB of additional disk space will be used.
Do you want to continue [Y/n]?
What's happening here?

Thanks in advance,

Jim.



Re: [pandaboard] Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 fang bao 9/7/12 2:42 AM
I tried H264, MPEG2 and MPEG4 streams. The results are same.
All streams could not be played by totem.
Re: [pandaboard] Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 fang bao 9/7/12 2:43 AM
Hi Jim,

Does the HW codec work on your pandaboard now?

Fang Bao
Re: [pandaboard] Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 JimD 9/7/12 3:23 AM
On 07/09/12 10:43, fang bao wrote:
Does the HW codec work on your pandaboard now?

Yes it does. For reference the command line I used to encode from a MPEG-2 stream to H.264 was:
gst-launch-0.10 filesrc location=in.m2v ! mpeg2dec ! videorate ! ffmpegcolorspace ! ducatih264enc level=51 bitrate=1000 ! h264parse ! matroskamux ! filesink location=out.mkv
I'm not sure how many of the filters are needed, especially videorate and ffmpegcolorspace.

Hope this helps,

By the way, you need to run this in a console under X for it to work properly. Otherwise it can't get hold of the DRI infrastructure that controls the DSP for encoding.

Jim.
Re: [pandaboard] Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 ndec 9/7/12 5:28 AM
On Thu, Sep 6, 2012 at 9:03 PM, Jim Darby <ubersc...@gmail.com> wrote:
> Bingo! After the modifications to /boot/boot.script it now works perfectly.
> Many thanks for your prompt help in fixing this.

cool!

>
> Can I just ask what on earth all the mem= runes were? It looks like it was
> trying to place RAM all over the machines address space. The latest version
> looks like it puts all the RAM in one place half way up the physical address
> space. This seems a little curious, is there any specific reason for it?

well, since we migrated to 12.04 we have changed how the memory
allocation is done for h/w accelerator (IVAHD/Ducati). It used to be
that we were making explicit 'memory holes' in the linux memory map by
using specific 'mem=' command in the bootargs. Generally we would
reserve (carevout)  ~50Mb, right before the 512Mb (so pretty much in
the middle of the 1G).

that's why you needed to have the exact same bootargs that we
expected. this address was hard coded in the kernel, and ducati
firmware.

with the migration to the new syslink, called rpmsg, we have changed
the way the memory is allocated, and we know rely on the (now merged
in mainline) CMA feature. I think your problems were because CMA
wasn't able to allocate the memory because you had created these
artifical holes in the memory map.

>
> For that reason why was it split before and what happened to the vram
> parameter (or whatever it was called)? I'[m very interested in the
> PandaBoard's architecture.

the vram was a parameter used by the previous video driver, and which
is not used anymore with the new omapdrm driver.

>
> Also, not that I'm being ungrateful, but we still have the minor irritation
> of the black login screen.
>
> Finally I was looking at the options for ducatih264enc. It would appear that
> it can handle constant bit rate and various levels of the standard but there
> doesn't seem to be an option to allow variable bit rate with a fixed
> quality. Am I missing something here?

i would have to check that, as i don't know. perhaps rob or Olivier would know.
Re: [pandaboard] Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 JimD 9/7/12 7:57 AM
I've also noticed another curious issue with the new kernel.

I've put the console=ttyO2,115200n8 at the end of my setenv in my /boot/boot.script and most of the kernel output appears on the serial port. At least for a short period after boot.

However, after a while many of the lines fail to appear. Note that there are no half lines: the line is either entirely there or not there at all. Mostly the latter.

Any idea what's going on here?

I'm not complaining, I just want to be able to help us produce a better kernel.

Regards,

Jim.

p.s. The new kernel does seem a lot more stable. The reason that I added the setenv option was to capture debugging when the kernel panicked. So now it's not panicking nearly as much but when it does (once) I can't capture the debug output. By the way, what provoked the only panic was running totem on a 720p film.

I thought the PandaBoard was supposed to be able to do 1080? Even the 720 film was running at over 100% CPU utilisation (yes, I know it's dual core). It is using the hardware acceleration though. Without it the results are terrible!

p.p.s. The initial black login screen problem is still there.
Re: [pandaboard] Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 ndec 9/7/12 8:15 AM
On Fri, Sep 7, 2012 at 4:58 PM, Jim Darby <ubersc...@gmail.com> wrote:
> p.s. The new kernel does seem a lot more stable. The reason that I added the
> setenv option was to capture debugging when the kernel panicked. So now it's
> not panicking nearly as much but when it does (once) I can't capture the
> debug output. By the way, what provoked the only panic was running totem on
> a 720p film.
>
> I thought the PandaBoard was supposed to be able to do 1080? Even the 720
> film was running at over 100% CPU utilisation (yes, I know it's dual core).
> It is using the hardware acceleration though. Without it the results are
> terrible!

a 1080p movie playback should be less than 20% CPU load if you are
using IVAHD h/w accelerator and GPU to render... if you don't get
that, there is a problem.

note that only MPEG4, H264, MPEG2 and VC1 are h/w accelerated, not VP*
Re: [pandaboard] Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 JimD 9/7/12 8:30 AM
On 07/09/12 16:15, Nicolas Dechesne wrote:
> a 1080p movie playback should be less than 20% CPU load if you are
> using IVAHD h/w accelerator and GPU to render... if you don't get
> that, there is a problem. note that only MPEG4, H264, MPEG2 and VC1
> are h/w accelerated, not VP*

OK, it was a H.264 encoded 720p film so it should have been better. I've
just checked and it seems pretty consistent. Also with a 576p input I
seem to be getting around 75% CPU. I've check and GStreamer is opening
/dev/dri/card0.

Also I think I have some sort of CPU frequency changing going on. The
BogoMIPS in /proc/cpuinfo change depending on CPU loading so that may be
affecting it. However, I don't seem to have any of the cpufreq modules
loaded....

Could you suggest some ways of diagnosing this more? Specifically, how
could I check if the hardware decoding is actually working?

Many thanks for your help,

Jim.
Re: [pandaboard] Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 ndec 9/7/12 8:56 AM
On Fri, Sep 7, 2012 at 5:31 PM, Jim Darby <ubersc...@gmail.com> wrote:
> OK, it was a H.264 encoded 720p film so it should have been better. I've
> just checked and it seems pretty consistent. Also with a 576p input I seem
> to be getting around 75% CPU. I've check and GStreamer is opening
> /dev/dri/card0.
>
> Also I think I have some sort of CPU frequency changing going on. The
> BogoMIPS in /proc/cpuinfo change depending on CPU loading so that may be
> affecting it. However, I don't seem to have any of the cpufreq modules
> loaded....

you can use "cpufreq-info", and paste the output (apt-get install
cpufrequtils). it gives me this:


$ cpufreq-info
cpufrequtils 007: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpu...@vger.kernel.org, please.
analyzing CPU 0:
  driver: omap2plus
  CPUs which run at the same hardware frequency: 0 1
  CPUs which need to have their frequency coordinated by software: 0 1
  maximum transition latency: 300 us.
  hardware limits: 350 MHz - 1.20 GHz
  available frequency steps: 350 MHz, 700 MHz, 920 MHz, 1.20 GHz
  available cpufreq governors: conservative, ondemand, userspace,
powersave, performance
  current policy: frequency should be within 350 MHz and 1.20 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 350 MHz.
  cpufreq stats: 350 MHz:99.76%, 700 MHz:0.02%, 920 MHz:0.02%, 1.20
GHz:0.20%  (879)
analyzing CPU 1:
  driver: omap2plus
  CPUs which run at the same hardware frequency: 0 1
  CPUs which need to have their frequency coordinated by software: 0 1
  maximum transition latency: 300 us.
  hardware limits: 350 MHz - 1.20 GHz
  available frequency steps: 350 MHz, 700 MHz, 920 MHz, 1.20 GHz
  available cpufreq governors: conservative, ondemand, userspace,
powersave, performance
  current policy: frequency should be within 350 MHz and 1.20 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 350 MHz.
  cpufreq stats: 350 MHz:99.76%, 700 MHz:0.02%, 920 MHz:0.02%, 1.20
GHz:0.20%  (879)

I am running something quite close to what's in the PPA, you should
get something similar.

>
> Could you suggest some ways of diagnosing this more? Specifically, how could
> I check if the hardware decoding is actually working?

the *easiest* way is to observe interupts during playback, with "itop"
if you use h/w acceleration for video, you will see MAILBOX interupts.
there is 1 interrupt for each frame decoded. so if you decode at
25fps, you will see 25 IT per second ;-)
Re: [pandaboard] Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 JimD 9/7/12 9:22 AM
Thanks for the very useful information!

My results for cpufreq-info are indeed very similar. Specifically they are (and this is when running a 576p h.264 file):
jim@jim-panda:~$ cpufreq-info
cpufrequtils 007: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpu...@vger.kernel.org, please.
analyzing CPU 0:
  driver: omap2plus
  CPUs which run at the same hardware frequency: 0 1
  CPUs which need to have their frequency coordinated by software: 0 1
  maximum transition latency: 300 us.
  hardware limits: 350 MHz - 1.20 GHz
  available frequency steps: 350 MHz, 700 MHz, 920 MHz, 1.20 GHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 350 MHz and 1.20 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 350 MHz.
  cpufreq stats: 350 MHz:95.58%, 700 MHz:2.68%, 920 MHz:0.44%, 1.20 GHz:1.30%  (850)

analyzing CPU 1:
  driver: omap2plus
  CPUs which run at the same hardware frequency: 0 1
  CPUs which need to have their frequency coordinated by software: 0 1
  maximum transition latency: 300 us.
  hardware limits: 350 MHz - 1.20 GHz
  available frequency steps: 350 MHz, 700 MHz, 920 MHz, 1.20 GHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 350 MHz and 1.20 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 350 MHz.
  cpufreq stats: 350 MHz:95.58%, 700 MHz:2.68%, 920 MHz:0.44%, 1.20 GHz:1.30%  (850)
I'm getting the 25 interrupts per second on the mailbox:
INT                NAME          RATE             MAX
 29 [          GIC  twd]   167 Ints/s     (max:   198)
 53 [      GIC  SGX ISR]   157 Ints/s     (max:   556)
 58 [GIC  mailbox-1, ma]    25 Ints/s     (max:    33)
109 [GIC  ehci_hcd:usb1]   195 Ints/s     (max:  2858)
145 [GIC  omap_dmm_irq_]   102 Ints/s     (max:   123)
and generally it's looking pretty much as it should. However, I am still getting the 75% CPU utilisation.

But! Not that the cpufreq-info result above said it was using 350MHz! Maybe that's the give away? Let's try a quick sudo cpufreq-set -g performance and see what happens! Humm... Down to 35%. Now let's try a 720p film: and I'm getting around 100%. That's curious.... Not the 20% we were expecting.

I wonder where all the time is going? Audio decode?

Now that's interesting: switching to a different film in an MKV with H.264 video and DTS audio I'm down to 20% CPU! Hurrah! But with H.264 and AAC audio in a .MP4 I get the high load.

Looks like this is worth noting.

Many thanks for your help in sorting this one,

Jim.

p.s. Now just the black login screen and the losing of debugging on the serial output to solve.....

On 07/09/12 16:55, Nicolas Dechesne wrote:
Re: Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 Sander 9/7/12 12:02 PM

Hi, this update is not working at all for me.


I'm using the Pandaboard ES as a home server: no keyboard, no display connected. Only ethernet and 1 USB port in use (WD My Passport disk). wlan0 is explicitly turned off during startup in rc.local. The OS is running from a 16 GB SD card.


Symptoms after upgrade:

  • No matter how often I reboot or power cycle, the system never comes back online (ssh: no route to host, ping: destination host unreachable, webserver doesn't respond, samba is dead, the panda's hostname can't be resolved, and I can't even connect using an explicit IP address, though my router says the panda is there (LED on router's ethernet port shows there's some activity and the MAC + IP are listed in the DHCP lease table, but that could be a cached entry).

  • It seems that after a power cycle / reboot the system can end up in different “states” of non-responsiveness, sometimes the external drive won't spin up at all, sometimes one or both of the green LEDs remain lit constantly, sometimes no LEDs are lit (not even blinking).

When restoring a backed up image (3.4.0-1485-omap4 #7-Ubuntu) to the SD card, everything works fine again. (After restoring once, I tried to upgrade again, with the same results).


Please note that I don't have a lot of time to troubleshoot / try out many things, so I'm sticking to 3.4.0-1485-omap4 #7 for now, just wanted to let you know my experience.

Re: [pandaboard] Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 Joaquin Castellanos 9/7/12 4:11 PM
Hi Xavier

I followed also the steps for installing the PPA Update, including the /boot/boot.script editing, the pvr-omap4-dkms re-installation and the flashing-kernel.
Everything works fine if I play sample videoclips in pandaboards rev.A4, but with the same SDcard and pipelines it hangs if I try in a rev.A3 pandaboard.

Perhaps that is the issue seen by fang bao

-----------
jjcgp12@jjcgp12-desktop:~$ DISPLAY=:0 gst-launch-0.10 playbin2 uri=file:///home/jjcgp12/Videos/MPEG4_VGA_AAC_HE.3gp   video-sink="dri2videosink"     --gst-debug="*video*:5"
Setting pipeline to PAUSED ...
0:00:00.651184103  2637  0x16eaa00 DEBUG          dri2videosink gstdri2videosink.c:513:gst_dri2videosink_change_state:<dri2videosink0> 1 -> 2
0:00:00.660522483  2637  0x16eaa00 DEBUG          dri2videosink gstdri2util.c:187:gst_dri2context_new:<dri2videosink0> DRI2QueryExtension: eventBase=74, errorBase=0
0:00:00.661682151  2637  0x16eaa00 DEBUG          dri2videosink gstdri2util.c:195:gst_dri2context_new:<dri2videosink0> DRI2QueryVersion: major=1, minor=4
0:00:00.662872336  2637  0x16eaa00 DEBUG          dri2videosink gstdri2util.c:207:gst_dri2context_new:<dri2videosink0> DRI2Connect: driver=omap, device=/dev/dri/card0
0:00:00.665191672  2637  0x16eaa00 DEBUG          dri2videosink gstdri2util.c:239:gst_dri2context_new:<dri2videosink0> Found 9 supported formats:
0:00:00.665588400  2637  0x16eaa00 DEBUG          dri2videosink gstdri2util.c:243:gst_dri2context_new:<dri2videosink0>   0: 3231564e ("NV12")
0:00:00.666442892  2637  0x16eaa00 DEBUG          dri2videosink gstdri2util.c:243:gst_dri2context_new:<dri2videosink0>   1: 32315659 ("YV12")
0:00:00.666809103  2637  0x16eaa00 DEBUG          dri2videosink gstdri2util.c:243:gst_dri2context_new:<dri2videosink0>   2: 30323449 ("I420")
0:00:00.667175314  2637  0x16eaa00 DEBUG          dri2videosink gstdri2util.c:243:gst_dri2context_new:<dri2videosink0>   3: 59565955 ("UYVY")
0:00:00.667602561  2637  0x16eaa00 DEBUG          dri2videosink gstdri2util.c:243:gst_dri2context_new:<dri2videosink0>   4: 32595559 ("YUY2")
0:00:00.667999289  2637  0x16eaa00 DEBUG          dri2videosink gstdri2util.c:245:gst_dri2context_new:<dri2videosink0>   5: 00000018 (device dependent)
0:00:00.668334983  2637  0x16eaa00 DEBUG          dri2videosink gstdri2util.c:245:gst_dri2context_new:<dri2videosink0>   6: 00000020 (device dependent)
0:00:00.668670676  2637  0x16eaa00 DEBUG          dri2videosink gstdri2util.c:243:gst_dri2context_new:<dri2videosink0>   7: 34325258 ("XR24")
0:00:00.668975852  2637  0x16eaa00 DEBUG          dri2videosink gstdri2util.c:243:gst_dri2context_new:<dri2videosink0>   8: 34325241 ("AR24")
0:00:00.669281028  2637  0x16eaa00 DEBUG          dri2videosink gstdri2util.c:127:gst_dri2context_calculate_pixel_aspect_ratio: calculated pixel aspect ratio: 1.000000
0:00:00.669647239  2637  0x16eaa00 DEBUG          dri2videosink gstdri2util.c:142:gst_dri2context_calculate_pixel_aspect_ratio: Decided on index 0 (1/1)
0:00:00.670043967  2637  0x16eaa00 DEBUG          dri2videosink gstdri2util.c:153:gst_dri2context_calculate_pixel_aspect_ratio: set dcontext PAR to 1/1
0:00:00.670410178  2637  0x16eaa00 DEBUG          dri2videosink gstdri2videosink.c:531:gst_dri2videosink_change_state:<dri2videosink0> set calculated PAR on object's PAR
0:00:00.670715354  2637  0x16eaa00 DEBUG          dri2videosink gstdri2videosink.c:262:gst_dri2videosink_manage_event_thread:<dri2videosink0> run xevent thread
Pipeline is PREROLLING ...
libdce.c:437:    init    info: attempting to open X11 connection
0:00:00.954376242  2637  0x1732350 DEBUG        mpeg4videoparse gstmpeg4videoparse.c:210:gst_mpeg4vparse_start:<mpeg4vparse0> start
0:00:00.996734641  2637 0xb5104400 DEBUG        mpeg4videoparse gstmpeg4videoparse.c:629:gst_mpeg4vparse_set_caps:<mpeg4vparse0> setcaps called with video/mpeg, mpegversion=(int)4, systemstream=(boolean)false, profile=(string)simple, level=(string)1, codec_data=(buffer)000001b001000001b58913000001000000012000c48d8800f514043c1463, width=(int)640, height=(int)480, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1
0:00:00.997985862  2637 0xb5104400 LOG          mpeg4videoparse gstmpeg4videoparse.c:258:gst_mpeg4vparse_process_config:<mpeg4vparse0> Width/Height: 640/480, time increment resolution: 30 fixed time increment: 0
0:00:00.998352072  2637 0xb5104400 LOG          mpeg4videoparse gstmpeg4videoparse.c:262:gst_mpeg4vparse_process_config:<mpeg4vparse0> accepting parsed config size 30
0:00:00.998931906  2637 0xb5104400 LOG          mpeg4videoparse gstmpeg4videoparse.c:381:gst_mpeg4vparse_check_valid_frame:<mpeg4vparse0> parsing new frame
0:00:00.999450705  2637 0xb5104400 LOG          mpeg4videoparse gstmpeg4videoparse.c:284:gst_mpeg4vparse_process_sc:<mpeg4vparse0> process startcode b6
0:00:00.999786399  2637 0xb5104400 LOG          mpeg4videoparse gstmpeg4videoparse.c:308:gst_mpeg4vparse_process_sc:<mpeg4vparse0> startcode is VOP
0:00:01.000091574  2637 0xb5104400 LOG          mpeg4videoparse gstmpeg4videoparse.c:431:gst_mpeg4vparse_check_valid_frame:<mpeg4vparse0> Looking for frame end
0:00:01.008331320  2637 0xb5104400 LOG          mpeg4videoparse gstmpeg4videoparse.c:385:gst_mpeg4vparse_check_valid_frame:<mpeg4vparse0> resuming frame parsing
0:00:01.008758566  2637 0xb5104400 LOG          mpeg4videoparse gstmpeg4videoparse.c:431:gst_mpeg4vparse_check_valid_frame:<mpeg4vparse0> Looking for frame end
0:00:01.009124777  2637 0xb5104400 LOG          mpeg4videoparse gstmpeg4videoparse.c:284:gst_mpeg4vparse_process_sc:<mpeg4vparse0> process startcode b6
0:00:01.009429953  2637 0xb5104400 LOG          mpeg4videoparse gstmpeg4videoparse.c:298:gst_mpeg4vparse_process_sc:<mpeg4vparse0> ending frame of size 3430, is intra 1
0:00:01.010528586  2637 0xb5104400 LOG          mpeg4videoparse gstmpeg4videoparse.c:479:gst_mpeg4vparse_update_src_caps:<mpeg4vparse0> Updating caps
0:00:01.111694357  2637  0x17327b0 DEBUG            videofilter gstvideofilter.c:119:gst_video_filter_init:<GstVideoFilter@0x177a000> gst_video_filter_init
0:00:01.139373801  2637  0x17327b0 DEBUG          dri2videosink gstdri2videosink.c:513:gst_dri2videosink_change_state:<dri2videosink0> 2 -> 3
0:00:01.687469505  2637 0xb5104400 LOG            dri2videosink gstdri2videosink.c:681:gst_dri2videosink_buffer_alloc:<dri2videosink0> a buffer of 589824 bytes was requested with caps video/x-raw-yuv, format=(fourcc)NV12, width=(int)768, height=(int)512, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1 and offset 0
0:00:01.699951194  2637 0xb5104400 DEBUG          dri2videosink gstdri2videosink.c:694:gst_dri2videosink_buffer_alloc:<dri2videosink0> setting requested caps
0:00:01.702667258  2637 0xb5104400 DEBUG          dri2videosink gstdri2videosink.c:411:gst_dri2videosink_setcaps:<dri2videosink0> sinkconnect possible caps with given caps %
0:00:01.705596946  2637 0xb5104400 DEBUG          dri2videosink gstdri2videosink.c:367:gst_dri2videosink_configure_overlay:<dri2videosink0> video width/height: 768x512, calculated display ratio: 3/2
0:00:01.709777854  2637 0xb5104400 DEBUG          dri2videosink gstdri2videosink.c:376:gst_dri2videosink_configure_overlay:<dri2videosink0> keeping video height
0:00:01.712310813  2637 0xb5104400 DEBUG          dri2videosink gstdri2videosink.c:393:gst_dri2videosink_configure_overlay:<dri2videosink0> scaling to 768x512
0:00:01.716156028  2637 0xb5104400 DEBUG          dri2videosink gstdri2videosink.c:322:gst_dri2videosink_create_window:<dri2videosink0> begin
0:00:01.718078635  2637 0xb5104400 DEBUG          dri2videosink gstdri2util.c:364:gst_dri2window_new:<dri2videosink0> creating window: 768x512
0:00:01.744934104  2637 0xb5104400 DEBUG          dri2videosink gstdri2util.c:732:get_buffer:<dri2videosink0> got 0 buffer(s)
0:00:01.748748802  2637 0xb5104400 DEBUG          dri2videosink gstdri2videosink.c:331:gst_dri2videosink_create_window:<dri2videosink0> end
0:00:01.754730247  2637 0xb5104400 LOG            dri2videosink gstdri2util.c:693:gst_dri2window_buffer_alloc:<dri2videosink0> Creating buffer pool
0:00:02.020416282  2637 0xb5104400 DEBUG          dri2videosink gstdri2util.c:732:get_buffer:<dri2videosink0> got 1 buffer(s)
0:00:02.073211692  2637 0xb5104400 LOG          mpeg4videoparse gstmpeg4videoparse.c:381:gst_mpeg4vparse_check_valid_frame:<mpeg4vparse0> parsing new frame
0:00:02.075714134  2637 0xb5104400 LOG          mpeg4videoparse gstmpeg4videoparse.c:284:gst_mpeg4vparse_process_sc:<mpeg4vparse0> process startcode b6
0:00:02.076477073  2637 0xb5104400 LOG          mpeg4videoparse gstmpeg4videoparse.c:308:gst_mpeg4vparse_process_sc:<mpeg4vparse0> startcode is VOP
0:00:02.076995872  2637 0xb5104400 LOG          mpeg4videoparse gstmpeg4videoparse.c:431:gst_mpeg4vparse_check_valid_frame:<mpeg4vparse0> Looking for frame end
0:00:02.077697776  2637 0xb5104400 LOG          mpeg4videoparse gstmpeg4videoparse.c:284:gst_mpeg4vparse_process_sc:<mpeg4vparse0> process startcode b6
0:00:02.078216575  2637 0xb5104400 LOG          mpeg4videoparse gstmpeg4videoparse.c:298:gst_mpeg4vparse_process_sc:<mpeg4vparse0> ending frame of size 164, is intra 0
0:00:02.078826926  2637 0xb5104400 LOG          mpeg4videoparse gstmpeg4videoparse.c:479:gst_mpeg4vparse_update_src_caps:<mpeg4vparse0> Updating caps
0:00:02.079864524  2637 0xb5104400 LOG            dri2videosink gstdri2videosink.c:681:gst_dri2videosink_buffer_alloc:<dri2videosink0> a buffer of 589824 bytes was requested with caps video/x-raw-yuv, format=(fourcc)NV12, width=(int)768, height=(int)512, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1 and offset 0
0:00:02.131469749  2637  0x15a64c0 DEBUG          dri2videosink gstdri2videosink.c:182:gst_dri2videosink_handle_xevents:<dri2videosink0> unhandled X event (19)




^CCaught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
0:00:55.894256614  2637  0x16eaa00 DEBUG          dri2videosink gstdri2videosink.c:513:gst_dri2videosink_change_state:<dri2videosink0> 3 -> 2
0:00:55.900939963  2637  0x16eaa00 DEBUG          dri2videosink gstdri2videosink.c:513:gst_dri2videosink_change_state:<dri2videosink0> 2 -> 1
0:00:55.918487570  2637  0x16eaa00 DEBUG          dri2videosink gstdri2util.c:732:get_buffer:<dri2videosink0> got 0 buffer(s)

---------


Best regards
Joaquin Castellanos

PS:   dmesg2.log = rev.A3   dmesg3 = rev.A4




On Friday, September 7, 2012 4:43:53 AM UTC-5, fang bao wrote:
Hi Jim,

Does the HW codec work on your pandaboard now?

Fang Bao

On Friday, September 7, 2012 3:03:41 AM UTC+8, JimD wrote:
Bingo! After the modifications to /boot/boot.script it now works perfectly. Many thanks for your prompt help in fixing this.

Can I just ask what on earth all the mem= runes were? It looks like it was trying to place RAM all over the machines address space. The latest version looks like it puts all the RAM in one place half way up the physical address space. This seems a little curious, is there any specific reason for it?

For that reason why was it split before and what happened to the vram parameter (or whatever it was called)? I'[m very interested in the PandaBoard's architecture.

Also, not that I'm being ungrateful, but we still have the minor irritation of the black login screen.

Finally I was looking at the options for ducatih264enc. It would appear that it can handle constant bit rate and various levels of the standard but there doesn't seem to be an option to allow variable bit rate with a fixed quality. Am I missing something here?

Once again, many thanks for your help.

Jim.

On 06/09/12 15:19, Boudet, Xavier wrote:
Thanks Jim,
If you are still seeing issue, do not hesitate to�collect�data though : sudo omap-collect-info


On Thu, Sep 6, 2012 at 3:46 PM, Jim Darby <ubersc...@gmail.com> wrote:
Just a very simple update.

Yes, I too see the black screen on boot up. It's not actually a hang but some sort of failure to start the X server properly.

Oddly, the workaround is to switch to the control using Control-Alt-F1 and then back to X with Control-Alt-F7.

I have no explanation for what this problem is or why the workaround works but it seems to.

I didn't mention it in my original e-mail to avoid complicating the discussion.

In related news I logged into my pandaboard remotely (I'm not at the same location right now), modified the /boot/boot.script and it now seems to work a little better. I'll report in later when I can log onto the screen and try the other tests.

Regards,

Jim.

p.s. Thanks to everyone for the help in diagnosing this problem.


On 06/09/12 07:41, fang bao wrote:
Yeah, this issue is same as my story.
Further more, I encountered frequent hang in Ubuntu boot step.

On Wednesday, September 5, 2012 5:28:57 AM UTC+8, JimD wrote:
On 04/09/12 13:25, Boudet, Xavier wrote:
A major update has been done on TI PPA. Please read the below e-mail especially for upgrade.
If you do not have installed the TI release PPA, please refer to New installation procedure.

All very except that it now seems to have totally broken all my accelerated video (yes, I've rebooted).

For example, if I try to use totem to play video using the hardware acceleration I now get an error �general stream error� and a simple gst-launch -v ducatih264enc gives me

Setting pipeline to PAUSED ...
libdce.c:437:�� init��� info: attempting to open X11 connection
libdce.c:515:�� init��� error: could not get plugin ioctl base: -22
Setting pipeline to NULL ...
Freeing pipeline ...

Any ideas? Looks like the libdce hardware acceleration has somehow vanished.

One clue: it looks like the ducati is at the wrong version or something. If it do an apt-get install tiomap4-syslink-mm-ducati-firmware then I get:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
� ti-firmware-ipu-dce ubuntu-omap4-extras ubuntu-omap4-extras-multimedia

The following NEW packages will be installed:
� tiomap4-syslink-mm-ducati-firmware
0 upgraded, 1 newly installed, 3 to remove and 0 not upgraded.
Need to get 0 B/5,444 kB of archives.
After this operation, 13.1 MB of additional disk space will be used.
Do you want to continue [Y/n]?
What's happening here?

Thanks in advance,

Jim.



Re: [pandaboard] Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 JimD 9/10/12 7:02 AM
On 07/09/12 17:23, Jim Darby wrote:
p.s. Now just the black login screen and the losing of debugging on the serial output to solve.....

I've a little bit more information on this one now. I get the effect when I'm connecting to a monitor using a HDMI to DVI connector plugged into the more central of the two HDMI connectors on a PandaBoard ES.

Having just checked the details apparently this is the HDMI HDMI port rather than the DVI HDMI port.

Anyway, the critical new piece of information is that when I plugged it into a genuine 1080 TV I didn't get the problem with the black login screen. What to make of this?

The next phase is that I'm going to plug the monitor in via the DI HDMI port on the PandaBoard (the one further away from the centre) and see what happens. I'll report back later.

I've still no idea about the loss of the serial debug.

Regards,

Jim.



On 07/09/12 16:55, Nicolas Dechesne wrote:
On Fri, Sep 7, 2012 at 5:31 PM, Jim Darby <ubers...@gmail.com> wrote:
OK, it was a H.264 encoded 720p film so it should have been better. I've
just checked and it seems pretty consistent. Also with a 576p input I seem
to be getting around 75% CPU. I've check and GStreamer is opening
/dev/dri/card0.

Also I think I have some sort of CPU frequency changing going on. The
BogoMIPS in /proc/cpuinfo change depending on CPU loading so that may be
affecting it. However, I don't seem to have any of the cpufreq modules
loaded....
you can use "cpufreq-info", and paste the output (apt-get install
cpufrequtils). it gives me this:


$ cpufreq-info
cpufrequtils 007: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpu...@vger.kernel.org, please.
analyzing CPU 0:
  driver: omap2plus
  CPUs which run at the same hardware frequency: 0 1
  CPUs which need to have their frequency coordinated by software: 0 1
  maximum transition latency: 300 us.
  hardware limits: 350 MHz - 1.20 GHz
  available frequency steps: 350 MHz, 700 MHz, 920 MHz, 1.20 GHz
  available cpufreq governors: conservative, ondemand, userspace,
powersave, performance
  current policy: frequency should be within 350 MHz and 1.20 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 350 MHz.
  cpufreq stats: 350 MHz:99.76%, 700 MHz:0.02%, 920 MHz:0.02%, 1.20
GHz:0.20%  (879)
analyzing CPU 1:
  driver: omap2plus
  CPUs which run at the same hardware frequency: 0 1
  CPUs which need to have their frequency coordinated by software: 0 1
  maximum transition latency: 300 us.
  hardware limits: 350 MHz - 1.20 GHz
  available frequency steps: 350 MHz, 700 MHz, 920 MHz, 1.20 GHz
  available cpufreq governors: conservative, ondemand, userspace,
powersave, performance
  current policy: frequency should be within 350 MHz and 1.20 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 350 MHz.
  cpufreq stats: 350 MHz:99.76%, 700 MHz:0.02%, 920 MHz:0.02%, 1.20
GHz:0.20%  (879)

I am running something quite close to what's in the PPA, you should
get something similar.

Could you suggest some ways of diagnosing this more? Specifically, how could
I check if the hardware decoding is actually working?
the *easiest* way is to observe interupts during playback, with "itop"
if you use h/w acceleration for video, you will see MAILBOX interupts.
there is 1 interrupt for each frame decoded. so if you decode at
25fps, you will see 25 IT per second ;-)


Re: [pandaboard] Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 Boudet, Xavier 9/13/12 12:16 AM
Sorry for the late reply.

New kernel, HW acceleration and video decode should work fine.
Let's try to check your env.

Potential issues I can see is about TI HW acceleration packages provided by Ubuntu main ppa.
I imagine then some potential mess regarding packages versions.

The best is too check the following command output, it must match, if not let me know:
# dpkg -l | grep -e xserver-xorg-core -e xserver-xorg-video-omap -e pvr -e omap4-extras -e linux-image -e gstreamer
ii  bluez-gstreamer                        4.98-2ubuntu7                           Bluetooth GStreamer support
ii  gir1.2-gstreamer-0.10                  0.10.36-1ubuntu1+ti1.6.3.2+1            Description: GObject introspection data for the GStreamer library
ii  gstreamer-tools                        0.10.36-1ubuntu1+ti1.6.3.2+1            Tools for use with GStreamer
ii  gstreamer0.10-alsa                     0.10.36-1+ti1.6.4.1+1                   GStreamer plugin for ALSA
ii  gstreamer0.10-faac                     0.10.23-1+ti1.6.5.3+1                   FAAC plugin for GStreamer
ii  gstreamer0.10-ffmpeg                   0.10.13-1+ti1.6.2.1+1                   FFmpeg plugin for GStreamer
ii  gstreamer0.10-gconf                    0.10.31-1ubuntu1+ti1.6.4.1+1            GStreamer plugin for getting the sink/source information from GConf
ii  gstreamer0.10-gnomevfs                 0.10.36-1+ti1.6.4.1+1                   GStreamer plugin for GnomeVFS
ii  gstreamer0.10-nice                     0.1.1-2ubuntu1                          ICE library (GStreamer plugin)
ii  gstreamer0.10-plugin-ducati            1.6.5.1-1                               gst-plugin-ducati is a Gstreamer plugin
ii  gstreamer0.10-plugins-bad              0.10.23-1+ti1.6.5.3+1                   GStreamer plugins from the "bad" set
ii  gstreamer0.10-plugins-base             0.10.36-1+ti1.6.4.1+1                   GStreamer plugins from the "base" set
ii  gstreamer0.10-plugins-base-apps        0.10.36-1+ti1.6.4.1+1                   GStreamer helper programs from the "base" set
ii  gstreamer0.10-plugins-good             0.10.31-1ubuntu1+ti1.6.4.1+1            GStreamer plugins from the "good" set
ii  gstreamer0.10-plugins-ugly             0.10.18.3-1ubuntu1+ti1.6.2.1+1          GStreamer plugins from the "ugly" set
ii  gstreamer0.10-pulseaudio               0.10.31-1ubuntu1+ti1.6.4.1+1            GStreamer plugin for PulseAudio
ii  gstreamer0.10-sdl                      0.10.23-1+ti1.6.5.3+1                   GStreamer plugin for SDL output
ii  gstreamer0.10-tools                    0.10.36-1ubuntu1+ti1.6.3.2+1            Tools for use with GStreamer
ii  gstreamer0.10-x                        0.10.36-1+ti1.6.4.1+1                   GStreamer plugins for X11 and Pango
ii  libgstreamer-plugins-bad0.10-0         0.10.23-1+ti1.6.5.3+1                   GStreamer development files for libraries from the "bad" set
ii  libgstreamer-plugins-base0.10-0        0.10.36-1+ti1.6.4.1+1                   GStreamer libraries from the "base" set
ii  libgstreamer0.10-0                     0.10.36-1ubuntu1+ti1.6.3.2+1            Core GStreamer libraries and elements
ii  linux-image-3.2.0-1417-omap4           3.2.0-1417.23                           Linux kernel image for version 3.2.0 on TI OMAP4-based systems
ii  linux-image-3.4.0-1486-omap4           3.4.0-1486.9                            Linux kernel image for version 3.4.0 on TI OMAP4-based systems
ii  linux-image-ti-omap4                   3.4.0.1486                              Linux kernel image for the OMAP4 architecture.
ii  pvr-omap4                              1.9.0.5.1.2-1                           PowerVR SGX540 libraries for OMAP4, remaining libs and binaries
ii  pvr-omap4-data                         1.9.0.5.1.2-1                           PowerVR SGX540 libraries for OMAP4, data files
ii  pvr-omap4-dkms                         1.9.0.5.1.1-2                           PowerVR SGX540 kernel driver for OMAP4 in DKMS format.
ii  pvr-omap4-utils                        1.9.0.5.1.2-1                           PowerVR SGX540 utils for OMAP4
ii  pvr-omap4-xf86                         1.9.0.5.1.2-1                           X.org graphics -- TI OMAP pvr display driver
ii  ubuntu-omap4-extras                    2.1                                     Metapackage for all packages from the TI OMAP4 PPA
ii  ubuntu-omap4-extras-config             2.8                                     This is the TI OMAP4 configuration package
ii  ubuntu-omap4-extras-graphics           1.2.6                                   Metapackage for TI OMAP4 Graphics drivers
ii  ubuntu-omap4-extras-multimedia         2.5                                     meta-package for all TI OMAP4 Multimedia components
ii  xserver-xorg-core                      2:1.11.4-0ubuntu10.8+ti1.0              Xorg X server - core server
ii  xserver-xorg-video-omap                0.4.0-2+ti1                             X.Org X server -- OMAP display driver

Concerning kernel, I have published a new kernel into the trunk PPA:

This kernel 1487.2 is closed to what will be deliver in 2 weeks and is more stable.
It was rebased on upstream stable branch - tag v3.4.10 :

You can try to download and install manually the 3 packages (in same command), e.g.: dpkg -i *3.4.0-1487.2_armhf.deb

Concerning video decode issue, I would recommend 2 things:
- try several clips format too see if this is codec related issue only
- try to clean your home folder ".gstreamer-0.10" and retry...

Let me know if it helps.

Xavier Boudet
Re: [pandaboard] Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 JimD 9/13/12 3:57 PM
Hi Xavier,

As per earlier discussions we've more or less solved the video decoder issue (just set cpufreq to use performance). It appears that some formats (especially those using AAC) really eat CPU time. I've no real idea why except perhaps that the AAC decoder is really slow!

I ran your command and the outputs match (well, I do have some extra packages installed.... Specifically these are:

ii  gstreamer0.10-qapt                     1.3.1-0ubuntu2                          GStreamer plugin to install codecs using QApt
ii  libqtgstreamer-0.10-0                  0.10.1-2ubuntu4                         C++ bindings library for GStreamer with a Qt-style API
ii  linux-image-3.2.0-1412-omap4           3.2.0-1412.16                           Linux kernel image for version 3.2.0 on TI OMAP4-based systems
ii  linux-image-3.4.0-1485-omap4           3.4.0-1485.7                            Linux kernel image for version 3.4.0 on TI OMAP4-based systems
ii  phonon-backend-gstreamer               4:4.7.0really4.6.0-0ubuntu1             Phonon GStreamer 0.10.x backend


The more stable kernel is, of course, welcome! I'll let you know if it solves both or either of the black login screen problem that me and some others have noticed under certain circumstances and also the issue with serial port logging being sporadic once the system is fully up.

Does it only log errors above a certain “level” on the serial port perhaps?

All in all I'm becoming very impressed with the way Linux on ARM is stabilising (I have a Raspberry Pi too).

Keep up the good work!

Jim.
Re: [pandaboard] Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 ndec 9/13/12 11:59 PM
On Fri, Sep 14, 2012 at 12:57 AM, Jim Darby <ubersc...@gmail.com> wrote:
> As per earlier discussions we've more or less solved the video decoder issue
> (just set cpufreq to use performance). It appears that some formats
> (especially those using AAC) really eat CPU time. I've no real idea why
> except perhaps that the AAC decoder is really slow!

yes, it could be. there are several AAC decoders that can be used in
GST, e.g. faad and ffdec_aac. can you try with both of them and report
the CPU utilization differences? there is no h/w acceleration for AAC,
so if there is a perf issue, it's a generic ARM perf issue, which is
worth investigating.

also you might want to use some performance tools like perf top to see
where the time is spent.

>
> I ran your command and the outputs match (well, I do have some extra
> packages installed.... Specifically these are:
>
> ii  gstreamer0.10-qapt                     1.3.1-0ubuntu2
> GStreamer plugin to install codecs using QApt
> ii  libqtgstreamer-0.10-0                  0.10.1-2ubuntu4
> C++ bindings library for GStreamer with a Qt-style API
> ii  linux-image-3.2.0-1412-omap4           3.2.0-1412.16
> Linux kernel image for version 3.2.0 on TI OMAP4-based systems

you can apt-get purge that one ^^, unless if you want to be able to
switch back and forth between Ubuntu release kernel, and the one from
TI PPA.
Re: [pandaboard] Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 UrQuan3 9/18/12 8:30 AM
And it works!  I was trying to figure out all weekend why the board would randomly crash after ubuntu-omap4-extras was installed.  The flashing the modified boot.script fixed it.
 
Now that I know what needed changing, the problem makes more sense.  The symptoms:  On cycling the power, about 40% of the time the board would boot, but lock within 10 minutes.  About 40% of the time it would lock during boot.  And about 20% of the time it would dump me to a command prompt with a note about X11 failing to start, then stack-dump within 10 minutes.  Clearly a timing/race condition.  Since the bootarg that fixed the problem changes what memory is reserved for graphics from the OS's point of view, the problem makes sense.  I was going to suggest putting the flash-kernel command in the original post, but looks like it's already there.
 
I haven't finised testing video, though there seems to be something odd about fullscreen scaling.  Will comment when I know more.
 
Thanks,
Brian
 

On Thursday, September 6, 2012 4:51:19 AM UTC-5, Boudet, Xavier wrote:
Having a look to the dmesg output from https://bugs.launchpad.net/ubuntu-omap4-extras-multimedia/+bug/1046226
The problem is clearly here:
[   11.473022] cma: dma_alloc_from_contiguous(cma ed10bdc0, count 25088, align 8)
[   11.479644] alloc_contig_range test_pages_isolated(99700, 9f900) failed
[   11.482086] cma: dma_alloc_from_contiguous(): memory range at c0e59000 is busy, retrying
[   11.485717] alloc_contig_range test_pages_isolated(99800, 9fa00) failed
[   11.487792] cma: dma_alloc_from_contiguous(): memory range at c0e5b000 is busy, retrying
[   11.493316] alloc_contig_range test_pages_isolated(99800, 9fb00) failed
[   11.496856] cma: dma_alloc_from_contiguous(): memory range at c0e5d000 is busy, retrying
[   11.511535] alloc_contig_range test_pages_isolated(99800, 9fc00) failed
[   11.514160] cma: dma_alloc_from_contiguous(): memory range at c0e5f000 is busy, retrying
[   11.515563] Unable to handle kernel NULL pointer dereference at virtual address 000000ec
I would be surprised it comes from the bootargs, but indeed you might try.
I answered you the following into the bug:

You need in fact to edit as root the file /boot/boot.script
update the bootargs line as follow:
setenv bootargs ro elevator=noop mem=1G@0x80000000 root=UUID=4dd037b6-24e8-4602-9caa-f13574fb6709 fixrtc quiet splash

You will then need to execute: sudo flash-kernel
Finally reboot

Xavier Boudet

On Thu, Sep 6, 2012 at 11:39 AM, fang bao <fang.ba...@gmail.com> wrote:
I have confirmed. The md5 is correct.

# md5sum /lib/firmware/ducati*

7a15454a89945bf0ac48ecee92a7a42d /lib/firmware/ducati-m3-core0.xem3

On Thursday, September 6, 2012 5:17:37 PM UTC+8, Boudet, Xavier wrote:
I just checked https://bugs.launchpad.net/ubuntu-omap4-extras-multimedia/+bug/1046226

You have executed:
md5sum /lib/firmware/ducati-m3-core0.xem
Please execute:
md5sum /lib/firmware/ducati-m3-core0.xem3

You shall get something like that:
7a15454a89945bf0ac48ecee92a7a42d  /lib/firmware/ducati-m3-core0.xem3

If not the case please reinstall ti-firmware-ipu-dce.

On Thu, Sep 6, 2012 at 9:33 AM, Boudet, Xavier <x-bo...@ti.com> wrote:
Hello, 

Sorry for the late answer.

First of all, tiomap4-syslink-mm-ducati-firmware has been replaced by ti-firmware-ipu-mm.

Fang Bao: can you check if the omapdrm_pvr module is present after boot? If not, please force re-install with command: sudo apt-get install --reinstall pvr-omap4-dkms.

Jim: not sure why you are using ducatih264enc... Can you just try:
DISPLAY=:0 gst-launch-0.10 playbin2 uri=file://<your file> video-sink="dri2videosink"

If you are still facing issue, please boot, reproduce the issue you are facing then execute as root or with sudo: omap-collect-info
Then send me the output file.

Regards, 

Xavier Boudet 



On Thu, Sep 6, 2012 at 8:41 AM, fang bao <fang.ba...@gmail.com> wrote:
Yeah, this issue is same as my story.
Further more, I encountered frequent hang in Ubuntu boot step.


On Wednesday, September 5, 2012 5:28:57 AM UTC+8, JimD wrote:
On 04/09/12 13:25, Boudet, Xavier wrote:
A major update has been done on TI PPA. Please read the below e-mail especially for upgrade.
If you do not have installed the TI release PPA, please refer to New installation procedure.

All very except that it now seems to have totally broken all my accelerated video (yes, I've rebooted).

For example, if I try to use totem to play video using the hardware acceleration I now get an error “general stream error” and a simple gst-launch -v ducatih264enc gives me

Setting pipeline to PAUSED ...
libdce.c:437:   init    info: attempting to open X11 connection
libdce.c:515:   init    error: could not get plugin ioctl base: -22

Setting pipeline to NULL ...
Freeing pipeline ...

Any ideas? Looks like the libdce hardware acceleration has somehow vanished.

One clue: it looks like the ducati is at the wrong version or something. If it do an apt-get install tiomap4-syslink-mm-ducati-firmware then I get:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  ti-firmware-ipu-dce ubuntu-omap4-extras ubuntu-omap4-extras-multimedia

The following NEW packages will be installed:
  tiomap4-syslink-mm-ducati-firmware
0 upgraded, 1 newly installed, 3 to remove and 0 not upgraded.
Need to get 0 B/5,444 kB of archives.
After this operation, 13.1 MB of additional disk space will be used.
Do you want to continue [Y/n]?
What's happening here?

Thanks in advance,

Jim.



Re: Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 Xavier Boudet 10/2/12 11:35 PM

Sorry for this late answer, but 2 points:
Today, we will have a major update on TI PPA, so some issues might be fixed on that one.
Regarding your issue: "when ever i move the mouse over the top and left bars, my screen flashes and flickers bad...if i stop moving the mouse, everything is fine, even when typing there is not problem.."
Are you using Ubuntu 2D? Indeed, compiz is not working fine with TI PPA, please logout and choose Unity2D.

On Fri, Sep 21, 2012 at 9:25 PM, <jorg...@gmail.com> wrote:
I am not a linux guru but i know how to follow instructions and read.
 
i installed and updated as you say here in my pandaboard ES.
 
I do not care about audio or playing videos, all i want is to make simple programs on python.
 
The update worked good it boots, it has the blanck screen log on error but it is ok...
 
In what i am experiencing problems is that when ever i move the mouse over the top and left bars, my screen flashes and flickers bad...if i stop moving the mouse, everything is fine, even when typing there is not problem..
 
is there some way to fix this issue?
 
thanks guys and great work.
 

On Tuesday, September 4, 2012 7:25:09 AM UTC-5, Boudet, Xavier wrote:
Hi there,

A major update has been done on TI PPA. Please read the below e-mail especially for upgrade.
If you do not have installed the TI release PPA, please refer to New installation procedure.

New installation procedure:
  1- Add TI OMAP release PPA:
    $ sudo su -
    # export http_proxy=<your proxy if any>
    # export https_proxy=<your proxy if any>
    # add-apt-repository ppa:tiomap-dev/release
  2- Perform the upgrade:
    $ sudo apt-get update
    $ sudo apt-get dist-upgrade
    $ sudo apt-get install ubuntu-omap4-extras
  3- You can re-run a dist-upgrade for safety at the end, then reboot

Update procedure:
1- Perform the upgrade:
    $ sudo apt-get update
    $ sudo apt-get dist-upgrade


Post Installation Important Information:
* after the installation/update, it is advised to log as default user and to execute:
    # On Panda 4430: 
    $ /usr/bin/alsaucm -c Panda set _verb HiFi 
    # On PandaES 4460: 
    $ /usr/bin/alsaucm -c PandaES set _verb HiFi

* You need to force installation of new bootloaders through command:
    $ sudo /usr/sbin/flash-kernel --update-bootloader

* It is advised to use Ubuntu 2D instead of Ubuntu (3D) default UI. Nevertheless, main compiz issues have been fixed.

* In some cases, you might need to re-install dkms packages: after reboot,  check if omapdrm_pvr module is loaded, if not execute following command before to reboot:
    $ sudo apt-get install --reinstall pvr-omap4-dkms

New/Fixed in August 2012 release:
 * Kernel bug fixes:
- SmartReflex Class 1.5 enabled with stability patches
- IVAHD Power management (turning off IVAHD in between frames)
- Temperature sensor fix
- Add ARM HW ERRATA 743622, 751472 and 742230, PL310: 769419, OMAP: i659, i608, i705.
- upstream patches + bug fixes:  suspend and wake-up fixes, reduced/fixed timer interrupt occurrences (twd)
 * H264 and MPEG4 video encoder. No camera support yet but Support for combo use-cases such as: v4l2 usb camera -> preview -> encode -> decode -> display.
   Below is an example of VTC (videoconference) e.g. V4L2 USB webcam + preview + encode + decode + display, using V4L2, DRI2 and PVR.
     gst-launch -v v4l2src ! stridetransform ! queue ! tee name=t \
     t. ! queue ! dri2videosink sync=false \
     t. ! queue ! ducatih264enc rate-preset=low-delay profile=100 ! h264parse ! ducatih264dec ! queue ! pvrvideosink sync=false
 * Decoder issues Fixes.
 * Xrandr Rotation Fixes.

Known Issues:
* BT is not supported
* Black screen issue on some HW - workaround: boot with screen un-plugged, plug it after 1 minute. Issue under investigation.

Support:
updates for bug fixes in the PPA, so make sure to keep your system up-to-date!


Reference/Reminder:

The 'top-level' ubuntu-omap-extras will install the following packages:
 - ubuntu-omap-extras-multimedia: another meta package that installs all the requires packages for MM use case:
   * GST, a modified version still compatible with all Ubuntu apps such as totem
   * gst-ducati and libDCE the main components that bring MM h/w acceleration into the system
 - ubuntu-omap-extras-graphics: meta package that pulls in all GFX components including new X11 driver (binary blob) and SGX kernel module (source using DKMS to build)
 - ubuntu-omap-extras-config: some config scripts to set some permission issues, and to ensure that the Ducati firmware is loaded at boot time by upstart.

This release comes with the following major changes:
 - DCE interface for the h/w accelerated codecs - already there in 11.10
 - migration to rpmsg driver (aka syslink3, see http://lwn.net/Articles/448562/ and http://omappedia.org/wiki/Category:RPMsg)
 - DRI2 extension for Video support (http://www.phoronix.com/scan.php?page=news_item&px=OTgxOQ)
 - migration to a new open source X11 driver for OMAP (http://cgit.freedesktop.org/xorg/driver/xf86-video-omap/ )
 - a new GST video-sink: dri2videosink to display video through the SGX (instead of v4l2sink). For more information, see https://wiki.linaro.org/OfficeofCTO/MemoryManagement?action=AttachFile&do=view&target=linux-video.pdf
 - Linux 3.4 kernel, Ubuntu kernel will be replaced. This kernel is largely based of Linaro kernel, and sources are available here: http://dev.omapzoom.org/?p=integration/kernel-ubuntu.git. Linux-image-<version> package version correspond to a tag ti-ubuntu-<kernel version>  in this tree.
 - ...

Regards, 

Xavier Boudet


Re: Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 pavel sadowsky 10/4/12 4:26 PM

On 10 Sep., 16:02, Jim Darby <uberscuba...@gmail.com> wrote:
> On 07/09/12 17:23, Jim Darby wrote:
>
> I've a little bit more information on this one now. I get the effect
> when I'm connecting to a monitor using a HDMI to DVI connector plugged
> into the more central of the two HDMI connectors on a PandaBoard ES.
...
> Anyway, the critical new piece of information is that when I plugged it
> into a genuine 1080 TV I /didn't/ get the problem with the black login

This is exactly the same setup and problem I've been seeing sinve
March.
I've reported the bug here:
https://bugs.launchpad.net/ubuntu/+source/linux-meta-ti-omap4/+bug/964901

Today I tried with the drivers from the PPA (Date: Oct 4th):
- Same results for the Full HD monitor: no picture, wrong frequency
- slightly different results for the 1600x1200 monitor: driver now
offers different resolutions, but the "best" offered is 1280x1024
(Ubuntu stock kernel 1400x1050)

So, what can we do in order to support the OMAP team to fix this nasty
HDMI bug?
Re: [pandaboard] Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 Thomas Genty 10/11/12 8:57 AM
Le 04/09/2012 14:25, Boudet, Xavier a écrit :
Hello,
i'm unable to have a screen after this update

here are last logs (boot process seems to be stopped) :

U-Boot SPL 2012.04.01 (Jul 19 2012 - 17:37:11)                                                                                         
OMAP4430 ES2.0                                                                                                                         
OMAP SD/MMC: 0                                                                                                                         
reading u-boot.img                                                                                                                     
reading u-boot.bin                                                                                                                     
mkimage signature not found - ih_magic = ea000014                                                                                      
reading u-boot.bin                                                                                                                     
                                                                                                                                       
                                                                                                                                       
U-Boot 2012.04.01 (Jul 19 2012 - 17:37:11)                                                                                             
                                                                                                                                       
CPU  : OMAP4430 ES2.0                                                                                                                  
Board: OMAP4 Panda                                                                                                                     
I2C:   ready                                                                                                                           
DRAM:  1 GiB                                                                                                                           
MMC:   OMAP SD/MMC: 0                                                                                                                  
Using default environment                                                                                                              
                                                                                                                                       
In:    serial                                                                                                                          
Out:   serial                                                                                                                          
Err:   serial                                                                                                                          
Net:   No ethernet found.                                                                                                              
checking for preEnv.txt                                                                                                                
reading preEnv.txt                                                                                                                     
                                                                                                                                       
** Unable to read "preEnv.txt" from mmc 0:1 **                                                                                         
Hit any key to stop autoboot:  0                                                                                                       
reading uEnv.txt                                                                                                                       
                                                                                                                                       
** Unable to read "uEnv.txt" from mmc 0:1 **                                                                                           
reading boot.scr                                                                                                                       
                                                                                                                                       
330 bytes read                                                                                                                         
Loaded script from boot.scr                                                                                                            
Running bootscript from mmc0 ...                                                                                                       
## Executing script at 82000000                                                                                                        
reading uImage                                                                                                                         
                                                                                                                                       
4402392 bytes read                                                                                                                     
reading uInitrd                                                                                                                        
                                                                                                                                       
4919473 bytes read                                                                                                                     
## Booting kernel from Legacy Image at 80000000 ...                                                                                    
   Image Name:   Ubuntu Kernel                                                                                                         
   Image Type:   ARM Linux Kernel Image (uncompressed)                                                                                 
   Data Size:    4402328 Bytes = 4.2 MiB                                                                                               
   Load Address: 80008000                                                                                                              
   Entry Point:  80008000                                                                                                              
   Verifying Checksum ... OK                                                                                                           
## Loading init Ramdisk from Legacy Image at 81600000 ...                                                                              
   Image Name:   Ubuntu Initrd                            ...
Re: [pandaboard] Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 tomlohave 10/11/12 9:06 AM
Le 11/10/2012 17:56, toml...@gmail.com a écrit :
   Verifying Checksum ... OK                                                                                           &
...
Re: [pandaboard] Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 Xavier Boudet 10/14/12 9:23 AM
Hello,

Can you clarify what do you mean:
"I'm unable to have a screen after this update"

Have you tried the workaround documented into the e-mail:
Ctrl+Alt+F1 then Ctrl+Alt+F7

Regards, Xavier Boudet
...
Re: [pandaboard] Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 Thomas Genty 10/14/12 9:26 AM
Le 14/10/2012 18:23, Xavier Boudet a écrit :
Hello,

Can you clarify what do you mean:
"I'm unable to have a screen after this update"

Have you tried the workaround documented into the e-mail:
Ctrl+Alt+F1 then Ctrl+Alt+F7
i mean , boot process stop , no active led, ... nothing.
boot process at :
Registering SWP/SWPB emulation handler

nothing more

Testing 2 times to upgrade, same problem


Tom
   Data Size:    4402328 Bytes = 4.2 MiB                                               &nb
...
Re: [pandaboard] Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 Xavier Boudet 10/15/12 12:45 AM
This is weird...
I have few more questions then:
- we have tested upgrades on TI public PPA several times successfully, I can see that you are using Panda with 4430 ES2.0. Do you have another Panda? Is it easy/possible for you to test your SD on another Panda?
- When the problem occurs, I guess the console is not responsive correct?
- I can see that you are using a 4GB SD card in the logs, can you confirm that the SD is not full and/or clean /var/cache/apt/archives that might be big after the upgrade?
- is your Panda connected to the ethernet when booting?
- One remark, you shall add "fixrtc" to the bootargs. This is not the root cause but might be better to be aligned on bootargs.
- Concerning the boot logs, I cannot see any obvious problem.
- If you redo the upgrade, can you copy the complete output logs from update/dist-upgrades commands please?

Regards, Xavier Boudet
...
Re: [pandaboard] Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 Thomas Genty 10/15/12 4:52 AM


2012/10/15 Xavier Boudet <x-bo...@ti.com>
Hello,

This is weird...
I have few more questions then:
- we have tested upgrades on TI public PPA several times successfully, I can see that you are using Panda with 4430 ES2.0. Do you have another Panda? Is it easy/possible for you to test your SD on another Panda?
no sorry,  i have just this card 
- When the problem occurs, I guess the console is not responsive correct?
nothing, no console, only logs i sent, no ethernet card, so no access via ssh 
- I can see that you are using a 4GB SD card in the logs, can you confirm that the SD is not full and/or clean /var/cache/apt/archives that might be big after the upgrade?
 i guess there is 1 gb free, will retest this afternoon
 
- is your Panda connected to the ethernet when booting?
yes, as already said, ethernet port does not work 
- One remark, you shall add "fixrtc" to the bootargs. This is not the root cause but might be better to be aligned on bootargs.
already done. i have double checked what contains boot.script
- Concerning the boot logs, I cannot see any obvious problem.
Note: i got the same problem using Openbricks' toolchain, the boot process stop nearly at the same line
Changing /testing u-boot with other versions change nothing  
- If you redo the upgrade, can you copy the complete output logs from update/dist-upgrades commands please?
no problem
i can even send you a link with binary image to download before and after the upgrade if it can help   

Regards, Xavier Boudet

Thanks for your help

Regards,

Tom 
 
   Image Name:   Ubuntu Kernel                                                                                                         
   Image Type:   ARM Linux Kernel Image (uncompressed)                                                                                 
   Data Size:    4402328 Bytes = 4.2 MiB                                                                                               
   Load Address: 80008000                                                                                                              
   Entry Point:  80008000                                                                                                              
   Verifying Checksum ... OK                                                                                                           
## Loading init Ramdisk from Legacy Image at 81600000 ...                                                                              
   Image Name:   Ubuntu Initrd                                                                                                         
   Image Type:   ARM Linux RAMDisk Image (uncompressed)                                                                                
   Data Size:    4919409 Bytes = 4.7 MiB                                                                                               
   Load Address: 00000000                                                                                                              
   Entry Point:  00000000                                                                                                              
   Verifying Checksum ... OK                                                                                                           
   Loading Kernel Image ... OK                                                                                                         
OK                                                                                                                                     
                                                                                                                                       
Starting kernel ...                                                                                                                    
                                                                                                                                       
Uncompressing Linux... done, booting the kernel.                                                                                       
[    0.000000] Booting Linux on physical CPU 0                                                                                         
[    0.000000] Initializing cgroup subsys cpuset                                                                                       
[    0.000000] Initializing cgroup subsys cpu                                                                                          
[    0.000000] Linux version 3.4.0-1487-omap4 (buildd@diphda) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #6-Ubuntu SMP PREEMPT2
[    0.000000] CPU: ARMv7 Processor [411fc092] revision 2 (ARMv7), cr=10c5387d                                                         
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache                                                
[    0.000000] Machine: OMAP4 Panda board                                                                                              
[    0.000000] cma: CMA: reserved 8 MiB at 98800000                                                                                    
[    0.000000] cma: CMA: reserved 112 MiB at 99000000                                                                                  
[    0.000000] cma: CMA: reserved 32 MiB at ad800000                                                                                   
[    0.000000] cma: CMA: reserved 16 MiB at ac000000                                                                                   
[    0.000000] Memory policy: ECC disabled, Data cache writealloc                                                                      
[    0.000000] omap2_set_globals_tap                                                                                                   
[    0.000000] OMAP4: Map 0xad600000 to 0xfe600000 for dram barrier                                                                    
[    0.000000] omap2_set_globals_tap                                                                                                   
[    0.000000] OMAP4430 ES2.0                                                                                                          
[    0.000000] PERCPU: Embedded 8 pages/cpu @c1332000 s11712 r8192 d12864 u32768                                                       
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 259584                                             
[    0.000000] Kernel command line: ro elevator=noop console=ttyO2,115200n8 mem=1G@0x80000000 root=UUID=a7cc59ad-998c-472c-a5e4-7b5dc5cc
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)                                                                    
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)                                                        
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)                                                          
[    0.000000] allocated 2097152 bytes of page_cgroup                                                                                  
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups                                              
[    0.000000] Memory: 726MB 296MB = 1022MB total                                                                                      
[    0.000000] Memory: 846768k/846768k available, 201808k reserved, 270336K highmem                                                    
[    0.000000] Virtual kernel memory layout:                                                                                           
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)                                                                       
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)                                                                       
[    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)                                                                       
[    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)                                                                       
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)                                                                       
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)                                                                       
[    0.000000]       .text : 0xc0008000 - 0xc0897dc0   (8768 kB)                                                                       
[    0.000000]       .init : 0xc0898000 - 0xc08fedc0   ( 412 kB)                                                                       
[    0.000000]       .data : 0xc0900000 - 0xc0980928   ( 515 kB)                                                                       
[    0.000000]        .bss : 0xc098094c - 0xc0b28ac4   (1697 kB)                                                                       
[    0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1                                                 
[    0.000000] Preemptible hierarchical RCU implementation.                                                                            
[    0.000000] NR_IRQS:538                                                                                                             
[    0.000000] omap_sr_disable: omap_sr struct for sr_wakeup not found                                                                 
[    0.000000] OMAP clockevent source: GPTIMER1 at 32768 Hz                                                                            
[    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms                                              
[    0.000000] Console: colour dummy device 80x30                                                                                      
[    0.000274] Calibrating delay loop... 1590.23 BogoMIPS (lpj=6213632)                                                                
[    0.070312] pid_max: default: 32768 minimum: 301                                                                                    
[    0.070617] Security Framework initialized                                                                                          
[    0.070709] AppArmor: AppArmor initialized                                                                                          
[    0.071105] Mount-cache hash table entries: 512                                                                                     
[    0.073059] Initializing cgroup subsys cpuacct                                                                                      
[    0.073120] Initializing cgroup subsys memory                                                                                       
[    0.073181] Initializing cgroup subsys devices                                                                                      
[    0.073211] Initializing cgroup subsys freezer                                                                                      
[    0.073242] Initializing cgroup subsys net_cls                                                                                      
[    0.073242] Initializing cgroup subsys blkio                                                                                        
[    0.073303] Initializing cgroup subsys perf_event                                                                                   
[    0.073547] CPU: Testing write buffer coherency: ok                                                                                 
[    0.073699] ftrace: allocating 25424 entries in 75 pages                                                                            
[    0.151123] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000                                                                        
[    0.151458] hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available                                            
[    0.151641] Setting up static identity map for 0x805bd738 - 0x805bd790                                                              
[    0.151672] L310 cache controller enabled                                                                                           
[    0.151702] l2x0: 16 ways, CACHE_ID 0x410000c4, AUX_CTRL 0x5e470000, Cache size: 1048576 B                                          
[    0.151733] omap_sar_ram_init                                                                                                       
[    0.151947] generating sar_ram layout...                                                                                            
[    0.152160] sar ram layout created                                                                                                  
[    0.230255] CPU1: Booted secondary processor                                                                                        
[    0.299896] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001                                                                        
[    0.299926] CPU1: Unknown IPI message 0x1                                                                                           
[    0.299957] Brought up 2 CPUs                                                                                                       
[    0.299987] SMP: Total of 2 processors activated (3188.82 BogoMIPS).                                                                
[    0.301025] devtmpfs: initialized                                                                                                   
[    0.306854] omap_sr_disable: omap_sr struct for sr_core not found                                                                   
[    0.306884] omap_sr_disable: omap_sr struct for sr_core not found                                                                   
[    0.306915] omap_sr_disable: omap_sr struct for sr_core not found                                                                   
[    0.306945] omap_sr_disable: omap_sr struct for sr_core not found                                                                   
[    0.306976] omap_sr_disable: omap_sr struct for sr_core not found                                                                   
[    0.307006] omap_sr_disable: omap_sr struct for sr_core not found                                                                   
[    0.307037] omap_sr_disable: omap_sr struct for sr_iva not found                                                                    
[    0.307037] omap_sr_disable: omap_sr struct for sr_core not found                                                                   
[    0.307067] omap_sr_disable: omap_sr struct for sr_core not found                                                                   
[    0.307128] omap_sr_disable: omap_sr struct for sr_iva not found                                                                    
[    0.307159] omap_sr_disable: omap_sr struct for sr_core not found                                                                   
[    0.307189] omap_sr_disable: omap_sr struct for sr_iva not found                                                                    
[    0.307250] omap_sr_disable: omap_sr struct for sr_core not found   

Re: [pandaboard] Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 Thomas Genty 10/15/12 11:31 AM
Le 15/10/2012 13:52, Thomas Genty a écrit :


2012/10/15 Xavier Boudet <x-bo...@ti.com>
Hello,
This is weird...
I have few more questions then:
- we have tested upgrades on TI public PPA several times successfully, I can see that you are using Panda with 4430 ES2.0. Do you have another Panda? Is it easy/possible for you to test your SD on another Panda?
no sorry,  i have just this card 
- When the problem occurs, I guess the console is not responsive correct?
nothing, no console, only logs i sent, no ethernet card, so no access via ssh 
- I can see that you are using a 4GB SD card in the logs, can you confirm that the SD is not full and/or clean /var/cache/apt/archives that might be big after the upgrade?
 i guess there is 1 gb free, will retest this afternoon
 
- is your Panda connected to the ethernet when booting?
yes, as already said, ethernet port does not work 
- One remark, you shall add "fixrtc" to the bootargs. This is not the root cause but might be better to be aligned on bootargs.
already done. i have double checked what contains boot.script
- Concerning the boot logs, I cannot see any obvious problem.
Note: i got the same problem using Openbricks' toolchain, the boot process stop nearly at the same line
Changing /testing u-boot with other versions change nothing  
- If you redo the upgrade, can you copy the complete output logs from update/dist-upgrades commands please?
no problem

attached logs

Cheers,

Tom
Running bootscript from mmc0 ... &nb
...
unk...@googlegroups.com 10/31/12 9:51 AM <This message has been deleted.>
Re: Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 Xavier Boudet 11/5/12 12:45 AM
Hello Jayneil,

Apparently you made a mistake in your bootargs, you said you are having:
        fatload mmc 0:1 0x80000000 uImage
        fatload mmc 0:1 0x81600000 uInitrd
        setenv bootargs ro elevator=noop console=ttyO2,115200n8 mem=1G@0x80000000
        setenv root=/dev/mmcblk0p2 fixrtc quiet splash
        bootm 0x80000000 0x81600000


The bootargs line is not correct, please remove bold line and use instead:
        fatload mmc 0:1 0x80000000 uImage
        fatload mmc 0:1 0x81600000 uInitrd
        setenv bootargs ro elevator=noop console=ttyO2,115200n8 mem=1G@0x80000000
root=/dev/mmcblk0p2 fixrtc splash
        bootm 0x80000000 0x81600000



Regards, Xavier Boudet
On 10/31/2012 05:51 PM, Jayneil wrote:
Hi,

I tried installing the ppa updates on Pandaboard ES by following your instructions. But after doing so, Ubuntu won't boot at all. I tried it 4-5 times using different SD cards but still no luck. Everything works fine though before installing the ppa upates. 

Here is my logfile:

Here are my bootargs.

I would really appreciate if someone would help me solve this problem.

Cheers,
Jayneil.


On Tuesday, September 4, 2012 7:25:09 AM UTC-5, Boudet, Xavier wrote:

Re: Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 JB 11/8/12 5:32 PM
I've done an apt-get update, apt-get upgrade, so I think I have the latest from the TI PPA.  I get the same error you were getting...

root@localhost:~# gst-launch -v v4l2src device=/dev/video0 num-buffers=200 ! "video/x-raw-yuv,width=640,height=480,framerate=30/1" ! queue ! ffmpegcolorspace ! ducatih264enc ! h264parse ! queue ! qtmux ! filesink location=sample.mp4

Setting pipeline to PAUSED ...
libdce-x11.c:64:    dce_auth_x11    info: attempting to open X11 connection
libdce.c:459:    init    error: could not get plugin ioctl base: -22
ERROR: Pipeline doesn't want to pause.

Setting pipeline to NULL ...
Freeing pipeline ...


How did you end up fixing this?

My bootargs are:

setenv bootargs quiet rw fixrtc mem=1G@0x80000000 root=/dev/mmcblk0p2 console=ttyO2,115200n8 omapdss.def_disp=dvi rootwait ip=dhcp


JB


On Wednesday, September 5, 2012 2:45:26 AM UTC-7, fang bao wrote:
Hi Boudet,

I encountered some issues after updating to TI OMAP Release PPA Update September 2012.

1. HW MM h/w acceleration doesn't work.

When running the totem to play a H264 1080p stream, there is an error:

libdce.c: 437: init info: attempting to open X11 connection
libdce.c: 515: init error: could not get plugin ioctl base: -22

I have filed a bug here: https://bugs.launchpad.net/ubuntu-omap4-extras-multimedia/+bug/1046226

2. System hangs on booting.

The system often hangs on booting with black window.  After several reboot, it might be OK. But it will hang next time.
I didn't know where to file this bug.

Regards,

Fang Bao
Re: Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 Xavier Boudet 11/9/12 12:54 AM
Hello JB,

So you are using TI PPA, correct?
Can you ensure that you perform dist-upgrade? We indeed have renamed some packages so aptitude needs that you perform dist-upgrade to replace existing package with new ones.

Can you check if pvr module is correctly installed?
After the boot perform: lsmod | grep omapdrm_prv
If this module is not loaded you might need to execute:
sudo apt-get install --reinstall pvr-omap4-dkms

Can you ensure that you are running the last kernel? Please send "uname -a" output.

Why are you using omapdss.def_disp=dvi in your bootargs?

Are you sure about your pipeline, why are you using root user? Which kind of image are you using, desktop one?
Her is an example of pipeline supposed to work:
Example of VTC (videoconference) e.g. V4L2 USB webcam + preview + H264 encode + H264 decode + display, using V4L2, DRI2 and PVR.
gst-launch -v v4l2src ! "video/x-raw-yuv, framerate=(fraction)30/1" ! stridetransform ! tee name=t \

t. ! queue ! dri2videosink sync=false \
t. ! queue ! ducatih264enc rate-preset=low-delay profile=100 ! h264parse ! ducatih264dec ! queue ! pvrvideosink sync=false


Regards, Xavier Boudet
Re: Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 JB 11/9/12 11:23 AM
Hi Xavier.  Thanks very much for the quick reply!  I'm pretty new to Pandaboard and I've been trying to get a minimal Ubuntu core image working.  All I need is for gstreamer to be able to capture from a USB webcam, H.264 encode, H.264 decode, and render to X11 without a window manager.

I followed these instructions to create an Ubuntu core image for the Pandaboard:
http://www.omappedia.com/wiki/OMAP_Ubuntu_Core

With these modifications:
A.) Before "apt-get install ubuntu-omap4-extras --yes --force-yes" I did "apt-get install u-boot-tools"
B.) After the "apt-get install ubuntu-omap4-extras --yes --force-yes" I shut down and modified boot.scr in the boot partition to:


    fatload mmc 0:1 0x80000000 uImage
    setenv bootargs quiet rw fixrtc mem=1G@0x80000000 root=/dev/mmcblk0p2 console=ttyO2,115200n8 omapdss.def_disp=dvi rootwait ip=dhcp
    bootm 0x80000000

The instructions say to use "vram=32M" but I know that is no longer valid, so I took that out.  Also, both the DVI port and HDMI port had no signal until I added omapdss.def_disp=dvi to the bootargs.  Even after doing that the HDMI port was activated, not the DVI one.  Strange...
C.) Before doing the "apt-get install xorg", I did "apt-get install --reinstall pvr-omap4-dkms" because I did not see "omapdrm_prv" from lsmod.
D.) After doing the "apt-get install xorg" I stopped with the instructions, since I don't want a window manager.  I'm trying to make an image as minimal as possible.

To answer your questions (with my Pandaboard in the state described above):
1.) So you are using TI PPA, correct?

Yes.  In /etc/apt/sources.list:
# TI release PPA
deb http://ppa.launchpad.net/tiomap-dev/release/ubuntu precise main
deb-src http://ppa.launchpad.net/tiomap-dev/release/ubuntu precise main

2.) Can you ensure that you perform dist-upgrade? We indeed have renamed some packages so aptitude needs that you perform dist-upgrade to replace existing package with new ones.

Apparently I already have the latest:
root@localhost:~# apt-get dist-upgrade

Reading package lists... Done
Building dependency tree      
Reading state information... Done
Calculating upgrade... Done

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

3.) Can you check if pvr module is correctly installed?

After the boot perform: lsmod | grep omapdrm_prv
If this module is not loaded you might need to execute:
sudo apt-get install --reinstall pvr-omap4-dkms

Even though I did "apt-get install --reinstall pvr-omap4-dkms" previously, I still don't see "omapdrm_prv" now on reboot.  I installed it again just now and rebooted - it did not show under lsmod until after I ran "startx".  Apparently I will always need to startx first.

4.) Can you ensure that you are running the last kernel? Please send "uname -a" output.

root@localhost:~# uname -a
Linux localhost.localdomain 3.4.0-1487-omap4 #6-Ubuntu SMP PREEMPT Mon Oct 1 16:54:59 UTC 2012 armv7l armv7l armv7l GNU/Linux

5.) Why are you using omapdss.def_disp=dvi in your bootargs?

I saw this on http://omappedia.org/wiki/Bootargs_for_enabling_display and added it since neither HDMI nor DVI were providing signal without it.  Maybe the situation is different because I am using a core image and not a desktop one?

6.) Are you sure about your pipeline?  Here is an example of pipeline supposed to work:

Example of VTC (videoconference) e.g. V4L2 USB webcam + preview + H264 encode + H264 decode + display, using V4L2, DRI2 and PVR.
gst-launch -v v4l2src ! "video/x-raw-yuv, framerate=(fraction)30/1" ! stridetransform ! tee name=t \
t. ! queue ! dri2videosink sync=false \
t. ! queue ! ducatih264enc rate-preset=low-delay profile=100 ! h264parse ! ducatih264dec ! queue ! pvrvideosink sync=false

So I did a reboot, startx, export DISPLAY=:0, checked lsmod again for "omapdrm_prv", and ran the pipeline you provided:

root@localhost:~# ./gst.sh
Setting pipeline to PAUSED ...
PVR:(Warning): PVRSRVOpenDCDevice: Warning - 138 returned [80, /bridged_pvr_dc_glue.c]
PVR:(Warning): PVRSRVOpenDCDevice: Warning - 138 returned [80, /bridged_pvr_dc_glue.c]

libdce-x11.c:64:        dce_auth_x11    info: attempting to open X11 connection
libdce.c:459:   init    error: could not get plugin ioctl base: -22
ERROR: Pipeline doesn't want to pause.
Setting pipeline to NULL ...
PVR:(Warning): PVRDRMSetFD: DRM fd already set [57, /pvr_bridge_u.c]
Freeing pipeline ...

7.) Why are you using root user?

The Ubuntu core image drops you right into root.

8.) Which kind of image are you using, desktop one?

This one: wget http://cdimage.ubuntu.com/ubuntu-core/releases/12.04/release/ubuntu-core-12.04.1-core-armhf.tar.gz


Many thanks!

Jared Beckwith
Re: Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 Uli Grossek 11/9/12 1:05 PM
Hi JB,


On Friday, November 9, 2012 8:23:57 PM UTC+1, JB wrote:

8.) Which kind of image are you using, desktop one?

This one: wget http://cdimage.ubuntu.com/ubuntu-core/releases/12.04/release/ubuntu-core-12.04.1-core-armhf.tar.gz

It's not working with the Ubuntu core image and the TI OMAP PPA. The ducati firmware is not started at boot time. There is something wrong with udev i think (there is an udev related error message just when the ducati firmware should be uploaded and booted).
Just try the "Ubuntu server image" http://cdimage.ubuntu.com/releases/12.04/release/ubuntu-12.04-preinstalled-server-armhf+omap4.img.gz , install the PPA and everything will be working (except the kernel panic caused by the heavy x server load, as i noted in another post). H264 decoding and encoding seems to be stable. Even the "kmssink" is working (without x server).

--
ul90

Re: Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 Xavier Boudet 11/11/12 11:40 PM
Answers inline.
Can you clarify what is/are the remaining issue(s)? The gst pipeline?

Regards, Xavier Boudet
On 11/09/2012 08:23 PM, JB wrote:
Hi Xavier.  Thanks very much for the quick reply!  I'm pretty new to Pandaboard and I've been trying to get a minimal Ubuntu core image working.  All I need is for gstreamer to be able to capture from a USB webcam, H.264 encode, H.264 decode, and render to X11 without a window manager.

I followed these instructions to create an Ubuntu core image for the Pandaboard:
http://www.omappedia.com/wiki/OMAP_Ubuntu_Core

With these modifications:
A.) Before "apt-get install ubuntu-omap4-extras --yes --force-yes" I did "apt-get install u-boot-tools"
B.) After the "apt-get install ubuntu-omap4-extras --yes --force-yes" I shut down and modified boot.scr in the boot partition to:

    fatload mmc 0:1 0x80000000 uImage
    setenv bootargs quiet rw fixrtc mem=1G@0x80000000 root=/dev/mmcblk0p2 console=ttyO2,115200n8 omapdss.def_disp=dvi rootwait ip=dhcp
    bootm 0x80000000

I am still not sure why you are using omapdss.def_disp=dvi
The instructions say to use "vram=32M" but I know that is no longer valid, so I took that out.  Also, both the DVI port and HDMI port had no signal until I added omapdss.def_disp=dvi to the bootargs.  Even after doing that the HDMI port was activated, not the DVI one.  Strange...
With the TI PPA kernel, HDMI and DVI shall be auto-detected at boot and you shall be able to use both connector.

C.) Before doing the "apt-get install xorg", I did "apt-get install --reinstall pvr-omap4-dkms" because I did not see "omapdrm_prv" from lsmod.
omapdrm_prv will be triggered only after X startup in fact.

D.) After doing the "apt-get install xorg" I stopped with the instructions, since I don't want a window manager.  I'm trying to make an image as minimal as possible.

To answer your questions (with my Pandaboard in the state described above):
1.) So you are using TI PPA, correct?

Yes.  In /etc/apt/sources.list:
# TI release PPA
deb http://ppa.launchpad.net/tiomap-dev/release/ubuntu precise main
deb-src http://ppa.launchpad.net/tiomap-dev/release/ubuntu precise main

2.) Can you ensure that you perform dist-upgrade? We indeed have renamed some packages so aptitude needs that you perform dist-upgrade to replace existing package with new ones.

Apparently I already have the latest:
root@localhost:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

3.) Can you check if pvr module is correctly installed?
After the boot perform: lsmod | grep omapdrm_prv
If this module is not loaded you might need to execute:
sudo apt-get install --reinstall pvr-omap4-dkms

Even though I did "apt-get install --reinstall pvr-omap4-dkms" previously, I still don't see "omapdrm_prv" now on reboot.  I installed it again just now and rebooted - it did not show under lsmod until after I ran "startx".  Apparently I will always need to startx first.
Yes, omapdrm_prv is automatically loaded only after you startx, this is expected.


4.) Can you ensure that you are running the last kernel? Please send "uname -a" output.

root@localhost:~# uname -a
Linux localhost.localdomain 3.4.0-1487-omap4 #6-Ubuntu SMP PREEMPT Mon Oct 1 16:54:59 UTC 2012 armv7l armv7l armv7l GNU/Linux
OK.


5.) Why are you using omapdss.def_disp=dvi in your bootargs?

I saw this on http://omappedia.org/wiki/Bootargs_for_enabling_display and added it since neither HDMI nor DVI were providing signal without it.  Maybe the situation is different because I am using a core image and not a desktop one?
When booting Ubuntu Core, you shall see a console on HDMI or DVI after the boot. You shall not specify omapdss_def and you shall add splash to the bootargs.


6.) Are you sure about your pipeline?  Here is an example of pipeline supposed to work:
Example of VTC (videoconference) e.g. V4L2 USB webcam + preview + H264 encode + H264 decode + display, using V4L2, DRI2 and PVR.
gst-launch -v v4l2src ! "video/x-raw-yuv, framerate=(fraction)30/1" ! stridetransform ! tee name=t \
t. ! queue ! dri2videosink sync=false \
t. ! queue ! ducatih264enc rate-preset=low-delay profile=100 ! h264parse ! ducatih264dec ! queue ! pvrvideosink sync=false

So I did a reboot, startx, export DISPLAY=:0, checked lsmod again for "omapdrm_prv", and ran the pipeline you provided:

root@localhost:~# ./gst.sh
Setting pipeline to PAUSED ...
PVR:(Warning): PVRSRVOpenDCDevice: Warning - 138 returned [80, /bridged_pvr_dc_glue.c]
PVR:(Warning): PVRSRVOpenDCDevice: Warning - 138 returned [80, /bridged_pvr_dc_glue.c]
libdce-x11.c:64:        dce_auth_x11    info: attempting to open X11 connection
libdce.c:459:   init    error: could not get plugin ioctl base: -22
ERROR: Pipeline doesn't want to pause.
Setting pipeline to NULL ...
PVR:(Warning): PVRDRMSetFD: DRM fd already set [57, /pvr_bridge_u.c]
Freeing pipeline ...
It looks correct, messages are normal ones.


7.) Why are you using root user?

The Ubuntu core image drops you right into root.
OK, this explains why...
Re: Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 JB 11/13/12 10:39 AM
My old bootargs in boot.scr were:


quiet rw fixrtc mem=1G@0x80000000 root=/dev/mmcblk0p2 console=ttyO2,115200n8 omapdss.def_disp=dvi rootwait ip=dhcp

I created a new boot.scr in the boot partition with bootargs set as:

ro elevator=noop console=ttyO2,115200n8 mem=1G@0x80000000 root=/dev/mmcblk0p2 fixrtc splash rootwait ip=dhcp

I plugged into the DVI port on the Pandaboard, powered on, and saw two penguins in the upper left corner.  I then tried the HDMI port and saw the same thing.  At this point I was unable to log in via the serial console, and saw no login prompt from either display - just penguins.  I can ping the board's IP address but not SSH.  I'm probably missing something obvious here...

Jared
Re: Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 JB 11/13/12 11:14 AM
Oh, oops.  I had copied the recommended bootargs "ro elevator=noop console=ttyO2,115200n8 mem=1G@0x80000000 root=/dev/mmcblk0p2 fixrtc splash" from one of the other posts here.  I don't want to mount the root filesystem as read-only...  I am now using these bootargs in a new boot.scr:

rw elevator=noop console=ttyO2,115200n8 mem=1G@0x80000000 root=/dev/mmcblk0p2 fixrtc splash rootwait ip=dhcp

- I can again login from the serial console
- The DVI display has a login prompt and I can login there as well
- The HDMI display shows nothing (monitor goes into powersaving mode)

At the DVI display, if I login as root, startx, see omapdrm_pvr from lsmod, and run the recommended gstreamer pipeline, I get an error and see no output:


root@localhost:~# ./gst.sh
Setting pipeline to PAUSED ...
PVR:(Warning): PVRSRVOpenDCDevice: Warning - 138 returned [80, /bridged_pvr_dc_glue.c]
PVR:(Warning): PVRSRVOpenDCDevice: Warning - 138 returned [80, /bridged_pvr_dc_glue.c]
libdce-x11.c:64:        dce_auth_x11    info: attempting to open X11 connection
libdce.c:459:   init    error: could not get plugin ioctl base: -22
ERROR: Pipeline doesn't want to pause.
Setting pipeline to NULL ...
PVR:(Warning): PVRDRMSetFD: DRM fd already set [57, /pvr_bridge_u.c]
Freeing pipeline ...
root@localhost:~#

Output from dmesg is attached if that helps any...  Thanks!

Jared
Re: Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 Xavier Boudet 11/13/12 11:47 PM
Hi Jared,

Apparently you are facing uInitrd issue.
We realized very recently that without the uInitrd, udevd was not starting correctly and as a consequence ducati is not starting correctly:
[   11.963928] rproc remoteproc1: failed waiting for udev -2
[   11.970092] rproc remoteproc0: failed waiting for udev -2
It is still not clear why we are facing this issue, but we are investigating.

You just need to update your boot.scr/boot.script accordingly:
fatload mmc 0:1 0x80000000 uImage
fatload mmc 0:1 0x81600000 uInitrd
setenv bootargs <... your current bootargs, no change>
bootm 0x80000000 0x81600000


We have updated the wiki accordingly:
http://omappedia.org/wiki/OMAP_Ubuntu_Core

Regards, Xavier Boudet

Re: Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 wb666...@gmail.com 11/14/12 8:58 AM


On Tuesday, September 4, 2012 7:25:09 AM UTC-5, Boudet, Xavier wrote:
Hi there,

A major update has been done on TI PPA. Please read the below e-mail especially for upgrade.
If you do not have installed the TI release PPA, please refer to New installation procedure.

New installation procedure:
  1- Add TI OMAP release PPA:
    $ sudo su -
    # export http_proxy=<your proxy if any>
    # export https_proxy=<your proxy if any>
    # add-apt-repository ppa:tiomap-dev/release

This step is failing for me with the following error:

root@lPandaES:~# add-apt-repository ppa:tiomap-dev/release                    
Traceback (most recent call last):                                            
  File "/usr/bin/add-apt-repository", line 125, in <module>                   
    ppa_info = get_ppa_info_from_lp(user, ppa_name)                           
  File "/usr/lib/python2.7/dist-packages/softwareproperties/ppa.py", line 84, 
in get_ppa_info_from_lp                                                       
    curl.perform()                                                            
pycurl.error: (60, 'server certificate verification failed. CAfile: /etc/ssl/c
erts/ca-certificates.crt CRLfile: none')                                      


I'm starting with a virgin 12.04 server image and have followed these instructions until this point.
 

Any idea what is wrong? or is it just a glitch in the ppa and I should try again later?

Re: Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 Xavier Boudet 11/14/12 9:12 AM
The error your are facing is typically due to bad proxy settings.
Are you behind a proxy?
Have you set correctly http_proxy and https_proxy?

Regards, Xavier Boudet
Re: Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 wb666...@gmail.com 11/14/12 9:26 AM
No proxy here, that is why I'm doing it from home instead of the office so I can use git.  

It worked from here back in July when I setup linux-ti-omap4-3.4.0-1485.
Re: Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 wb666...@gmail.com 11/14/12 9:42 AM
I did it from the Linux Mint 13 host that is running the minicom talking to the Pandaboard and it added the repo and got the key.

Both systems are connected to the same router box.  Of it does no me no good here.


On Wednesday, November 14, 2012 11:12:38 AM UTC-6, Xavier Boudet wrote:
Re: Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 wb666...@gmail.com 11/14/12 11:00 AM
Don't know if its because I'd rebooted the Pandaboard to poke around the SD card to see if I could figure out how to add the PPA manually (wan't obvious) or because whatever network issue there was fixed itself while I ate lunch.

If you have this problem try rebooting the Pandaboard and if that fails try again an hour or so later.
Re: Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 JB 11/14/12 2:49 PM
I started from scratch again, this time grabbing the uInitrd for the boot partition and adding the bootargs you noted.  On first boot there now seems to be a net installation that wants to format the rootfs and create a user, etc.  This seems to no longer be "Ubuntu core" and destroys the tarball that was extracted to the rootfs and all the modifications.

Any idea what this uInitrd is?  Is this the right one?


Jared
Re: Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 Uli Grossek 11/14/12 3:08 PM
no, this is the wrong init ramdisk.
Here is what i did:
First install the ubuntu core on a SD card (without init ramdisk), then boot the pandaboard and install the TI PPA. After updating the bootloader (with "flash-kernel --update-bootloader"), the init ramdisk is being generated in the boot partition. Then, change the /boot/boot.script to load the uInitrd and update the bootloader again ("flash-kernel"). Reboot and everything will work.
Re: Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 Xavier Boudet 11/15/12 2:21 AM
Indeed, I did not notice that.
I will modify back the documentation to indicate to add uInitrd after the ubuntu-omap4-extras installation.

Thanks for the feedback.

Regards, Xavier Boudet
...
Re: Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 frank...@gmail.com 11/15/12 11:26 AM
Hi,

First of all, thank you for all the support you've been providing. I have a Pandaboard ES Rev. B1 and am trying to do a new installation of Ubuntu 12.04 with the TI OMAP PPA. I am using the precompiled desktop image from http://cdimage.ubuntu.com/releases/12.04/release/ (ubuntu-12.04-preinstalled-desktop-armhf+omap4.img.gz).

I have also been getting the black screen issues, but was able to circumvent it by powering the board with the monitor plugged into the DVI-D port and then switching to the HDMI-1080p port. I'm using an HDMI to DVI-D adapter to my monitor. Booting with the screen unplugged and plugging it in after 1 minute also seems to work sometimes.

I've been following the instructions on this discussion and this page: http://omappedia.org/wiki/Installing_Ubuntu_12.04_on_Pandaboard_with_TI_ppa. After the installation procedure, when performing the command:
$ sudo apt-get dist-upgrade
About 30 minutes into the upgrade, everything disappears except for the wallpaper, the screen goes black, and I only get flashes of the wallpaper when I move my cursor. The Pandaboard will not reboot after this.

Am I supposed to change any bootargs first? Do I need to enable Universe and Multiverse Repositories before the update and the dist-upgrade?

The only thing I may be doing differently is that I'm writing the image to my 8 GB SDHC card using Windows and ImageWriter per the instructions here: https://wiki.ubuntu.com/ARM/OmapDesktopInstall. I have tried writing the images using a Ubuntu 12.04 VirtualBox and a USB SD Card Reader. Although the image finishes being written, the Pandaboard will not read it. I also cannot get minicom to read serial commands through the Ubuntu 12.04 VirtualBox.

If I just want to get something running, am I better off going back to Ubuntu 11.10?

Thanks again for your help.

Best Regards,
Frankie
...
Re: Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 Xavier Boudet 11/16/12 1:41 AM
Hello Frankie,

First of all, I advise you to configure a console on the Panda and to perform the upgrade through the console if this is not already the case.

Then can you confirm that you are using Ubuntu 2D (unity) and not Ubuntu 3D (compiz).
Ubuntu 3D is known to be unstable with TI PPA.

Concerning bootargs, you indeed need to ensure that your bootargs are the following:
ro elevator=noop console=ttyO2,115200n8 mem=1G@0x80000000 root=<UUID or LABEL root> fixrtc splash

Please review the following thread (first 2 e-mails) "Ubuntu Precise 12.04 - TI OMAP Release PPA Update October 2012":
https://groups.google.com/forum/?fromgroups=#!topic/pandaboard/7DLabw7amBg

Then everything shall work well using HDMI connector with DVI adaptor to your monitor.

Enabling Universe and Multiverse Repositories before the update and the dist-upgrade shall not be mandatory, on my side I always enable them...

Regards, Xavier Boudet
...
Re: Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 aerdelyi 11/20/12 1:41 AM
I ran into the same problem right now. Yesterday it'd worked perfectly, today it didn't. I realised that pandaboard (obviously /no battery/ :) ) looses date/time settings when unplugged. That's why it couldn't do the verification with the server. When I set the correct date, it worked fine. So probably when you went to eat lunch, ubuntu has updated the date/time from a time server ;)
Re: [pandaboard] Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012 魏建国 7/22/13 6:29 AM
Hello JImD,

I am searching some method to add new available frequencies to pandaboard ES(OMAP4460).

your cpufreq-info really attract me , you can get 350 MHz, 700 MHz, 920 MHz, 1.20 GHz in 
you board.But for my board I only can get 350 MHz, 700 MHz, 920 MHz, and 
when I try to "echo 1.20GHz" or others frequecyies to scaling_setspeeds, nothing happened...
Could you tell me how you get the highest frequency?
Thank you very much.

Regards,
Qiong


在 2012年9月7日星期五UTC+2下午6时22分42秒,JimD写道:
Thanks for the very useful information!

My results for cpufreq-info are indeed very similar. Specifically they are (and this is when running a 576p h.264 file):
jim@jim-panda:~$ cpufreq-info
cpufrequtils 007: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpu...@vger.kernel.org, please.
analyzing CPU 0:
  driver: omap2plus
  CPUs which run at the same hardware frequency: 0 1
  CPUs which need to have their frequency coordinated by software: 0 1
  maximum transition latency: 300 us.
  hardware limits: 350 MHz - 1.20 GHz
  available frequency steps: 350 MHz, 700 MHz, 920 MHz, 1.20 GHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 350 MHz and 1.20 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 350 MHz.
  cpufreq stats: 350 MHz:95.58%, 700 MHz:2.68%, 920 MHz:0.44%, 1.20 GHz:1.30%  (850)
analyzing CPU 1:
  driver: omap2plus
  CPUs which run at the same hardware frequency: 0 1
  CPUs which need to have their frequency coordinated by software: 0 1
  maximum transition latency: 300 us.
  hardware limits: 350 MHz - 1.20 GHz
  available frequency steps: 350 MHz, 700 MHz, 920 MHz, 1.20 GHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 350 MHz and 1.20 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 350 MHz.
  cpufreq stats: 350 MHz:95.58%, 700 MHz:2.68%, 920 MHz:0.44%, 1.20 GHz:1.30%  (850)
I'm getting the 25 interrupts per second on the mailbox:
INT                NAME          RATE             MAX
 29 [          GIC  twd]   167 Ints/s     (max:   198)
 53 [      GIC  SGX ISR]   157 Ints/s     (max:   556)
 58 [GIC  mailbox-1, ma]    25 Ints/s     (max:    33)
109 [GIC  ehci_hcd:usb1]   195 Ints/s     (max:  2858)
145 [GIC  omap_dmm_irq_]   102 Ints/s     (max:   123)
and generally it's looking pretty much as it should. However, I am still getting the 75% CPU utilisation.

But! Not that the cpufreq-info result above said it was using 350MHz! Maybe that's the give away? Let's try a quick sudo cpufreq-set -g performance and see what happens! Humm... Down to 35%. Now let's try a 720p film: and I'm getting around 100%. That's curious.... Not the 20% we were expecting.

I wonder where all the time is going? Audio decode?

Now that's interesting: switching to a different film in an MKV with H.264 video and DTS audio I'm down to 20% CPU! Hurrah! But with H.264 and AAC audio in a .MP4 I get the high load.

Looks like this is worth noting.

Many thanks for your help in sorting this one,

Jim.

p.s. Now just the black login screen and the losing of debugging on the serial output to solve.....

On 07/09/12 16:55, Nicolas Dechesne wrote:
On Fri, Sep 7, 2012 at 5:31 PM, Jim Darby <ubers...@gmail.com> wrote:
OK, it was a H.264 encoded 720p film so it should have been better. I've
just checked and it seems pretty consistent. Also with a 576p input I seem
to be getting around 75% CPU. I've check and GStreamer is opening
/dev/dri/card0.

Also I think I have some sort of CPU frequency changing going on. The
BogoMIPS in /proc/cpuinfo change depending on CPU loading so that may be
affecting it. However, I don't seem to have any of the cpufreq modules
loaded....
you can use "cpufreq-info", and paste the output (apt-get install
cpufrequtils). it gives me this:


$ cpufreq-info
cpufrequtils 007: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpu...@vger.kernel.org, please.
analyzing CPU 0:
  driver: omap2plus
  CPUs which run at the same hardware frequency: 0 1
  CPUs which need to have their frequency coordinated by software: 0 1
  maximum transition latency: 300 us.
  hardware limits: 350 MHz - 1.20 GHz
  available frequency steps: 350 MHz, 700 MHz, 920 MHz, 1.20 GHz
  available cpufreq governors: conservative, ondemand, userspace,
powersave, performance
  current policy: frequency should be within 350 MHz and 1.20 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 350 MHz.
  cpufreq stats: 350 MHz:99.76%, 700 MHz:0.02%, 920 MHz:0.02%, 1.20
GHz:0.20%  (879)
analyzing CPU 1:
  driver: omap2plus
  CPUs which run at the same hardware frequency: 0 1
  CPUs which need to have their frequency coordinated by software: 0 1
  maximum transition latency: 300 us.
  hardware limits: 350 MHz - 1.20 GHz
  available frequency steps: 350 MHz, 700 MHz, 920 MHz, 1.20 GHz
  available cpufreq governors: conservative, ondemand, userspace,
powersave, performance
  current policy: frequency should be within 350 MHz and 1.20 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 350 MHz.
  cpufreq stats: 350 MHz:99.76%, 700 MHz:0.02%, 920 MHz:0.02%, 1.20
GHz:0.20%  (879)

I am running something quite close to what's in the PPA, you should
get something similar.

Could you suggest some ways of diagnosing this more? Specifically, how could
I check if the hardware decoding is actually working?
the *easiest* way is to observe interupts during playback, with "itop"
if you use h/w acceleration for video, you will see MAILBOX interupts.
there is 1 interrupt for each frame decoded. so if you decode at
25fps, you will see 25 IT per second ;-)

More topics »