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

Newegg Daily Deals

Reply
 
Thread Tools
Old 10-05-10, 05:40 PM   #13
Guilo19
Registered User
 
Join Date: May 2008
Posts: 15
Default Re: vdpau slowness with 260.19.06

Bug reproduced. But in the meantime I have upgraded to Kubuntu 10.10. Now in qvdpautest I have a lot of
Code:
displayFrame: vdp_video_mixer_render error : An invalid handle value was provided.
So I have run qvdpautest with VDPAU_DEBUG level 3. You can find the log in vdpau2 txt file provided. I have also run nvidia-bug-report.sh.

Once more restarting X solved everything, even the displayFrame: vdp_video_mixer_render error : An invalid handle value was provided lines are gone when running qvdpautest

Quote:
qvdpautest 0.5.1
Intel(R) Core(TM)2 Duo CPU T8100 @ 2.10GHz
NVIDIA GPU GeForce 8400M GT (G86M) at PCI:1:0:0 (GPU-0)

VDPAU API version : 1
VDPAU implementation : NVIDIA VDPAU Driver Shared Library 260.19.06 Mon Sep 13 04:58:44 PDT 2010

SURFACE GET BITS: 776.622 M/s
SURFACE PUT BITS: 719.68 M/s

MPEG DECODING (1920x1080): 72 frames/s
MPEG DECODING (1280x720): 149 frames/s
H264 DECODING (1920x1080): 42 frames/s
H264 DECODING (1280x720): 94 frames/s
VC1 DECODING (1440x1080): 109 frames/s
Profile unsupported.

MIXER WEAVE (1920x1080): 351 frames/s
MIXER BOB (1920x1080): 480 fields/s
MIXER TEMPORAL (1920x1080): 124 fields/s
MIXER TEMPORAL + IVTC (1920x1080): 81 fields/s
MIXER TEMPORAL + SKIP_CHROMA (1920x1080): 166 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 37 fields/s
MIXER TEMPORAL_SPATIAL + IVTC (1920x1080): 29 fields/s
MIXER TEMPORAL_SPATIAL + SKIP_CHROMA (1920x1080): 41 fields/s
MIXER TEMPORAL_SPATIAL (720x576 video to 1920x1080 display): 132 fields/s

MULTITHREADED MPEG DECODING (1920x1080): 71 frames/s
MULTITHREADED MIXER TEMPORAL (1920x1080): 127 fields/s
after killing X
Attached Files
File Type: txt vdpau2.txt (15.9 KB, 195 views)
File Type: gz nvidia-bug-report.log.gz (59.2 KB, 117 views)
Guilo19 is offline   Reply With Quote
Old 10-06-10, 05:35 AM   #14
weltall
Registered User
 
Join Date: Feb 2007
Posts: 115
Default Re: vdpau slowness with 260.19.06

i did again the test while using the debugging output of vdpau (level 3) and I've done a newer bug report all this with 2.6.35.7 (still same results)
Code:
qvdpautest 0.5.1
Intel(R) Core(TM)2 Duo CPU     T7300  @ 2.00GHz
NVIDIA GPU GeForce 8600M GT (G84) at PCI:1:0:0 (GPU-0)

VDPAU API version : 1
VDPAU implementation : NVIDIA VDPAU Driver Shared Library  260.19.06  Mon Sep 13 04:58:44 PDT 2010

SURFACE GET BITS: 482.23 M/s
SURFACE PUT BITS: 400.885 M/s

MPEG DECODING (1920x1080): 39 frames/s
MPEG DECODING (1280x720): 85 frames/s
H264 DECODING (1920x1080): 16 frames/s
H264 DECODING (1280x720): 35 frames/s
VC1 DECODING (1440x1080): 48 frames/s

MIXER WEAVE (1920x1080): 439 frames/s
MIXER BOB (1920x1080): 713 fields/s
MIXER TEMPORAL (1920x1080): 164 fields/s
MIXER TEMPORAL + IVTC (1920x1080): 110 fields/s
MIXER TEMPORAL + SKIP_CHROMA (1920x1080): 225 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 64 fields/s
MIXER TEMPORAL_SPATIAL + IVTC (1920x1080): 52 fields/s
MIXER TEMPORAL_SPATIAL + SKIP_CHROMA (1920x1080): 73 fields/s
MIXER TEMPORAL_SPATIAL (720x576 video to 1920x1080 display): 218 fields/s

MULTITHREADED MPEG DECODING (1920x1080): 37 frames/s
MULTITHREADED MIXER TEMPORAL (1920x1080): 136 fields/s
Attached Files
File Type: gz nvidia-bug-report.log.gz (40.9 KB, 113 views)
File Type: gz vdpautest.gz (69.9 KB, 124 views)
weltall is offline   Reply With Quote
Old 10-15-10, 01:07 AM   #15
weltall
Registered User
 
