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

Newegg Daily Deals

Reply
 
Thread Tools
Old 06-02-09, 08:02 AM   #73
Quantumstate
Registered User
 
Join Date: May 2008
Posts: 166
Default Re: VDPAU testing tool

Quote:
Originally Posted by crisalide View Post
@Quantumstate

If you can provide a 720p MPEG2 sample, i would add 720p mpeg decoding test. (never seen any until now)
Pure US ATSC transport stream, KCTS, Seattle.
http://Quantum-Equities.com/Andes_Plane_Crash.mpg

MediaInfo:
Code:
Video 
ID                               : 68 (0x44) 
Menu ID                          : 1 (0x1) 
Format                           : MPEG Video 
Format version                   : Version 2 
Format profile                   : Main@High 
Format settings, Matrix          : Default 
Duration                         : 2mn 21s 
Bit rate mode                    : Variable 
Bit rate                         : 10.3 Mbps 
Nominal bit rate                 : 19.4 Mbps 
Width                            : 1 280 pixels 
Height                           : 720 pixels 
Display aspect ratio             : 16/9 
Frame rate                       : 59.940 fps 
Colorimetry                      : 4:2:0 
Scan type                        : Progressive 
Bits/(Pixel*Frame)               : 0.187 
Stream size                      : 174 MiB (90%) 
 
Audio 
ID                               : 69 (0x45) 
Menu ID                          : 1 (0x1) 
Format                           : AC-3 
Format/Info                      : Audio Coding 3 
Duration                         : 2mn 21s 
Bit rate mode                    : Constant 
Bit rate                         : 384 Kbps 
Channel(s)                       : 6 channels 
Channel positions                : Front: L C R, Surround: L R, LFE 
Sampling rate                    : 48.0 KHz 
Stream size                      : 6.47 MiB (3%) 
Language                         : English 
Language, more info              : Hearing impaired

Quote:
Originally Posted by jyavenard View Post
US ATSC is 29.976 fps or 59.94Hz interlaced.

It's the framerate per second that is relevant... Because it's interlaced, a full frame is made of 2 interlaced ones.
60Hz interlaced = 30 fps.
50Hz interlaced = 25 fps
60Hz progressive = 60 fps, but this is never broadcast, the best that can be broadcast is 60Hz interlaced or 30 fps.
Here's where we differ. A field is one-half of the picture, every other line. So the field rate must be twice the full frame-rate in order to populate it.

My 9300 has tested out at a miserable 33 fields/s for Advanced, when the fieldrate for 1080i is 59.94 Hz. I'm not being stubborn, these are the numbers. It appears that my card can not handle 1080i with Advanced deinterlacing, but it's not clear to me how this relates to Advanced 2X and Advanced 1X deinterlacing settings in MythTV.

It does appear that my 9300 can handle 1080i using Temporal, since it tests at 109 fields/s, but what does this mean WRT 2X and 1X?

And finally it appears my Quadro can handle Advanced for 1080i, at 90 fields/s.
Quantumstate is offline   Reply With Quote
Old 06-02-09, 08:42 AM   #74
jyavenard
MythTV developer
 
Join Date: Mar 2006
Posts: 413
Default Re: VDPAU testing tool

Quote:
Originally Posted by Quantumstate View Post
Here's where we differ. A field is one-half of the picture, every other line. So the field rate must be twice the full frame-rate in order to .


My 9300 has tested out at 33 fields/s for Advanced, when the fieldrate for 1080i is 59.94 Hz. I'm not being stubborn, these are the numbers. It appears that my card can not handle 1080i with Advanced deinterlacing, but it's not clear to me how this relates to Advanced 2X and Advanced 1X.

It does appear that my 9300 can handle 1080i using Temporal, since it tests at 109 fields/s, but what does this mean WRT 2X and 1X?

And finally it appears my Quadro can handle Advanced for 1080i, at 90 fields/s.
I was referring to the "decoding" part, not the deinterlacing side of things and you know it as I wrote that the only thing you need to worry about is the deinterlacing part... You like to create strawman arguments don't you ?

Anyway, no point arguing with you, I don't care really... you obviously don't understand some of the basics of video decoding...
jyavenard is offline   Reply With Quote
Old 06-02-09, 08:48 AM   #75
Quantumstate
Registered User
 
Join Date: May 2008
Posts: 166
Default Re: VDPAU testing tool

I honestly do not see where I misunderstand any basics of video decoding, and I think it's clear to most that I am not being argumentative. I have gaps in my knowledge about deinterlacing, which I've been desperately trying to fill over and over again, to no avail.

