Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012

Received: by 10.50.153.199 with SMTP id vi7mr2079527igb.0.1352974863381;
        Thu, 15 Nov 2012 02:21:03 -0800 (PST)
X-BeenThere: pandaboard@googlegroups.com
Received: by 10.50.0.208 with SMTP id 16ls2475257igg.1.canary; Thu, 15 Nov
 2012 02:20:58 -0800 (PST)
Received: by 10.42.211.6 with SMTP id gm6mr604156icb.18.1352974858585;
        Thu, 15 Nov 2012 02:20:58 -0800 (PST)
Received: by 10.42.211.6 with SMTP id gm6mr604153icb.18.1352974858537;
        Thu, 15 Nov 2012 02:20:58 -0800 (PST)
Return-Path: <x-bou...@ti.com>
Received: from arroyo.ext.ti.com (arroyo.ext.ti.com. [192.94.94.40])
        by gmr-mx.google.com with ESMTPS id s9si533492igw.0.2012.11.15.02.20.58
        (version=TLSv1/SSLv3 cipher=OTHER);
        Thu, 15 Nov 2012 02:20:58 -0800 (PST)
Received-SPF: pass (google.com: domain of x-bou...@ti.com designates 192.94.94.40 as permitted sender) client-ip=192.94.94.40;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of x-bou...@ti.com designates 192.94.94.40 as permitted sender) smtp.mail=x-bou...@ti.com
Received: from dlelxv30.itg.ti.com ([172.17.2.17])
	by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id qAFAKu4A003763;
	Thu, 15 Nov 2012 04:20:56 -0600
Received: from DLEE74.ent.ti.com (dlee74.ent.ti.com [157.170.170.8])
	by dlelxv30.itg.ti.com (8.13.8/8.13.8) with ESMTP id qAFAKuqR027822;
	Thu, 15 Nov 2012 04:20:56 -0600
Received: from dlelxv22.itg.ti.com (172.17.1.197) by DLEE74.ent.ti.com
 (157.170.170.8) with Microsoft SMTP Server id 14.1.323.3; Thu, 15 Nov 2012
 04:20:56 -0600
Received: from [172.24.64.5] (h64-5.vpn.ti.com [172.24.64.5])	by
 dlelxv22.itg.ti.com (8.13.8/8.13.8) with ESMTP id qAFAKs2H021403;	Thu, 15 Nov
 2012 04:20:55 -0600
Message-ID: <50A4C206.2070807@ti.com>
Date: Thu, 15 Nov 2012 11:20:54 +0100
From: Xavier Boudet <x-bou...@ti.com>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121028 Thunderbird/16.0.2
MIME-Version: 1.0
To: Uli Grossek <ul90.u...@gmail.com>
CC: <pandaboard@googlegroups.com>, JB <jared.beckw...@gmail.com>
Subject: Re: Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012
References: <CAN8tpzdDwB7-wjZc+JQ+YtfQkjV8rd1G1fQ9xctnkEF8vpy...@mail.gmail.com> <16efb9d1-ddb1-48c4-a7dc-c929be7a0534@googlegroups.com> <6b7f82d0-b177-4b22-9a32-6bd476602d80@googlegroups.com> <509CC4A1.2060...@ti.com> <2087ed46-5e61-4adf-b114-b16ba30c8dd4@googlegroups.com> <50A0A7E9.7040...@ti.com> <81840d01-f80f-4709-86d5-bfd540216551@googlegroups.com> <300498d1-1c4c-4eeb-911d-0863304d3ecb@googlegroups.com> <50A34C87.2060...@ti.com> <b6f2b61f-739f-480d-b75b-8cb362f3ce19@googlegroups.com> <218c13c0-4c36-49eb-8b8b-6d81657aebaa@googlegroups.com>
In-Reply-To: <218c13c0-4c36-49eb-8b8b-6d81657aebaa@googlegroups.com>
Content-Type: multipart/alternative;
	boundary="------------000606030708030007050706"