Join Date: Feb 2007
Posts: 115
Default Re: vdpau slowness with 260.19.06

i've now updated to ubuntu 10.10 (clean install) so i've x.org 1.9.0.
There were no changes, then i've updated to the latest stable driver 256.19.12 but even there no appreciable results. Even though some values seems to have increased in the test, the relevant ones are still low or even lower than before (see MPEG decoding). The test was done as soon as x was started after the install.
Code:
qvdpautest 0.5.1
Intel(R) Core(TM)2 Duo CPU     T7300  @ 2.00GHz
NVIDIA GPU GeForce 8600M GT (G84) at PCI:1:0:0 (GPU-0)

VDPAU API version : 1
VDPAU implementation : NVIDIA VDPAU Driver Shared Library  260.19.12  Fri Oct  8 11:46:03 PDT 2010

SURFACE GET BITS: 700.79 M/s
SURFACE PUT BITS: 678.691 M/s

MPEG DECODING (1920x1080): 38 frames/s
MPEG DECODING (1280x720): 84 frames/s
H264 DECODING (1920x1080): 16 frames/s
H264 DECODING (1280x720): 35 frames/s
VC1 DECODING (1440x1080): 48 frames/s

MIXER WEAVE (1920x1080): 519 frames/s
MIXER BOB (1920x1080): 874 fields/s
MIXER TEMPORAL (1920x1080): 201 fields/s
MIXER TEMPORAL + IVTC (1920x1080): 135 fields/s
MIXER TEMPORAL + SKIP_CHROMA (1920x1080): 273 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 69 fields/s
MIXER TEMPORAL_SPATIAL + IVTC (1920x1080): 57 fields/s
MIXER TEMPORAL_SPATIAL + SKIP_CHROMA (1920x1080): 77 fields/s
MIXER TEMPORAL_SPATIAL (720x576 video to 1920x1080 display): 267 fields/s

MULTITHREADED MPEG DECODING (1920x1080): 38 frames/s
MULTITHREADED MIXER TEMPORAL (1920x1080): 170 fields/s
Attached Files
File Type: gz nvidia-bug-report.log.gz (46.1 KB, 109 views)
weltall is offline   Reply With Quote
Old 10-15-10, 11:16 AM   #16
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: vdpau slowness with 260.19.06

When you see the slow performance, are your machines running out of RAM and swapping? There is a bug in all current 260.19.* releases that causes VDPAU to consume an extremely large amount of system memory at startup (e.g. 1GB). We've fixed this, but the driver with the fix has not yet been released. This could cause performance issues or outright failures on systems without much free RAM. Still, your issue might be completely unrelated.
Stephen Warren is offline   Reply With Quote
Old 10-15-10, 11:24 AM   #17
weltall
Registered User
 
Join Date: Feb 2007
Posts: 115
Default Re: vdpau slowness with 260.19.06

no it's not the case my machine has 4gb of ram and just after starting x and trying vdpau i didn't load any other app, I've also retried now looking at top and it seems i get about 100mb used during the whole testing with qvdpautest (i had 1,77gb free memory (as not even used for cached or buffers) at the start 1,54gb during the test)
this time actually i had some weird results it seems it has improved
Quote:
qvdpautest 0.5.1
Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz
NVIDIA GPU GeForce 8600M GT (G84) at PCI:1:0:0 (GPU-0)

VDPAU API version : 1
VDPAU implementation : NVIDIA VDPAU Driver Shared Library 260.19.12 Fri Oct 8 11:46:03 PDT 2010

SURFACE GET BITS: 660.365 M/s
SURFACE PUT BITS: 636.513 M/s

MPEG DECODING (1920x1080): 58 frames/s
MPEG DECODING (1280x720): 125 frames/s
H264 DECODING (1920x1080): 26 frames/s
H264 DECODING (1280x720): 56 frames/s
VC1 DECODING (1440x1080): 73 frames/s

MIXER WEAVE (1920x1080): 431 frames/s
MIXER BOB (1920x1080): 716 fields/s
MIXER TEMPORAL (1920x1080): 174 fields/s
MIXER TEMPORAL + IVTC (1920x1080): 119 fields/s
MIXER TEMPORAL + SKIP_CHROMA (1920x1080): 231 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 60 fields/s
MIXER TEMPORAL_SPATIAL + IVTC (1920x1080): 54 fields/s
MIXER TEMPORAL_SPATIAL + SKIP_CHROMA (1920x1080): 71 fields/s
MIXER TEMPORAL_SPATIAL (720x576 video to 1920x1080 display): 244 fields/s