I give up.
Quantumstate is offline   Reply With Quote
Old 06-02-09, 09:20 AM   #76
jyavenard
MythTV developer
 
Join Date: Mar 2006
Posts: 413
Default Re: VDPAU testing tool

So here we go again ...

Quote:
Originally Posted by Quantumstate View Post
Ah, that was the needed magick. I'll bet that should be in the ReadMe.

Quadro 1600M
Code:
SURFACE GET BITS: 640.084 M/s
SURFACE PUT BITS: 567.362 M/s

MPEG DECODING (1920x1080): 62 pic/s
H264 DECODING (1920x1080): 43 pic/s
VC1 DECODING (1440x1080): 82 pic/s

MIXER WEAVE (1920x1080): 878 frames/s
MIXER BOB (1920x1080): 1286 fields/s
MIXER TEMPORAL (1920x1080): 282 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 88 fields/s
So am I understanding that this is fast enough to do Advanced2X deinterlacing for 1080p?

And am I understanding that it is not fast enough to decode H.264?
So I rephrase again for you then:

looks fast enough to me for ***EVERYTHING***.

your typical HD h264 content is from a bluray, which is 24 pic/s ; your card can do twice that.
The highest framerate you will ever encounter broadcast is 30 fps (60Hz interlaced) your card decodes 43 per second
jyavenard is offline   Reply With Quote
Old 06-02-09, 10:00 AM   #77
crisalide
Registered User
 
Join Date: Dec 2008
Posts: 173
Default Re: VDPAU testing tool

Quote:
Originally Posted by Quantumstate View Post
My 9300 has tested out at a miserable 33 fields/s for Advanced, when the fieldrate for 1080i is 59.94 Hz. I'm not being stubborn, these are the numbers. It appears that my card can not handle 1080i with Advanced deinterlacing, but it's not clear to me how this relates to Advanced 2X and Advanced 1X deinterlacing settings in MythTV.

It does appear that my 9300 can handle 1080i using Temporal, since it tests at 109 fields/s, but what does this mean WRT 2X and 1X?

And finally it appears my Quadro can handle Advanced for 1080i, at 90 fields/s.
Each interlaced frame is made of 2 fields, the top one (line 1, line 3 ..) and the bottom one (line 2, line 4 ..).
I don't use MythTV myself, but IIUC:
Advanced=TEMPORAL_SPATIAL.
Advanced 2X means that MythTV will produce 1 frame for each field, so for an interlaced stream at 25fps, it will display 25x2=50 images/s.
Advanced 1X means that MythTV will produce one frame for each top (or bottom) field and ignore the second field, so for an interlaced stream at 25fps, it will display 25 images/s.
crisalide is offline   Reply With Quote
Old 06-02-09, 11:27 AM   #78
Quantumstate
Registered User
 
Join Date: May 2008
Posts: 166
Default Re: VDPAU testing tool

We are just not able to communicate for some reason, Jean.

crisalide, that's the first explanation I've seen of Myth's 2X and 1X, thanks.

So for 2x all it does is make each field into a frame? Is it still missing every other line? Or does it combine an odd field with an adjacent even field? Or does it interpolate?

And it seems 1X cuts resolution in half? Does it interpolate the missing lines? How could it be sharper than Temporal 2X?

For example, here's a common ATSC recording I watch:
Code:
Video
ID                               : 224 (0xE0)
Format                           : MPEG Video
Format version                   : Version 2
Format profile                   : Main@High
Format settings, Matrix          : Default
Duration                         : 1h 51mn
Bit rate mode                    : Constant
Bit rate                         : 15.2 Mbps
Nominal bit rate                 : 17.8 Mbps
Width                            : 1 920 pixels
Height                           : 1 080 pixels
Display aspect ratio             : 16/9
Frame rate                       : 29.970 fps
Standard                         : Component
Colorimetry                      : 4:2:0
Scan type                        : Interlaced
Scan order                       : Top Field First
Bits/(Pixel*Frame)               : 0.245
Stream size                      : 11.9 GiB (94%)
The frame rate here is 29.970, which means the field rate is 59.94Hz. My 9300 has tested that it can only process 33 fields/s for Advanced, which is < 59.94, so it clearly can not do Advanced deinterlacing, right? And this qvdpautest method, is this at 2X, or 1X? How do I equate the 33 fields/s for Advanced to Myth's settings of Advanced 1X & 2X?
Quantumstate is offline   Reply With Quote
Old 06-03-09, 07:02 AM   #79
crisalide
Registered User
 
Join Date: Dec 2008
Posts: 173
Default Re: VDPAU testing tool

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

