All times are UTC-06:00




Post new topic  Reply to topic  [ 23 posts ] 
Author Message
 Post subject:
PostPosted: Wed Mar 30, 2011 9:06 pm 
Offline

Joined: Thu Feb 16, 2006 8:10 pm
Posts: 98
Quote:
Quote:
Quote:
All I can say is that I can get acceptable video performance with my smartbook and MPlayer. Make sure that you use the default X11 output in MPlayer. Using other outputs (for example GL or GL2) is a bad idea.

You can also try the Android 2.2 image that was made available. It can play some movies (codes issues probably) and smartbook is able to play them correclty.
With x11 output in MPlayer, I get at most 0.1fps on a 700mb 2h mpeg2 video. I don't consider that acceptable. Xv doesn't work at all.

Thanks for the advice, but Android is useless on a netbook, and I don't want to dual boot (is that possible btw?) just to play video.

Afaict, there's no hardware acceleration at all going on. I note that now, the efika mx netbook page on genesi's site states that there isn't yet software support for the hardware decoding. I wonder when it'll happen.
Xv is disabled because it locks the system specifically (we did have it enabled in the past but some kernel finagling seems to have broken it) and in general, it steals memory bandwidth for the VPU and IPU - we are working on a new driver which uses GPU texturing to render the video data and offload the bus (and the conversion) from that arbiter and those IP cores.

Multimedia acceleration is a twofold problem - first of all, that what we ship has to absolutely work out of the box, that means you pick a video file, it plays, it does not crash the system. You get that now, it's just sloooow because it's all done on the CPU.

Second of all, several media codecs are patented and to ship software that plays them we have to pay patent royalties to people like the MPEG LA, Thomson, Fraunhofer, Apple. Some of this isn't set up so if we shipped *today* we'd have accelerated video codecs but no audio codecs, and this means playing video becomes rather pointless in the end..

Once they're resolved we'll release. Current work focuses on the 2D driver (new Xv overlay method) and a kernel update.
as iv said before matt , you and markos, after all who better than the proven SIMD freevec dev should be helping out the ARM x264 and ffmpeg/libav VLC dev's port and write new NEON SIMD right now over on their IRC dev channels.

then this slow video playback speed would improve immensely and in a very short time, they need ARM NEON mentor's to step up and help out for GSOC for instance and Genesi customer's would benefit very quickly, for very little outlay on your part...

http://wiki.videolan.org/SoC_x264_2011
keep in mind virtually all the x264 SIMD gets taken and ported to or used directly by all the other video app's in use today, especially ffmpeg/libav and even the virtually unmaintained Mplayer takes and port's it's code from these too.

you could do a lot worse than also get Daniel <Jumpyshoes> Kang the 17 year old GCI student (that came to x264 knowing very little about SIMD and yet ended up writing the 10bit and AVX SIMD routines so speeding the APP up a lot with mentor instruction from <Dark_Shikari> within 2 days or so) an efika laptop etc and have markos mentor him for the ARM cortex NEON SIMD.

Daniel had stated on IRC etc he wants to learn ARM cortex NEON SIMD and port all his x86 SIMD routines to that too, but <Dark_Shikari> doesn't know that NEON and no other ARM dev has stepped up to date, and no kit to develop and test that code on OC.

given all the unit's bill have given out to date , it seems like a very odd thing to miss this simple option.

... to hang out on IRC, keeping a log of any questions and comments etc that pop up there, give a net-book and mentor a student that is willing and able and will port his SIMD to ARM NEON x264, FFmpeg/Libav, and perhaps even VLC if you encourage and ask he try and do that and make CPU NEON SIMD video playback so much better and faster, and OC no problem with end users installing and using that until you can sort out any legal HW playback licence problem's.

will you,markos and bill arrange and do that ?, then simply pop over to the #x264dev and libAVdevel (where lu_zero resides mostly today it seems) IRC channel's and get things moving..., there should be some real results within days or weeks if he's mentored and supported properly, it's not like he can even do the GSOC this year and get payed as he's not old enough to take part.

