Slashdot Mirror


Hardware-Based Video Acceleration Coming To Linux

sammydee writes "Phoronix reports that GPU based video decoding acceleration will be implemented in Gallium3d sometime this year. Drivers currently using Gallium3d include the open source nouveau driver for NVIDIA cards and experimental Intel GMA drivers. This is definitely good news for anybody who has ever tried to play high-definition 1080p content on any CPU older than about a year."

143 comments

  1. Extremely stupid by Bombula · · Score: 2, Interesting

    I suppose I'm both ignorant and stupid, having been out of the build-your-own-box scene for more than five years now, because whenever I stroll past the video card section at best buy I swear I read things like, "LIGHTNING FAST DVD PLAYBACK AND VIDEO DECODING!" I had no idea video decoding was still CPU dependent. Give the governor harumph, I guess.

    --
    A-Bomb
    1. Re:Extremely stupid by gEvil+(beta) · · Score: 4, Informative

      Basically history is repeating itself. When DVDs first came out, MPEG-2 decoding was done on the CPU. Then video cards started having hardware supported MPEG-2 decoding. Now that we have the HD video codecs (AVC, VC-1, hires MPEG-2), we went back to square one (especially with AVC and VC-1, which require some pretty heavy lifting). In the past couple of years, video cards have added hardware support for those tasks, which otherwise would max out a fairly decent processor (~2GHz dualcore) trying to decode a high bitrate 1080p stream.

      --
      This guy's the limit!
    2. Re:Extremely stupid by somersault · · Score: 4, Informative

      I think the point is that it is CPU dependent if you don't have any assistance from video hardware acceleration, as is the case if your video drivers are incomplete.

      --
      which is totally what she said
    3. Re:Extremely stupid by LarsG · · Score: 2, Informative

      That the hardware supports it does not mean that the driver supports it.

      --
      If J.K.R wrote Windows: Puteulanus fenestra mortalis!
    4. Re:Extremely stupid by jonwil · · Score: 4, Interesting

      Part of the problem with hardware accelerated video decoding on Linux is that because Windows uses the accelerated video decoding to play back DRM protected media, the hardware companies cannot reveal how the video decoding part works (since it would presumably allow someone to grab the unencrypted-but-compressed video for various DRM protected video files by writing a windows driver or something)

    5. Re:Extremely stupid by RiotingPacifist · · Score: 1

      because DRM is soo effective, that they'd have to resort to that. lol

      --
      IranAir Flight 655 never forget!
    6. Re:Extremely stupid by MBGMorden · · Score: 2, Interesting

      Actually, there's an extra flip-flop step in there. When DVD's FIRST came out, hardware decoders were quite common. I remember DVD drives commonly coming with PCI hardware decoders (the RealMagic Hollywood+ was common) because at the time, many home computers simply didn't have the horsepower to pull off real-time MPEG2 decoding. My computer system when I got my first DVD drive was an AMD K6-2 450Mhz and software encoders couldn't keep up and I'd get occasional video stuttering. My hardware DVD decoder card kept up with the video just fine though.

      After I upgraded to a Celeron which was overclocked to 550mhz, I was able to then switch to a software encoder (preferable because the hardware solution had very finicky drivers).

      So we went from hardware, to software, back to hardware, back to software, and now back to hardware yet again :).

      --
      "People who think they know everything are very annoying to those of us who do."-Mark Twain
    7. Re:Extremely stupid by MilesAttacca · · Score: 2, Interesting

      And those hardware encoders are still godsends. I picked up a 500MHz Pentium III ThinkPad and a Margi PCMCIA decoder card for about $100, which gives me two hours' battery life and a 13.3" screen -- which respectively equal and thrash your average portable DVD player. When I'm not playing movies I can use the same device to check my e-mail, and when I am watching movies, I can even use a dongle to hook it up to a bigger screen and use it as my only DVD player. The downside is that I have to dual-boot because you can't find Linux Margi drivers anymore. (Can anyone hook me up?)

      --
      98% of America's teens drink alcohol, smoke, and have sex. Put this in your sig if you like bagels.
    8. Re:Extremely stupid by serviscope_minor · · Score: 2, Informative

      Actually, there's an extra flip-flop step in there. When DVD's FIRST came out, hardware decoders were quite common. I remember DVD drives commonly coming with PCI hardware decoders (the RealMagic Hollywood+ was common) because at the time, many home computers simply didn't have the horsepower to pull off real-time MPEG2 decoding. My computer system when I got my first DVD drive was an AMD K6-2 450Mhz and software encoders couldn't keep up and I'd get occasional video stuttering. My hardware DVD decoder card kept up with the video just fine though.

      There's another factor: better software. When I first started regularly watching TV and DVDs on my computer (Dual 866MHz P3), dvd playback was quite expensive and real-time encoding from the TV was right out. After a few years ffmpeg improved to such a point that playback used little CPU and real-time encoding from the TV was a reasonable proposition. The ffmpeg software codecs have been getting consistently faster and more efficient for quite a few years. These days, with improved scheduling and better software, I expect you could play DVDs smoothly on that old K6-2@450 with no problem.

      --
      SJW n. One who posts facts.
    9. Re:Extremely stupid by khellendros1984 · · Score: 1

      It's not about the practical matter of how effective DRM is. In theory, DRM is effective. That's how the law treats it, and that's how companies market it. Hardware companies have to play along with the charade, or find themselves unable to obtain the necessary licenses for whatever the new whiz-bang entertainment technology is in a few years.

      --
      It is pitch black. You are likely to be eaten by a grue.
    10. Re:Extremely stupid by Anonymous Coward · · Score: 0

      I had one of those too back in 1997 or so. I don't remember the exact model, but I'm sure it was a RealMagic card. Actually the particular system I had the DVD drive in had a lot of video cards including the RealMagic, a Matrox Millennium II and dual Voodoo 2 cards (SLI mode). It was a Pentium MMX 200MHz, so it needed all of the extra help it could get. Needless to say, it had a mess of loop cables on the back.

    11. Re:Extremely stupid by Anonymous Coward · · Score: 0

      Why do you bother coming here? You're not a nerd, nor are you particularly intelligent. Can't you go to digg or someplace?

  2. Don't know what to say ... by Swizec · · Score: 3, Interesting

    ... you mean we can do all the fancy stuff windows can, and better. But playing videos efficiently was the one thing we couldn't do? We had fancy GUI effects long before windows, we had efficient RAM usage, great file systems, but we had trouble playing a fucking video?

    Wow, wish I'd known.

    1. Re:Don't know what to say ... by Fweeky · · Score: 3, Informative

      If it's any consolation, GPU accelerated playback on Windows doesn't work all that often, and open source codecs/players tend to be the better ones there speed and support wise, acceleration or no.

    2. Re:Don't know what to say ... by Anonymous Coward · · Score: 5, Informative

      Playing a video is no problem.

      The problem is that a high-bitrate 1080p video stream requires a lot of CPU time to decode, and then you have to transfer the whole uncompressed frame out to the video card.

      Unless you have a really high-end CPU, there are no Windows-based video players capable of doing this with just software. They all require some kind of hardware acceleration. The specs for all this are nicely closed up, and are known only to Microsoft, video card manufacturers, and the few companies that implement video decoders (which is probably Microsoft again).

      Video card manufacturers like nVidia have refused to implement any kind of video decoding in their Linux drivers until there's an appropriate spec. They won't tell anyone what they're hardware is actually capable of, so nobody else can write a spec. We can't even reference Microsoft's basic design, because it's all closed off and secret.

      Oh, and most of it doesn't even work properly in Windows either. I've never managed to get it to work at all, and benchmarks I've seen seem to suggest that it's really only offloading 10% or so of the workload. Just enough to make the difference between working and not working, but not as much as it could be.

      The Gallium guys are planning to implement the entire thing in their video drivers, using only the 3D capabilities that video cards are known to have. That neatly bypasses the whole thing, but required that we have a single base driver to work with (which Gallium provides), and one or more video drivers actually using it (which, again, Gallium provides).

      I kind of hope that Gallium implements something similar to nVidia's CUDA - a programming model for running stuff on graphics cards that doesn't rely on graphics-related stuff like textures or polygons. That way, we'd have a way to implement different kinds of video decoders, encoders, or even things like physics simulations. Bonus points if it can be made compatible with something available on Windows...

      That said... Linux video players tend to be a hell of a lot quicker than Windows video players. I've played videos in Linux that were impossible to play in Linux.

    3. Re:Don't know what to say ... by dotancohen · · Score: 5, Funny

      I've played videos in Linux that were impossible to play in Linux.

      You should try Linux next time.

      --
      It is dangerous to be right when the government is wrong.
    4. Re:Don't know what to say ... by Anonymous Coward · · Score: 0

      That said... Linux video players tend to be a hell of a lot quicker than Windows video players. I've played videos in Linux that were impossible to play in Linux.

      You have?

    5. Re:Don't know what to say ... by nategoose · · Score: 4, Funny

      That said... Linux video players tend to be a hell of a lot quicker than Windows video players. I've played videos in Linux that were impossible to play in Linux.

      Quite an accomplishment!

    6. Re:Don't know what to say ... by jedidiah · · Score: 1

      Even then, there is still demand for 3rd party decoders. These can
      even be used in Linux to get over the problem of being able to play
      the BD-ROM version of Casino Royale.

      Some guys are already using this in conjunction with the HD-PVR.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    7. Re:Don't know what to say ... by Anonymous Coward · · Score: 0

      Video on Linux plays a lot quicker than Windows?
      You should turn off Fast Forward and it might be back to normal speed.

      Haha, who notices how fast their video players are with 1 second startup time difference.

    8. Re:Don't know what to say ... by Anonymous Coward · · Score: 0

      most of it doesn't even work properly in Windows either

      I'm glab this came out...
      The last time I upgraded the vid card on my windows gaming box I though I could finally enjoy those 1080p mkvs.
      So I hunted down the net to find out that, at the time with an nvidia 8800:
        - you need to install a specific version of PowerDVD (and you can't known the version number before installing it...)
        - it can't play all 720p files (which work great for me in software)
        - it can't play ANY 1080p file *AT ALL*

      But at least, with 720p it offloads ALL the video processing (5% cpu usage)

      Perhaps now, with some new obscure version of PowerDVD, everything works but I gave up.

      PS: this was for mkv files, with bluray all recent PDVD work fine

    9. Re:Don't know what to say ... by Anonymous Coward · · Score: 0

      Windows had fancy guy effects 10 years ago, http://www.stardock.com/products/windowfx/ did fancy alpha transparency of windows when my gf2mx was new.

    10. Re:Don't know what to say ... by Jah-Wren+Ryel · · Score: 1

      I think you mean AVI because PowerDVD can not parse MKV files.

      That said, get the latest version of Mediaplyer Classic Home Cinema (MPC:HC) it has native support for hardware acceleration too and it's Free.

      --
      When information is power, privacy is freedom.
    11. Re:Don't know what to say ... by hairyfeet · · Score: 1

      Yeah,tell me about it. Does anyone know how to get the stupid .mp4 decoding to work in XP on a 7600 series? The manual and the box for my BFG 7600 512 OC AGP says "playback of true high definition videos" and "support for Mpeg 2,WMV,and MP4",yet I go to Nvidia's website and all I find is a page trying to sell me a Mpeg 2 decoder for $20. I don't see how they can advertise decoding as a feature of the card if it doesn't work without shelling out more money. So don't feel bad,Linux desktops users,because it is a royal PITA for Windows users too. That is why I'm glad my laptop has an Intel chip. It may not do the fancy graphical tricks,but every distro I've ever thrown at it just worked out of the box. Maybe by the time Win7 comes out the Wine guys will have full DX9 & 10 support and I can just pick up Crossover Games and be done with Windows. But as always this is my 02c,YMMV

      --
      ACs don't waste your time replying, your posts are never seen by me.
    12. Re:Don't know what to say ... by Fweeky · · Score: 1

      CoreAVC should do it if you pay for the pro one (allegedly; not noticed the trial version doing so, but perhaps it doesn't include it). You can also try MPC-HC which will try to use DXVA for H.264, though I'm yet to actually catch it doing so.

    13. Re:Don't know what to say ... by hairyfeet · · Score: 3, Insightful

      Your post,with the allegedly,and supposed to,kinda makes me think of a good point: How are we supposed to know whether or not these things actually do what they say they do? What I mean is,tomorrow they could say this thing can decode format X,Y,Z,but when you actually TRY to find a way of getting to decode X-Z,you get this maze of "allegedly" and "supposed to" and this endless hunt through forums where we are told to buy this or that programs that "should" do it,maybe.

      These things are such black box hardware that short of someone actually getting it to work through CUDA I have no way of knowing without shelling out a bunch of cash and hoping my configuration works with their voodoo that the thing actually works. They can claim it'll render every codec known to man but if the only way to do it is some special driver that they don't offer to the public,how can that count? We can test for framerate,render quality,etc,but how do we accurately test for this? All Nvidia offers is a single Mpeg 2 codec for $20. I could not find anywhere where they would sell me an .mp4 codec for the card. And why are they allowed to tout this "feature" if there is no way to actually get the feature without shelling out more money to some third party that they don't even guarantee will work?

      Everyone else has to put disclaimers like "batteries not included",but while I can go to the corner store for batteries,I am supposed to...what.write my own driver? Shell out a bunch of cash playing "guess which codec might work"? It seems like a total scam to me,because they are touting a "feature" that 90% of their audience will never be able to use for lack of a freakin' driver.But as always this is my 02c,YMMV

      --
      ACs don't waste your time replying, your posts are never seen by me.
    14. Re:Don't know what to say ... by Anonymous Coward · · Score: 0

      I've played videos in Linux that were impossible to play in Linux.

      Yes, folks, Linux is that good!

  3. 1080p? by willie3204 · · Score: 2, Funny

    first 1080p post?

    1. Re:1080p? by Kugrian · · Score: 5, Funny

      What does this message say? It doesn't display on my computer.

    2. Re:1080p? by Anonymous Coward · · Score: 1, Funny

      For your convenience, here it is again:

      .

      .

      .

      oh, and this is the best part:

      .

      .

      .

      Best regards,
      Anonymous Coward

    3. Re:1080p? by Anonymous Coward · · Score: 0

      Looks pretty good to me with my Quadro card. I don't see any jittering at all unless I scroll. Wish I could get GPU-accelerated smooth scrolling.

  4. Windows games by Dracker · · Score: 1
    Looks like this would be an important step forward for running Windows games. From the wikipedia link:

    Gallium 3D will provide a unified API exposing standard hardware functions such as shader units found on modern hardware. Thus, 3D APIs such as OpenGL 1.x/2.x, OpenGL 3.x, OpenVG, GPGPU infrastructure or even Direct3D (as found in the Wine compatibility layer) will need only a single back-end, called state tracker, targeting Gallium 3D API.

    1. Re:Windows games by poetmatt · · Score: 1

      That would be the crushing blow to all gaming for windows if it works as you are suggesting. I don't know enough about software to make a statement on it.

      Also though, doesn't VLC linux handle H.232 or whatever it's called and other 1080p stuff?

    2. Re:Windows games by The_Angry_Canadian · · Score: 1

      I think it would be a great thing for linux but enough with those Windows only game. The only reason I still run XP / Vista is that i'm a gamer.
      I found replcament for pretty much everything on the linux side for what I do at work but I have to install XP / Vista because Steam is just to handy now and my collection of PC game is getting too big to even think about sitting in front of my computer and start configuring Wine for each of them.

      Wine is a nice concept but just to freaking painfull to configure imho. We need studios to start releasing Linux game at the same time the windows one are... ho wait.... perhaps I should give a try to Wine 1.0.

    3. Re:Windows games by BhaKi · · Score: 1, Informative

      Steam, Half-life and Counter-Strike are running excellently in wine 1.0, with higher stability and performance in wine than in windows!!! Just remember to use the openGL mode, not DirectX mode.

      --
      The largest prime factor of my UID is 263267.
    4. Re:Windows games by somersault · · Score: 2, Insightful

      The point isn't that Linux doesn't have codecs to play play hi-def content, the point is that there apparently are no Linux drivers out there that make use of the HD video acceleration hardware that is currently available.

      As for having yet another API to go through, I fail to see how it would be a 'crushing blow to all gaming for Windows', since even if it did have perfect Direct3D compatibility, it would simply make it easier to port Windows games to Linux. We already have Direct3D support through WINE, and even then it isn't 100%, so what makes you think that starting again and trying to route it through another API is going to make it any better?

      What would be more of a problem for Windows gaming, is if games manufacturers actually started making games for other operating systems. Even then it is not going to be a 'blow' unless this actually causes less games to be sold for Windows.

      I don't mean this post in any hostile or patronising way btw, I simply am trying to point out what I think is the case. I've often wished over the years that more games were made specifically for Mac OS and Linux. Recently I just gave up and got a PS3. Consoles haven't been a very attractive option compared to PC gaming since the controls aren't very suitable for some types of game (RTS/FPS), but at least these days they can download patches and extra content. I still wish all FPS games on the PS3 would support the keyboard and mouse arrangement, but I'm getting okay with the joysticks. And at least for online play, everyone else is limited by the same type of control system. I mostly just miss the mouse when using sniper rifles now, as I know from Counter-Strike and Operation Flashpoint that I am capable of far, far better speed and precision with a mouse.

      --
      which is totally what she said
    5. Re:Windows games by Anonymous Coward · · Score: 0

      I know for a fact that Portal will not work with Wine and ATI's fglrx driver. The benefit of Gallium 3D is that Wine does not need to translate to both the NVidia OpenGL specification and the ATI OpenGL specification, but translate to the Gallium 3D API, which will do the translating in one framework.

    6. Re:Windows games by WaroDaBeast · · Score: 3, Informative

      I think you meant h.264 -- you were probably thinking about RS-232 for the number.

      And yes, VLC Linux does support h.264 playback, but 1080p videos are likely to display stuttering if not GPU-accelerated: I tested it on my machine, CPU is an Athlon X2 5600+ and GPU is a Geforce 8800GTS; anything up to 720p was fine, but 1080p was unwatchable prior to installing nVidia Purevideo.


      P.S.: Seems 1080i is fine too if not GPU-accelerated.

      --
      "The body may heal, but the mind is not always so resilient." -- Deus Ex: Human Revolution
    7. Re:Windows games by somersault · · Score: 1

      Does Gallium then have to have appropriate interfaces to nVidia/ATI's version of OpenGL? It seems like this is a case of improper implementation of specifications, like people having to write websites directly to work with IE, rather than writing them to comply with web standards..

      --
      which is totally what she said
    8. Re:Windows games by BrentH · · Score: 1

      It runs, if you're happy with DX8.1 effects and breakage from time to time. Neither of those appeal to gamers, not even gamers that like Linux.

    9. Re:Windows games by Anonymous Coward · · Score: 0

      Ofcourse you realize that vlc will be 100% unaffected by _ANY_ amount of weird nvidia pureview stuff you install.. right? because it seems like you are claiming something else..

    10. Re:Windows games by Khyber · · Score: 1

      Recently I gave up on my PS3. Even Assassin's Creed on my LAPTOP at 1440x900 (and laptops are known for not having good graphics) runs smoother than the PS3 playing the same game in standard definition. It's sad when a gaming console gets beat out by an all-purpose machine. A PORTABLE ONE, at that.

      --
      Still waiting on Serviscope_minor to wake up to fucking reality and realize that Jessica Price isn't going to fuck him.
    11. Re:Windows games by PitaBred · · Score: 1

      Send it to me? I'll even pay shipping ;)

    12. Re:Windows games by PitaBred · · Score: 1

      Weird... I have an Athlon X2 4600+ and just an embedded AMD x1250 (RS690 chip), and it plays 1080p quite well on my MythTV media center. But I use mplayer as the backend. Perhaps your drive wasn't up to the reading speed necessary, or VLC is just crap at HD video? Because the only stuttering or weird stuff I get is when I pause and start or skip around in the file, and that's only for less than a second while things sync back up.

    13. Re:Windows games by Khyber · · Score: 1

      The fiance has the PS3, now. He likes GTA and Turok.

      --
      Still waiting on Serviscope_minor to wake up to fucking reality and realize that Jessica Price isn't going to fuck him.
    14. Re:Windows games by modemboy · · Score: 1

      Were you playing 1080p MPEG2 or 1080p MPEG4/h.264? Worlds of difference. I've got a 4400+ with MythTV and can playback 720p and 1080i h.264 no problem, but 1080p drops lots of frames...
      1080p Mpeg2 plays back easy...

    15. Re:Windows games by PitaBred · · Score: 1

      [mkv] Track ID 2: audio (A_AC3) "English (AC3)", -aid 0, -alang eng
      [mkv] Will play video track 1.
      Matroska file format detected.
      VIDEO: [avc1] 1920x800 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
      ID_FILENAME=The Fifth Element - HD1080p.mkv

      I'm pretty sure that [avc1] is H.264, so yes, it is H.264. Didn't realize it was only 800px high, though. I thought it was 1080. Whoops.

    16. Re:Windows games by PitaBred · · Score: 1

      Hate replying to myself:

      Just for some more info, it's a 4600+, an AMD RS690 video card (integrated X1250), 2GB of 667MHz DDR2 (I think... it may be 800MHz), and all the video data is on a software RAID5 array of 250GB SATA 1.5Gbps disks. The display (61" Samsung LED engine DLP) is detected at 1920x1080, so there's no downsampling or anything of the video going on. I have noticed a "tear" or two going on every now and then, but that's it. I haven't explicitly checked for dropped frames, but the quality of the playback has been good enough that I haven't wanted to investigate it.

    17. Re:Windows games by WaroDaBeast · · Score: 1

      No need to talk about nVidia this way. No, I hate them too, but that's not the point.

      So yes, I thought it wouldn't be affected either, but I can't deny the facts: I have zero codec packs installed, and prior to installing Purevideo, any 1080p video -- they're avc1 by the way -- would have my CPU utilisation at 80%, plus stutters. After installing Purevideo, what I get is 50% CPU utilisation and no stutters at all.


      Actually I do get stutters with some files, but that's because they're MKVs and that is valid for any HD file in that format, be it 720p or 1080p.

      --
      "The body may heal, but the mind is not always so resilient." -- Deus Ex: Human Revolution
    18. Re:Windows games by WaroDaBeast · · Score: 1

      I've never bothered to test mplayer 'cause VLC will play almost anything I throw at it, but what I heard was that it's pretty fast, so that could be the reason why you don't have any stuttering problem.


      P.S.: This video you're talking about is probably 'only' 800 px high because the movie is in 2.40:1 screen ratio.

      --
      "The body may heal, but the mind is not always so resilient." -- Deus Ex: Human Revolution
    19. Re:Windows games by somersault · · Score: 1

      Sounds more like an issue with the game than the console. I didn't buy Assassin's Creed because while it sounds cool, it's apparently very repetetive and gets old fast. Half-Life 2 is meant to be awful on the PS3 because the port wasn't done by Valve themselves. Seeing as Assassin's Creed was quite an early PS3 game as well, you can't expect the developers to be as familiar with the system as they will be in a couple of years. Games usually look better and better throughout a console's lifespan. My laptop certainly has nothing like the power of my PS3, and overheats after an hour or so driving my HDTV on medium graphics settings on Test Drive Unlimited (not even at full resolution), so there's more anecdotal evidence to balance out yours!

      --
      which is totally what she said
    20. Re:Windows games by BhaKi · · Score: 1
      Please stop spreading that shit. You seem to have either

      tested an old version of wine, or

      tested CS in DirectX mode instead of OpenGL.

      --
      The largest prime factor of my UID is 263267.
  5. XVMC? by Anonymous Coward · · Score: 0

    Doesn't XVMC already do this? I know Nvidia & Openchrome do it this way, I don't know about all the others. But with openchrome, xvmc makes a huge impact on CPU usage during video playback on embedded devices. I see that this new solution is better and supports more resolutions & codecs, but I wouldn't say that Linux completely lacks hardware-based video acceleration right now.

    1. Re:XVMC? by hummassa · · Score: 2, Informative

      IIRC XvMC is only MPEG2 and not AVC (=x264?), VC-1, more common HD codecs.

      --
      It's better to be the foot on the boot than the face on the pavement. ~~ tkx Kadin2048
  6. And by Mateo_LeFou · · Score: 1

    Nearly-as-important things like Folding!

    --
    My turnips listen for the soft cry of your love
  7. Already there by bconway · · Score: 5, Informative

    nVidia's binary drivers and X.org's Intel drivers have had XvMC support for well over a year. I've been using both card successfully with Xine and accelerated 1080p video. I think the news here is that the nouveau project is catching up, but that's hardly clear from the article.

    --
    Interested in open source engine management for your Subaru?
    1. Re:Already there by krgallagher · · Score: 2, Informative
      "I think the news here is that the nouveau project is catching up, but that's hardly clear from the article."

      I copied this from Wikipedia:

      Gallium 3D will provide a unified API exposing standard hardware functions such as shader units found on modern hardware. Thus, 3D APIs such as OpenGL 1.x/2.x, OpenGL 3.x, OpenVG, GPGPU infrastructure or even Direct3D (as found in the Wine compatibility layer) will need only a single back-end, called state tracker, targeting Gallium 3D API. By contrast Mesa 3D requires a different backend for each hardware platform, and several other APIs need translation to OpenGL at the expense of further overhead.[1][2][3] In addition, using the modular structure of Gallium 3D, there are works underway to leverage the LLVM compiler suite and create a module to optimize shader code on the fly

      I'm no expert, in fact this is a little out of my league, but I think it means that hardware drivers can expose a common implementation of system calls for 3d API's to use. It provides more standardization and allows more of the processing to be passed off to the GPU instead of handled by the CPU. If I missed the concept here, someone with better understanding please explain it to us "non-techies."

      --

      Insert Generic Sig Here:

    2. Re:Already there by samkass · · Score: 2, Interesting

      The LLVM approach is interesting. They're basically following Apple's lead here, whose drivers use LLVM intermediate bytecode to compile shaders to either a GPU or CPU depending on hardware availability and heuristics. It basically makes it easier to support new hardware and provide relatively high-performance fallbacks in the case specific hardware capabilities are not present. All using a common architecture instead of one-off development.

      --
      E pluribus unum
    3. Re:Already there by hummassa · · Score: 3, Interesting

      1080p with XvMC and which codec? I thought XvMC didn't do x264, for instance.

      --
      It's better to be the foot on the boot than the face on the pavement. ~~ tkx Kadin2048
    4. Re:Already there by sammydee · · Score: 1

      Yes, but if it is implemented in gallium3d, this means that:

      1) Any driver using gallium3d will automatically support video decoding
      2) It is very easy to add extensions to the protocol, ie finally support something other than mpeg2 which is very outdated now anyway.

      Sam

    5. Re:Already there by Big+Boss · · Score: 1

      MEPG2 might be a little outdated on the internet, as most things older than about 5 minutes are. But it's still the standard for OTA HDTV. If you use an antenna for HDTV, you use MPEG2. And many people still do it for local channels as Cable and Sat operators are starting to re-compress the data enough that people with large sets are noticing a quality difference.

      And it's free, so why not use it? :) Not that I have a problem with supporting more codecs with hardware accelerated decode. May as well have that GPU doing something useful and take some load off the main CPU.

    6. Re:Already there by Anonymous Coward · · Score: 1, Informative

      Current nVidia drivers (as in > 100.xx.yyyy) have broken support for XvMC.
      XvMC only accelerates MPEG2 video playback (which any CPU with less than 2 yrs can handle easily even at 1080p). XvMC has no support for H.264, WMV, MPEG4, etc.

      There's also a new video acceleration API, but still in planning stage. See http://en.wikipedia.org/wiki/VAAPI .

      If you don't own a fast Core 2 Duo, you'll have a hard time playing H.264 at 1080p in linux. Or even 720p with some recently encoded footage and a slower processor.

      So, Gallium 3d + Noveau is good news. At last...

    7. Re:Already there by roystgnr · · Score: 2, Interesting

      nVidia's binary drivers and X.org's Intel drivers have had XvMC support for well over a year.

      I'm confused - what happened a year ago? nVidia's binary drivers have had XvMC support for their older cards for many years, whereas for the 8xxx series of cards their drivers lack XvMC support *still* (at least as of the version 173.14.05 I installed a couple months ago).

    8. Re:Already there by Deadplant · · Score: 0

      HD OTA broadcasts suck.
      mpeg2 is fine except that the bitrate you need to use in order to have 'perfect' 1080p video is 35mb/s and the OTA signals are waaay below that. 8mb/s maybe?

      h264 and vc1 look fantastic between 8 and 15 mb/s

      My 2.0ghz intel core duo could not decode the higher bitrate h264 and vc1 streams.
      I think that a top of the line 3.6ghz single core might have worked. (most of these codec implementations aren't even multi-threaded! I actually went out and paid for coreavc)
      It is all rather frustrating when I know that my video card could decode and render it all twice over with one hand tied behind it's back.

    9. Re:Already there by Narishma · · Score: 1

      Except they are not following since Gallium 3d was started one or two years ago, and the Apple thing was just announced recently.

      --
      Mada mada dane.
    10. Re:Already there by Xabraxas · · Score: 1

      1080p with XvMC and which codec? I thought XvMC didn't do x264, for instance.

      You mean h.264. h.264 is the format, x264 is an encoding library.

      --
      Time makes more converts than reason
  8. Google summer of code... by MMC+Monster · · Score: 4, Informative

    This is apparently a google summer of code project.

    While I am hopeful, let's not write this one on stone until it's released.

    --
    Help! I'm a slashdot refugee.
  9. Not really by JamesP · · Score: 5, Interesting

    This is definitely good news for anybody who has ever tried to play high definition 1080p content on any CPU older than about a year.

    Actually, one of the most preeminent examples of HW decoding of video nowadays is the Intel Atom processor, not really old processors.

    Video accel. is inside the chipset for this one.

    And yes, it is available in Linux, you will probably be able to watch h264 movies in your new EEEPC

    --
    how long until /. fixes commenting on Chrome?
    1. Re:Not really by MrHanky · · Score: 1

      If you actually could read, you'd notice that it says "on any CPU older than about a year", i.e. not Atom or any other CPU fast enough to decode 1080p h264. You know, Celerons and stuff.

    2. Re:Not really by Anonymous Coward · · Score: 0

      No Sir, you can't read!

    3. Re:Not really by WaroDaBeast · · Score: 4, Funny

      And yes, it is available in Linux, you will probably be able to watch h264 movies in your new EEEPC

      Yay, 1080p movies on my seven inch screen! Plus I can even hook it up to my newly acquired 35:000 contrast ratio, 24p capable, 1080p fifty-two inch flat TV through a VGA connexion! HURRAY!


      Relax, I'm just poking fun. ;)

      --
      "The body may heal, but the mind is not always so resilient." -- Deus Ex: Human Revolution
    4. Re:Not really by Anonymous Coward · · Score: 0

      The Atom may be a recent processor, but it's definitely NOT fast enough to decode 1080p h.264 without help from a graphics chipset. Even LAME encoding is a pretty tough task for the Atom, according to the benchmarks we've seen.

    5. Re:Not really by Deadplant · · Score: 1

      VGA is analog but aside from that it is great.
      Quite capable of crystal clear 1080p and higher.

    6. Re:Not really by JamesP · · Score: 1

      Yes, it is not fast enough, except it has an embedded h264 decoder _in_hardware_ (in the Intel chipset that goes with it)

      And it does 1080p beautifully (yes, I've seen it)

      --
      how long until /. fixes commenting on Chrome?
    7. Re:Not really by PitaBred · · Score: 1

      Seconded. I've got my MythTV box hooked up through VGA to my 61" LED Samsung DLP, and 1080p works pretty well. Just gotta beware of the little bits of noise VGA cables can pick up from other cables running near them. I'll get an HDMI cable eventually.

    8. Re:Not really by WaroDaBeast · · Score: 1

      Yes, I know a VGA device is capable of outputting high resolutions without any problems -- I remember 2048x1536 as the maximum resolution. The thing is, I've noticed on some setups how using the VGA connexion would result in a blurry image compared to DVI/HDMI. Maybe the signal emitting devices just had crappy analog components. Or the telly/monitor.

      --
      "The body may heal, but the mind is not always so resilient." -- Deus Ex: Human Revolution
    9. Re:Not really by Anonymous Coward · · Score: 0

      Funny, if it's true what the above post says and the atom can play 1080p in software. Then, yes, you can play it on the eepc connected to a 1080p fifty-two inch plasma TV connection. And, yes, you can use a VGA connection to display 1080p signal on you the 35:0 contrast ratio 24 progressive frames per second capable tv.

      Enjoy.

  10. Speaking of Xine by DrYak · · Score: 4, Informative

    Xine has supported hardware accelerated DVD video (MPEG1/2) decoding using EM8300 based cards like Sigma Design's Holywood+ and Creative's DXR3, since about 2000.
    (But that was done using an ad-hoc module inside Xine, not using generic APIs like XvMC or the future Gallium3d video)

    The Gallium3D Video API is a good news, because it'll probably be able to address shortcommings that XvMC has.

    --
    "Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
  11. Release documentation by BhaKi · · Score: 0

    All the delay is because of manufacturers like nVidia who keep secret the hardware programming documentation. Any hardware vendor who doesn't release hardware programming documentation should be punished for anti-competitiveness because they are forcing customers to choose from a small finite set of OSs.

    --
    The largest prime factor of my UID is 263267.
    1. Re:Release documentation by dave420 · · Score: 2, Insightful

      But they're video card manufacturers, not OS providers. It's not anti-competitive in the slightest. Sour eggs, perhaps? :)

    2. Re:Release documentation by mikael · · Score: 1

      VGA was probably the most open video standard for hardware programming. Once you know what all the different registers were for, you could do all sorts of fun things, like having paged framebuffers, one super big 256-color framebuffer larger than the actual screen size, or reprogram the hardware video font.

      That's probably what they fear - having lots of people trying out different ideas, rather than having one company (Microsoft) deciding their future for them.

      --
      Vintage computer adverts: http://www.vintageadbrowser.com/computers-and-software-ads
    3. Re:Release documentation by BhaKi · · Score: 0

      If they release programming specifications for the hardware, their customers will be able to use the hardware with any OS they want (either by writing their own drivers or by pointing the creator of their OS to the programming specifications). If they don't provide programming specifications, their customers will be able to use only those OSs for which the manufacturer has provided drivers. For example, nVidia doesn't specify any programming specifications but just provides drivers for Windows, Linux, FreeBSD and Solaris. What about the users of OpenBSD. Don't the OpenBSD developers have the right to know how to work with the hardware? After all, the hardware doesn't need to know which OS is being used on the computer. Its job is to execute instructions from OS and applications. Isn't it a fundamental duty of the hardware manufacturer to specify how to program their hardware. Just imagine how the world would have been if Intel just released x86 processors without specifying its instruction set. Getting my point?

      --
      The largest prime factor of my UID is 263267.
    4. Re:Release documentation by BhaKi · · Score: 0

      VGA was probably the most open video standard for hardware programming. Once you know what all the different registers were for, you could do all sorts of fun things, like having paged framebuffers, one super big 256-color framebuffer larger than the actual screen size, or reprogram the hardware video font.

      Standards are a totally different issue. Today, the GPUs are not even documented, let alone standardization of the programming.

      That's probably what they fear - having lots of people trying out different ideas, rather than having one company (Microsoft) deciding their future for them.

      Exactly!! But isn't that punishable? Isn't that anti-competitive to dictate people's choice of OS even when the GPU's behaviour has nothing to do with which OS it is running on??

      --
      The largest prime factor of my UID is 263267.
    5. Re:Release documentation by IBBoard · · Score: 1

      Just imagine how the world would have been if Intel just released x86 processors without specifying its instruction set and without providing any wrapping layer that does the accessing for you, like the nVidia binary drivers do. Getting my point?

      There, fixed that for you. nVidia not releasing specs means you have to use their drivers. Intel not releasing specs for x86 would mean you can't do anything with it, fullstop. Yes, some OSes end up in a similar situation, but I don't see the Amiga OS crew complaining.

      More on topic, it sounds promising. If only I didn't have a Radeon X800. Maybe when I make my Myth TV box I'll get an nVidia.

    6. Re:Release documentation by BhaKi · · Score: 1

      Just imagine how the world would have been if Intel just released x86 processors without specifying its instruction set and without providing any wrapping layer that does the accessing for you, like the nVidia binary drivers do. Getting my point?

      There, fixed that for you. nVidia not releasing specs means you have to use their drivers. Intel not releasing specs for x86 would mean you can't do anything with it, fullstop. Yes, some OSes end up in a similar situation, but I don't see the Amiga OS crew complaining.

      More on topic, it sounds promising. If only I didn't have a Radeon X800. Maybe when I make my Myth TV box I'll get an nVidia.

      I'm just trying to convey that the wrapping layer is OS-specific. You can't use nVidia's Linux drivers on OpenBSD or NetBSD. I should have a little bit more clearer: Just imagine how the world would have been if Intel just released x86 processors without specifying its instruction set but providing wrappers for only Windows. Then there would have been no other x86 OSs on earth since it would have been impossible for other OS-writers to create x86 OSs, no matter how competent programmers they are.

      --
      The largest prime factor of my UID is 263267.
    7. Re:Release documentation by IBBoard · · Score: 1

      True, to a degree. There would have be other OSes, because some crazy (and talented) people would decide they wanted to spend their time reverse engineering it and making their own wrapper, just like people do for the graphics drivers. It would admittedly be a lot further behind, though.

    8. Re:Release documentation by dave420 · · Score: 1

      Nope. OpenBSD users, or indeed anyone, do not have a right to use the hardware. I can see what you're getting at, but there is no reason for nVidia to open anything up. "Because it'd be cool" is not a good enough reason.

    9. Re:Release documentation by jedidiah · · Score: 1

      No. OpenBSD users do indeed have a RIGHT to use the hardware. They have
      the same right to use it as anyone else. Any product should be fit and
      suitable. If it's a product that is sold with the intent that consumers
      will be doing their own systems integration then full documentation
      should not even be a question.

      If there's a retail box, there should be a programming manual as detailed
      and complete as any as you would be able to get for a microprocessor.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    10. Re:Release documentation by BhaKi · · Score: 1

      When nVidia advertises their GPUs, they call the hardware as "GPUs" and not "GPUs that work only with Windows, Linux, FreeBSD and solaris". When it is advertised in such way, the GPU has to work as a GPU with all OSs on earth, and that's possible if and only if complete programming documentation is provided. So, nVidia should either 1. Provide all programming documentation, or 2. Mention explicitly in the advertisement that their hardware is not for people who want complete freedom of choice of OS.

      --
      The largest prime factor of my UID is 263267.
    11. Re:Release documentation by mikael · · Score: 1

      Standards are a totally different issue. Today, the GPUs are not even documented, let alone standardization of the programming.

      An open standard allowed hardware vendors to hide their custom techniques behind a standard interface (memory mapped register sets/texture framebuffers.

      Third party board developers do get access to the specifications. I know a few companies who have built embedded systems using these chips.

      Exactly!! But isn't that punishable? Isn't that anti-competitive to dictate people's choice of OS even when the GPU's behaviour has nothing to do with which OS it is running on??

      Absolutely. That's what I dislike about Microsoft - they sit between the hardware vendors, and the application developers, and insist on particular API's being used, which will either change rapidly, or be built on top of legacy 8086 programming standards.

      --
      Vintage computer adverts: http://www.vintageadbrowser.com/computers-and-software-ads
  12. Re:Wow by Anonymous Coward · · Score: 2, Funny
    The got the headline wrong. It should have said:

    Hardware Accelerated High Definition Pr0n vids Coming To Linux

  13. Was there, nearly gone by Jo+Deisenhofer · · Score: 4, Informative

    XvMC does only accelerate MPEG-2, and not many use it, because the de-interlacing you can get sucks. And for MPEG-2, you usually don't need hardware acceleration anyway.
    nVidia, like ATI, are moving away from video overlays and have some pretty nice GPU-based video decoding built into their cards using the GPU (most of it probably implemented as shader programs).
    But you can't use any of that with linux, you are basically down to hardware video scaling, which the newest cards no longer really support.
    It is high time for a new, industry standard API for video. I hope that's what they are doing.

  14. What about software? by ThePhilips · · Score: 2, Interesting

    Last time I was trying to play HD video on my Ubuntu - with both Xine and Mplayer - I hadn't noticed that there was performance problem related to lack of HW acceleration. (I didn't tried VLC - it can't even playback smoothly HD video on Windows where such acceleration is already available.)

    While CPU load was remaining low (~25% on dual core CPU), 720p video still was playing with terrible jitter. In Mplayer few minutes later A/V sync (as usually) went south. Xine started dropping frames. All that while nor CPU load, nor kernel times where displaying any anomaly.

    I'd say that problem lies elsewhere and HW accel (though welcome) might not solve the video playback problems.

    P.S. At least when there would be HW accel, it would be easier to bash the server/hpc/oracle folks who now monopolize completely LKML. Probably then they would start paying attention to desktop Linux needs. Quoter of the attention they spent discussion fresh Oracle benchmarks would be more than enough.

    P.P.S. Tests (actually I was just trying to watch my anime on Linux) where done on AMD 4200+ X2 + nVidia gf7800gt (evil proprietary drivers are installed) + RAM 2GB DDR CL2.

    --
    All hope abandon ye who enter here.
    1. Re:What about software? by puto · · Score: 4, Informative

      VLC works great for me on the windows boxes I use for my home media system. Plays HD contect fine.

      The one in the living room is a Core2 1.8 with 1.5 of ram with an ATI 2400 HD card and no problems with HD acceleration in XP.

      I do not game much, so this 59 dollar HD card has been great.

      Workstation is same setup, with two gigs of ram and vista, no problems with HD video.

      Server side is a linux box which runs headless. /all rooms have a pc attached to the tv /my guests can surf the web, watch movies, videos /or grab a wireless rumblepad and play any mame game of their choosing.

      --
      The Revolution Will Not Be Televised
    2. Re:What about software? by ThePhilips · · Score: 1

      Can you elaborate on kind of HD content you playing? codecs? container formats?

      I have mainly 720p .MKV files with H.264 video, OGG or AC3 (sometime dual) audio and ASS/SSA subtitles. File sizes range from 1 to 8GB.

      P.S. Forgot to mention that with Xine based players changing of audio track doesn't work. After first/second change, sound just disappears.

      --
      All hope abandon ye who enter here.
    3. Re:What about software? by Big+Boss · · Score: 1

      With MythTV I can play 1080i or 720p (output to the TV over component at 720p as that's the TV's native res). Hardware is an Athlon X2 3800 (I think) with 1GB RAM and embedded video (GF6450 based).

      I don't use any hardware accel, and am doing deinterlacing (BOB2x IIRC). I use about 30% CPU and notice no playback issues.

      Playback also works well on Windows with VLC on similiar hardware. This is all with ATSC sourced MPEG2 video.

    4. Re:What about software? by puto · · Score: 1

      Sure,

      720(mostly) mkv with ogg and and ac3 play no hitches, even when i split the screen and surf the web while watching(42 inch lcd) in the living room. 1080 runs without a hitch, and the card is passively cooled.

      The CoreDuo 1.8 win xp shows about 18-20 percent cpu usage when chunking out the video and sound.

      I use the power DVD codec for on board decoding. and have the cccp one installed as well.

      I would reccomend any of the 24xx series if for an htpc.

      I have have vista on my main home box, as of last week, because I have to support it at a new job I have, and needed to futz around with it. Pretty, but slow.

      --
      The Revolution Will Not Be Televised
    5. Re:What about software? by ThePhilips · · Score: 1

      I use the power DVD codec for on board decoding. and have the cccp one installed as well.

      Well, I have that under WinXP too. MPC/Haali/DirectVobSub combo rules. CCCP is nice finishing touch.

      But my post was - and RTFA is - about Linux support, not Windows.

      --
      All hope abandon ye who enter here.
    6. Re:What about software? by ThePhilips · · Score: 1

      You say that MPEG2 works.

      That might tell that it is support for MP4 and MKV containers - or H.264 codec - isn't well implemented.

      I have to check MythTV by myself. This is long overdue - maily because I do not watch TV at all. Not a target audience of MythTV so to say.

      --
      All hope abandon ye who enter here.
    7. Re:What about software? by Deadplant · · Score: 1

      Since I started playing HD video I have found that things can get quite finicky.
      different codecs and container formats perform differently and there are some tricks.

      One problem I experienced was jittery video with low cpu usage with certain container formats.
      have you tried the -nocorrect-pts command line option with mplayer?

    8. Re:What about software? by PitaBred · · Score: 2, Informative

      It may be with your filesystem, drives or possibly just NVidia. An Athlon X2 4600+ drives 1080p video for me fine, but I use an RS690 embedded chip (AMD x1250).

    9. Re:What about software? by PitaBred · · Score: 1

      I just use MythTV as a media interface on my TV. And it uses mplayer as the default player, so anything mplayer plays MythTV will play. I have an X2 4600+ with 2GB of RAM that decodes 1080p H.246 MKV files quite well (The Fifth Element to be exact). I think it may be partially because I have an ATI RS690 onboard chip in there (x1250), with the fglrx drivers. Just uses the standard xv video device, nothing fancy.

    10. Re:What about software? by PitaBred · · Score: 1

      That's an unknown option on mplayer (at least v1.0rc2). Where did you get that?

    11. Re:What about software? by sciurus0 · · Score: 1

      Try adding the line lavdopts=threads=2:fast=1:skiploopfilter=nonref to ~/.mplayer/config.

    12. Re:What about software? by Deadplant · · Score: 1

      hmm, so it is.
      I must have been using the latest version from SVN
      http://www.mplayerhq.hu/design7/dload.html

      Of course, that means finding a load of libraries and stuff and then compiling it yourself.
      It is not a wonderfully straight-forward process.
      If you decide to try it then this page might help a bit especially if you are using debian or ubuntu
      http://ubuntuforums.org/showthread.php?t=558538

      Also, you might want to know about the -framedrop option which will prevent audio desync when the mplayer cannot render the video fast enough.
      (it is not a solution, just a work around so that the audio stays in sync)

  15. Not 1 year by dj245 · · Score: 1

    I have an Opteron 165 processor that was released more than 2 years ago. There are articles going back to February 2006 on this chip. Its not even the fastest chip of that time. And it has handled every 1080p file I have thrown at it in software.

    My thoughts on this are that if you want to watch 1080p on your computer, you probably have a fast enough processor by now anyway. If its an HTPC, the power you save on the CPU is just going to be redistributed to the GPU. If you want to play HD content on EEEPC type devices, you're probably better off transcoding since the screen is so small anyway and the storage options aren't enormous. Lastly, Mom-n-Gradma type computers generally have a reasonably fast CPU, but no GPU worth mentioning. If they should ever want to handle HD their computer probably can handle it.

    I think the time for hardware accelerated 1080p has already passed, much like the time for DVD accelerators passed fairly quickly.

    --
    Even those who arrange and design shrubberies are under considerable economic stress at this period in history.
    1. Re:Not 1 year by sricetx · · Score: 4, Informative

      If you are running Windows and using the manufacturer's drivers for a relatively recent (last few years) video card, then yeah, everything should be peachy. But if you are using open source video card drivers under Linux then good luck. Even with the proprietary Nvidia driver, highdef video playback can max out a fairly new CPU. http://www.mythtv.org/wiki/index.php/HD_Playback_Reports will give you an indication about the type of setup you need to get HD video playback to work.

    2. Re:Not 1 year by neumayr · · Score: 3, Informative

      Hm. My 2x2.6ghz AMD64 CPU can't do it. On Linux, with Nvidia's GPU driver.
      Don't know if I've missed something, but it seems your video decoding is GPU accelerated.

      --
      Truth arises more readily from error than from confusion. -Francis Bacon
    3. Re:Not 1 year by Hektor_Troy · · Score: 4, Funny

      Uhm ... just read through that wiki entry a few times, and it gave me absolutely no information about the quality of the playback. Two of the comments in the "report" are usefull - the rest are quite literally useless when it comes to judging the playback ability. I.e

      CPU: Intel Core2 Quad CPU Q6600 @ 2.40GHz
      Speed: 2400.000 MHz
      Memory total: 4050584kB
      Kernel: 2.6.22-14-generic
      Video codec/container: h264 / m2ts
      Resolution: 1920x1080
      Bit rate: 32469 kb/s
      Comment: Blu-ray rip of "Casino Royale."
      Media player: mplayer

      Wauw. How about ... video frame rate vs playback frame rate? The above comment just tells me that the guy ripped Casino Royale. However, if the video frame rate is 29.97 fps, but only plays back at 19.87, the CPU isn't usefull for that particular application.

      --
      We do not live in the 21st century. We live in the 20 second century.
    4. Re:Not 1 year by DirkGently · · Score: 3, Interesting

      Dual-core 2.5Ghz AMD. In the same boat.

      720p x264 works, though. I'm told there are MAJOR improvements in the new versions of ffmpeg that allow multi-threaded playback. I've been to chicken to upgrade my MythTV box to find out.

      --

      I keep trying to pick fights, but I can't shake this Excellent karma.

    5. Re:Not 1 year by schnipschnap · · Score: 1

      Dual-core 2 GHz AMD (3800+). Using nVidia's drivers. Haven't come across anything that wouldn't play, and I searched for the most HQ test files - however: Since my monitor doesn't support resolutions above 1024x768, if you really wanted to play back 1080p video, you'd have to invest some more processing power. CPU usage wasn't very high during playback. I used mplayer from SVN, with -vo xv (the default). -vo gl and gl2 cause the graphics card's cooler to spin up, and CPU usage is higher. -vo x11 is just a little more demanding than -vo xv. The current stable version of mplayer is pretty outdated, and a couple months back, when I still had my olde 1700+, the improved performance of the SVN version was quite noticeable.

    6. Re:Not 1 year by Khyber · · Score: 1

      That's Because MythTV sucks. Just straight mplayer with Ubuntu 6.10LTS on my old 1.8GHz P4 did 1080i HD DivX without much of an issue. Bear in mind this was the first-gen P4 with a measly 256KB of L2 cache, as well, running on a paltry 64 meg GeForce2 MX400 (the crap of the line card for the day) and a half gig of PC2700.

      --
      Still waiting on Serviscope_minor to wake up to fucking reality and realize that Jessica Price isn't going to fuck him.
    7. Re:Not 1 year by PitaBred · · Score: 2, Insightful

      MythTV uses mplayer to play the videos. So really, your solution is exactly what MythTV uses, except MythTV gives you a nice interface for a TV set.

      And 1080i is about half the bandwidth of 1080p. There's a big difference between decoding the two.

    8. Re:Not 1 year by khellendros1984 · · Score: 1

      DivX and AVC are vastly different codecs. That's part of the difference here.

      --
      It is pitch black. You are likely to be eaten by a grue.
    9. Re:Not 1 year by Anonymous Coward · · Score: 2, Informative

      No, MythTV uses it's own built-in player (which I think is based on ffmpeg) for playing videos which definitely isn't mplayer. Now, you can set it up to use external players (such as mplayer) if you want to, but that isn't the default option.

    10. Re:Not 1 year by Orphaze · · Score: 2

      You may need to improve your reading comprehension.

      "Find the file that is most taxing to play while still playing smoothly and run the script on this page with it."

      So, what the page allows you to do is say this file, of X resolution, of Y fps, with a bitrate of Z plays perfectly on my system $SPECS.

    11. Re:Not 1 year by Drantin · · Score: 1

      I'm on a dual-core 4200+ AMD64 I bought April '06, it has no problems playing 1080p video with mplayer if I play from internal storage...

      --
      Actio personalis moritur cum persona. (Dead men don't sue)
    12. Re:Not 1 year by Drantin · · Score: 1

      graphics card is a GeForce Go 6800...

      --
      Actio personalis moritur cum persona. (Dead men don't sue)
  16. gallium3D != directfb ? by Anonymous Coward · · Score: 0

    on gallium3D's website they are talking about exposing hardware acceleration capabilities through a standard API ... isn't it what directfb is all about, centered on the framebuffer ?

    i'm definitely not in my field there, can anyone shed some light on the subject ? what is the overlap between those projects ?

  17. When for Gallium3D or Nouveau by dpilot · · Score: 1

    Both of these are relatively new projects. From what I've seen, neither has any sort of releases or snapshots, you build from a checkout.

    Any idea when I might be able to get a Jocular Jaguar (or Kooky Kangaroo or Languid Lemur) LiveCD and have them part of the base install? Or for that matter, have 'emerge --sync && ARCH="x86" USE="gallium3d" emerge nouveau' install them as "stable".

    --
    The living have better things to do than to continue hating the dead.
  18. PS3 and future possibilites by tchiseen · · Score: 2, Interesting

    I'm not sure, but I've heard that a lack of hardware video acceleration is one of the factors which currently limits the capabilities of the PS3 as a linux machine (along with memory support and lack of emulators for the cpu architecture). This article gives me a bit of hope that we might see advances in the capabilities of the PS3 under Linux. ( http://ubuntuforums.org/showthread.php?t=624865 )

    1. Re:PS3 and future possibilites by Slashcrap · · Score: 2, Informative

      PS3 Linux has slow video because Sony blocks access to 2D and 3D acceleration on the Nvidia chipset. This project uses 3D shaders to accelerate video decoding. So I'm struggling to see how using advanced 3D functionality that PS3 Linux doesn't have to replace basic 2D functionality that PS3 Linux doesn't have is going to help.

    2. Re:PS3 and future possibilites by IrquiM · · Score: 1

      Nobody knows if they're blocking it or if it's just a bad case of "find out how to use it yourself, 'cause we're not gonna tell you"-syndrome.

      --
      This is blinging
    3. Re:PS3 and future possibilites by PitaBred · · Score: 1

      They put Linux in a sandbox from what I hear. It's actually blocking, they deny addressing of the video chip without the proper key I believe.

  19. Gallium running out by bugs2squash · · Score: 4, Funny

    I though it was only a few days ago that /. reported that gallium is in short supply. Now we're blowing our precious reserves on frivolous video decoding.

    Have some respect for Mother Earth...

    --
    Nullius in verba
  20. VIA C3 nano-ITX CN400 and VT-1625 by Rene+S.+Hollan · · Score: 1

    Er, Via's nano-ITX offerings with a C3 processor, CN400, and VT1625 has been capable of this for at least two years now. The OpenChrome project provides for the accelleration: hardware MPEG2 decoding with XvMC. glxgears does about 500 fps on an 800 Mhz fanless cpu, closer to 700 on a 1.0 GHz CPU.

    Been running this for a couple of years now in a Silverstone LC08 case.

    --
    In Liberty, Rene
    1. Re:VIA C3 nano-ITX CN400 and VT-1625 by modemboy · · Score: 1

      RTFA, we are not talking about just MPEG2 here. The main thrust is for Mpeg4/h.264 support, but this should work for hardware accel of any codec.

    2. Re:VIA C3 nano-ITX CN400 and VT-1625 by Rene+S.+Hollan · · Score: 1

      I think the CN700 does MPEG4 but is otherwise braindead compared to the CN400. Google VIA Unichrome.

      --
      In Liberty, Rene
  21. Whaat? by Anonymous Coward · · Score: 0

    99% of the tech savvy people use PowerDVD anyways. It is quite good in using the hardware acceleration if your drivers are properly updated.

  22. Hardware based video ENCODING more interesting by Danathar · · Score: 1

    Modern CPU's are more than fast enough to do 1080p h264 decoding. 2 years ago hardware decode would of helped, now it's a moot point.

    I want to see hardware acceleration of encoding from my graphics board. Encoding multi-pass h264 using ffmpeg with the quality options just freaking takes forever!

  23. H264 on the EeePC by Neil · · Score: 1

    For the record, mplayer on my EeePC 900 has no problem decoding H264 at standard def PAL rates (720x576 at 25fps), which is a good match for the 600 line display that the machine actually has ...

  24. Where is XvMC for AMD/ATI ? by Something+Witty+Here · · Score: 1

    AMD/ATI has supposedly released enough docs to implement XvMC. When can we expect to see working code?

  25. Umm. by Khyber · · Score: 1

    For playback of a 1080 DivX file, I only needed 512 megs of RAM, windows XP, and a 2.0 GHz single core Athlon64. That was well more than three years ago. Actually my old 1.8GHz P4 handles it, with just a tiny bit of stuttering when seeking in VLC.

    --
    Still waiting on Serviscope_minor to wake up to fucking reality and realize that Jessica Price isn't going to fuck him.
    1. Re:Umm. by gEvil+(beta) · · Score: 1

      And as was already pointed out to you, DivX and high-bitrate AVC are very different. Try playing back an HD DVD or Blu-ray (you can rip them to your HD to remove the extra overhead of AACS) on that machine and see just how well it does.

      --
      This guy's the limit!
    2. Re:Umm. by Nicolay77 · · Score: 1

      Just because something eats more CPU doesn't means it is better.

      It can simply be an inefficient algorithm.

      --
      We are Turing O-Machines. The Oracle is out there.
  26. X2 4050E can't do it by clarkn0va · · Score: 1
    I downloaded Big Buck Bunny 1920x1080 to test PureVideo on my new 8600GT only to learn that this feature isn't supported in linux.

    The h264 and ogg files play with lots of interruptions in the video (but not the audio). The avi plays smoothly with some tearing.

    This cpu is currently OCed to 2363MHz and the avi still shows some tearing. vlc seems to perform slightly better than totem-gstreamer using the latest blob from nvidia.

    db

    --
    I am literally 3000 tokens away from the chaotic crossbow --Stephen
  27. Decode and play by Skapare · · Score: 1

    Part of the problem with hardware accelerated video decoding on Linux is that because Windows uses the accelerated video decoding to play back DRM protected media, the hardware companies cannot reveal how the video decoding part works (since it would presumably allow someone to grab the unencrypted-but-compressed video for various DRM protected video files by writing a windows driver or something)

    However, the hardware could have been designed to merely decrypt, decode, check HDCP, and play, all in one. That is, one merely sends the A/V transport/container stream, in its encrypted form if not originally in the clear, to the video card (once it is set to operate in this mode). The video card will decrypt (if it has the appropriately licensed built-in key to enable this) the encrypted bits of the stream, do the (now clear) codec decoding (by whatever codec is involved), check to make sure the connection is to a proper HDCP device (which turns on re-encryption of the uncompressed HDMI stream, which the display device decrypts, so people can't tap into that), and then send the video over to the display. If it is encrypted and if a copy protection flag is set, it would disable any video or audio read-back capability (so the driver can't get a copy of what was decrypted either before or after decoding). While those of us that hate DRM (myself included) would despise the fact that this lets DRM work better, at least it CAN work in BSD and Linux because all the CPU software has to do is just replicate the stream up to the video card as-is (no decrypting, no decoding, etc). It keeps all the naughty DRM in the hardware (and also the patent licensing on the DRM and codecs). The BSD and Linux system can be entirely home-compiled from source with hacks and still let this work.

    Actually, it might have been even better if the transport decrypt/decode was done in the monitor, or at least the decode part of this, which would have kept the bit rate over the HDMI manageable, even when we migrate to the Super Ultra Cinema format running at 5120x2160p120 (64:27 aspect ratio, which is the same 4x/3x ratio over 16:9 as 16:9 is over 4:3, and is almost exactly what cinema wide movies do now) in a couple decades. Even dual-link DVI couldn't handle this in uncompressed form. So they would need a whole new display interconnect or just need to retrofit compression into the existing one.

    --
    now we need to go OSS in diesel cars
  28. Bah! by jaguth · · Score: 0

    Only gays, hippies, neo-Nazi's and drug addicts use Linux, and of course their 1080p movies are always pirated, so theres no business sense in allowing them to get their dirty hands on Linux complaint hardware decoders.

    - A proud sponsor of John McCain. McCain 2009!

  29. directx dick suck by Anonymous Coward · · Score: 0

    convince developers to stop working with directx, which microsoft refuses to release the code to, despite their bullshit claims about interoperability with linux and windows, and progress will begin

  30. Re:Wow by rootooftheworld · · Score: 1

    nice. now I'm gonna find where you live, rape your whole family, an' slow roast 'em. Stupid git!

    --
    I know full well that tobacco is bad for you, so I smoke weed with crack