Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-03-09, 11:15 AM   #1
aaneiros
Registered User
 
Join Date: Feb 2009
Posts: 15
Default Mplayer vdpau and nvidia 8200 IGP

Hi. I recently bought a jetway motherboard with an onboard nvidia 8200 as I had read it would be capable of displaying 1080P video on my LCD. The motherboard model is NC62K. I am using 2 GBs of memory and an AMD 4850e processor on debian unstable.

I have tried both the mplayer package from debian multimedia (which used to include vdpau support but now it seems not to) and my own compiled mplayer from latest svn version plus the latest nvidia drivers (180.44).

Previously I had tried mplayer-vdpau on my laptop with exciting results (amazing difference in cpu usage). However, on this machine, mplayer uses less cpu when I use -vo xv than when using vdpau.

Anyway, in both cases, I am unable to play practically any 1080P mkv file as cpu usage goes above 99%, video and audio start to go out of synch and mplayer complains my system is too slow.

I expected to be able to play any sort of HD material on this rig so I am wondering if this could be a hardware problem.. maybe the GPU is just not capable enough?

This is whay vdpau prints on my console:

Forced video codec: ffh264vdpau
Forced video codec: ffmpeg12vdpau
Forced video codec: ffvc1vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[VD_FFMPEG] Trying pixfmt=0.
Unsupported PixelFormat -1
VDec: vo config request - 1920 x 1080 (preferred colorspace: VC1 VDPAU acceleration)
VDec: using VC1 VDPAU acceleration as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1920x1080 => 1920x1080 VC1 VDPAU acceleration [zoom]
[VD_FFMPEG] XVMC-accelerated MPEG-2.
[VD_FFMPEG] Trying pixfmt=0.
[VD_FFMPEG] XVMC-accelerated MPEG-2.
[vc1_vdpau @ 0x89228a0]Incomplete extradata
Could not open codec.
VDecoder init failed
Forced video codec: ffwmv3vdpau
Opening video decoder: [dmo] DMO video codecs
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555 RGB565 RGB24 RGB32
Decoder is capable of YUV output (flags 0x1b)
VDec: vo config request - 1920 x 1080 (preferred colorspace: Packed YUY2)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1920x1080 => 1920x1080 Planar YV12 [zoom]
Selected video codec: [wmvvc1dmo] vfm: dmo (Windows Media Video (VC-1) Advanced Profile)

and then it informs me that my system is too slow.

Note: I have disabled the composite extension in my xorg.conf.

Regards.
aaneiros is offline   Reply With Quote
Old 04-03-09, 04:07 PM   #2
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: Mplayer vdpau and nvidia 8200 IGP

That log file shows you falling back to SW decoding. I think Carl will want you to try only MPlayer SVN, and use the "-v" flag for a more complete log. You can also do this before running MPlayer:

export VPDAU_TRACE=1

to get an idea of any VDPAU APIs that are failing.
Stephen Warren is offline   Reply With Quote
Old 04-03-09, 04:44 PM   #3
aaneiros
Registered User
 
Join Date: Feb 2009
Posts: 15
Default Re: Mplayer vdpau and nvidia 8200 IGP

Thanks for answering.

