Ubuntu Precise 12.04 - TI OMAP Release PPA Update August 2012

1.619 προβολές
Παράβλεψη και μετάβαση στο πρώτο μη αναγνωσμένο μήνυμα

Boudet, Xavier

μη αναγνωσμένη,
2 Αυγ 2012, 1:25:50 μ.μ.2/8/12
ως panda...@googlegroups.com
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
2- Re-install dkms package - if not omapdrm_pvr module will not load anymore untill you do that:
    $ sudo apt-get install --reinstall pvr-omap4-dkms

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.

New/Fixed in August 2012 release:
 * Audio support on Headset is back
 * H264 video encoder. No camera support yet but Support for combo use-cases such as: v4l2 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
 * xbmc package compatible with the release has been copied into TI release PPA 
 * Bug Fixes...

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

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

Reference/Reminder:

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

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

Regards, 

Xavier Boudet

Dan MacDonald

μη αναγνωσμένη,
3 Αυγ 2012, 6:14:53 π.μ.3/8/12
ως panda...@googlegroups.com
Hi Xavier!

I installed the new drivers etc yesterday - good to hear onboard audio working again (although I've not yet had another go with arecord although I suspect nothing has changed there as JACK still doesn't work with the onboard sound) and whats most important is that I haven't had a single X freeze or black-out since the update so its looking a lot more stable and usable now.

As I told Rob on IRC last night, there still seem to be at least some remaining text rendering issues as the text under the default fluxbox panel doesn't show nor does the icon text under jaaa and I get occasional artifacts in window title bar text like lines, squashed text or the window decorations/ title bar sometimes just doesn't appear. I'll get this reported on Launchpad today if it hasn't been logged already.

I have fixed the fluxbox text prob for the most part simply by changing the style from the default so at least thats not such a big issue for me now.

Dan MacDonald

μη αναγνωσμένη,
3 Αυγ 2012, 7:10:15 π.μ.3/8/12
ως panda...@googlegroups.com
I'm kicking myself for using the cursed 's' word now!

Yes, sadly I spoke too soon on the new xorg drivers. They are better now but they're certainly not stable as I've had a few freezes this morning so I've re-instated my beloved CTRL-ALT-BACKSPACE. I'm using network manager instead of wicd at the moment so now I don't think its wicd  that is causing any probs although I can't rule out a potential wifi driver issue somewhere - I mention this as I saw the wifi driver get a mention in the syslog xorg crash I posted on here recently.

Andrea Fadini

μη αναγνωσμένη,
3 Αυγ 2012, 11:37:06 π.μ.3/8/12
ως panda...@googlegroups.com, x-bo...@ti.com
With this new release i solved the display issues. 

