Hello, http://nouveau.freedesktop.org/wiki/FeatureMatrix lists "Decode videos" as WIP for NV30 and NV40 seies. As I have an NV44, I would really like to know - what is this feature going to be? VDPAU support for these cards, or XvMC, or something else? Thanks! -- Yours, Mikhail Ramendik Unless explicitly stated, all opinions in my mail are my own and do not reflect the views of any organization
On Mon, Dec 6, 2010 at 7:35 PM, Mikhail Ramendik <mr at ramendik.ru> wrote:> Hello, > > http://nouveau.freedesktop.org/wiki/FeatureMatrix lists "Decode > videos" as WIP for NV30 and NV40 seies. > > As I have an NV44, I would really like to know - what is this feature > going to be? VDPAU support for these cards, or XvMC, or something > else? >According to http://lists.freedesktop.org/archives/nouveau/2010-August/006142.html and the following mails/patches : XvMC. Not sure what is possible on nv40 but that subject was discussed quickly here: http://lists.freedesktop.org/archives/nouveau/2010-May/005726.html
On 16 December 2010 19:28, Mikhail Ramendik <mr at ramendik.ru> wrote:> On 7 December 2010 01:07, Jimmy Rentz <jb17bsome at gmail.com> wrote: > >> Initially I would say XVMC. ?VDPAU expects full hw bitstream >> decode. ?XVMC only does decode starting at idct/mb. ?I am guessing it >> is possible to support VDPAU by doing the earlier stages in software >> then handling the reset to hw. ?Well, unless someone figures out some >> way to handle the full pipeline in hw via shaders which is something >> I have no time or knowledge. > > Just had an idea - perhaps VAAPI would be easier to support than VDPAU? > > The main thing would probably be h264, as that is the only format > which some modern CPUs are not strong enough to decode. >That is correct. XVMC only does MPEG2 that most PCs can do with just XV, and nouveau already supports XV. I can run nouveau on a ATOM-ION box using the nouveau XV driver for MPEG2 SD movies. VDPAU is required for HD H264/MPEG4 movies as the ATOM-ION cannot do HD H264 with XV. So, i agree, getting nouveau to support H264/MPEG4 playback would be good. It does not even have to be vdpau or vaapi. It could be a new API if that would be easier. The idct/mb parts of decoding H264/MPEG4 is still the most CPU intensive and best to do on the graphics card if possible. Decoding the bitstream decoding is probably OK to do in software on the CPU instead of the GPU. Kind Regards James