--------------000606030708030007050706
Content-Type: text/plain; charset="UTF-8"; format=flowed
Content-Transfer-Encoding: 7bit

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
On 11/15/2012 12:08 AM, Uli Grossek wrote:
> 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.
>
> On Wednesday, November 14, 2012 11:49:05 PM UTC+1, JB wrote:
>
>     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?
>
>     |wget -O uInitrd
>     http:||//ports.ubuntu.com/ubuntu-ports/dists/precise/main/installer-armhf/current/images/omap4/netboot/uInitrd
>     <http://ports.ubuntu.com/ubuntu-ports/dists/precise/main/installer-armhf/current/images/omap4/netboot/uInitrd>|
>
>     Jared
>
>
>     On Tuesday, November 13, 2012 11:47:26 PM UTC-8, Xavier Boudet wrote:
>
>         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
>         <http://omappedia.org/wiki/OMAP_Ubuntu_Core>
>
>         Regards, Xavier Boudet
>
>         On 11/13/2012 08:14 PM, JB wrote:
>>         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
>>
>>
>>
>>         On Tuesday, November 13, 2012 10:39:38 AM UTC-8, JB wrote:
>>
>>             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
>>
>>
>>
>>             On Sunday, November 11, 2012 11:40:35 PM UTC-8, Xavier
>>             Boudet wrote:
>>
>>                 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
>>>                 <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
>>>                 <http://ppa.launchpad.net/tiomap-dev/release/ubuntu>
>>>                 precise main
>>>                 deb-src
>>>                 http://ppa.launchpad.net/tiomap-dev/release/ubuntu
>>>                 <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
>>>                 <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...
>>>
>>>                 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
>>>                 <http://cdimage.ubuntu.com/ubuntu-core/releases/12.04/release/ubuntu-core-12.04.1-core-armhf.tar.gz>
>>>
>>>
>>>                 Many thanks!
>>>
>>>                 Jared Beckwith
>>>
>>>
>>>                 On Friday, November 9, 2012 12:54:02 AM UTC-8,
>>>                 Xavier Boudet wrote:
>>>
>>>                     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
>>>                     On 11/09/2012 02:32 AM, JB wrote:
>>>>                     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
>>>>                         <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
>>>>
>>>>                         On Tuesday, September 4, 2012 8:25:09 PM
>>>>                         UTC+8, 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:*
>>>>                             You can report issues on Launchpad
>>>>                             directly, use
>>>>                             https://bugs.launchpad.net/ubuntu-omap4-extras-multimedia
>>>>                             <https://bugs.launchpad.net/ubuntu-omap4-extras-multimedia> or
>>>>                             https://bugs.launchpad.net/ubuntu-omap4-extras-graphics
>>>>                             <https://bugs.launchpad.net/ubuntu-omap4-extras-graphics>.
>>>>                             We will push
>>>>                             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/
>>>>                             <http://lwn.net/Articles/448562/> and
>>>>                             http://omappedia.org/wiki/Category:RPMsg <http://omappedia.org/wiki/Category:RPMsg>)
>>>>                              - DRI2 extension for Video support
>>>>                             (http://www.phoronix.com/scan.php?page=news_item&px=OTgxOQ
>>>>                             <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/
>>>>                             <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
>>>>                             <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
>>>>                             <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*/
>>>>
>>>
>>
>


--------------000606030708030007050706
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Indeed, I did not notice that.<br>
      I will modify back the documentation to indicate to add uInitrd
      after the ubuntu-omap4-extras installation.<br>
      <br>
      Thanks for the feedback.<br>
      <br>
      <div class="moz-signature">Regards,
        Xavier Boudet</div>
      On 11/15/2012 12:08 AM, Uli Grossek wrote:<br>
    </div>
    <blockquote
      cite="mid:218c13c0-4c36-49eb-8b8b-6d81657aebaa@googlegroups.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      no, this is the wrong init ramdisk.
      <div>Here is what i did:<br>
        <div>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.<br>
          <br>
          On Wednesday, November 14, 2012 11:49:05 PM UTC+1, JB wrote:
          <blockquote class="gmail_quote" style="margin: 0;margin-left:
            0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">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.<br>
            <br>
            Any idea what this uInitrd is?  Is this the right one?<br>
            <br>
            <div><code>wget -O uInitrd http:</code><code>//<a
                  moz-do-not-send="true"
href="http://ports.ubuntu.com/ubuntu-ports/dists/precise/main/installer-armhf/current/images/omap4/netboot/uInitrd"
                  target="_blank">ports.ubuntu.com/<wbr>ubuntu-ports/dists/precise/<wbr>main/installer-armhf/current/<wbr>images/omap4/netboot/uInitrd</a></code></div>
            <br>
            Jared<br>
            <br>
            <br>
            On Tuesday, November 13, 2012 11:47:26 PM UTC-8, Xavier
            Boudet wrote:
            <blockquote class="gmail_quote"
              style="margin:0;margin-left:0.8ex;border-left:1px #ccc
              solid;padding-left:1ex">
              <div bgcolor="#FFFFFF" text="#000000">
                <div>Hi Jared,<br>
                  <br>
                  Apparently you are facing uInitrd issue.<br>
                  We realized very recently that without the uInitrd,
                  udevd was not starting correctly and as a consequence
                  ducati is not starting correctly:<br>
                  <font face="Courier New, Courier, monospace">[  
                    11.963928] rproc remoteproc1: failed waiting for
                    udev -2<br>
                    [   11.970092] rproc remoteproc0: failed waiting for
                    udev -2<br>
                  </font>It is still not clear why we are facing this
                  issue, but we are investigating.<br>
                  <br>
                  You just need to update your boot.scr/boot.script
                  accordingly:<br>
                  <font face="Courier New, Courier, monospace">fatload
                    mmc 0:1 0x80000000 uImage<br>
                    <b>fatload mmc 0:1 0x81600000 uInitrd</b><br>
                    setenv bootargs &lt;... your current bootargs, no
                    change&gt;<br>
                    <b>bootm 0x80000000 0x81600000</b></font><br>
                  <br>
                  We have updated the wiki accordingly:<br>
                  <a moz-do-not-send="true"
                    href="http://omappedia.org/wiki/OMAP_Ubuntu_Core"
                    target="_blank">http://omappedia.org/wiki/<wbr>OMAP_Ubuntu_Core</a><br>
                  <br>
                  <div>Regards, Xavier Boudet<br>
                    <br>
                  </div>
                  On 11/13/2012 08:14 PM, JB wrote:<br>
                </div>
                <blockquote type="cite"> 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:<br>
                  <br>
                  rw elevator=noop console=ttyO2,115200n8
                  mem=1G@0x80000000 root=/dev/mmcblk0p2 fixrtc splash
                  rootwait ip=dhcp<br>
                  <br>
                  - I can again login from the serial console<br>
                  - The DVI display has a login prompt and I can login
                  there as well<br>
                  - The HDMI display shows nothing (monitor goes into
                  powersaving mode)<br>
                  <br>
                  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:<br>
                  <br>
                  root@localhost:~# ./gst.sh <br>
                  Setting pipeline to PAUSED ...<br>
                  PVR:(Warning): PVRSRVOpenDCDevice: Warning - 138
                  returned [80, /bridged_pvr_dc_glue.c]<br>
                  PVR:(Warning): PVRSRVOpenDCDevice: Warning - 138
                  returned [80, /bridged_pvr_dc_glue.c]<br>
                  libdce-x11.c:64:        dce_auth_x11    info:
                  attempting to open X11 connection<br>
                  <span style="color:rgb(255,0,0)"><b>libdce.c:459:  
                      init    error: could not get plugin ioctl base:
                      -22</b></span><br>
                  ERROR: Pipeline doesn't want to pause.<br>
                  Setting pipeline to NULL ...<br>
                  PVR:(Warning): PVRDRMSetFD: DRM fd already set [57,
                  /pvr_bridge_u.c]<br>
                  Freeing pipeline ...<br>
                  root@localhost:~# <br>
                  <br>
                  Output from dmesg is attached if that helps any... 
                  Thanks!<br>
                  <br>
                  Jared<br>
                  <br>
                  <br>
                  <br>
                  On Tuesday, November 13, 2012 10:39:38 AM UTC-8, JB
                  wrote:
                  <blockquote class="gmail_quote"
                    style="margin:0;margin-left:0.8ex;border-left:1px
                    #ccc solid;padding-left:1ex">My old bootargs in
                    boot.scr were:<br>
                    <br>
                    quiet rw fixrtc mem=1G@0x80000000
                    root=/dev/mmcblk0p2 console=ttyO2,115200n8
                    omapdss.def_disp=dvi rootwait ip=dhcp<br>
                    <br>
                    I created a new boot.scr in the boot partition with
                    bootargs set as:<br>
                    <br>
                    ro elevator=noop console=ttyO2,115200n8
                    mem=1G@0x80000000 root=/dev/mmcblk0p2 fixrtc splash
                    rootwait ip=dhcp<br>
                    <br>
                    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...<br>
                    <br>
                    Jared<br>
                    <br>
                    <br>
                    <br>
                    On Sunday, November 11, 2012 11:40:35 PM UTC-8,
                    Xavier Boudet wrote:
                    <blockquote class="gmail_quote"
                      style="margin:0;margin-left:0.8ex;border-left:1px
                      #ccc solid;padding-left:1ex">
                      <div bgcolor="#FFFFFF" text="#000000">
                        <div>Answers inline.<br>
                          Can you clarify what is/are the remaining
                          issue(s)? The gst pipeline?<br>
                          <br>
                          <div>Regards, Xavier Boudet</div>
                          On 11/09/2012 08:23 PM, JB wrote:<br>
                        </div>
                        <blockquote type="cite"> 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.<br>
                          <br>
                          I followed these instructions to create an
                          Ubuntu core image for the Pandaboard:<br>
                          <a moz-do-not-send="true"
                            href="http://www.omappedia.com/wiki/OMAP_Ubuntu_Core"
                            target="_blank">http://www.omappedia.com/wiki/<wbr>OMAP_Ubuntu_Core</a><br>
                          <br>
                          With these modifications:<br>
                          A.) Before "apt-get install
                          ubuntu-omap4-extras --yes --force-yes" I did
                          "apt-get install u-boot-tools"<br>
                          B.) After the "apt-get install
                          ubuntu-omap4-extras --yes --force-yes" I shut
                          down and modified boot.scr in the boot
                          partition to:<br>
                          <br>
                              fatload mmc 0:1 0x80000000 uImage<br>
                              setenv bootargs quiet rw fixrtc
                          mem=1G@0x80000000 root=/dev/mmcblk0p2
                          console=ttyO2,115200n8 omapdss.def_disp=dvi
                          rootwait ip=dhcp<br>
                              bootm 0x80000000<br>
                          <br>
                        </blockquote>
                        I am still not sure why you are using
                        omapdss.def_disp=dvi
                        <blockquote type="cite">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...<br>
                        </blockquote>
                        With the TI PPA kernel, HDMI and DVI shall be
                        auto-detected at boot and you shall be able to
                        use both connector.<br>
                        <blockquote type="cite">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.<br>
                        </blockquote>
                        omapdrm_prv will be triggered only after X
                        startup in fact.<br>
                        <blockquote type="cite">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.<br>
                          <br>
                          To answer your questions (with my Pandaboard
                          in the state described above):<br>
                          1.) So you are using TI PPA, correct?<br>
                          <br>
                          Yes.  In /etc/apt/sources.list:<br>
                          # TI release PPA<br>
                          deb <a moz-do-not-send="true"
                            href="http://ppa.launchpad.net/tiomap-dev/release/ubuntu"
                            target="_blank">http://ppa.launchpad.net/<wbr>tiomap-dev/release/ubuntu</a>
                          precise main <br>
                          deb-src <a moz-do-not-send="true"
                            href="http://ppa.launchpad.net/tiomap-dev/release/ubuntu"
                            target="_blank">http://ppa.launchpad.net/<wbr>tiomap-dev/release/ubuntu</a>
                          precise main<br>
                          <br>
                          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.<br>
                          <br>
                          Apparently I already have the latest:<br>
                          root@localhost:~# apt-get dist-upgrade<br>
                          Reading package lists... Done<br>
                          Building dependency tree       <br>
                          Reading state information... Done<br>
                          Calculating upgrade... Done<br>
                          0 upgraded, 0 newly installed, 0 to remove and
                          0 not upgraded.<br>
                          <br>
                          3.) Can you check if pvr module is correctly
                          installed?<br>
                          After the boot perform: lsmod | grep
                          omapdrm_prv<br>
                          If this module is not loaded you might need to
                          execute:<br>
                          sudo apt-get install --reinstall
                          pvr-omap4-dkms<br>
                          <br>
                          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.<br>
                        </blockquote>
                        Yes, omapdrm_prv is automatically loaded only
                        after you startx, this is expected.<br>
                        <blockquote type="cite"><br>
                          4.) Can you ensure that you are running the
                          last kernel? Please send "uname -a" output.<br>
                          <br>
                          root@localhost:~# uname -a<br>
                          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<br>
                        </blockquote>
                        OK.<br>
                        <blockquote type="cite"><br>
                          5.) Why are you using omapdss.def_disp=dvi in
                          your bootargs?<br>
                          <br>
                          I saw this on <a moz-do-not-send="true"
                            href="http://omappedia.org/wiki/Bootargs_for_enabling_display"
                            target="_blank">http://omappedia.org/wiki/<wbr>Bootargs_for_enabling_display</a>
                          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?<br>
                        </blockquote>
                        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.<br>
                        <blockquote type="cite"><br>
                          6.) Are you sure about your pipeline?  Here is
                          an example of pipeline supposed to work:<br>
                          Example of VTC (videoconference) e.g. V4L2 USB
                          webcam + preview + H264 encode + H264 decode +
                          display, using V4L2, DRI2 and PVR.<br>
                          gst-launch -v v4l2src ! "video/x-raw-yuv,
                          framerate=(fraction)30/1" ! stridetransform !
                          tee name=t \<br>
                          t. ! queue ! dri2videosink sync=false \<br>
                          t. ! queue ! ducatih264enc
                          rate-preset=low-delay profile=100 ! h264parse
                          ! ducatih264dec ! queue ! pvrvideosink
                          sync=false<br>
                          <br>
                          So I did a reboot, startx, export DISPLAY=:0,
                          checked lsmod again for "omapdrm_prv", and ran
                          the pipeline you provided:<br>
                          <br>
                          root@localhost:~# ./gst.sh <br>
                          Setting pipeline to PAUSED ...<br>
                          PVR:(Warning): PVRSRVOpenDCDevice: Warning -
                          138 returned [80, /bridged_pvr_dc_glue.c]<br>
                          PVR:(Warning): PVRSRVOpenDCDevice: Warning -
                          138 returned [80, /bridged_pvr_dc_glue.c]<br>
                          libdce-x11.c:64:        dce_auth_x11    info:
                          attempting to open X11 connection<br>
                          libdce.c:459:   init    error: could not get
                          plugin ioctl base: -22<br>
                          ERROR: Pipeline doesn't want to pause.<br>
                          Setting pipeline to NULL ...<br>
                          PVR:(Warning): PVRDRMSetFD: DRM fd already set
                          [57, /pvr_bridge_u.c]<br>
                          Freeing pipeline ...<br>
                        </blockquote>
                        It looks correct, messages are normal ones.<br>
                        <blockquote type="cite"><br>
                          7.) Why are you using root user?<br>
                          <br>
                          The Ubuntu core image drops you right into
                          root.<br>
                        </blockquote>
                        OK, this explains why... <br>
                        <blockquote type="cite"><br>
                          8.) Which kind of image are you using, desktop
                          one?<br>
                          <br>
                          This one: wget <a moz-do-not-send="true"
