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
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
JB  
View profile  
 More options Nov 13 2012, 2:14 pm
From: JB <jared.beckw...@gmail.com>
Date: Tue, 13 Nov 2012 11:14:34 -0800 (PST)
Local: Tues, Nov 13 2012 2:14 pm
Subject: Re: Ubuntu Precise 12.04 - TI OMAP Release PPA Update September 2012

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

>> 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_displayand 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-c...

>> 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
>>>> 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 or
>>>>> 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/ 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=AttachFil...
>>>>>  - 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*

  dmesg.txt
46K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.