News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Programming Task: Detect VDPAU

Started by tschak909, July 02, 2010, 10:21:02 PM

Previous topic - Next topic

tschak909

We need some way to detect VDPAU.

My thought, is to build a small C program that links to libvdpau, and does some basic initialization, if it is successful, then exit with an errorcode of 0,
otherwise, exit with another error code that we can decode, at the very least, that it wasn't successful.

Any volunteers?

-Thom

niz23

There is a small utility written in cpp that can query nvidia cards and return what vdpau capabilities is supported.
It is linked to libvdpau and should be fairly easy to extend with new features.

What is your plan.
A tool that autoconfigure vdpau settings for each MD upon creation/install?

/niz23

tschak909

very simple, we need to detect if vdpau is supported, and set appropriate device data based upon it. This includes setting VDPAU settings in MythTV.

-Thom