href="http://cdimage.ubuntu.com/ubuntu-core/releases/12.04/release/ubuntu-core-12.04.1-core-armhf.tar.gz"
                            target="_blank">http://cdimage.ubuntu.com/<wbr>ubuntu-core/releases/12.04/<wbr>release/ubuntu-core-12.04.1-<wbr>core-armhf.tar.gz</a><br>
                          <br>
                          <br>
                          Many thanks!<br>
                          <br>
                          Jared Beckwith<br>
                          <br>
                          <br>
                          On Friday, November 9, 2012 12:54:02 AM UTC-8,
                          Xavier Boudet wrote:
                          <blockquote class="gmail_quote"
                            style="margin:0;margin-left:0.8ex;border-left:1px
                            #ccc solid;padding-left:1ex">
                            <div bgcolor="#FFFFFF" text="#000000">
                              <div>Hello JB,<br>
                                <br>
                                So you are using TI PPA, correct?<br>
                                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.<br>
                                <br>
                                Can you check if pvr module is correctly
                                installed?<br>
                                After the boot perform: lsmod | grep
                                omapdrm_prv<br>
                                If this module is not loaded you might
                                need to execute: <br>
                                <span
style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);display:inline!important;float:none">sudo


                                  apt-get install
                                  --reinstall pvr-omap4-dkms</span><br>
                                <br>
                                Can you ensure that you are running the
                                last kernel? Please send "uname -a"
                                output.<br>
                                <br>
                                Why are you using <code>omapdss.def_disp=dvi</code>
                                in your bootargs?<br>
                                <br>
                                Are you sure about your pipeline, why
                                are you using root user? Which kind of
                                image are you using, desktop one?<br>
                                Her is an example of pipeline supposed
                                to work:<br>
                                Example of VTC (videoconference) e.g.
                                V4L2 USB webcam + preview + H264 encode
                                + H264 decode + display, using V4L2,
                                DRI2 and PVR.<br>
                                <font face="Courier New">gst-launch -v
                                  v4l2src ! "video/x-raw-yuv,
                                  framerate=(fraction)30/1" !
                                  stridetransform ! tee name=t \<br>
                                  t. ! queue ! dri2videosink sync=false
                                  \<br>
                                  t. ! queue ! ducatih264enc
                                  rate-preset=low-delay profile=100 !
                                  h264parse ! ducatih264dec ! queue !
                                  pvrvideosink sync=false</font><br>
                                <br>
                                <div>Regards, Xavier Boudet</div>
                                On 11/09/2012 02:32 AM, JB wrote:<br>
                              </div>
                              <blockquote type="cite"> 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...<br>
                                <br>
                                <span style="font-family:courier
                                  new,monospace">root@localhost:~#
                                  gst-launch -v v4l2src
                                  device=/dev/video0 num-buffers=200 !
                                  "video/x-raw-yuv,width=640,<wbr>height=480,framerate=30/1"


                                  ! queue ! ffmpegcolorspace !
                                  ducatih264enc ! h264parse ! queue !
                                  qtmux ! filesink location=sample.mp4<br>
                                  Setting pipeline to PAUSED ...<br>
                                  libdce-x11.c:64:    dce_auth_x11   
                                  info: attempting to open X11
                                  connection<br>
                                  libdce.c:459:    init    error: could
                                  not get plugin ioctl base: -22<br>
                                  ERROR: Pipeline doesn't want to pause.<br>
                                  Setting pipeline to NULL ...<br>
                                  Freeing pipeline ...</span><br>
                                <br>
                                How did you end up fixing this?<br>
                                <br>
                                My bootargs are:<br>
                                <br>
                                <code></code><code>setenv bootargs quiet
                                  rw fixrtc mem=1G</code><code>@0x80000000</code>
                                <code>root=/dev/mmcblk0p2
                                  console=ttyO2,115200n8
                                  omapdss.def_disp=dvi rootwait ip=dhcp</code><br>
                                <br>
                                <br>
                                JB<br>
                                <br>
                                <br>
                                On Wednesday, September 5, 2012 2:45:26
                                AM UTC-7, fang bao wrote:
                                <blockquote class="gmail_quote"
                                  style="margin:0;margin-left:0.8ex;border-left:1px
                                  #ccc solid;padding-left:1ex">Hi
                                  Boudet,<br>
                                  <br>
                                  I encountered some issues after
                                  updating to TI OMAP Release PPA Update
                                  September 2012.<br>
                                  <br>
                                  1. HW MM h/w acceleration doesn't
                                  work.<br>
                                  <br>
                                  When running the totem to play a H264
                                  1080p stream, there is an error:
                                  <p>libdce.c: 437: init info:
                                    attempting to open X11 connection<br>
                                    libdce.c: 515: init error: could not
                                    get plugin ioctl base: -22</p>
                                  <p>I have filed a bug here: <a
                                      moz-do-not-send="true"