OC finally porting yasm to ARM cortex might also help get over that speed bump too as they use that were ever possible on the x86 port code, if some cortex NEON dev can be bothered to make the effort OC.

BTW what does a current git pull of the x264 and a simple compile make
checkasm --bench
result show on efika today ?, anyone care to post a permanent http://pastebin.com link of that to get an i.mx5 baseline and see if and when the speed improves given the limited NEON SIMD that's in there right now.


Top
   
 Post subject:
PostPosted: Sun Apr 17, 2011 10:50 am 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1594
Location: Austin, TX
Quote:
as iv said before matt , you and markos, after all who better than the proven SIMD freevec dev should be helping out the ARM x264 and ffmpeg/libav VLC dev's port and write new NEON SIMD right now over on their IRC dev channels.
NEON or not, there is not enough processor power on a Cortex-A8 or even a single core Cortex-A9 to decode a 720p high bitrate H.264 movie in software.

If you manage to get a second core in the game, there is just about enough to do the deblocking and deringing at significant CPU load. Hit 1080p and a decent 20Mbit/s stream and you're back into the "doesn't play fast enough" arena.

H.264 is an EXTREMELY high end codec that even some top end six-core PCs can have trouble playing.

We have hardware offloads and will finish support for these first. At least then 720p video will basically come for free. There's an issue with video overlays which is mostly kernel related.. in current releases it's disabled for that reason (it either crashes or displays nothing, and neither are very useful).. but with hardware offload of the decoding, any CPU power required for colour conversion will be negligible compared to the alternative of decoding the video in software AND doing the colour conversion.

_________________
Matt Sealey


Top
   
 Post subject:
PostPosted: Tue Apr 19, 2011 5:36 am 
Offline

Joined: Tue Apr 19, 2011 3:01 am
Posts: 12
Location: Helsinki, Finland
Even if we don't get the high-performance codecs or VPU support anytime soon, at least the video overlay would be a most welcome addition, since yuv-rgb conversion and scaling in software seems to make it close to impossible to play any videos.

So far I haven't seen much discussion on modesetting support. Is it planned? For example many games and emulators would benefit from smaller resolutions in fullscreen. Right now it seems you're stuck with the initial resolution. I'd also appreciate any updates on the DVI/HDMI detection improvement, since it seems to work on only half of the displays tried. Equally strange behavior with both, depending on the display - even if the EDID data seems to be perfectly ok.


Top
   
 Post subject:
PostPosted: Sun May 01, 2011 7:09 pm 
Offline

Joined: Sun May 01, 2011 6:12 pm
Posts: 42
Location: Denmark
Hi all

Been browsing these forums for a while while thinking about buying an Efika MX Smartbook.

One thing I don't understand is how video performance can be as bad as 0.1 fps when there are videos of the Smartbook seemingly playing YouTube videos flawlessly (even fullscreen):

http://www.youtube.com/watch?v=R29iKVpyBOY
http://www.youtube.com/watch?v=4L914kAIWOM

Also, this video - from about 2:50 - shows Windows running on a Tegra platform (they don't say if it's 2) and playing Full HD video (or so they say at least):

http://www.youtube.com/watch?v=xKc_XGuv ... age#t=166s

Is this a different Tegra platform from the one you're using? I mean, I know the drivers are different from the Linux drivers, but if it's possible on Windows - if the hardware is capable of it, shouldn't it be on Linux as well?

Also (with the risk of going off topic), is Flash supported? I've seen the Efika MX running Flash in Android in YouTube as well, is this specific to Android or does Flash work on Ubuntu as well? What about Java?


Top
   
 Post subject:
PostPosted: Sun May 01, 2011 8:56 pm 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1594
Location: Austin, TX
Quote:
Hi all

