Author Topic: Will 0810 take advantage of VDPAU ?  (Read 12935 times)

Viking

  • Addicted
  • *
  • Posts: 521
    • View Profile
Will 0810 take advantage of VDPAU ?
« on: March 26, 2009, 10:50:14 am »
Hi,

there is some talk about VDPAU and it looks promising :)

Is the upcomming 0810 going to use VDPAU - and if yes, what parts of it
- VDR
- MythTV
- (HD)Video/DVD replay

Greetings
Viking

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Will 0810 take advantage of VDPAU ?
« Reply #1 on: March 26, 2009, 02:20:38 pm »
No, there are no plans to incorporate VDPAU atm.

davegravy

  • Addicted
  • *
  • Posts: 551
    • View Profile
Re: Will 0810 take advantage of VDPAU ?
« Reply #2 on: March 26, 2009, 03:05:43 pm »
Seems to me this will be a high demand feature, and I hope the dev team fully intends to support it after 810.

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Will 0810 take advantage of VDPAU ?
« Reply #3 on: March 26, 2009, 04:52:32 pm »
davegravy,

everybody is looking forward to GPU assisted video decoding.

Viking

  • Addicted
  • *
  • Posts: 521
    • View Profile
Re: Will 0810 take advantage of VDPAU ?
« Reply #4 on: March 27, 2009, 09:05:22 pm »
Hi,
No, there are no plans to incorporate VDPAU atm.

May I ask why not ? ;)

It looks very promising as HDTV can be played with 10% CPU using a cheap GS8400 GPU :) and if I read it right it will also assist on SD TV.

Greetings
Viking

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Will 0810 take advantage of VDPAU ?
« Reply #5 on: March 27, 2009, 09:37:06 pm »
Viking,

understaffed people tend to use packages already available to them ;)

Viking

  • Addicted
  • *
  • Posts: 521
    • View Profile
Re: Will 0810 take advantage of VDPAU ?
« Reply #6 on: March 27, 2009, 10:02:25 pm »
Hi,

I could maybe help implementing the patches if I had some sources to test with ...

I am not a programmer, but have a lot of experience with patching and compiling VDR :) So I could maybe extend some (debian) packages with the right patches ...

Greetings
Viking

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Will 0810 take advantage of VDPAU ?
« Reply #7 on: March 28, 2009, 10:13:04 am »
Hi,

I could maybe help implementing the patches if I had some sources to test with ...

I am not a programmer, but have a lot of experience with patching and compiling VDR :) So I could maybe extend some (debian) packages with the right patches ...

Greetings
Viking

All the sources you need are in the svn... libxine for example. If you want to experiment with this get the sources and get started...then come back here and document your success or lack of it.

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

Seer

  • Regular Poster
  • **
  • Posts: 19
    • View Profile
    • Gamehendge
Re: Will 0810 take advantage of VDPAU ?
« Reply #8 on: March 28, 2009, 06:29:22 pm »
Um, what?  From http://en.wikipedia.org/wiki/VDPAU

Software supporting VDPAU

    * MythTV (Linux)[5]
    * Xine (Linux)[6]
    * MPlayer (Linux)
    * VLC media player (Linux)[7]
    * FFmpeg (Linux)[8]
    * XBMC Media Center (Linux)[9][10][11]

Looks like all we'd need to do is use the _current_ version of the apps LMCE already uses and we are in like Flynn. 

Or am I wrong?

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Will 0810 take advantage of VDPAU ?
« Reply #9 on: March 28, 2009, 08:14:06 pm »
Um, what?  From http://en.wikipedia.org/wiki/VDPAU

Software supporting VDPAU

    * MythTV (Linux)[5]
    * Xine (Linux)[6]
    * MPlayer (Linux)
    * VLC media player (Linux)[7]
    * FFmpeg (Linux)[8]
    * XBMC Media Center (Linux)[9][10][11]

Looks like all we'd need to do is use the _current_ version of the apps LMCE already uses and we are in like Flynn. 

Or am I wrong?

Well essentially no your not wrong at all. But... and this a pretty big 'But'...you have to satisfy all the dependencies for the packages involved and in as past experience has shown us this is extremely non-trivial. So the current plan for LinuxMCE-0810 is to use the 'stock' 0810 libs/packages initially and to not deviate from this until we are the other side of the release. This might seem frustrating and unreasonably 'conservative' but its the only way to smooth the ride to 0810 out.

If you want to experiment and live dangerously then go right ahead and do so...

All the best

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Will 0810 take advantage of VDPAU ?
« Reply #10 on: March 28, 2009, 09:36:44 pm »
I also wonder, what happened when a non VDPAU gfx card is used. I played with a patched mplayer once, and it would not run. This would indicate, that an additional layer has to be added based upon gfx card and driver version.

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Will 0810 take advantage of VDPAU ?
« Reply #11 on: March 28, 2009, 10:16:16 pm »
I also wonder, what happened when a non VDPAU gfx card is used. I played with a patched mplayer once, and it would not run. This would indicate, that an additional layer has to be added based upon gfx card and driver version.

Yeah...I think thats very likely.

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

Seer

  • Regular Poster
  • **
  • Posts: 19
    • View Profile
    • Gamehendge
Re: Will 0810 take advantage of VDPAU ?
« Reply #12 on: March 28, 2009, 10:47:28 pm »
Take a look at http://www.mythtv.org/wiki/VDPAU

It looks like if (and only if) you have a support cart (also listed on the above link) you can follow the instructions above.  It seems like MythTV and Xine will just work by the time 0810 rolls out.  Seems like MythTV 0.22 will included support, and any binary driver post-180.16 already supports it.

Anyway, it seems like for the most part us LMCE'rs don't have to worry about it much.  It'll either just work or it won't. 

As an aside, ATI (http://en.wikipedia.org/wiki/X-Video_Bitstream_Acceleration) and Intel (http://en.wikipedia.org/wiki/VaAPI) both have their _own_ version of GPU decoding. 

If LMCE should support anything, it should be VaAPI.  It looks like VaAPI already supports nVidia and Intel hardware decoding, and beta support for ATI.  It's designed to replace X's Xv and XvMC.  How awesome is that?  Check out more info here: http://en.wikipedia.org/wiki/VaAPI

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: Will 0810 take advantage of VDPAU ?
« Reply #13 on: March 28, 2009, 11:15:56 pm »
Hi,

I could maybe help implementing the patches if I had some sources to test with ...

I am not a programmer, but have a lot of experience with patching and compiling VDR :) So I could maybe extend some (debian) packages with the right patches ...

Greetings
Viking

All the sources you need are in the svn... libxine for example. If you want to experiment with this get the sources and get started...then come back here and document your success or lack of it.

Andrew

Andrew - this is at least the 3rd time I've seen Viking told this.... but he keeps posting (with no responses) that he has looked in the svn for the source code and only the wrapper code is there. I confess I have looked for him as well, and also could only find the wrapper code plus a very old version of VDR. Could you point to where in the svn the full VDR code is?

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Will 0810 take advantage of VDPAU ?
« Reply #14 on: March 28, 2009, 11:26:23 pm »
You do not need the old VDR version. Get the latest VDR sources from backports intrepid, and build the binaries