href="https://bugs.launchpad.net/ubuntu-omap4-extras-multimedia/+bug/1046226"
                                      target="_blank">https://bugs.launchpad.net/<wbr>ubuntu-omap4-extras-<wbr>multimedia/+bug/1046226</a></p>
                                  2. System hangs on booting.<br>
                                  <span><span
                                      style="color:rgb(0,104,28)"></span></span><br>
                                  The system often hangs on booting with
                                  black window.  After several reboot,
                                  it might be OK. But it will hang next
                                  time.<br>
                                  I didn't know where to file this bug.<br>
                                  <br>
                                  Regards,<br>
                                  <br>
                                  Fang Bao<br>
                                  <br>
                                  On Tuesday, September 4, 2012 8:25:09
                                  PM UTC+8, Boudet, Xavier wrote:
                                  <blockquote class="gmail_quote"
                                    style="margin:0;margin-left:0.8ex;border-left:1px
                                    #ccc solid;padding-left:1ex">
                                    <div>Hi there,</div>
                                    <div><br>
                                    </div>
                                    <div>A major update has been done on
                                      TI PPA. Please read the below
                                      e-mail especially for upgrade.</div>
                                    <div>If you do not have installed
                                      the TI release PPA, please refer
                                      to New installation procedure.</div>
                                    <div><br>
                                    </div>
                                    <div><b>New installation procedure:</b></div>
                                    <div>  1- Add TI OMAP release PPA:</div>
                                    <div>    $ sudo su -</div>
                                    <div>    # export
                                      http_proxy=&lt;your proxy if
                                      any&gt;</div>
                                    <div>    # export
                                      https_proxy=&lt;your proxy if
                                      any&gt;</div>
                                    <div>    # add-apt-repository
                                      ppa:tiomap-dev/release</div>
                                    <div>  2- Perform the upgrade:</div>
                                    <div>    $ sudo apt-get update</div>
                                    <div>    $ sudo apt-get dist-upgrade</div>
                                    <div>    $ sudo apt-get install
                                      ubuntu-omap4-extras</div>
                                    <div>  3- You can re-run a
                                      dist-upgrade for safety at the
                                      end, then reboot</div>
                                    <div><br>
                                    </div>
                                    <div><b>Update procedure:</b></div>
                                    <div>
                                      <div>1- Perform the upgrade:</div>
                                      <div>    $ sudo apt-get update</div>
                                      <div>    $ sudo apt-get
                                        dist-upgrade</div>
                                      <div><br>
                                      </div>
                                    </div>
                                    <div><br>
                                    </div>
                                    <div><b>Post Installation Important
                                        Information:</b></div>
                                    <div>* after the
                                      installation/update, it is advised
                                      to log as default user and to
                                      execute:</div>
                                        # On Panda 4430: 
                                    <div><font face="courier new,
                                        monospace">    $
                                        /usr/bin/alsaucm -c Panda set
                                        _verb HiFi </font></div>
                                    <div>    # On PandaES 4460: </div>
                                    <div><font face="courier new,
                                        monospace">    $
                                        /usr/bin/alsaucm -c PandaES set
                                        _verb HiFi</font></div>
                                    <div><font face="courier new,
                                        monospace"><br>
                                      </font>
                                      <div>* You need to force
                                        installation of new bootloaders
                                        through command:</div>
                                      <font face="courier new,
                                        monospace">    $ sudo
                                        /usr/sbin/flash-kernel
                                        --update-bootloader</font></div>
                                    <div><font face="courier new,
                                        monospace"><br>
                                      </font>
                                      <div>* It is advised to use Ubuntu
                                        2D instead of Ubuntu (3D)
                                        default UI. Nevertheless, main
                                        compiz issues have been fixed.</div>
                                      <div><br>
                                      </div>
                                      <div>* 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:</div>
                                      <div>    $ sudo apt-get install
                                        --reinstall pvr-omap4-dkms</div>
                                      <div><br>
                                      </div>
                                      <div><b>New/Fixed in August 2012
                                          release:</b></div>
                                      <div> * Kernel bug fixes:</div>
                                    </div>
                                    <blockquote style="margin:0 0 0
                                      40px;border:none;padding:0px">
                                      <div>- SmartReflex Class 1.5
                                        enabled with stability patches</div>
                                      <div>- IVAHD Power management
                                        (turning off IVAHD in between
                                        frames)</div>
                                      <div>- Temperature sensor fix</div>
                                      <div>- Add ARM HW ERRATA 743622,
                                        751472 and 742230, PL310:
                                        769419, OMAP: i659, i608, i705.</div>
                                      <div>- upstream patches + bug
                                        fixes:  suspend and wake-up
                                        fixes, reduced/fixed timer
                                        interrupt occurrences (twd)</div>
                                    </blockquote>
                                    <div>
                                      <div> * <span
