LinuxMCE Forums
June 20, 2013, 06:07:06 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
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
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: Programming Task: Detect VDPAU  (Read 1178 times)
tschak909
LinuxMCE God
****
Posts: 5117

DOES work for LinuxMCE.


View Profile
« on: July 02, 2010, 09:21:02 pm »

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
Logged
niz23
Guru
****
Posts: 361


View Profile
« Reply #1 on: July 05, 2010, 04:34:12 pm »

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
Logged
tschak909
LinuxMCE God
****
Posts: 5117

DOES work for LinuxMCE.


View Profile
« Reply #2 on: July 05, 2010, 05:06:22 pm »

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
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!