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

Newegg Daily Deals

Reply
 
Thread Tools
Old 05-26-09, 02:52 AM   #13
garyl
Registered User
 
Join Date: May 2009
Posts: 24
Default Re: VDPAU testing tool

crisalide, your tool is so impressive.
Thank you so much.
Is it possible to add an "H.264 DECODING" test?

AaronP,
> you may need to disable CPU frequency scaling
I did it (see "Cool'n'Quiet OFF"), and the MPEG decoding is improved,
but the MGS4 trailer (H.264) is still slow.

NVIDIA sell 9800/9600GT Low Power for power saving,
so the customers don't want to disable CnQ for them.
garyl is offline   Reply With Quote
Old 05-26-09, 04:13 AM   #14
piotro
Registered User
 
Join Date: May 2007
Posts: 72
Default Re: VDPAU testing tool

Quote:
Originally Posted by crisalide View Post
Hi all,

for those interested, here is a little VDPAU benchmarking tool.
http://hftom.homelinux.org/tmp/qvdpautest-0.1.tar.gz

See README.
Excellent idea. Is it possible to modify sources of this nice tool that it:
- no requires Qt at all
- if Qt is a must - might it be based on Qt3 (I'm on 0.21-fixes which is based on Qt3)
- bulid is based on automake (I want to include to my distro which is based on minimyth)

thx !
piotro is offline   Reply With Quote
Old 05-26-09, 01:50 PM   #15
jpterj
Registered User
 
Join Date: Dec 2008
Posts: 57
Default Re: VDPAU testing tool

Code:
SURFACE GET BITS: 869.821 M/s
SURFACE PUT BITS: 430.321 M/s

MPEG DECODING (1920x1080): 77 pic/s
VC1 DECODING (1440x1080): 121 pic/s

MIXER WEAVE (1920x1080): 1133 frames/s
MIXER BOB (1920x1080): 1700 fields/s
MIXER TEMPORAL (1920x1080): 341 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 104 fields/s
GeForce 9500 GT @ 600 MHz, 512 MB @ 900 MHz
Driver version 185.18.08
jpterj is offline   Reply With Quote
Old 05-26-09, 02:27 PM   #16
garyl
Registered User
 
Join Date: May 2009
Posts: 24
Default Re: VDPAU testing tool

Ah, I didn't know that AaronP was a NVIDIA worker.
I could play the MGS4 trailer with AMD 780G by "Media Player Classic Homecinema"
on Windows (with GPU acceleration).
I think the bandwidth is enough.

> you may need to disable CPU frequency scaling or force it
> to a particular minimum level to ensure that the GPU has enough bandwidth.

You shouldn't say "You need to disable CnQ to use 9800'ECO' properly".
That is a bad joke.
I'm very disappointed that the comment came from a NVIDIA developer.
garyl is offline   Reply With Quote
Old 05-26-09, 02:58 PM   #17
garyl
Registered User
 
Join Date: May 2009
Posts: 24
Default Re: VDPAU testing tool

I did a mistake. The Cool'n'Quiet process remained.
I removed the process and run qvdpautest again.

Cool'n'Quiet OFF
Code:
SURFACE GET BITS: 1141.44 M/s
SURFACE PUT BITS: 1248.05 M/s

MPEG DECODING (1920x1080): 78 pic/s <== OK
VC1 DECODING (1440x1080): 127 pic/s <== OK

MIXER WEAVE (1920x1080): 2364 frames/s
MIXER BOB (1920x1080): 4237 fields/s
MIXER TEMPORAL (1920x1080): 827 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 307 fields/s
9800GT Low Power (Core 550MHz/Memory 1800MHz)

Still I can't play the MGS4 trailer properly.
garyl is offline   Reply With Quote
Old 05-26-09, 03:06 PM   #18
Lemmiwinks
Registered User
 
Join Date: Apr 2009
Location: Germany
Posts: 75
Default Re: VDPAU testing tool

When I run the make command, I get the following errors:


Code:
/Desktop/qvdpautest-0.1$ make
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o vdpauwidget.o vdpauwidget.cpp
vdpauwidget.cpp:5:17: error: QtGui: No such file or directory
vdpauwidget.cpp:6:20: error: QX11Info: No such file or directory
In file included from vdpauwidget.cpp:8:
vdpauwidget.h:4:19: error: QWidget: No such file or directory
In file included from vdpauwidget.h:6,
                 from vdpauwidget.cpp:8:
vdpaucontext.h:4:19: error: QString: No such file or directory
In file included from vdpaucontext.h:6,
                 from vdpauwidget.h:6,
                 from vdpauwidget.cpp:8:
/usr/include/vdpau/vdpau_x11.h:44:22: error: X11/Xlib.h: No such file or directory
In file included from vdpauwidget.cpp:9:
mpegdecoder.h:4:17: error: QList: No such file or directory
In file included from vdpaucontext.h:6,
                 from vdpauwidget.h:6,
                 from vdpauwidget.cpp:8:
/usr/include/vdpau/vdpau_x11.h:122: error: typedef ‘VdpDeviceCreateX11’ is initialized (use __typeof__ instead)
/usr/include/vdpau/vdpau_x11.h:122: error: ‘Display’ was not declared in this scope
/usr/include/vdpau/vdpau_x11.h:122: error: ‘display’ was not declared in this scope
/usr/include/vdpau/vdpau_x11.h:123: error: expected primary-expression before ‘int’
/usr/include/vdpau/vdpau_x11.h:125: error: expected primary-expression before ‘*’ token
/usr/include/vdpau/vdpau_x11.h:125: error: ‘device’ was not declared in this scope
/usr/include/vdpau/vdpau_x11.h:126: error: expected primary-expression before ‘*’ token
/usr/include/vdpau/vdpau_x11.h:126: error: ‘get_proc_address’ was not declared in this scope
/usr/include/vdpau/vdpau_x11.h:134: error: ‘VdpDeviceCreateX11’ does not name a type
/usr/include/vdpau/vdpau_x11.h:158: error: ‘Drawable’ has not been declared
In file included from vdpauwidget.h:6,
                 from vdpauwidget.cpp:8:
vdpaucontext.h:17: error: expected `)' before ‘*’ token
vdpaucontext.h:18: error: ‘QString’ does not name a type
vdpaucontext.h:21: error: ‘QString’ does not name a type
vdpaucontext.h:25: error: ‘QString’ has not been declared
vdpaucontext.h:28: error: ISO C++ forbids declaration of ‘Display’ with no type
vdpaucontext.h:28: error: expected ‘;’ before ‘*’ token
In file included from vdpauwidget.cpp:8:
vdpauwidget.h:11: error: expected class-name before ‘{’ token
vdpauwidget.h:12: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with no type
vdpauwidget.h:13: error: expected ‘;’ before ‘public’
vdpauwidget.h:15: error: ‘QString’ does not name a type
vdpauwidget.h:16: error: ‘QString’ does not name a type
vdpauwidget.h:17: error: ‘QString’ does not name a type
vdpauwidget.h:18: error: ‘QString’ does not name a type
vdpauwidget.h:19: error: ‘QString’ does not name a type
vdpauwidget.h:21: error: ‘QString’ does not name a type
vdpauwidget.h:28: error: ‘QString’ does not name a type
In file included from vdpauwidget.cpp:9:
mpegdecoder.h:33: error: ISO C++ forbids declaration of ‘QList’ with no type
mpegdecoder.h:33: error: expected ‘;’ before ‘<’ token
mpegdecoder.h:45: error: ISO C++ forbids declaration of ‘QList’ with no type
mpegdecoder.h:45: error: expected ‘;’ before ‘<’ token
In file included from vdpauwidget.cpp:10:
vc1decoder.h:44: error: ISO C++ forbids declaration of ‘QList’ with no type
vc1decoder.h:44: error: expected ‘;’ before ‘<’ token
vdpauwidget.cpp:26: error: expected `)' before ‘*’ token
vdpauwidget.cpp:42: error: ‘QString’ does not name a type
vdpauwidget.cpp: In member function ‘void VdpauWidget::displayFrame(VdpVideoSurface, int, int, double)’:
vdpauwidget.cpp:111: error: ‘width’ was not declared in this scope
vdpauwidget.cpp:111: error: ‘height’ was not declared in this scope
vdpauwidget.cpp: At global scope:
vdpauwidget.cpp:108: warning: unused parameter ‘ratio’
vdpauwidget.cpp:121: error: ‘QString’ does not name a type
vdpauwidget.cpp:206: error: ‘QString’ does not name a type
vdpauwidget.cpp:238: error: ‘QString’ does not name a type
vdpauwidget.cpp:270: error: ‘QString’ does not name a type
vdpauwidget.cpp:320: error: ‘QString’ does not name a type
make: *** [vdpauwidget.o] Error 1
what have I forgotten?
Lemmiwinks is offline   Reply With Quote
Old 05-26-09, 03:10 PM   #19
garyl
Registered User
 