Following your instrucitions, this is what I get on the console where I start mplayer (sorry for it's a bit lenghty):

================================================== ========================
Forced video codec: ffh264vdpau
Forced video codec: ffmpeg12vdpau
Forced video codec: ffvc1vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[VD_FFMPEG] VDPAU accelerated codec.
[vc1_vdpau @ 0x8937f00]Entry point: 5ADFFCEF
[vc1_vdpau @ 0x8937f00]Entry point info:
BrokenLink=0, ClosedEntry=1, PanscanFlag=0
RefDist=1, Postproc=1, FastUVMC=0, ExtMV=1
DQuant=1, VSTransform=1, Overlap=0, Qmode=3
[vc1_vdpau @ 0x8937f00]Incomplete extradata
Could not open codec.
VDecoder init failed
Forced video codec: ffwmv3vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[vc1 @ 0x8937f00]Entry point: 5ADFFCEF
[vc1 @ 0x8937f00]Entry point info:
BrokenLink=0, ClosedEntry=1, PanscanFlag=0
RefDist=1, Postproc=1, FastUVMC=0, ExtMV=1
DQuant=1, VSTransform=1, Overlap=0, Qmode=3
[vc1 @ 0x8937f00]Incomplete extradata
Could not open codec.
VDecoder init failed
Opening video decoder: [dmo] DMO video codecs
get_path('registry') -> '/home/toni/.mplayer/registry'
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555 RGB565 RGB24 RGB32
Decoder is capable of YUV output (flags 0x1b)
VDec: vo config request - 1920 x 1080 (preferred colorspace: Packed YUY2)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO Config (1920x1080->1920x1080,flags=0,'MPlayer',0x32315659)
VO: [vdpau] 1920x1080 => 1920x1080 Planar YV12
VO: Description: VDPAU with X11
VO: Author: Rajib Mahapatra <rmahapatra@nvidia.com> and others
INFO: Win32/DMO video codec init OK.
Selected video codec: [wmvvc1dmo] vfm: dmo (Windows Media Video (VC-1) Advanced Profile Decoder)
================================================== ========================
================================================== ========================
Opening audio decoder: [liba52] AC3 decoding with liba52
dec_audio: Allocating 3840 bytes for input buffer.
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer.
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe) 48000 Hz 448.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0xA
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
================================================== ========================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Trying preferred audio driver 'alsa', options 'device=hw=0.3'
alsa-init: requested format: 48000 Hz, 2 channels, 9
alsa-init: using ALSA 1.0.19
alsa-init: setup for 1/2 channel(s)
alsa-init: using device hw:0,3
alsa-init: pcm opened in blocking mode
alsa-init: chunksize set to 1024
alsa-init: fragcount=16
alsa-init: got buffersize=65536
alsa-init: got period size 1024
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <joy@streamminister.de>
AO: Comment: under developement
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Starting playback...
Increasing filtered audio buffer size from 0 to 65536
*** [vo] Allocating mp_image_t, 1920x1080x12bpp YUV planar, 3110400 bytes
get_path('subfont.ttf') -> '/home/toni/.mplayer/subfont.ttf'
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
get_path('subfont.ttf') -> '/home/toni/.mplayer/subfont.ttf'
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
[vdpau] dx: 0 dy: 0 dw: 1920 dh: 1080
A: 27.2 V: 26.7 A-V: 0.486 ct: -0.001 0/ 0 69% 12% 0.9% 96 0

************************************************
**** Your system is too SLOW to play this! ****
************************************************

Regards
aaneiros is offline   Reply With Quote
Old 04-03-09, 04:53 PM   #4
aaneiros
Registered User
 
Join Date: Feb 2009
Posts: 15
Default Re: Mplayer vdpau and nvidia 8200 IGP

Update:

While loonig up one of the errors in the mplayer trace I've just posted, I found this thread: http://www.nvnews.net/vbulletin/show....php?p=1936545 where a user recomends adding -demuxer lavf to mplayer's command line. This decreases cpu usage from 100% to under 30%; however, after some seconds, video and audio begin to stutter and I get this on the terminal:

