You are not logged in.

#1 2010-12-19 16:05:36

walp
Member
Registered: 2010-08-23
Posts: 23

VDPAU fails with 8400M G

I cannot see any videos with VDPAU.

This is my graphic card:

01:00.0 VGA compatible controller [0300]: nVidia Corporation G86 [GeForce 8400M G] [10de:0428] (rev a1) (prog-if 00 [VGA controller])

And this is my vainfo output:

libva: libva version 0.31.1
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/nvidia_drv_video.so
vainfo: vdpau_driver.c:194: vdpau_common_Initialize: Assertion `vdp_status == VDP_STATUS_OK' failed.
Aborted


This is what I have installed on my machine:
local/libva 1.0.6-1
local/libvdpau 0.4-1
local/vdpau-video 0.7.2-1

Offline

#2 2010-12-19 16:19:58

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: VDPAU fails with 8400M G

First, you don't need libva or vdpau-video for vdpau on nVidia cards. libva is for vaapi and video-vdpau is a backend for vaapi.

What video player are you using?

Offline

#3 2010-12-19 16:23:30

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,732
Website

Re: VDPAU fails with 8400M G

Which driver are you using?  What format file are you playing (VDPAU doesn't work with all formats)?  I suggest you test with mplayer because it will verbosely log what it is doing.  Please the following in your ~/.mplayer/config

vo=vdpau
vc=ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,ffh264vdpau,

Last edited by graysky (2010-12-19 16:36:15)

Offline

#4 2010-12-19 16:30:40

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: VDPAU fails with 8400M G

graysky wrote:

Which driver are you using?  What format file are you playing (VDPAU doesn't work with all formats)?  I suggest you test with mplayer because it will verbosely log what it is doing.  Please the following in your ~/.mplayer/config

vo=vdpau
vc=ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,ffh264vdpau,ffodivxvdpau,

ffodivxvdpau is incompatible with all but the newest cards and can cause grief for those that are trying to get things set up for the first time.

Offline

#5 2010-12-19 16:35:59

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,732
Website

Re: VDPAU fails with 8400M G

@skottish - thanks for the info.  I will edit my offending post.  I have a wrapper script in the AUR (mplayer-vdpau-auto - see my sig for a link) that auto-detects which vc option to use... is there a way to keep the vo=xv on the table and use vo=vdpau for everything else all in the config file.

Last edited by graysky (2010-12-19 16:38:11)

Offline

#6 2010-12-19 16:47:57

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: VDPAU fails with 8400M G

graysky wrote:

is there a way to keep the vo=xv on the table and use vo=vdpau for everything else all in the config file.

If you end the line with a comma (like you did), it should automatically fall back in case no suitable vdpau planar is found.

edit: Sorry i was looking cross-eyed, this means:

vo=vdpau,

Last edited by litemotiv (2010-12-19 16:50:45)


ᶘ ᵒᴥᵒᶅ

Offline

#7 2010-12-19 18:33:55

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,732
Website

Re: VDPAU fails with 8400M G

@litemotiv - nice, thanks for the info.

Offline

#8 2010-12-20 12:12:40

walp
Member
Registered: 2010-08-23
Posts: 23

Re: VDPAU fails with 8400M G

skottish wrote:

First, you don't need libva or vdpau-video for vdpau on nVidia cards. libva is for vaapi and video-vdpau is a backend for vaapi.

What video player are you using?

SMPlayer. I went to Options -> Preferences -> General -> Video Tab and selected vdpau as Output Driver.

But when I try to reproduce a mkv in 720p, it doesn't show any image but only sound.

graysky wrote:

Which driver are you using?  What format file are you playing (VDPAU doesn't work with all formats)?  I suggest you test with mplayer because it will verbosely log what it is doing.  Please the following in your ~/.mplayer/config

vo=vdpau
vc=ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,ffh264vdpau,

I'm using NVidia official driver. The video is a mkv h264 720p file.

I put that in mplayer config file but the result is the same as SMPlayer, no video only sound. The output of the terminal has this:


MPlayer SVN-r32663-4.5.1 (C) 2000-2010 MPlayer Team
161 audio & 350 video codecs
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing dexter.s05e12.proper.720p.hdtv.x264-ctu.mkv.
libavformat file format detected.
[matroska,webm @ 0xafdb960] Estimating duration from bitrate, this may be inaccurate
[lavf] stream 0: audio (ac3), -aid 0
[lavf] stream 1: video (h264), -vid 0
VIDEO:  [H264]  1280x720  0bpp  24.000 fps    0.0 kbps ( 0.0 kbyte/s)
[vdpau] Error when calling vdp_device_create_x11: 1
Error opening/initializing the selected video_out (-vo) device.
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...

Last edited by walp (2010-12-20 12:13:42)

Offline

#9 2010-12-20 13:05:05

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: VDPAU fails with 8400M G

walp, do you have libvdpau installed?


ᶘ ᵒᴥᵒᶅ

Offline

#10 2010-12-20 15:12:46

walp
Member
Registered: 2010-08-23
Posts: 23

Re: VDPAU fails with 8400M G

litemotiv wrote:

walp, do you have libvdpau installed?

Yes.

local/libvdpau 0.4-1
    Nvidia VDPAU library

Offline

#11 2010-12-20 15:24:37

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,732
Website

Re: VDPAU fails with 8400M G

Stupid question but does the 8400M support VDPAU?  I'm not seeing it listed in the table.  Follow-up question, does it play with video using -vo xv?

Last edited by graysky (2010-12-20 15:25:16)

Offline

#12 2010-12-20 15:34:01

walp
Member
Registered: 2010-08-23
Posts: 23

Re: VDPAU fails with 8400M G

graysky wrote:

Stupid question but does the 8400M support VDPAU?  I'm not seeing it listed in the table.  Follow-up question, does it play with video using -vo xv?

This link lists the card as supported: http://www.mythtv.org/wiki/VDPAU

Using xv as output driver works perfectly fine.

Offline

#13 2010-12-20 15:45:28

okplayer02
Member
From: Denver, Colorado
Registered: 2008-11-24
Posts: 84

Re: VDPAU fails with 8400M G

well according to this http://en.wikipedia.org/wiki/Nvidia_Pur … reVideo_HD

the G86 does support VDPAU. take it with grain of salt


Say what is good or keep silent  --Prophet Muhammad (SAW)

Offline

#14 2010-12-20 16:42:03

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: VDPAU fails with 8400M G

okplayer02 wrote:

well according to this http://en.wikipedia.org/wiki/Nvidia_Pur … reVideo_HD

the G86 does support VDPAU. take it with grain of salt

PureVideo != VDPAU. The authoritative list on VDPAU is this one (third column): http://us.download.nvidia.com/XFree86/L … chips.html. Though yeah, the 8400M is on it. Only the very first 8800 cards don't have VDPAU, the rest of the 8 series as well as all newer series do.

Edit: Oh, I see that Wikipedia page mentions VDPAU too. Ok, then.

Last edited by Gusar (2010-12-20 16:44:24)

Offline

#15 2010-12-20 17:19:13

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: VDPAU fails with 8400M G

you will need to report this to nvidia.

http://www.nvnews.net/vbulletin/  NVIDIA Linux  forum

Last edited by wonder (2010-12-20 17:20:25)


Give what you have. To someone, it may be better than you dare to think.

Offline

Board footer

Powered by FluxBB