MULTITHREADED MPEG DECODING (1920x1080): 55 frames/s
MULTITHREADED MIXER TEMPORAL (1920x1080): 140 fields/s
I think I’ll be going to reboot and test if these results are consistent

edit: after the reboot the situation worsened again....
Code:
qvdpautest 0.5.1
Intel(R) Core(TM)2 Duo CPU     T7300  @ 2.00GHz
NVIDIA GPU GeForce 8600M GT (G84) at PCI:1:0:0 (GPU-0)

VDPAU API version : 1
VDPAU implementation : NVIDIA VDPAU Driver Shared Library  260.19.12  Fri Oct  8 11:46:03 PDT 2010

SURFACE GET BITS: 722.844 M/s
SURFACE PUT BITS: 705.953 M/s

MPEG DECODING (1920x1080): 36 frames/s
MPEG DECODING (1280x720): 77 frames/s
H264 DECODING (1920x1080): 15 frames/s
H264 DECODING (1280x720): 34 frames/s
VC1 DECODING (1440x1080): 44 frames/s

MIXER WEAVE (1920x1080): 516 frames/s
MIXER BOB (1920x1080): 871 fields/s
MIXER TEMPORAL (1920x1080): 199 fields/s
MIXER TEMPORAL + IVTC (1920x1080): 133 fields/s
MIXER TEMPORAL + SKIP_CHROMA (1920x1080): 271 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 69 fields/s
MIXER TEMPORAL_SPATIAL + IVTC (1920x1080): 57 fields/s
MIXER TEMPORAL_SPATIAL + SKIP_CHROMA (1920x1080): 77 fields/s
MIXER TEMPORAL_SPATIAL (720x576 video to 1920x1080 display): 265 fields/s

MULTITHREADED MPEG DECODING (1920x1080): 39 frames/s
MULTITHREADED MIXER TEMPORAL (1920x1080): 170 fields/s
weltall is offline   Reply With Quote
Old 10-24-10, 02:10 PM   #18
UrbenLegend
Registered User
 
Join Date: Feb 2007
Posts: 21
Default Re: vdpau slowness with 260.19.06

I am getting the same issue with Kubuntu 10.10 and the 260.19.12 drivers. Extremely slow on 1080p videos, but runs fine with 720p. I reverted back to the 256 driver and it seems to work fine.
UrbenLegend is offline   Reply With Quote
Old 11-08-10, 01:49 PM   #19
PxPert
Registered User
 
Join Date: Jun 2004
Posts: 5
Default Re: vdpau slowness with 260.19.06

Hi,
It seems I'm affected by the same problem...
Here is my configuration:
System: Dell Vostro 1510
CPU: Intel Core 2 duo t5670
GPU: Nvidia 8400gs
OS: Gentoo Linux
Kernel: zen-sources 2.6.35
Xorg server: 1.8.2
Gcc: 4.4.3
Glibc: 2.11.2
nvidia drivers: 260.19.06

Here is qvdpautest output:

qvdpautest 0.5.1
Intel(R) Core(TM)2 Duo CPU T5670 @ 1.80GHz
NVIDIA GPU GeForce 8400M GS (G86M) at PCI:1:0:0 (GPU-0)

VDPAU API version : 1
VDPAU implementation : NVIDIA VDPAU Driver Shared Library 260.19.06 Mon Sep 13 04:58:44 PDT 2010

SURFACE GET BITS: 670.513 M/s
SURFACE PUT BITS: 553.379 M/s

MPEG DECODING (1920x1080): 37 frames/s
MPEG DECODING (1280x720): 81 frames/s
H264 DECODING (1920x1080): 15 frames/s
H264 DECODING (1280x720): 34 frames/s
VC1 DECODING (1440x1080): 45 frames/s

MIXER WEAVE (1920x1080): 264 frames/s
MIXER BOB (1920x1080): 419 fields/s
MIXER TEMPORAL (1920x1080): 89 fields/s
MIXER TEMPORAL + IVTC (1920x1080): 56 fields/s
MIXER TEMPORAL + SKIP_CHROMA (1920x1080): 123 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 32 fields/s
MIXER TEMPORAL_SPATIAL + IVTC (1920x1080): 25 fields/s
MIXER TEMPORAL_SPATIAL + SKIP_CHROMA (1920x1080): 36 fields/s
MIXER TEMPORAL_SPATIAL (720x576 video to 1920x1080 display): 122 fields/s