I have another question:
I need to use this display (http://www.chalk-elec.com/) with PandaES and Ubuntu.. 
I tryed to enable the dvi, I changed the boot.script:
omapfb.mode=dvi:1024x600MR-16@60
and after with:
omapdss.def_disp=dvi:1024x600MR-16@60

after this I run flash-kernel..

Doesn't work. Can you help me?

Thanks!

Rob Clark

μη αναγνωσμένη,
3 Αυγ 2012, 12:15:29 μ.μ.3/8/12
ως panda...@googlegroups.com, x-bo...@ti.com
On Fri, Aug 3, 2012 at 10:37 AM, Andrea Fadini <andrea...@gmail.com> wrote:
> With this new release i solved the display issues.

cool, thx for trying this kernel

> I have another question:
> I need to use this display (http://www.chalk-elec.com/) with PandaES and
> Ubuntu..
> I tryed to enable the dvi, I changed the boot.script:
> omapfb.mode=dvi:1024x600MR-16@60
> and after with:
> omapdss.def_disp=dvi:1024x600MR-16@60
>
> after this I run flash-kernel..

in theory, omapdrm will ignore the bootargs and just light up any and
all displays which it detects as connected at boot time. So just
unplugging hdmi and plugging dvi should be all you need. Assuming dvi
works properly at the moment in this kernel.

BR,
-R

Erik Andresen

μη αναγνωσμένη,
3 Αυγ 2012, 4:53:58 π.μ.3/8/12
ως panda...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Omap4430 Panda I stell don't get any sound out of the headset.
I tested with aplay.
I ran the ucm command.

greetings,
Erik


On 02.08.2012 19:25, 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 2- Re-install dkms package - if not
> omapdrm_pvr module will not load anymore untill you do that: $ sudo
> apt-get install --reinstall pvr-omap4-dkms
>
> *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.
>
> *New/Fixed in August 2012 release:* * Audio support on Headset is
> back * H264 video encoder. No camera support yet but Support for
> combo use-cases such as: v4l2 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 * xbmc package
> compatible with the release has been copied into TI release PPA *
> Bug 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 * the ducati DCE firmware
> including the following codecs: MPEG4/H264 decode + VC1/MPEG2
> decode (no encoders for now. it will come soon). -
> ubuntu-omap-extras-graphics: meta package that pulls in all GFX
> components including new X11 driver (binary blob) and SGX kernel
> module (source using DKMS to build) - ubuntu-omap-extras-config:
> some config scripts to set some permission issues, and to ensure
> that the Ducati firmware is loaded at boot time by upstart.
>
> This release comes with the following major changes: - DCE
> interface for the h/w accelerated codecs - already there in 11.10 -
> migration to rpmsg driver (aka syslink3, see
> http://lwn.net/Articles/448562/ and
> http://omappedia.org/wiki/Category:RPMsg ) - DRI2 extension for
> Video support (
> http://www.phoronix.com/scan.php?page=news_item&px=OTgxOQ) -
> migration to a new open source X11 driver for OMAP (
> http://cgit.freedesktop.org/xorg/driver/xf86-video-omap/ ) - a new
> GST video-sink: dri2videosink to display video through the SGX
> (instead of v4l2sink). For more information, see
> https://wiki.linaro.org/OfficeofCTO/MemoryManagement?action=AttachFile&do=view&target=linux-video.pdf
>
>
- - Linux 3.4 kernel, Ubuntu kernel will be replaced. This kernel is largely
> based of Linaro kernel, and sources are available here:
> http://dev.omapzoom.org/?p=integration/kernel-ubuntu.git.
> Linux-image-<version> package version correspond to a tag
> ti-ubuntu-<kernel version> in this tree. - ...
>
> Regards,
>
> *Xavier Boudet*
>


- --
"Those who cannot remember the past are condemned to repeat it."
- -- George Santayana
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlAbkaQACgkQ8NqlQQxmej6AhACfQfXkkTmjyYYfHPDb64BVDUOJ
+uQAoLdlqyQaud8NUr6TJT/CaEnxyVHD
=SPpV
-----END PGP SIGNATURE-----

Dan MacDonald

μη αναγνωσμένη,
4 Αυγ 2012, 11:01:26 π.μ.4/8/12
ως panda...@googlegroups.com
Hi Erik!

On Fri, Aug 3, 2012 at 9:53 AM, Erik Andresen <er...@vontaene.de> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Omap4430 Panda I stell don't get any sound out of the headset.
I tested with aplay.
I ran the ucm command.

If you've ran the correct alsaucm command for your user and platform and you're not getting any sound you may not have Pulseaudio configured correctly as Ubuntu runs PA by default.

(Install and) run pavucontrol, go to the Configuration tab and check your Panda devices profile is set to 'Analog Stereo Output'. You can also set PA device profiles from the terminal with pactl if you want.

Dan

Erik Andresen

μη αναγνωσμένη,
4 Αυγ 2012, 12:31:50 μ.μ.4/8/12
ως panda...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I told aplay not to run pulseaudio:
aplay -v -D plughw:0,0 sample.wav

Also I tried what you said with pavucontrol and tested the sound file
with paplay - still no sound.

I'm running kernel 3.4.0-1485-omap4 on 4430 Panda.

Please note that this is a fresh install of Ubuntu 12.04.
Audio output had worked right before I updated to ti-ppa.
I have attached the alsa state file from alsactl.

Can someone else test and confirm or deny analog audio output on 4430
Panda?

greetings,
Erik
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlAdTnUACgkQ8NqlQQxmej4ATwCbBun+OXwzxEneDBUoPzyt8tD9
Y9AAoIo5V2TmF/yHIfPpzbVwWhcaXJyQ
=Omz/
-----END PGP SIGNATURE-----
alsa.state

RomeoC

μη αναγνωσμένη,
15 Αυγ 2012, 4:06:05 π.μ.15/8/12
ως panda...@googlegroups.com, x-bo...@ti.com
Hi Xavier,

I have some issues with display image, it flick a lot. Also I have the folowing error in kernel trace and after a kernel panic.
Could be an issue or I did something wrong?

[ 1048.854614] omapdss DISPC error: FIFO UNDERFLOW on gfx, disabling the overlay
[ 1048.862884] omapdss DISPC error: GO bit not down for channel 1
[ 1048.971008] omapdss DISPC error: SYNC_LOST on channel tv, restarting the output with video overlays disabled

Regards,
Romeo
putty-15.log

Rob Clark

μη αναγνωσμένη,
15 Αυγ 2012, 9:27:44 π.μ.15/8/12
ως panda...@googlegroups.com, x-bo...@ti.com
could you try the kernel at http://people.freedesktop.org/~robclark/try9/ ?

if that isn't working, adding drm.debug=7 and omapdss.debug=1 in
bootargs and send a log w/ those traces

Thanks

BR,
-R

> Regards,
> Romeo

RomeoC

μη αναγνωσμένη,
16 Αυγ 2012, 7:20:46 π.μ.16/8/12
ως panda...@googlegroups.com, x-bo...@ti.com
Hi Rob,

Thank you for the update. Display does no flick anymore, but I noticed few issues:
- after any restart I have a black screen display with mouse cursor on it but nothing happens. After a switch to terminal (ctrl+alt+f1) and then back to X (ctrl+alt+f7) I have ubuntu desktop displayed
- totem freeze and loose frames a lot. When totem is playing Xorg use a lot of cpu. As a remark, I did not encountered these issues with TI version of kernel.

Thanks,
RomeoC
putty16.log

RomeoC

μη αναγνωσμένη,
16 Αυγ 2012, 7:26:28 π.μ.16/8/12
ως panda...@googlegroups.com, x-bo...@ti.com
Hi rob,
I'm not sure if it's important, but during kernel headers install I noticed the folowing info in terminal:
"Good news! Module version  for omapdrm_pvr.ko
exactly matches what is already found in kernel 3.4.0-1485-omap4.
DKMS will not replace this module.
You may override by specifying --force."

Regards,
RomeoC

Rob Clark

μη αναγνωσμένη,
16 Αυγ 2012, 11:31:18 π.μ.16/8/12
ως panda...@googlegroups.com
when it is in the state w/ only the mouse cursor on screen, could you
connect via serial or ssh, and 'dmesg > dmesg.log' and send that?

BR,
-R

beada

μη αναγνωσμένη,
26 Αυγ 2012, 5:17:30 π.μ.26/8/12
ως panda...@googlegroups.com, x-bo...@ti.com

I tried to install this 3.4.0-1485-omap4 #7 on my Pandaboard. I got an error during ubuntu-omap4-extras installing:

Re: Ubuntu 12.04 LTS works on Pandaboard & ES with Beadaframe
Code:
Setting up libsidplay1 (1.36.59-5) ...
Setting up libtwolame0 (0.3.13-1build1) ...
Setting up gstreamer0.10-plugins-ugly (0.10.18.3-1ubuntu1+ti1.6.2.1+1) ...
Setting up libfaac0 (1.28-0ubuntu2) ...
Setting up libgnomevfs2-extra (1:2.24.4-1ubuntu2) ...
Setting up linux-headers-3.2.0-29 (3.2.0-29.46) ...
Setting up linux-headers-3.2.0-29-omap (3.2.0-29.46) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.2.0-29-omap /boot/vmlinuz-3.2.0-29-omap
Error! Bad return status for module build on kernel: 3.2.0-29-omap (armv7l)
Consult /var/lib/dkms/pvr-omap4/1.9.0.4.1.1/build/make.log for more information.
Setting up linux-image-ti-omap4 (3.4.0.1485) ...
Setting up linux-ti-omap4 (3.4.0.1485) ...
Setting up xserver-xorg-video-omap (0.3.0-1+ti4) ...
Setting up gstreamer0.10-faac (0.10.23-1+ti1.6.4.3+1) ...
Setting up gstreamer0.10-sdl (0.10.23-1+ti1.6.4.3+1) ...
Setting up libgles1-sgx-omap4 (1.9.0.4.2.2-1) ...
Setting up libtiopenmax-domx1 (2.0.1-2) ...
Setting up pvr-omap4-utils (1.9.0.4.2.2-1) ...
Setting up pvr-omap4-xf86 (1.9.0.4.2.2-1) ...
Setting up ubuntu-omap4-extras-config (2.6) ...
ubuntu-omap4-extras-config stop/waiting
Setting up ubuntu-omap4-extras-graphics (1.2.5) ...
Setting up ubuntu-omap4-extras-multimedia (2.2) ...
Setting up ubuntu-omap4-extras (2.1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
root@temp-desktop:/home/temp# cat /var/lib/dkms/pvr-omap4/1.9.0.4.1.1/build/make.log
DKMS make.log for pvr-omap4-1.9.0.4.1.1 for kernel 3.2.0-29-omap (armv7l)
Sun Aug 26 15:02:00 CST 2012
make[1]: Entering directory `/var/lib/dkms/pvr-omap4/1.9.0.4.1.1/build/eurasiacon/build/linux2/omap4430_linux'
../config/core.mk:293: Setting SGX_DISABLE_VISTEST_SUPPORT=1 because PVRSRV_USSE_EDM_STATUS_DEBUG=1
../config/core.mk:340: CROSS_COMPILE is not set. Target components will be built with the host compiler
../config/core.mk:420: $(KERNELDIR)/vmlinux does not exist. Kbuild may fail.
  LD      /var/lib/dkms/pvr-omap4/1.9.0.4.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/built-in.o
  CC [M]  /var/lib/dkms/pvr-omap4/1.9.0.4.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.o
  CC [M]  /var/lib/dkms/pvr-omap4/1.9.0.4.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/mutils.o
  CC [M]  /var/lib/dkms/pvr-omap4/1.9.0.4.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/mmap.o
  CC [M]  /var/lib/dkms/pvr-omap4/1.9.0.4.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/module.o
  CC [M]  /var/lib/dkms/pvr-omap4/1.9.0.4.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/pdump.o
  CC [M]  /var/lib/dkms/pvr-omap4/1.9.0.4.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/proc.o
/var/lib/dkms/pvr-omap4/1.9.0.4.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.c:117:2: error: #error "A preemptible Linux kernel is required when using workqueues"
make[4]: *** [/var/lib/dkms/pvr-omap4/1.9.0.4.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.o] Error 1
make[4]: *** Waiting for unfinished jobs....
/var/lib/dkms/pvr-omap4/1.9.0.4.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/mmap.c:369:28: fatal error: linux/omap_drv.h: No such file or directory
compilation terminated.
In file included from /var/lib/dkms/pvr-omap4/1.9.0.4.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/module.c:133:0:
/var/lib/dkms/pvr-omap4/1.9.0.4.1.1/build/services4/srvkm/env/linux/private_data.h:96:28: fatal error: linux/omap_drv.h: No such file or directory
compilation terminated.
make[4]: *** [/var/lib/dkms/pvr-omap4/1.9.0.4.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/mmap.o] Error 1
make[4]: *** [/var/lib/dkms/pvr-omap4/1.9.0.4.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/module.o] Error 1
make[3]: *** [_module_/var/lib/dkms/pvr-omap4/1.9.0.4.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild] Error 2
make[2]: *** [kbuild] Error 2
make[1]: *** [build] Error 2
make[1]: Leaving directory `/var/lib/dkms/pvr-omap4/1.9.0.4.1.1/build/eurasiacon/build/linux2/omap4430_linux'
make: *** [all] Error 2

I did re-try 'sudo apt-get install ubuntu-omap4-extras' after this error, but it tell me latest ubuntu-omap4-extras is already installed.

How can I do with that?
Απάντηση σε όλους
Απάντηση στον συντάκτη
Προώθηση
0 νέα μηνύματα