Join Date: May 2009
Posts: 24
Default Re: VDPAU testing tool

I had managed Cool'n'Quiet by cpufreqd.
I changed it to powernowd and it works better.

Cool'n'Quiet ON by powernowd
Code:
SURFACE GET BITS: 866.771 M/s
SURFACE PUT BITS: 1246.87 M/s

MPEG DECODING (1920x1080): 69 pic/s <== OK
VC1 DECODING (1440x1080): 110 pic/s <== OK

MIXER WEAVE (1920x1080): 2380 frames/s
MIXER BOB (1920x1080): 4219 fields/s
MIXER TEMPORAL (1920x1080): 826 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 306 fields/s
9800GT Low Power (Core 550MHz/Memory 1800MHz)

I think the bandwidth@CnQ is enough.
garyl is offline   Reply With Quote
Old 05-26-09, 03:20 PM   #20
ju-rek
Registered User
 
Join Date: Feb 2008
Posts: 1
Default Re: VDPAU testing tool

Quote:
SURFACE GET BITS: 1592.86 M/s
SURFACE PUT BITS: 1095.59 M/s

MPEG DECODING (1920x1080): 79 pic/s
VC1 DECODING (1440x1080): 128 pic/s

MIXER WEAVE (1920x1080): 2267 frames/s
MIXER BOB (1920x1080): 4149 fields/s
MIXER TEMPORAL (1920x1080): 816 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 317 fields/s
GF 8800GT 512mb ( 600/1800 )
ju-rek is offline   Reply With Quote

