Thread: mplayer vdpau
View Single Post
Old 11-15-08, 11:42 AM   #55
Stephen Warren
Stephen Warren's Avatar
Join Date: Aug 2005
Posts: 1,327
Default Re: mplayer vdpau

Originally Posted by bexbier View Post
i put --enable-vdpau behind "./configure" on the script ( like tx2rx said) and after this i had no more problem
Yes, this bypasses the VDPAU auto-detection in the configure script. I'm not sure why the auto-detection is failing, but the actual build of MPlayer is succeeding. I'd like to get a bit more information about this.

Can you search configure.log for the following line:

============ Checking for VDPAU ============
Following this, you'll see a short C file:

#include <vdpau/vdpau_x11.h>
int main(void) {
  (void)vdp_device_create_x11(0, 0, 0, 0);
  return 0; }
Can you copy this code into autodetect.c. After this, you'll find a compiler command-line. For example, mine looks like this:

cc -W -Wall -O2 -march=native -mtune=native -pipe -ggdb -lncurses   -lXext -lX11 -lpthread -lXss -lXv  -o /tmp/mplayer-conf-16260-337 /tmp/mplayer-conf-27757-337.c -lvdpau
Can you then run this command, replacing the source filename with autodetect.c, for example, I'd run this:

cc -W -Wall -O2 -march=native -mtune=native -pipe -ggdb -lncurses   -lXext -lX11 -lpthread -lXss -lXv  -o autodetect autodetect.c -lvdpau
and post whatever that command prints. Thanks.
Stephen Warren is offline   Reply With Quote