View Single Post
Old 11-18-10, 11:24 AM   #23
Avari
Registered User
 
Join Date: Nov 2010
Posts: 2
Default Re: vdpau slowness with 260.19.06

Now I have a similar problem.
Notebook ASUS X66IC with GeForce GT220M.
When I was using Ubuntu 10.04 and Mplayer with VDPAU from ppa:nvidia-vdpau/ppa, things was smooth and ideal
After I installed Ubuntu 10.10 Maverick (fresh clean install + current updates) with Nvidia driver 260.19.06 (from official ubuntu repository), I had the same problem: when playing video through VDPAU (mplayer -vo vdpau -vc ffh264vdpau movie.mkv), only about the first second played smoothly, then the playback speed drops sharply (maybe from 25 fps to 5-10?). Then the rate rises, but playback is not smooth.
Mplayer output looks like that:
Code:
MPlayer 1.0rc4-4.4.5 (C) 2000-2010 MPlayer Team
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 Загрузки/Mai-HiME [BD] [720p]/Mai-Hime 01 (BD 960x720 h264 FLAC) [Coalgirls].mkv.
libavformat file format detected.
[matroska @ 0xd3a740]Estimating duration from bitrate, this may be inaccurate
[lavf] stream 0: video (h264), -vid 0, Mai Hime 01
[lavf] stream 1: audio (flac), -aid 0, -alang jpn, 2.0 FLAC
[lavf] stream 2: subtitle (unknown), -sid 0, -slang eng, English
VIDEO:  [H264]  960x720  0bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
 doctype: matroska
 title: Mai Hime 01
==========================================================================
Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 0.0 kbit/0.00% (ratio: 0->192000)
Selected audio codec: [ffflac] afm: ffmpeg (FFmpeg FLAC audio)
==========================================================================
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
[VD_FFMPEG] Trying pixfmt=0.
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [vdpau] 960x720 => 960x720 H.264 VDPAU acceleration 
[VD_FFMPEG] XVMC-accelerated MPEG-2.
A:   3.0 V:   2.0 A-V:  0.992 ct:  2.036   0/  0 16% 31%  0.1% 50 0 

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

Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
  - Try -ao sdl or use the OSS emulation of ALSA.
  - Experiment with different values for -autosync, 30 is a good start.
- Slow video output
  - Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
  - Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,
    e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
  - Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
  - Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
  - Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.

A:   9.7 V:   9.7 A-V: -0.000 ct:  0.085   0/  0  3% 13%  0.4% 81 0 
Exiting... (Quit)
Now I installs 260.19.21 from ppa:ubuntu-x-swat/x-updates. The problem remains the same. I tried -ao sdl or -ao alsa - nothing has changed.
sudo dpkg-reconfigure linux-image-2.6.35-22-generic and sudo dpkg-reconfigure nvidia-current also did not change anything.
I generate and attach to this post nvidia bug report.
I can't upload part of this file to partners.ftp.nvidia.com - site rejects me by scp and by http. Maybe I try ftp later, file name is Mai_HiME_01_part.mkv.
I tried to run "export VDPAU_TRACE=1; export VDPAU_NVIDIA_DEBUG=3; mplayer ..." and redirect output to a file. Then file contains only mplayer messages, no VDPAU debug messages - only in terminal window. How I can redirect VDPAU debug messages to file? 2>&1 >mplayer.log do not works. | tee mplayer.log also fails.
Attached Files
File Type: gz nvidia-bug-report.log.gz (44.0 KB, 116 views)
Avari is offline   Reply With Quote