Old 05-26-09, 08:54 PM   #21
crisalide
Registered User
 
Join Date: Dec 2008
Posts: 173
Default Re: VDPAU testing tool

New version 0.2 : http://hftom.free.fr/qvdpautest-0.2.tar.gz

- Added H264 decoding test.
- Better mixer loop calibration (for f** fast GPU

Reference: MSI 9500GT

Code:
SURFACE GET BITS: 1370.44 M/s
SURFACE PUT BITS: 872.315 M/s

MPEG DECODING (1920x1080): 78 pic/s
H264 DECODING (1920x1080): 44 pic/s
VC1 DECODING (1440x1080): 125 pic/s

MIXER WEAVE (1920x1080): 545 frames/s
MIXER BOB (1920x1080): 994 fields/s
MIXER TEMPORAL (1920x1080): 201 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 73 fields/s
crisalide is offline   Reply With Quote
Old 05-26-09, 09:23 PM   #22
crisalide
Registered User
 
Join Date: Dec 2008
Posts: 173
Default Re: VDPAU testing tool

Quote:
Originally Posted by Lemmiwinks View Post
When I run the make command, I get the following errors:
what have I forgotten?
You want to run "qmake" or "qmake-qt4".
See README.
crisalide is offline   Reply With Quote
Old 05-27-09, 02:50 AM   #23
garyl
Registered User
 
Join Date: May 2009
Posts: 24
Default Re: VDPAU testing tool

crisalide,
> - Added H264 decoding test.
Thank you so much!

I took a movie for checking VDPAU and PowerMizer performances.
http://www.geocities.jp/ep3797/snaps...st20090527.ogg
Get it by wget and play it by mplayer please.

I took the movie by Istanbul.
$ nvidia-settings
=> PowerMizer tab.
$ ./qvdpautest
$ istanbul
=> Right click the Istanbul icon and choose "Select Area to Record"
=> Select Area
=> Left click the Istanbul icon
=> Start qvdpautest

Sometimes PowerMizer chooses a Low Performance Level during the test.
(I disabled Cool'n'Quiet.)
I think the NVIDIA's power calibration is buggy,
so the results of qvdpautest are unstable.

Test1
Code:
SURFACE GET BITS: 1147.06 M/s
SURFACE PUT BITS: 1247.66 M/s

MPEG DECODING (1920x1080): 78 pic/s
H264 DECODING (1920x1080): 45 pic/s
VC1 DECODING (1440x1080): 127 pic/s <== OK

MIXER WEAVE (1920x1080): 2313 frames/s
MIXER BOB (1920x1080): 4136 fields/s
MIXER TEMPORAL (1920x1080): 831 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 305 fields/s
Test2
Code:
SURFACE GET BITS: 1141.77 M/s
SURFACE PUT BITS: 1247.66 M/s

MPEG DECODING (1920x1080): 78 pic/s
H264 DECODING (1920x1080): 45 pic/s
VC1 DECODING (1440x1080): 60 pic/s <== Bad

MIXER WEAVE (1920x1080): 2313 frames/s
MIXER BOB (1920x1080): 4136 fields/s
MIXER TEMPORAL (1920x1080): 831 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 305 fields/s
Test3
Code:
SURFACE GET BITS: 1146.07 M/s
SURFACE PUT BITS: 1244.91 M/s

MPEG DECODING (1920x1080): 78 pic/s
H264 DECODING (1920x1080): 45 pic/s
VC1 DECODING (1440x1080): 127 pic/s <== OK

MIXER WEAVE (1920x1080): 2313 frames/s
MIXER BOB (1920x1080): 4136 fields/s
MIXER TEMPORAL (1920x1080): 831 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 305 fields/s
9800GT Low Power (550/1800)
garyl is offline   Reply With Quote
Old 05-27-09, 05:31 AM   #24
garyl
Registered User
 
Join Date: May 2009
Posts: 24
Default Re: VDPAU testing tool

I found the way to play the MGS4 trailer smoothly.
http://www.nvnews.net/vbulletin/show...57&postcount=7
VDPAU improves the CPU usage greatly.
garyl 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
Valve to release its trailer-making tool: Source Filmmaker dikinher Gaming Central 2 06-28-12 01:28 PM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 12:04 PM
Load Testing with the Cloud ' This Week on inside* Publications News Archived News Items 0 05-20-12 06:30 PM
Portal 2 Perpetual Testing Initiative Starts Now News Archived News Items 0 05-08-12 06:00 PM
tv tool 6.8 thcdru2k NVIDIA Windows Graphics Drivers 4 10-18-02 02:10 PM

All times are GMT -5. The time now is 02:33 AM.


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