Too many video packets in the buffer: (249 in 33627394 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
A: 488.5 V: 478.1 A-V: 10.376 ct: 0.861 0/ 0 5% 102% 14.8% 1292 0

Regards.
aaneiros is offline   Reply With Quote
Old 04-03-09, 05:19 PM   #5
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: Mplayer vdpau and nvidia 8200 IGP

That doesn't give me any clue. What happens when you set the environment variable that I mentionked?
Stephen Warren is offline   Reply With Quote
Old 04-03-09, 05:25 PM   #6
aaneiros
Registered User
 
Join Date: Feb 2009
Posts: 15
Default Re: Mplayer vdpau and nvidia 8200 IGP

Quote:
Originally Posted by Stephen Warren View Post
That doesn't give me any clue. What happens when you set the environment variable that I mentionked?
Mmm, just what I posted. I did set he variable prior to executing mplayer.

Regards
aaneiros is offline   Reply With Quote
Old 04-03-09, 05:27 PM   #7
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: Mplayer vdpau and nvidia 8200 IGP

Did you supply the appropriate command-line options to MPlayer to get it to use VDPAU? What command-line are you running? If your command-line is OK, a configure/build problem occurred; MPlayer isn't even trying to initialize VDPAU...
Stephen Warren is offline   Reply With Quote
Old 04-03-09, 05:31 PM   #8
aaneiros
Registered User
 
Join Date: Feb 2009
Posts: 15
Default Re: Mplayer vdpau and nvidia 8200 IGP

Quote:
Originally Posted by Stephen Warren View Post
Did you supply the appropriate command-line options to MPlayer to get it to use VDPAU? What command-line are you running? If your command-line is OK, a configure/build problem occurred; MPlayer isn't even trying to initialize VDPAU...
I have this is my ~/.mplayer/config:

vo="vdpau,xv,"
vc="ffh264vdpau,ffmpeg12vdpau,ffvc1vdpau,ffwmv3vdp au,"

Thanks again
aaneiros is offline   Reply With Quote

Old 04-03-09, 05:56 PM   #9
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: Mplayer vdpau and nvidia 8200 IGP

Try removing ",xv," (including tommas) from vo, and the trailing comma from vc. Possibly that'll give some better error information instead of just falling back automatically.

I notice there's a space in ffwmv3vdpau. Was that a cut/paste typo?

Please also check the configure.log from when you built MPlayer. Does it say VDPAU was detected correctly?

Thanks.
Stephen Warren is offline   Reply With Quote
Old 04-03-09, 06:10 PM   #10
cehoyos
FFmpeg developer
 
Join Date: Jan 2009
Location: Vienna, Austria
Posts: 467
Default Re: Mplayer vdpau and nvidia 8200 IGP

Quote:
Originally Posted by aaneiros View Post
Following your instrucitions, this is what I get on the console where I start mplayer (sorry for it's a bit lenghty):
Please note that it is not long enough, because it is not uncut output of mplayer -v!

Please try:
mplayer -vc ffvc1vdpau yourfile
(if that does not work, you may post a link to the file in question, but it will not get solved quickly).
If it does work, please try
mplayer -v -vo vdpau -vc ffvc1vdpau yourfile
and post complete output (and, if possible, a link to the file).

Carl Eugen
cehoyos is offline   Reply With Quote
Old 04-04-09, 06:18 AM   #11
aaneiros
Registered User
 
Join Date: Feb 2009
Posts: 15
Default Re: Mplayer vdpau and nvidia 8200 IGP

Quote:
Originally Posted by Stephen Warren View Post
Try removing ",xv," (including tommas) from vo, and the trailing comma from vc. Possibly that'll give some better error information instead of just falling back automatically.
I did, but it had no effect :-(


Quote:
I notice there's a space in ffwmv3vdpau. Was that a cut/paste typo?
Yes, it was. Sorry

Quote:

Please also check the configure.log from when you built MPlayer. Does it say VDPAU was detected correctly?
Yes, configure says it has vdpau support. Just to make sure, I have installed mythbuntu and the mplayer version from www.avenard.org gives me the same oputput:

[vc1_vdpau @ 0x899c380]Incomplete extradata
Could not open codec.
VDecoder init failed

I'm starting to think (from what I read in other threads in this forum) that vdpau does not support acceleration for the mkv file I'm trying to play. With other mkvs this work perfectly. I'll try to play more mkv types and see what happens.

Also, I'm attaching a couple of files with mplayer outputs for different command-line options in another message in the same thread.

Quote:
Thanks.
Thanks to both of you for your time.
aaneiros is offline   Reply With Quote
Old 04-04-09, 06:29 AM   #12
aaneiros
Registered User
 
Join Date: Feb 2009
Posts: 15
Default Re: Mplayer vdpau and nvidia 8200 IGP

Quote:
Originally Posted by cehoyos View Post
Please note that it is not long enough, because it is not uncut output of mplayer -v!

Please try:
mplayer -vc ffvc1vdpau yourfile
(if that does not work, you may post a link to the file in question, but it will not get solved quickly).
If it does work, please try
mplayer -v -vo vdpau -vc ffvc1vdpau yourfile
and post complete output (and, if possible, a link to the file).

Carl Eugen
Hi. I'm attaching mplayer's output to the two commands you proposed. In both cases I get no video. Preious to running mplayer, I did a:

export VPDAU_TRACE=1

Thanks for your time.
Attached Files
File Type: gz mplayer_v_vc_ffvc1vdpau.gz (3.7 KB, 75 views)
File Type: gz mplayer_v_vo_vdpau_vc_ffvc1vdpau.gz (3.7 KB, 66 views)
aaneiros is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
nvidia driver quality decrease? legluondunet NVIDIA Linux 17 06-26-12 10:03 AM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 11:04 AM
NVIDIA VDPAU Reference Benchmarks News Archived News Items 0 06-11-12 05:30 AM

All times are GMT -5. The time now is 05:59 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.