View Single Post
Old 10-19-11, 06:17 AM   #88
Blackkitten
Registered User
 
Join Date: Jul 2011
Posts: 6
Default Re: vdpau slowness with 260.19.06

Hello again !
I started from advice about "un-redirect full screen" that I was given on ubuntuforums.
I didn't have it ticked. When I selected it the vdpau perfomance became smooth ( tested on video from Nikon D7000 that is 1080p@24fps ). Then I stared to measure perfomance with qvdpau testing tool... In the end I dicovered next things:

1. It looks like that "un-redirect full screen" option doesn't affect perfomance.

2. Vdpau perfomance is switching from smooth to bad without any noticable causes. Usually it is smooth after restart or changing the session, but after some time it becomes too slow.
Usually Unity2d session has smoother results, than Unity 3d, but in general they are on par. I have next qvdpautest results:

Unity2d session. Smooth VDPAU.
Code:
qvdpautest 0.5.1
Intel(R) Core(TM)2 Duo CPU     T7500  @ 2.20GHz
NVIDIA GPU GeForce 8600M GT (G84) at PCI:1:0:0 (GPU-0)

VDPAU API version : 1
VDPAU implementation : NVIDIA VDPAU Driver Shared Library  285.05.09  Fri Sep 23 17:55:14 PDT 2011

SURFACE GET BITS: 821.865 M/s
SURFACE PUT BITS: 737.28 M/s

MPEG DECODING (1920x1080): 57 frames/s
MPEG DECODING (1280x720): 124 frames/s
H264 DECODING (1920x1080): 25 frames/s
H264 DECODING (1280x720): 57 frames/s
VC1 DECODING (1440x1080): 72 frames/s

MIXER WEAVE (1920x1080): 531 frames/s
MIXER BOB (1920x1080): 894 fields/s
MIXER TEMPORAL (1920x1080): 204 fields/s
MIXER TEMPORAL + IVTC (1920x1080): 135 fields/s
MIXER TEMPORAL + SKIP_CHROMA (1920x1080): 277 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 70 fields/s
MIXER TEMPORAL_SPATIAL + IVTC (1920x1080): 58 fields/s
MIXER TEMPORAL_SPATIAL + SKIP_CHROMA (1920x1080): 78 fields/s
MIXER TEMPORAL_SPATIAL (720x576 video to 1920x1080 display): 270 fields/s

MULTITHREADED MPEG DECODING (1920x1080): 60 frames/s
MULTITHREADED MIXER TEMPORAL (1920x1080): 172 fields/s
Unity3d session. Smooth vdpau.
Code:
qvdpautest 0.5.1
Intel(R) Core(TM)2 Duo CPU     T7500  @ 2.20GHz
NVIDIA GPU GeForce 8600M GT (G84) at PCI:1:0:0 (GPU-0)

VDPAU API version : 1
VDPAU implementation : NVIDIA VDPAU Driver Shared Library  285.05.09  Fri Sep 23 17:55:14 PDT 2011

SURFACE GET BITS: 812.373 M/s
SURFACE PUT BITS: 684.472 M/s

MPEG DECODING (1920x1080): 57 frames/s
MPEG DECODING (1280x720): 123 frames/s
H264 DECODING (1920x1080): 24 frames/s
H264 DECODING (1280x720): 53 frames/s
VC1 DECODING (1440x1080): 72 frames/s

MIXER WEAVE (1920x1080): 529 frames/s
MIXER BOB (1920x1080): 672 fields/s
MIXER TEMPORAL (1920x1080): 152 fields/s
MIXER TEMPORAL + IVTC (1920x1080): 99 fields/s
MIXER TEMPORAL + SKIP_CHROMA (1920x1080): 208 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 54 fields/s
MIXER TEMPORAL_SPATIAL + IVTC (1920x1080): 44 fields/s
MIXER TEMPORAL_SPATIAL + SKIP_CHROMA (1920x1080): 63 fields/s
MIXER TEMPORAL_SPATIAL (720x576 video to 1920x1080 display): 202 fields/s

MULTITHREADED MPEG DECODING (1920x1080): 61 frames/s
MULTITHREADED MIXER TEMPORAL (1920x1080): 171 fields/s
Unity3d session. Bad vdpau perfomance.
Code:
qvdpautest 0.5.1
Intel(R) Core(TM)2 Duo CPU     T7500  @ 2.20GHz
NVIDIA GPU GeForce 8600M GT (G84) at PCI:1:0:0 (GPU-0)

VDPAU API version : 1
VDPAU implementation : NVIDIA VDPAU Driver Shared Library  285.05.09  Fri Sep 23 17:55:14 PDT 2011

SURFACE GET BITS: 816.466 M/s
SURFACE PUT BITS: 630.061 M/s

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

MIXER WEAVE (1920x1080): 523 frames/s
MIXER BOB (1920x1080): 671 fields/s
MIXER TEMPORAL (1920x1080): 151 fields/s
MIXER TEMPORAL + IVTC (1920x1080): 98 fields/s
MIXER TEMPORAL + SKIP_CHROMA (1920x1080): 207 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 54 fields/s
MIXER TEMPORAL_SPATIAL + IVTC (1920x1080): 43 fields/s
MIXER TEMPORAL_SPATIAL + SKIP_CHROMA (1920x1080): 63 fields/s
MIXER TEMPORAL_SPATIAL (720x576 video to 1920x1080 display): 202 fields/s

MULTITHREADED MPEG DECODING (1920x1080): 38 frames/s
MULTITHREADED MIXER TEMPORAL (1920x1080): 174 fields/s
3. The funny thing.
The results above was take using notebook's display: 1280x800.
Switching to external display(1920x1080) gives better vdpau perfomance!
Code:
qvdpautest 0.5.1
Intel(R) Core(TM)2 Duo CPU     T7500  @ 2.20GHz
NVIDIA GPU GeForce 8600M GT (G84) at PCI:1:0:0 (GPU-0)

VDPAU API version : 1
VDPAU implementation : NVIDIA VDPAU Driver Shared Library  285.05.09  Fri Sep 23 17:55:14 PDT 2011

SURFACE GET BITS: 825.82 M/s
SURFACE PUT BITS: 742.96 M/s

MPEG DECODING (1920x1080): 71 frames/s
MPEG DECODING (1280x720): 143 frames/s
H264 DECODING (1920x1080): 41 frames/s
H264 DECODING (1280x720): 86 frames/s
VC1 DECODING (1440x1080): 105 frames/s

MIXER WEAVE (1920x1080): 492 frames/s
MIXER BOB (1920x1080): 836 fields/s
MIXER TEMPORAL (1920x1080): 193 fields/s
MIXER TEMPORAL + IVTC (1920x1080): 129 fields/s
MIXER TEMPORAL + SKIP_CHROMA (1920x1080): 262 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 68 fields/s
MIXER TEMPORAL_SPATIAL + IVTC (1920x1080): 56 fields/s
MIXER TEMPORAL_SPATIAL + SKIP_CHROMA (1920x1080): 76 fields/s
MIXER TEMPORAL_SPATIAL (720x576 video to 1920x1080 display): 263 fields/s

MULTITHREADED MPEG DECODING (1920x1080): 67 frames/s
MULTITHREADED MIXER TEMPORAL (1920x1080): 161 fields/s
P.S. I'm using mplayer from this PPA.
And nvidia-drivers from this PPA.
Blackkitten is offline   Reply With Quote