style="line-height:19.03333282470703px;font-size:13px;font-family:sans-serif">H264



                                          and MPEG4 video encoder. No
                                          camera support yet but </span><font
                                          face="sans-serif"><span
                                            style="line-height:19.016666412353516px">Support


                                            for combo use-cases such as:
                                            v4l2 usb camera -&gt;
                                            preview -&gt; encode -&gt;
                                            decode -&gt; display.</span></font></div>
                                         Below is an example of VTC
                                      (videoconference) e.g. V4L2 USB
                                      webcam + preview + encode + decode
                                      + display, using V4L2, DRI2 and
                                      PVR.<br>
                                           <font face="courier new,
                                        monospace">gst-launch -v v4l2src
                                        ! stridetransform ! queue ! tee
                                        name=t \<br>
                                             t. ! queue ! dri2videosink
                                        sync=false \<br>
                                             t. ! queue ! ducatih264enc
                                        rate-preset=low-delay
                                        profile=100 ! h264parse !
                                        ducatih264dec ! queue !
                                        pvrvideosink sync=false</font></div>
                                    <div><span
                                        style="font-family:sans-serif;line-height:19.016666412353516px"> *



                                        Decoder issues Fixes.</span></div>
                                    <div><span
                                        style="font-family:sans-serif;line-height:19.016666412353516px"> *



                                        Xrandr Rotation Fixes.</span></div>
                                    <div>
                                      <div><br>
                                      </div>
                                      <div><b>Known Issues:</b></div>
                                      <div>* BT is not supported</div>
                                      <div>* Black screen issue on some
                                        HW - workaround: boot with
                                        screen un-plugged, plug it after
                                        1 minute. Issue under
                                        investigation.</div>
                                      <div><br>
                                      </div>
                                      <div><b>Support:</b></div>
                                      <div>You can report issues on
                                        Launchpad directly, use <a
                                          moz-do-not-send="true"
                                          href="https://bugs.launchpad.net/ubuntu-omap4-extras-multimedia"
                                          target="_blank">https://bugs.launchpad.<wbr>net/ubuntu-omap4-extras-<wbr>multimedia</a> or <a
                                          moz-do-not-send="true"
                                          href="https://bugs.launchpad.net/ubuntu-omap4-extras-graphics"
                                          target="_blank">https://bugs.<wbr>launchpad.net/ubuntu-omap4-<wbr>extras-graphics</a>.
                                        We will push</div>
                                      <div>updates for bug fixes in the
                                        PPA, so make sure to keep your
                                        system up-to-date!</div>
                                      <div><br>
                                      </div>
                                      <div><br>
                                      </div>
                                      <div><b><i>Reference/Reminder:</i></b></div>
                                      <div><br>
                                      </div>
                                      <div>
                                        <div>The 'top-level'
                                          ubuntu-omap-extras will
                                          install the following
                                          packages:</div>
                                        <div> -
                                          ubuntu-omap-extras-multimedia:
                                          another meta package that
                                          installs all the requires
                                          packages for MM use case:</div>
                                        <div>   * GST, a modified
                                          version still compatible with
                                          all Ubuntu apps such as totem</div>
                                        <div>   * gst-ducati and libDCE
                                          the main components that bring
                                          MM h/w acceleration into the
                                          system</div>
                                        <div> -
                                          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)</div>
                                        <div> -
                                          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.</div>
                                        <div><br>
                                        </div>
                                        <div>This release comes with the
                                          following major changes:</div>
                                        <div> - DCE interface for the
                                          h/w accelerated codecs -
                                          already there in 11.10</div>
                                        <div> - migration to rpmsg
                                          driver (aka syslink3, see <a
                                            moz-do-not-send="true"
                                            href="http://lwn.net/Articles/448562/"
                                            target="_blank">http://lwn.net/Articles/<wbr>448562/</a> and <a
                                            moz-do-not-send="true"
                                            href="http://omappedia.org/wiki/Category:RPMsg"
                                            target="_blank">http://omappedia.<wbr>org/wiki/Category:RPMsg</a>)</div>
                                        <div> - DRI2 extension for Video
                                          support (<a
                                            moz-do-not-send="true"
                                            href="http://www.phoronix.com/scan.php?page=news_item&amp;px=OTgxOQ"
                                            target="_blank">http://www.phoronix.com/scan.<wbr>php?page=news_item&amp;px=OTgxOQ</a>)</div>
                                        <div> - migration to a new open
                                          source X11 driver for OMAP (<a
                                            moz-do-not-send="true"
                                            href="http://cgit.freedesktop.org/xorg/driver/xf86-video-omap/"
                                            target="_blank">http://cgit.freedesktop.org/<wbr>xorg/driver/xf86-video-omap/</a> )</div>
                                        <div> - a new GST video-sink:
                                          dri2videosink to display video
                                          through the SGX (instead of
                                          v4l2sink). For more
                                          information, see <a
                                            moz-do-not-send="true"
href="https://wiki.linaro.org/OfficeofCTO/MemoryManagement?action=AttachFile&amp;do=view&amp;target=linux-video.pdf"
                                            target="_blank">https://wiki.linaro.org/<wbr>OfficeofCTO/MemoryManagement?<wbr>action=AttachFile&amp;do=view&amp;<wbr>target=linux-video.pdf</a></div>
                                        <div> - Linux 3.4 kernel, Ubuntu
                                          kernel will be replaced. This
                                          kernel is largely based of
                                          Linaro kernel, and sources are
                                          available here: <a
                                            moz-do-not-send="true"
                                            href="http://dev.omapzoom.org/?p=integration/kernel-ubuntu.git"
                                            target="_blank">http://dev.omapzoom.org/<wbr>?p=integration/kernel-ubuntu.<wbr>git</a>.
                                          Linux-image-&lt;version&gt;
                                          package version correspond to
                                          a tag ti-ubuntu-&lt;kernel
                                          version&gt;  in this tree.</div>
                                        <div> - ...</div>
                                      </div>
                                      <div><br>
                                      </div>
                                      <div>Regards, </div>
                                      <span><font color="#888888">
                                          <div><br>
                                          </div>
                                          <i><b>Xavier Boudet</b></i><br>
                                        </font></span></div>
                                    <div><br>
                                    </div>
                                  </blockquote>
                                </blockquote>
                              </blockquote>
                              <br>
                            </div>
                          </blockquote>
                        </blockquote>
                        <br>
                      </div>
                    </blockquote>
                  </blockquote>
                </blockquote>
                <br>
              </div>
            </blockquote>
          </blockquote>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>

--------------000606030708030007050706--