MULTITHREADED MPEG DECODING (1920x1080): 37 frames/s
MULTITHREADED MIXER TEMPORAL (1920x1080): 78 fields/s

I've attached nvidia bug report too :P
Attached Files
File Type: gz nvidia-bug-report.log.gz (35.8 KB, 113 views)
PxPert is offline   Reply With Quote
Old 11-10-10, 01:51 AM   #20
weltall
Registered User
 
Join Date: Feb 2007
Posts: 115
Default Re: vdpau slowness with 260.19.06

looks like the last release 260.19.21 has made it even worse:
Code:
qvdpautest 0.5.1
Intel(R) Core(TM)2 Duo CPU     T7300  @ 2.00GHz
NVIDIA GPU GeForce 8600M GT (G84) at PCI:1:0:0 (GPU-0)

VDPAU API version : 1
VDPAU implementation : NVIDIA VDPAU Driver Shared Library  260.19.21  Thu Nov  4 21:46:12 PDT 2010

SURFACE GET BITS: 734.707 M/s
SURFACE PUT BITS: 688.046 M/s

MPEG DECODING (1920x1080): 34 frames/s
MPEG DECODING (1280x720): 73 frames/s
H264 DECODING (1920x1080): 15 frames/s
H264 DECODING (1280x720): 33 frames/s
VC1 DECODING (1440x1080): 42 frames/s

MIXER WEAVE (1920x1080): 500 frames/s
MIXER BOB (1920x1080): 843 fields/s
MIXER TEMPORAL (1920x1080): 194 fields/s
MIXER TEMPORAL + IVTC (1920x1080): 131 fields/s
MIXER TEMPORAL + SKIP_CHROMA (1920x1080): 264 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 68 fields/s
MIXER TEMPORAL_SPATIAL + IVTC (1920x1080): 56 fields/s
MIXER TEMPORAL_SPATIAL + SKIP_CHROMA (1920x1080): 71 fields/s
MIXER TEMPORAL_SPATIAL (720x576 video to 1920x1080 display): 261 fields/s

MULTITHREADED MPEG DECODING (1920x1080): 38 frames/s
MULTITHREADED MIXER TEMPORAL (1920x1080): 163 fields/s
weltall is offline   Reply With Quote

Old 11-16-10, 07:13 PM   #21
UrbenLegend
Registered User
 
Join Date: Feb 2007
Posts: 21
Default Re: vdpau slowness with 260.19.06

Really? The new driver actually fixed the issue for me.
UrbenLegend is offline   Reply With Quote
Old 11-16-10, 07:29 PM   #22
Blammo
Registered User
 
Join Date: Sep 2004
Posts: 29
Default Re: vdpau slowness with 260.19.06

will run vdpau test when I get home tonight, however, seeing the same issue, 8500GT, experiencing "shudder/stutter/etc" with H.264 under current drivers.. rolled to 260.19.21, no better.

mythfrontend log complains about things like:

2010-11-16 17:01:30.353 GetNextFreeFrame() served a busy frame H. Dropping. uUuUuUuUULULU(au)UUu
2010-11-16 17:01:30.353 GetNextFreeFrame() served a busy frame f. Dropping. uUuUuUuUULULUuUUu
2010-11-16 17:01:30.355 GetNextFreeFrame() TryLock has spun 10 times, this is a lot.
2010-11-16 17:01:30.356 GetNextFreeFrame() TryLock has spun 20 times, this is a lot.
2010-11-16 17:01:30.358 GetNextFreeFrame() TryLock has spun 30 times, this is a lot.
2010-11-16 17:01:30.371 GetNextFreeFrame() unable to lock frame 100 times. Discarding Frames.
2010-11-16 17:01:30.371 VideoBuffers:iscardFrames(1): uUuUuUuUULULUuUUu
2010-11-16 17:01:30.371 VideoBuffers:iscardFrames(): AAAAAAAAAAAAAAAAA -- done()
2010-11-16 17:01:30.371 VideoBuffers:iscardFrames(1): AAAAAAAAAAAAAAAAA -- done
2010-11-16 17:01:30.569 NVP(0): Video is 4.86535 frames ahead of audio,
doubling video frame interval to slow down.
Blammo is offline   Reply With Quote
Old 11-18-10, 10: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, 109 views)
Avari is offline   Reply With Quote
Old 11-18-10, 10:39 AM   #24
hobbiticus
Registered User
 
Join Date: Sep 2004
Posts: 6
Default Re: vdpau slowness with 260.19.06

Try piping using "2>". The vdpau debug messages output to stderr, not stdout.

For example:
mplayer [options] 2> vdpau.log
hobbiticus 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


All times are GMT -5. The time now is 11:33 PM.


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