- some more decoder and mixer tests
- reduced window size
- no user interaction
- console output
crisalide is offline   Reply With Quote
Old 06-03-09, 08:28 AM   #80
cthulhu
Great Old One
 
cthulhu's Avatar
 
Join Date: Sep 2002
Posts: 124
Default Re: VDPAU testing tool

Great update. I really like the new information. Good work, Crisalide!

Updated infor for my Asus U6V laptop:
Code:
Intel(R) Core(TM)2 Duo CPU     P8400  @ 2.26GHz
NVIDIA GPU GeForce 9300M GS (G98) at PCI:1:0:0 (GPU-0)

VDPAU API version : 0
VDPAU implementation : Unknown

SURFACE GET BITS: 759.278 M/s
SURFACE PUT BITS: 413.063 M/s

MPEG DECODING (1920x1080): 32 frames/s
MPEG DECODING (1280x720): 63 frames/s
H264 DECODING (1920x1080): 31 frames/s
H264 DECODING (1280x720): 117 frames/s
VC1 DECODING (1440x1080): 71 frames/s

MIXER WEAVE (1920x1080): 210 frames/s
MIXER BOB (1920x1080): 339 fields/s
MIXER TEMPORAL (1920x1080): 66 fields/s
MIXER TEMPORAL + SKIP_CHROMA (1920x1080): 83 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 23 fields/s
MIXER TEMPORAL_SPATIAL + SKIP_CHROMA (1920x1080): 24 fields/s

MIXER TEMPORAL_SPATIAL (720x576 video to 1920x1080 display): 91 fields/s
UPDATE:
During the first run a KDE notification popped up to inform me, that KDE thought my system was too slow for compositing, so it disabled it for me. After that I re-run qvdpautest and got these results:
Code:
Intel(R) Core(TM)2 Duo CPU     P8400  @ 2.26GHz
NVIDIA GPU GeForce 9300M GS (G98) at PCI:1:0:0 (GPU-0)

VDPAU API version : 0
VDPAU implementation : Unknown

SURFACE GET BITS: 439.014 M/s
SURFACE PUT BITS: 306.571 M/s

MPEG DECODING (1920x1080): 71 frames/s
MPEG DECODING (1280x720): 173 frames/s
H264 DECODING (1920x1080): 66 frames/s
H264 DECODING (1280x720): 135 frames/s
VC1 DECODING (1440x1080): 83 frames/s

MIXER WEAVE (1920x1080): 247 frames/s
MIXER BOB (1920x1080): 373 fields/s
MIXER TEMPORAL (1920x1080): 74 fields/s
MIXER TEMPORAL + SKIP_CHROMA (1920x1080): 103 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 23 fields/s
MIXER TEMPORAL_SPATIAL + SKIP_CHROMA (1920x1080): 24 fields/s

MIXER TEMPORAL_SPATIAL (720x576 video to 1920x1080 display): 91 fields/s
So it seems running processes (KDE compositing and compiz) greatly affect the results.
__________________
Desktop: Asus P5B Deluxe, Core2Duo E8500, 2GB Corsair 800MHz CL4, Gigabyte GTX460 1024MB
HTPC: Asus P5B-E, Core2Duo 6300, 1GB Corsair 533MHz, Asus 9500GT w/ 512MB DDR3
Server: Gigabyte D510UD, Atom D510, 2GB Corsair 800MHz, Hauppauge NOVA-T500 dual DVB-T tuner, 4x 2TB Samsung F3EG (RAID5)
Laptop: Asus U6V, Core2Duo P8400, 3GB DDR2, 9300M GS
OS on all: Gentoo Linux

Bought a computer bundled with windows? Don't want to use windows? Demand a refund!
cthulhu is offline   Reply With Quote

Old 06-03-09, 09:22 AM   #81
Bikalexander
Registered User
 
Join Date: Jan 2009
Posts: 4
Default Re: VDPAU testing tool

@crisalide


Hi,

First many thanks for the tool. Can you please still test for the 720x576 and 1920x1080 insert video to 720x576 display? I am using at the moment is still a tube TVs.

Thank you

Code:
AMD Athlon(tm) Prosussor
NVIDIA GPU GeForce 8400 GS (G98) at PCI:2:0:0 (GPU-0)

VDPAU API version : 0
VDPAU implementation : Unknown

SURFACE GET BITS: 87.1777 M/s
SURFACE PUT BITS: 35.8305 M/s

