nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   VPDAU supported by GeForce 9600 (http://www.nvnews.net/vbulletin/showthread.php?t=133169)

calestyo 05-20-09 07:10 AM

VPDAU supported by GeForce 9600
 
Hi.

I'd like to bus the Silent from Asus' EN9600GT card.
Unfortunately I find different information whether VPDAU is supported or not.

Is it definitely supported and if so fully (H.264, VC-1, etc.) or only partially?


Thanks,
Chris.

Update: To clarify the subject: I meant the 9600GT chipset.

cthulhu 05-20-09 11:21 AM

Re: VPDAU supported by GeForce 9600
 
The 9600GT should be well supported by VDPAU. It is able to do hardware assisted decoding of all formats - some fully (h264) and some partially (MPEG1, VC-1). It should be sufficient to decode all formats as far as I've understood.

Someone correct me if I'm wrong.

cehoyos 05-20-09 11:33 AM

Re: VPDAU supported by GeForce 9600
 
Quote:

Originally Posted by calestyo (Post 2011906)
I'd like to bus the Silent from Asus' EN9600GT card.
Unfortunately I find different information whether VPDAU is supported or not.

Is it definitely supported and if so fully (H.264, VC-1, etc.) or only partially?

ftp://download.nvidia.com/XFree86/Li...html#id2583935
While VC-1 is only partially accelerated, you will still prefer this card (or a 9500) over a G98 based one, because you get de-interlacing for higher resolutions/frame-rates and no H.264 deficiencies.

Carl Eugen

cthulhu 05-20-09 12:29 PM

Re: VPDAU supported by GeForce 9600
 
Carl, you know more about VDPAU than most, can I persuade you to elaborating on the 9500GT's deinterlacing capabilities?

I've started a thread about it here.

Kind regards

Cthulhu

cehoyos 05-20-09 05:22 PM

Re: VPDAU supported by GeForce 9600
 
Quote:

Originally Posted by cthulhu (Post 2012184)
Carl, can I persuade you to elaborating on the 9500GT's deinterlacing capabilities?

No, because I've never seen one;-)

Carl Eugen

calestyo 05-20-09 05:25 PM

Re: VPDAU supported by GeForce 9600
 
Thanks for your information,...
Finally I've also found this in appendix H of the readme,.. I've just overread it, because it only refers to the GPU name (G94 or so).

What does partial acceleration exactly mean? Is it that there's always some software calculation, or just in some specific modes?


thx,
Chris.

cehoyos 05-20-09 07:45 PM

Re: VPDAU supported by GeForce 9600
 
Quote:

Originally Posted by calestyo (Post 2012403)
What does partial acceleration exactly mean? Is it that there's always some software calculation

Yes.
It also means I cannot decode VC1 720p with a G96 without immediate de-sync on my Pentium 500, but you will not see much difference between G98 and G96 on a more decent computer.

Carl Eugen

calestyo 05-21-09 04:44 PM

Re: VPDAU supported by GeForce 9600
 
Doesn't the GeForce 9600GT have a G94 (and not G96) GPU?

cehoyos 05-25-09 05:09 AM

Re: VPDAU supported by GeForce 9600
 
Quote:

Originally Posted by calestyo (Post 2013214)
Doesn't the GeForce 9600GT have a G94 (and not G96) GPU?

Yes.

If we agree however, that above-mentioned link ftp://download.nvidia.com/XFree86/Li...html#id2583935 indicates that G94 and G96 use the same PureVideo device, that does not make any difference for what I've said (that you will very likely prefer faster cards with de-interlacing for higher resolutions over a Geforce 8400 G98 that does fully accelerated decoding for VC1).

Carl Eugen

calestyo 05-25-09 06:03 AM

Re: VPDAU supported by GeForce 9600
 
Unfortunately my mplayer claims that i wouldn't have an vpdau device... :-(

(Apart from some other errors coming with the new GPU, no more console-terminals,... two buggy mouse pointer on the X screen where the pointer is _NOT_)

cehoyos 05-25-09 06:11 AM

Re: VPDAU supported by GeForce 9600
 
Quote:

Originally Posted by calestyo (Post 2015179)
Unfortunately my mplayer claims that i wouldn't have an vpdau device... :-(

Complete, uncut output of mplayer -v -vc ffh264vdpau yourfile - if it is a h264 file - needed (and maybe test vdpauinfo first, if it does not report a vdpau decoder, mplayer will not work).

Carl Eugen

calestyo 05-25-09 07:14 AM

Re: VPDAU supported by GeForce 9600
 
VDPINFO gives me:
Code:

$ ./vdpinfo
display: :0.0  screen: 0
API version: 0
Information string: Unknown

Video surface:

name  width height types
-------------------------------------------
420    4096  4096  NV12 YV12
422    4096  4096  UYVY YUYV

Decoder capabilities:

name          level macbs width height
------------------------------------
MPEG1            0  8192  2048  2048
MPEG2_SIMPLE      3  8192  2048  2048
MPEG2_MAIN        3  8192  2048  2048
H264_MAIN        41  8192  2048  2048
H264_HIGH        41  8192  2048  2048
VC1_SIMPLE        1  8190  2048  2048
VC1_MAIN          2  8190  2048  2048
VC1_ADVANCED      4  8190  2048  2048

Output surface:

name              width height nat types
----------------------------------------------------
B8G8R8A8          8192  8192    y  Y8U8V8A8 V8U8Y8A8
R10G10B10A2      8192  8192    y  Y8U8V8A8 V8U8Y8A8

Bitmap surface:

name              width height
------------------------------
B8G8R8A8          8192  8192
R8G8B8A8          8192  8192
R10G10B10A2      8192  8192
B10G10R10A2      8192  8192
A8                8192  8192

Video mixer:

feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL            y
DEINTERLACE_TEMPORAL_SPATIAL    y
INVERSE_TELECINE                y
NOISE_REDUCTION                  y
SHARPNESS                        y
LUMA_KEY                        y

parameter name                  sup      min      max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH              y        1    4096
VIDEO_SURFACE_HEIGHT            y        1    4096
CHROMA_TYPE                      y 
LAYERS                          y        0        4

attribute name                  sup      min      max
-----------------------------------------------------
BACKGROUND_COLOR                y 
CSC_MATRIX                      y 
NOISE_REDUCTION_LEVEL            y      0.00    1.00
SHARPNESS_LEVEL                  y    -1.00    1.00
LUMA_KEY_MIN_LUMA                y 
LUMA_KEY_MAX_LUMA                y


of mplayer -v -vc ffh264vdpau 00001.m2ts

Code:

# mplayer -v -vc ffh264vdpau 00001.m2ts
MPlayer dev-SVN-r29241CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: Dual Core AMD Opteron(tm) Processor 275 (Family: 15, Model: 33, Stepping: 2)
extended cpuid-level: 24
extended cache-info: 67141952
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNowExt: 1 SSE: 1 SSE2: 1 SSSE3: 0
Compiled with runtime CPU detection.
get_path('codecs.conf') -> '/root/.mplayer/codecs.conf'
Reading /root/.mplayer/codecs.conf: Can't open '/root/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration: --prefix=/usr --confdir=/etc/mplayer --datadir=/usr/share/mplayer --enable-xmga --enable-mga --enable-joystick --disable-tremor-internal --language=all --enable-largefiles --enable-menu --disable-libdvdcss-internal --enable-radio --enable-radio-capture --disable-dvdread-internal --disable-libavutil_a --disable-libavcodec_a --disable-libpostproc_a --disable-libavformat_a --disable-libswscale_a --enable-libamr_nb --enable-libamr_wb --enable-libdirac-lavc --enable-libschroedinger-lavc --enable-xvmc --with-xvmclib=XvMCW --enable-tdfxfb --enable-s3fb --enable-runtime-cpudetection --enable-gui
CommandLine: '-v' '-vc' 'ffh264vdpau' '00001.m2ts'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/root/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/root/.mplayer/input.conf'
Can't open input config file /root/.mplayer/input.conf: No such file or directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 90 binds
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
Setting up LIRC support...
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.
get_path('00001.m2ts.conf') -> '/root/.mplayer/00001.m2ts.conf'

Playing 00001.m2ts.
get_path('sub/') -> '/root/.mplayer/sub/'
[file] File size is 43708846080 bytes
STREAM: [file] 00001.m2ts
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: MPEG-2 transport stream format
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename 00001.m2ts ext: .m2ts
Checking for Nullsoft Streaming Video
Checking for MOV
Checking for VIVO
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 4, FOUND 47, packet_size= 192, SEEMS A TS? 1
GOOD CC: 31, BAD CC: 0
TS file format detected.
DEMUX OPEN, AUDIO_ID: -1, VIDEO_ID: -1, SUBTITLE_ID: -2,
Checking for MPEG-TS...
TRIED UP TO POSITION 4, FOUND 47, packet_size= 192, SEEMS A TS? 1
GOOD CC: 31, BAD CC: 0
PROBING UP TO 0, PROG: 0
COLLECT_SECTION, start: 64, size: 184, collected: 0
SKIP: 0+1, TID: 0, TLEN: 17, COLLECTED: 184
PARSE_PAT: section_len: 17, section 0/0
PROG: 0 (1-th of 2), PMT: 31
PROG: 1 (2-th of 2), PMT: 256
COLLECT_SECTION, start: 64, size: 162, collected: 0
SKIP: 0+1, TID: 2, TLEN: 169, COLLECTED: 162
COLLECT_SECTION, start: 0, size: 184, collected: 162
SKIP: 0+1, TID: 2, TLEN: 169, COLLECTED: 346
FILL_PMT(prog=1), PMT_len: 346, IS_START: 0, TS_PID: 256, SIZE=184, M=0, ES_CNT=0, IDX=0, PMT_PTR=0x20b6ce0
PROG DESCR, TAG=5, LEN=4(4)
PROG DESCR, TAG=5, LEN=4(4)
...descr id: 0x5, len=8
PARSE_PMT(1 INDEX 0), STREAM: 0, FOUND pid=0x1011 (4113), type=0x10000005, ES_DESCR_LENGTH: 10, bytes left: 129
...descr id: 0x5, len=8
PARSE_PMT(1 INDEX 1), STREAM: 1, FOUND pid=0x1100 (4352), type=0xffffffff, ES_DESCR_LENGTH: 10, bytes left: 114
...descr id: 0x5, len=4
...descr id: 0x81, len=3
PARSE_PMT(1 INDEX 2), STREAM: 2, FOUND pid=0x1101 (4353), type=0x2000, ES_DESCR_LENGTH: 11, bytes left: 98
...descr id: 0x5, len=4
...descr id: 0x81, len=3
PARSE_PMT(1 INDEX 3), STREAM: 3, FOUND pid=0x1102 (4354), type=0x2000, ES_DESCR_LENGTH: 11, bytes left: 82
PARSE_PMT(1 INDEX 4), STREAM: 4, FOUND pid=0x1103 (4355), type=0x2001, ES_DESCR_LENGTH: 0, bytes left: 77
...descr id: 0x5, len=4
...descr id: 0x81, len=3
PARSE_PMT(1 INDEX 5), STREAM: 5, FOUND pid=0x1104 (4356), type=0x2000, ES_DESCR_LENGTH: 11, bytes left: 61
PARSE_PMT(1 INDEX 6), STREAM: 6, FOUND pid=0x1105 (4357), type=0x2001, ES_DESCR_LENGTH: 0, bytes left: 56
...descr id: 0x5, len=4
...descr id: 0x81, len=3
PARSE_PMT(1 INDEX 7), STREAM: 7, FOUND pid=0x1106 (4358), type=0x2000, ES_DESCR_LENGTH: 11, bytes left: 40
PARSE_PMT(1 INDEX 8), STREAM: 8, FOUND pid=0x1200 (4608), type=0xffffffff, ES_DESCR_LENGTH: 0, bytes left: 35
PARSE_PMT(1 INDEX 9), STREAM: 9, FOUND pid=0x1201 (4609), type=0xffffffff, ES_DESCR_LENGTH: 0, bytes left: 30
PARSE_PMT(1 INDEX 10), STREAM: 10, FOUND pid=0x1202 (4610), type=0xffffffff, ES_DESCR_LENGTH: 0, bytes left: 25
PARSE_PMT(1 INDEX 11), STREAM: 11, FOUND pid=0x1203 (4611), type=0xffffffff, ES_DESCR_LENGTH: 0, bytes left: 20
PARSE_PMT(1 INDEX 12), STREAM: 12, FOUND pid=0x1204 (4612), type=0xffffffff, ES_DESCR_LENGTH: 0, bytes left: 15
PARSE_PMT(1 INDEX 13), STREAM: 13, FOUND pid=0x1205 (4613), type=0xffffffff, ES_DESCR_LENGTH: 0, bytes left: 10
PARSE_PMT(1 INDEX 14), STREAM: 14, FOUND pid=0x1206 (4614), type=0xffffffff, ES_DESCR_LENGTH: 0, bytes left: 5
PARSE_PMT(1 INDEX 15), STREAM: 15, FOUND pid=0x1207 (4615), type=0xffffffff, ES_DESCR_LENGTH: 0, bytes left: 0
----------------------------
COLLECT_SECTION, start: 64, size: 184, collected: 0
SKIP: 0+1, TID: 127, TLEN: 25, COLLECTED: 184
FILL_PMT(prog=0), PMT_len: 184, IS_START: 64, TS_PID: 31, SIZE=184, M=0, ES_CNT=0, IDX=1, PMT_PTR=0x20bf1d0
COLLECT_SECTION, start: 64, size: 162, collected: 346
SKIP: 0+1, TID: 2, TLEN: 169, COLLECTED: 162
COLLECT_SECTION, start: 0, size: 184, collected: 162
SKIP: 0+1, TID: 2, TLEN: 169, COLLECTED: 346
FILL_PMT(prog=1), PMT_len: 346, IS_START: 0, TS_PID: 256, SIZE=184, M=0, ES_CNT=16, IDX=0, PMT_PTR=0x20bf170
PROG DESCR, TAG=5, LEN=4(4)
PROG DESCR, TAG=5, LEN=4(4)
...descr id: 0x5, len=8
PARSE_PMT(1 INDEX 0), STREAM: 0, FOUND pid=0x1011 (4113), type=0x10000005, ES_DESCR_LENGTH: 10, bytes left: 129
...descr id: 0x5, len=8
PARSE_PMT(1 INDEX 1), STREAM: 1, FOUND pid=0x1100 (4352), type=0xffffffff, ES_DESCR_LENGTH: 10, bytes left: 114
...descr id: 0x5, len=4
...descr id: 0x81, len=3
PARSE_PMT(1 INDEX 2), STREAM: 2, FOUND pid=0x1101 (4353), type=0x2000, ES_DESCR_LENGTH: 11, bytes left: 98
...descr id: 0x5, len=4
...descr id: 0x81, len=3
PARSE_PMT(1 INDEX 3), STREAM: 3, FOUND pid=0x1102 (4354), type=0x2000, ES_DESCR_LENGTH: 11, bytes left: 82
PARSE_PMT(1 INDEX 4), STREAM: 4, FOUND pid=0x1103 (4355), type=0x2001, ES_DESCR_LENGTH: 0, bytes left: 77
...descr id: 0x5, len=4
...descr id: 0x81, len=3
PARSE_PMT(1 INDEX 5), STREAM: 5, FOUND pid=0x1104 (4356), type=0x2000, ES_DESCR_LENGTH: 11, bytes left: 61
PARSE_PMT(1 INDEX 6), STREAM: 6, FOUND pid=0x1105 (4357), type=0x2001, ES_DESCR_LENGTH: 0, bytes left: 56
...descr id: 0x5, len=4
...descr id: 0x81, len=3
PARSE_PMT(1 INDEX 7), STREAM: 7, FOUND pid=0x1106 (4358), type=0x2000, ES_DESCR_LENGTH: 11, bytes left: 40
PARSE_PMT(1 INDEX 8), STREAM: 8, FOUND pid=0x1200 (4608), type=0xffffffff, ES_DESCR_LENGTH: 0, bytes left: 35
PARSE_PMT(1 INDEX 9), STREAM: 9, FOUND pid=0x1201 (4609), type=0xffffffff, ES_DESCR_LENGTH: 0, bytes left: 30
PARSE_PMT(1 INDEX 10), STREAM: 10, FOUND pid=0x1202 (4610), type=0xffffffff, ES_DESCR_LENGTH: 0, bytes left: 25
PARSE_PMT(1 INDEX 11), STREAM: 11, FOUND pid=0x1203 (4611), type=0xffffffff, ES_DESCR_LENGTH: 0, bytes left: 20
----------------------------


of mplayer -vc ffh264vdpau 00001.m2ts
Code:

MPlayer dev-SVN-r29241Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
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 00001.m2ts.
TS file format detected.
VIDEO H264(pid=4113) AUDIO DTS(pid=4357) NO SUBS (yet)!  PROGRAM N. 1
FPS not specified in the header or invalid, use the -fps option.
==========================================================================
Requested audio codec family [dts] (afm=libdca) not available.
Enable it at compilation.
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [ffdca] afm: ffmpeg (FFmpeg DTS)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:  5.9 (05.8) of 227650.2 (63:14:10.2)  5.5%

What is this this fps issue? Do I have to specify this manually?


If I sepcify on e.g. 24
Code:

# mplayer -vc ffh264vdpau -fps 24 00001.m2ts
MPlayer dev-SVN-r29241Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
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 00001.m2ts.
TS file format detected.
VIDEO H264(pid=4113) AUDIO DTS(pid=4357) NO SUBS (yet)!  PROGRAM N. 1
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] Can't open /dev/fb0: No such device or address.
s3fb: can't open /dev/fb0: No such device or address
==========================================================================
Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Cannot find codec 'h264_vdpau' in libavcodec...
VDecoder init failed :(
Cannot find codec matching selected -vo and video format 0x10000005.
==========================================================================
==========================================================================
Requested audio codec family [dts] (afm=libdca) not available.
Enable it at compilation.
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [ffdca] afm: ffmpeg (FFmpeg DTS)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:  2.7 (02.6) of 227650.2 (63:14:10.2)  3.6%

MPlayer interrupted by signal 2 in module: play_audio
A:  2.7 (02.7) of 227650.2 (63:14:10.2)  3.6%
Exiting... (Quit)


If I just do a:
Code:

# mplayer -vo vdpau -fps 24 00001.m2ts
MPlayer dev-SVN-r29241Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
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 00001.m2ts.
TS file format detected.
VIDEO H264(pid=4113) AUDIO DTS(pid=4357) NO SUBS (yet)!  PROGRAM N. 1
Error opening/initializing the selected video_out (-vo) device.
==========================================================================
Requested audio codec family [dts] (afm=libdca) not available.
Enable it at compilation.
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [ffdca] afm: ffmpeg (FFmpeg DTS)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:  3.0 (02.9) of 227650.2 (63:14:10.2)  2.8%

MPlayer interrupted by signal 2 in module: play_audio
A:  3.0 (03.0) of 227650.2 (63:14:10.2)  2.8%
Exiting... (Quit)


And finally:
Code:

# mplayer -vc help | grep vdpau
ffmpeg12vdpau ffmpeg    working  FFmpeg MPEG-1/2 (VDPAU)  [mpegvideo_vdpau]
ffwmv3vdpau ffmpeg    problems  FFmpeg WMV3/WMV9 (VDPAU)  [wmv3_vdpau]
ffvc1vdpau  ffmpeg    problems  FFmpeg WVC1 (VDPAU)  [vc1_vdpau]
ffh264vdpau ffmpeg    working  FFmpeg H.264 (VDPAU)  [h264_vdpau]

Why "problems"? Is this the partial support issue?



Thx,
Chris.


All times are GMT -5. The time now is 09:58 PM.

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