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
Video hardware acceleration does not work on Pandaboard ES Rev B1 + Ubuntu 12.04
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
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
 
wubin  
View profile  
 More options Nov 13 2012, 12:22 pm
From: wubin <vvu...@gmail.com>
Date: Tue, 13 Nov 2012 09:22:51 -0800 (PST)
Local: Tues, Nov 13 2012 12:22 pm
Subject: Video hardware acceleration does not work on Pandaboard ES Rev B1 + Ubuntu 12.04

Hi all,

I am trying to play 1080p h264 fully accelerated by the hardware decoder. I
checked that it is using gstreamer framework, so I used totem player to
test it. CPU usage is crazy high, and the video playback looks like a
slideshow... it just does not work. Again, Ubuntu LEB, TI OMAP PPA, none of
them could make it work. Besides, I would like to know if there is anyway
to make the hardware decoder working on Youtube for html5 videos. Right now
everything for me is just a slideshow.

Omappedia says The storage is a class10-133x 16G SD card. I did read that
omappedia says "Try moving the videos onto a USB flash drive and play them.",
but this one should still be fast enough to read 1080p h264 videos.
Any help would be appreciated.

-w


 
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.
Nicolas Dechesne  
View profile  
 More options Nov 13 2012, 2:54 pm
From: Nicolas Dechesne <nde...@gmail.com>
Date: Tue, 13 Nov 2012 20:53:54 +0100
Local: Tues, Nov 13 2012 2:53 pm
Subject: Re: [pandaboard] Video hardware acceleration does not work on Pandaboard ES Rev B1 + Ubuntu 12.04

On Tue, Nov 13, 2012 at 6:22 PM, wubin <vvu...@gmail.com> wrote:
> Hi all,

> I am trying to play 1080p h264 fully accelerated by the hardware decoder. I
> checked that it is using gstreamer framework, so I used totem player to test
> it. CPU usage is crazy high, and the video playback looks like a
> slideshow... it just does not work. Again, Ubuntu LEB, TI OMAP PPA, none of
> them could make it work. Besides, I would like to know if there is anyway to
> make the hardware decoder working on Youtube for html5 videos. Right now
> everything for me is just a slideshow.

> Omappedia says The storage is a class10-133x 16G SD card. I did read that
> omappedia says "Try moving the videos onto a USB flash drive and play
> them.", but this one should still be fast enough to read 1080p h264 videos.
> Any help would be appreciated.

we tend to maintain the TI PPA so that h/w accelerated video playback
works, at least most of the time... it would be easier if you could
provide details on how you install 12.04 + PPA on your panda, as well
as some logs. the interesting log files for us to help are:

# dmesg
# cat /var/log/Xorg.0.log
# lsmod
# dpkg -l
# cat /sys/debug/kernel/remoteproc/*/traces

if you can get something like this too:

GST_DEBUG=*:5 gst-launch playbin2 uri=file://<path to file>

then we should be able to quickly identify the problem..

also, if you want to check if h/w video is being used, you can monitor
/proc/interupts and check if MAILBOX interrupts count increase
(alternatively you can use 'itop' for monitoring). there is 1
interrupt per frame decoded if everything works well.


 
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.
wubin  
View profile  
 More options Nov 14 2012, 10:49 pm
From: wubin <vvu...@gmail.com>
Date: Wed, 14 Nov 2012 19:49:44 -0800 (PST)
Local: Wed, Nov 14 2012 10:49 pm
Subject: Re: [pandaboard] Video hardware acceleration does not work on Pandaboard ES Rev B1 + Ubuntu 12.04

I appreciate your time to check my logs. The only files I couldn't find is
"/sys/debug/kernel/remoteproc/*/traces". I also found that someone has the
similar issue (ducati is not loaded), but there is not further news for it.

# dmesg (http://pastebin.com/Q7UK1WQP)
# cat /var/log/Xorg.0.log (http://pastebin.com/8rPxsC2Z)
# lsmod (http://pastebin.com/Vf34z5FZ)
# dpkg -l (http://pastebin.com/npeKxHrj)
# cat /sys/debug/kernel/remoteproc/*/traces (Not available)
# gst-launch (http://pastebin.com/DCPqeW98)

Besides, after installing the newest TI release PPA on new Ubuntu system,
the kernel becomes very fragile. It either crashes during booting, or
freezes anytime, especially when the CPU load is high. I need to reboot
many times in other to start the system. Someone said that there is
something wrong with CPU frequency, but his trick did not work on me. I
will appreciate if you can also check the "kernel.oops.log" from the kernel
error.

# kernel.oops.log (http://pastebin.com/A38JNdvQ)
# boot.script (http://pastebin.com/U7w1hT4u)

Thanks.
-w


 
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.
Rob Clark  
View profile  
 More options Nov 19 2012, 1:50 pm
From: Rob Clark <robdcl...@gmail.com>
Date: Mon, 19 Nov 2012 12:50:08 -0600
Local: Mon, Nov 19 2012 1:50 pm
Subject: Re: [pandaboard] Video hardware acceleration does not work on Pandaboard ES Rev B1 + Ubuntu 12.04

remove the vram= and two mem= in the bootargs, and then regenerate
boot.src (mkimage or flash-kernel)

BR,
-R


 
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.
Jayneil  
View profile  
 More options Nov 19 2012, 4:01 pm
From: Jayneil <jayneil.da...@gmail.com>
Date: Mon, 19 Nov 2012 13:01:48 -0800 (PST)
Local: Mon, Nov 19 2012 4:01 pm
Subject: Re: [pandaboard] Video hardware acceleration does not work on Pandaboard ES Rev B1 + Ubuntu 12.04

Dear Wubin,

Since you have installed the TI ppa update, please change the bootargs in
boot.script as shown below:

fatload mmc 0:1 0x80000000 uImage
fatload mmc 0:1 0x81600000 uInitrd
setenv bootargs ro elevator=noop console=ttyO2,115200n8 mem=1G@0x80000000
root=/dev/mmcblk0p2 fixrtc splash
bootm 0x80000000 0x81600000

Then re-generate the boot.scr file as pointed out by Rob.

Cheers,
Jayneil.


 
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.
wubin  
View profile  
 More options Nov 20 2012, 1:54 pm
From: wubin <vvu...@gmail.com>
Date: Tue, 20 Nov 2012 10:54:08 -0800 (PST)
Local: Tues, Nov 20 2012 1:54 pm
Subject: Re: [pandaboard] Video hardware acceleration does not work on Pandaboard ES Rev B1 + Ubuntu 12.04

Thanks rob and Jayneil,

Finally I am able to see the h264 video clips working with totem by
hardware acceleration. I would suggest to add this part to the PPA
installation manual as well.
Here I have several questions, I will appreciate if you would give some
advise for them.

(1) I see some minor tearing from the video, especially when the motion in
the video is moving fast. Is it fixable?
(2) I see some "leftover" image from the video if I try to resize the video
playing window or switch among several windows. Is it fixable?
(3) Is there a way to make the chromium browser work with the ducati
decoder? I understand chromium/chrome browser uses ffmpeg framework instead
of gstreamer, but it would be great if there is any trick to make the
hardware decoder work with ffmpeg.

Thanks.
-w


 
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.
End of messages
« Back to Discussions « Newer topic     Older topic »