I enabled the vdpau USE flag and then ran50: PCI 300.0: 0300 VGA compatible controller (VGA)
[Created at pci.318]
Unique ID: svHJ.xGZuq2eX1y1
Parent ID: M71A.cvQHSnEzxlB
SysFS ID: /devices/pci0000:00/0000:00:07.0/0000:03:00.0
SysFS BusID: 0000:03:00.0
Hardware Class: graphics card
Model: "nVidia GT200 [GeForce GTX 260]"
Vendor: pci 0x10de "nVidia Corporation"
Device: pci 0x05e2 "GT200 [GeForce GTX 260]"
SubVendor: pci 0x1682 "XFX Pine Group Inc."
SubDevice: pci 0x2393
Revision: 0xa1
Driver: "nvidia"
Driver Modules: "nvidia"
Memory Range: 0xf8000000-0xf8ffffff (rw,non-prefetchable)
Memory Range: 0xe0000000-0xefffffff (ro,non-prefetchable)
Memory Range: 0xf6000000-0xf7ffffff (rw,non-prefetchable)
I/O Ports: 0x9f00-0x9f7f (rw)
Memory Range: 0xf9000000-0xf907ffff (ro,non-prefetchable,disabled)
IRQ: 16 (184521 events)
I/O Ports: 0x3c0-0x3df (rw)
Module Alias: "pci:v000010DEd000005E2sv00001682sd00002393bc03sc00i00"
Driver Info #0:
Driver Status: nvidia is active
Driver Activation Cmd: "modprobe nvidia"
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #20 (PCI bridge)
which successfully recompiled the relevant packages. However, when using kmplayer to play a video file I am not getting any video output...ie just a blank screen. The console shows this:emerge -puD --newuse world
I tried using VLC, but I can't seem to find the option to switch it to VDPAU.MPlayer SVN-r32624-4.4.5 (C) 2000-2010 MPlayer Team
Terminal type `unknown' is not defined.
ID_AUDIO_ID=0
ID_VIDEO_ID=0
MPEG-PS file format detected.
VIDEO: MPEG1 320x240 (aspect 12) 29.970 fps 1152.0 kbps (144.0 kbyte/s)
ID_FILENAME=/home/user/video.mpeg
ID_DEMUXER=mpegps
ID_VIDEO_FORMAT=0x10000001
ID_VIDEO_BITRATE=1152000
ID_VIDEO_FPS=29.970
ID_AUDIO_FORMAT=80
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_START_TIME=0.24
ID_SEEKABLE=1
ID_CHAPTERS=0
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 224.0 kbit/15.87% (ratio: 28000->176400)
ID_AUDIO_BITRATE=224000
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=mp3
Video: no video
Starting playback...
Exiting... (Quit)
ID_EXIT=QUIT
Using the following versions:
also switching to VDPAU in mythtv gives the following output:[ebuild R ] media-video/vlc-1.1.5 USE="X a52 aac alsa cdda dbus dts dvd ffmpeg flac gcrypt gnutls kde libnotify mmx mp3 mpeg ncurses nsplugin ogg opengl png qt4 sdl sqlite sse svg truetype vaapi vorbis x264 xcb xml xv -aalib (-altivec) -atmo -avahi -bidi -cddb -dc1394 -debug -dirac -directfb -dvb -fbcon -fluidsynth -fontconfig -ggi -gme -gnome -httpd -id3tag -ieee1394 -jack -kate -libass -libcaca -libproxy -libtiger -libv4l -libv4l2 -lirc -live -lua -matroska -modplug -mtp -musepack -optimisememory -oss -projectm -pulseaudio -pvr -remoteosd -rtsp -run-as-root -samba -schroedinger -sdl-image -shine -shout -skins -speex -stream (-svga) -taglib -theora -twolame -udev -upnp -v4l -v4l2 -vcdx -vlm (-win32codecs) -wma-fixed -xosd -zvbi" 0 kB
[ebuild R ] media-video/mplayer-1.0_rc4_p20101114 USE="X a52 alsa ass cddb cdio dirac dts dv dvd dvdnav enca encode faac faad gif iconv ipv6 jpeg live mad mmx mng mp3 network opengl osdmenu png quicktime rar real rtc schroedinger sdl shm speex sse sse2 theora toolame tremor truetype twolame unicode vdpau vorbis x264 xinerama xscreensaver xv xvid xvmc -3dnow -3dnowext -aalib (-altivec) -amr (-aqua) -bidi -bindist -bl (-bluray) -bs2b -cdparanoia -cpudetection -custom-cpuopts -debug -dga -directfb -doc -dvb -dxr3 -esd -fbcon -ftp -ggi -gsm -jack -joystick -jpeg2k -ladspa -libcaca -libmpeg2 -lirc -lzo -md5sum -mmxext -mpg123 -nas -nut -openal -oss -pnm -pulseaudio -pvr -radio -rtmp -samba -ssse3 -tga -v4l -v4l2 (-vidix) -vpx (-win32codecs) -xanim -zoran" VIDEO_CARDS="-mga -s3virge -tdfx -vesa" 0 kB
2010-11-25 18:04:02.914 Loading menu theme from /usr/share/mythtv/themes/defaultmenu//mainmenu.xml
2010-11-25 18:04:02.917 Found mainmenu.xml for theme 'MythCenter-wide'
2010-11-25 18:04:03.059 Using NV NPOT texture extension
2010-11-25 18:04:03.109 MythContext: Connecting to backend server: 10.1.1.2:6543 (try 1 of 1)
2010-11-25 18:04:03.110 Using protocol version 23056
2010-11-25 18:04:07.411 TV: Attempting to change from None to WatchingLiveTV
2010-11-25 18:04:07.411 MythContext: Connecting to backend server: 10.1.1.2:6543 (try 1 of 1)
2010-11-25 18:04:07.412 Using protocol version 23056
2010-11-25 18:04:07.430 Spawning LiveTV Recorder -- begin
2010-11-25 18:04:07.748 Spawning LiveTV Recorder -- end
2010-11-25 18:04:07.765 ProgramInfo(): Updated pathname '':'' -> '1003_20101125180407.mpg'
2010-11-25 18:04:07.794 We have a playbackURL(/mnt/store/livetv/1003_20101125180407.mpg) & cardtype(DUMMY)
2010-11-25 18:04:07.794 We have a RingBuffer
2010-11-25 18:04:07.933 NVP(0): Disabling Audio, params(-1,2,44100)
2010-11-25 18:04:07.987 ProgramInfo(): Updated pathname '':'' -> '1003_20101125180407.mpg'
NVIDIA: could not open the device file /dev/nvidiactl (Permission denied).
2010-11-25 18:04:08.009 VDPAU Error: Error at mythrender_vdpau.cpp:1478 (#1, Unknown)
2010-11-25 18:04:08.009 VDPAU Error: Failed to create VDPAU device.
2010-11-25 18:04:08.009 VDPAU Error: No VDPAU device
2010-11-25 18:04:08.009 Failed to create VDPAU render device.
2010-11-25 18:04:08.009 VidOutVDPAU Error: Failed to initialise VDPAU
2010-11-25 18:04:08.029 VideoOutputXv: Desired video renderer 'vdpau' not available.
codec 'None' makes 'xv-blit,xshm,xlib,' available, using 'xv-blit' instead.
2010-11-25 18:04:08.039 VideoOutputXv: XVideo Adaptor Name: 'NV17 Video Texture'
2010-11-25 18:04:08.051 ProgramInfo(): Updated pathname '':'' -> '1003_20101125180407.mpg'
2010-11-25 18:04:08.071 OSD Theme Dimensions W: 1280 H: 720
2010-11-25 18:04:08.108 New DB connection, total: 2
2010-11-25 18:04:08.112 Connected to database 'mythconverg' at host: 10.1.1.2
2010-11-25 18:04:08.125 ProgramInfo(): Updated pathname '':'' -> '1003_20101125180407.mpg'
2010-11-25 18:04:08.190 ProgramInfo(): Updated pathname '':'' -> '1003_20101125180407.mpg'
2010-11-25 18:04:08.256 ProgramInfo(): Updated pathname '':'' -> '1003_20101125180408.mpg'
2010-11-25 18:04:08.337 ProgramInfo(): Updated pathname '':'' -> '1003_20101125180408.mpg'
2010-11-25 18:04:08.404 ProgramInfo(): Updated pathname '':'' -> '1003_20101125180408.mpg'
2010-11-25 18:04:08.480 ProgramInfo(): Updated pathname '':'' -> '1003_20101125180408.mpg'
2010-11-25 18:04:08.544 ProgramInfo(): Updated pathname '':'' -> '1003_20101125180408.mpg'
2010-11-25 18:04:08.609 ProgramInfo(): Updated pathname '':'' -> '1003_20101125180408.mpg'
2010-11-25 18:04:08.652 TV: Changing from None to WatchingLiveTV
2010-11-25 18:04:08.652 TV: State is LiveTV & mctx == ctx
2010-11-25 18:04:08.652 New DB connection, total: 3
2010-11-25 18:04:08.653 Failed to approve 'vdpauadvanceddoublerate' deinterlacer as a software deinterlacer
2010-11-25 18:04:08.653 Couldn't load deinterlace filter
2010-11-25 18:04:08.653 New DB connection, total: 4
2010-11-25 18:04:08.655 Realtime priority would require SUID as root.
2010-11-25 18:04:08.656 Connected to database 'mythconverg' at host: 10.1.1.2
2010-11-25 18:04:08.656 Connected to database 'mythconverg' at host: 10.1.1.2
2010-11-25 18:04:08.661 TV: UpdateOSDInput done
2010-11-25 18:04:08.661 TV: UpdateLCD done
2010-11-25 18:04:08.661 TV: ITVRestart done
2010-11-25 18:04:08.661 Video timing method: USleep with busy wait
2010-11-25 18:04:08.661 ProgramInfo(): Updated pathname '':'' -> '1003_20101125180408.mpg'
2010-11-25 18:04:08.710 ScreenSaverX11Private: DPMS Deactivated 1
2010-11-25 18:04:10.862 RingBuf(/mnt/store/livetv/1003_20101125180408.mpg): Waited 2.0 seconds for data to become available...
2010-11-25 18:04:10.862 Checking to see if there's a new livetv program to switch to..
2010-11-25 18:04:11.865 Failed to approve 'vdpauadvanceddoublerate' deinterlacer as a software deinterlacer
2010-11-25 18:04:11.865 Couldn't load deinterlace filter
2010-11-25 18:04:11.869 VideoOutputXv Error: Failed to initialize buffers for codec MPEG2 VDPAU
2010-11-25 18:04:11.869 VideoOutputXv Error: Failed to initialize buffers for codec MPEG2 VDPAU
2010-11-25 18:04:11.869 VideoOutputXv Error: Failed to get any video output Exiting playback.
2010-11-25 18:04:11.869 VideoOutputXv Error: InputChanged(): Failed to recreate buffers
2010-11-25 18:04:11.869 NVP(0), Error: Failed to Reinitialize Video. Exiting..
2010-11-25 18:04:11.869 AFD: Opened codec 0x7fa2542c04b0, id(MPEG2VIDEO) type(Video)
2010-11-25 18:04:11.869 AFD: codec MP2 has 2 channels
2010-11-25 18:04:11.869 AFD: Opened codec 0x7fa254296850, id(MP2) type(Audio)
2010-11-25 18:04:11.899 NVP(0), Error: Serious error detected in Video Output
2010-11-25 18:04:11.907 Couldn't open decoder for: /mnt/store/livetv/1003_20101125180408.mpg
2010-11-25 18:04:11.907 NVP(0), Error: Error opening jump program file
2010-11-25 18:04:11.907 NVP(0), Error: JumpToProgram failed.
2010-11-25 18:04:11.907 NVP(0), Error: Unknown recorder error, exiting decoder
2010-11-25 18:04:11.940 NVP(0), Error: Serious error detected in Video Output
2010-11-25 18:04:12.145 TV: Attempting to change from WatchingLiveTV to None
2010-11-25 18:04:12.302 TV: Changing from WatchingLiveTV to None
and my setup as follows:
And nvidia-drivers:Portage 2.1.9.24 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5, glibc-2.12.1-r3, 2.6.36-gentoo x86_64)
=================================================================
System uname: Linux-2.6.36-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_930_@_2.80GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 25 Nov 2010 04:15:02 +0000
app-shells/bash: 4.1_p9
dev-java/java-config: 2.1.11-r2
dev-lang/python: 2.6.6-r1, 3.1.2-r4
dev-util/cmake: 2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc: 0.6.5
sys-apps/sandbox: 2.4
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils: 2.20.1-r1
sys-devel/gcc: 4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.4
sys-devel/make: 3.82
virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -msse4 -mcx16 -mpopcnt -msahf -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=core2 -msse4 -mcx16 -mpopcnt -msahf -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo ftp://ftp.swin.edu.au/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/zugaina /var/lib/layman/vmware /usr/local/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="64bit X a52 aac acl acpi alsa amd64 apm berkdb bluetooth branding bzip2 cairo cdda cdr cleartype cli consolekit corefonts cracklib crypt cue cups cxx dbus dri dts dvd dvdr embedded emboss encode exif extras fam fbcondecor ffmpeg firefox flac fortran gdbm gif gnutls gpm hal hddtemp hpcups hpijs hpn iconv ipv6 java jpeg kde lcms ldap libnotify lm_sensors mad mikmod mmx mng modules mp3 mp4 mpeg msn mudflap multilib ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp pam pango pcre pdf perl pmu png ppds pppd python qt3support qt4 rar readline scanner sdl semantic-desktop sensord session snmp spell sqlite sse sse2 ssl startup-notification static-libs suid svg sysfs tcpd tiff truetype type1 unicode usb vaapi vdpau vorbis x264 xcb xinerama xml xorg xulrunner xv xvid xvmc yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
[ebuild R ] x11-drivers/nvidia-drivers-260.19.21 USE="acpi (multilib) -custom-cflags -gtk" 0 kB
Surely its not because my Video card is not VDPAU compatible? Are there any tests or applications I can use to confirm it is working? Might it have something to do with my system being x64??