MPEG DECODING (1920x1080): 75 frames/s
MPEG DECODING (1280x720): 168 frames/s
H264 DECODING (1920x1080): 65 frames/s
H264 DECODING (1280x720): 133 frames/s
VC1 DECODING (1440x1080): 85 frames/s

MIXER WEAVE (1920x1080): 260 frames/s
MIXER BOB (1920x1080): 376 fields/s
MIXER TEMPORAL (1920x1080): 76 fields/s
MIXER TEMPORAL + SKIP_CHROMA (1920x1080): 105 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 23 fields/s
MIXER TEMPORAL_SPATIAL + SKIP_CHROMA (1920x1080): 24 fields/s

MIXER TEMPORAL_SPATIAL (720x576 video to 1920x1080 display): 92 fields/s
Bikalexander is offline   Reply With Quote
Old 06-03-09, 10:34 AM   #82
ScottKnight
Registered User
 
Join Date: Jan 2009
Location: Allison Park, PA, USA, Earth
Posts: 13
Default Re: VDPAU testing tool

Wow, my 9300 really can be a 9400 Here is a pretty much as-assembled Asus P5N7A-VM (integrated 9300) with E7200. iGPU is at 450/1200:
Code:
Intel(R) Core(TM)2 Duo CPU     E7200  @ 2.53GHz
NVIDIA GPU GeForce 9300 / nForce 730i (C79) at PCI:3:0:0

VDPAU API version : 0
VDPAU implementation : NVIDIA VDPAU Driver Shared Library  185.18.14  Wed May 27 01:54:36 PDT 2009

SURFACE GET BITS: 909.213 M/s
SURFACE PUT BITS: 990.007 M/s

MPEG DECODING (1920x1080): 60 frames/s
MPEG DECODING (1280x720): 136 frames/s
H264 DECODING (1920x1080): 53 frames/s
H264 DECODING (1280x720): 112 frames/s
VC1 DECODING (1440x1080): 67 frames/s

MIXER WEAVE (1920x1080): 303 frames/s
MIXER BOB (1920x1080): 428 fields/s
MIXER TEMPORAL (1920x1080): 109 fields/s
MIXER TEMPORAL + SKIP_CHROMA (1920x1080): 145 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 33 fields/s
MIXER TEMPORAL_SPATIAL + SKIP_CHROMA (1920x1080): 36 fields/s

MIXER TEMPORAL_SPATIAL (720x576 video to 1920x1080 display): 126 fields/s
And simply setting the clock speeds on the iGPU to 9400 specs (580/1400):
Code:
Intel(R) Core(TM)2 Duo CPU     E7200  @ 2.53GHz
NVIDIA GPU GeForce 9300 / nForce 730i (C79) at PCI:3:0:0

VDPAU API version : 0
VDPAU implementation : NVIDIA VDPAU Driver Shared Library  185.18.14  Wed May 27 01:54:36 PDT 2009

SURFACE GET BITS: 911.728 M/s
SURFACE PUT BITS: 997.498 M/s

MPEG DECODING (1920x1080): 77 frames/s
MPEG DECODING (1280x720): 175 frames/s
H264 DECODING (1920x1080): 67 frames/s
H264 DECODING (1280x720): 144 frames/s
VC1 DECODING (1440x1080): 85 frames/s

MIXER WEAVE (1920x1080): 365 frames/s
MIXER BOB (1920x1080): 528 fields/s
MIXER TEMPORAL (1920x1080): 126 fields/s
MIXER TEMPORAL + SKIP_CHROMA (1920x1080): 169 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 40 fields/s
MIXER TEMPORAL_SPATIAL + SKIP_CHROMA (1920x1080): 43 fields/s

MIXER TEMPORAL_SPATIAL (720x576 video to 1920x1080 display): 152 fields/s
Now I have true HD capability with HDMI audio in a nearly dead-silent setup...that only draws ~37w at idle. Life is pretty good. Thanks for the testing tool crisalide. Thanks for the sweet hardware and driver development Nvidia.

Edit: Just for snicks, I pushed it around a little. Setting the iGPU speeds to 750/1600 with +100mV, it booted just fine, but I couldn't see the mouse cursor and the menus were flaky in Gnome. Bumping down to 745/1600 with +100mV (with a little screen corruption during the mpeg test):
Code:
VIDIA GPU GeForce 9300 / nForce 730i (C79) at PCI:3:0:0

VDPAU API version : 0
VDPAU implementation : NVIDIA VDPAU Driver Shared Library  185.18.14  Wed May 27 01:54:36 PDT 2009

SURFACE GET BITS: 1075.33 M/s
SURFACE PUT BITS: 1201.06 M/s