Been browsing these forums for a while while thinking about buying an Efika MX Smartbook.

One thing I don't understand is how video performance can be as bad as 0.1 fps when there are videos of the Smartbook seemingly playing YouTube videos flawlessly (even fullscreen):

http://www.youtube.com/watch?v=R29iKVpyBOY
http://www.youtube.com/watch?v=4L914kAIWOM

Also, this video - from about 2:50 - shows Windows running on a Tegra platform (they don't say if it's 2) and playing Full HD video (or so they say at least):

http://www.youtube.com/watch?v=xKc_XGuv ... age#t=166s

Is this a different Tegra platform from the one you're using? I mean, I know the drivers are different from the Linux drivers, but if it's possible on Windows - if the hardware is capable of it, shouldn't it be on Linux as well?

Also (with the risk of going off topic), is Flash supported? I've seen the Efika MX running Flash in Android in YouTube as well, is this specific to Android or does Flash work on Ubuntu as well? What about Java?
Officially:

Flash Player for the i.MX5x is a work-in-progress at Freescale and Adobe. As soon as it passes Adobe certification for Freescale, we intend to certify the Efika MX for Flash and start offering Flash as a free-to-all update. We cannot comment on specific acceleration and performance at this stage.

Unofficially:

We want to show the power and potential of the chip, basically, but we have to wait for certification before we can ship.

Some people have had access to the code so they can do things like evaluate it as a large customer, write magazine articles on the basis of an evaluation and future roadmap of the product. Consider these people a focus group on whether it is usable or not. When they agree it's better than nothing, and certification is complete.. then we will do our best to make it available.

Unfortunately this is not Windows or Mac, where Adobe just put the thing online, there is a very strict process we have to follow..

_________________
Matt Sealey


Top
   
 Post subject:
PostPosted: Sun May 01, 2011 8:59 pm 
Offline
Genesi

Joined: Tue Feb 07, 2006 4:49 pm
Posts: 145
Location: San Antonio, TX
We haven't released an accelerated graphics driver, due to performance issues, although this will soon change. That is why the video performance has been bad.

Windows 8 is supposedly going to run on ARM processors. Of course, that doesn't mean that you can pop Windows on it and run around the web downloading all your favorite shareware and freeware apps and they will work; It will be just like it is now, someone sees that there is linux support, downloads the deb, and sees that it is for x86/x86_64 (hello proprietary softwares!)

Flash is not supported at this time, please see Matt's reply to the other thread about it :)

I'm not a huge Java person, but I am able to use the Java applets (jnlps?) to connect to our Sun servers here just fine on an EfikaMX (a few minor hiccups, but I tend to chalk that up to Java ;) ) I'm sure there are plenty of Java people out there who can let us know if it works well or not :)

_________________
Steev Klimaszewski, Genesi USA Inc.
Senior Software Engineer


Top
   
 Post subject:
PostPosted: Sun May 01, 2011 9:26 pm 
Offline

Joined: Wed Mar 30, 2011 3:20 pm
Posts: 3
Location: Portland
I can verify that Java works normally.
There is no sun JDK (or JRE for that matter) for arm processors, so you're limited to IcedTea.
For IDEs - both Geany and NetBeans run on my netbook, but NetBeans is so slow that it's essentially unusable. I've written, compiled, and run code in Geany though - this is what I'd recommend.
All in all, this little netbook is pretty great for developing.

I also found those YouTube videos before I bought the netbook - they were really what convinced me to go for it. Big disappointment when it arrived completely unable to play even small videos directly from the drive. I got over it, and I'm now really happy I bought this thing.


Top
   
 Post subject:
PostPosted: Mon May 02, 2011 11:30 am 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1594
Location: Austin, TX
Quote:
I can verify that Java works normally.
There is no sun JDK (or JRE for that matter) for arm processors
Yes, there is!

Oracle actually do development and testing of these builds on the Efika MX.

_________________
Matt Sealey


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 23 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group