MPEG DECODING (1920x1080): 99 frames/s
MPEG DECODING (1280x720): 224 frames/s
H264 DECODING (1920x1080): 86 frames/s
H264 DECODING (1280x720): 177 frames/s
VC1 DECODING (1440x1080): 101 frames/s

MIXER WEAVE (1920x1080): 72464 frames/s
MIXER BOB (1920x1080): 163180 fields/s
MIXER TEMPORAL (1920x1080): 25040 fields/s
MIXER TEMPORAL + SKIP_CHROMA (1920x1080): 43848 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 22448 fields/s
MIXER TEMPORAL_SPATIAL + SKIP_CHROMA (1920x1080): 36492 fields/s

MIXER TEMPORAL_SPATIAL (720x576 video to 1920x1080 display): 22056 fields/s
Not so sure I can trust those deinterlacing results anymore. From 600 through 720MHz, everything scaled quite proportionally. The most amazing thing is that the GPU core temp only went up from 38 at the stock settings to 41 at the highest. Color me impressed with this system.
__________________
Scott Knight

Last edited by ScottKnight; 06-08-09 at 09:36 PM. Reason: Added 745 MHz result
ScottKnight is offline   Reply With Quote
Old 06-03-09, 12:45 PM   #83
jeisom
Registered User
 
Join Date: Dec 2005
Location: My own little world
Posts: 117
Default Re: VDPAU testing tool

Updated info with qvdpautest-0.3.
Driver 185.18.10
Linux gentoo amd64
Code:
AMD Athlon(tm) 64 X2 Dual Core Processor 6000+
NVIDIA GPU GeForce 9400 GT (G96) at PCI:1:0:0 (GPU-0)

VDPAU API version : 0
VDPAU implementation : Unknown

SURFACE GET BITS: 978.253 M/s
SURFACE PUT BITS: 1025.69 M/s

MPEG DECODING (1920x1080): 75 frames/s
MPEG DECODING (1280x720): 149 frames/s
H264 DECODING (1920x1080): 42 frames/s
H264 DECODING (1280x720): 93 frames/s
VC1 DECODING (1440x1080): 120 frames/s

MIXER WEAVE (1920x1080): 443 frames/s
MIXER BOB (1920x1080): 652 fields/s
MIXER TEMPORAL (1920x1080): 142 fields/s
MIXER TEMPORAL + SKIP_CHROMA (1920x1080): 191 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 43 fields/s
MIXER TEMPORAL_SPATIAL + SKIP_CHROMA (1920x1080): 49 fields/s

MIXER TEMPORAL_SPATIAL (720x576 video to 1920x1080 display): 172 fields/s
jeisom is offline   Reply With Quote
Old 06-03-09, 08:01 PM   #84
Lost Dog
Registered User
 
Join Date: Aug 2007
Posts: 151
Default Re: VDPAU testing tool

Ok, here is mine on the .3 revsion of qvdpautest...

What would also be interesting would be to see the average CPU load for each test...

Code:
AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
NVIDIA GPU GeForce 8800 GT (G92) at PCI:3:0:0 (GPU-0)

VDPAU API version : 0
VDPAU implementation : NVIDIA VDPAU Driver Shared Library  185.18.14  Wed May 27 01:54:36 PDT 2009

SURFACE GET BITS: 881.846 M/s
SURFACE PUT BITS: 901.545 M/s

MPEG DECODING (1920x1080): 78 frames/s
MPEG DECODING (1280x720): 156 frames/s
H264 DECODING (1920x1080): 45 frames/s
H264 DECODING (1280x720): 98 frames/s
VC1 DECODING (1440x1080): 124 frames/s

MIXER WEAVE (1920x1080): 2310 frames/s
MIXER BOB (1920x1080): 4178 fields/s
MIXER TEMPORAL (1920x1080): 851 fields/s
MIXER TEMPORAL + SKIP_CHROMA (1920x1080): 1139 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 326 fields/s
MIXER TEMPORAL_SPATIAL + SKIP_CHROMA (1920x1080): 360 fields/s

MIXER TEMPORAL_SPATIAL (720x576 video to 1920x1080 display): 1173 fields/s
Lost Dog 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 12:28 PM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 11:04 AM
Load Testing with the Cloud ' This Week on inside* Publications News Archived News Items 0 05-20-12 05:30 PM
Portal 2 Perpetual Testing Initiative Starts Now News Archived News Items 0 05-08-12 05:00 PM
tv tool 6.8 thcdru2k NVIDIA Windows Graphics Drivers 4 10-18-02 01:10 PM

All times are GMT -5. The time now is 01:50 AM.


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