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

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-01-09, 02:40 AM   #1
jdobry
Registered User
 
Join Date: Jan 2007
Posts: 45
Default xine / VDPAU drop 90% of HD video frames

Hello, I have problem with dropped frames in HD video.
Volume of lost pictures is over 90% in some situation.
I was try it with this configurations:

- Intel T6600 nVidia G105M 512MB DDR2
- AMD X2 4800+ nVidia G130 768MB DDR2
- AMD X2 4800+ nVidia 8300 512MB shared RAM
- Intel 550 nVidia G130 768MB DDR2
- Intel DualCore 5400 G130 768MB DDR2

Volume of drops depend to CPU power. Worst situation is in this configuration:
AMD X2 4800+ forced to 1GHz nVidia 8300 shared RAM
In this case afrer frame drops I can see only aprox 2fps. CPU utilization is from 2% to 20% for xine process. "mplayer" works fayn in same conditions, with CPU utilization < 5%.
Video is H264 1080i from sattelite. Type of deinterlacer or disable deinterlacer have not effect to dropped frames. Verbose log contain hundreds messages like this
Code:
FLUSH draw pts: 1672508577
video_out: throwing away image with pts 163332 because it's too old (diff : 7351).
For compare: on same machine used in worst case but with G130 card and forced to 2.5GHz is sometime hard to see any dropped frame, but it still exist.

SW configuration

- XINE-LIB snapshot from 2009-11-30 VDPAU patchset r284
- XINE-UI snapshot from 2009-11-30
- FFMPEG snapshot from 2009-11-30
- x264 snapshot from 2009-11-30
- all others libs are from Ubuntu 9.10
- nvidia driver 195.22beta or 190.42
- tested x86 and amd64 versions
- I was test MANY of previous versions of libs, no effect
- "Composite" xserver extension is disabled and this bug still exist when I use xserver without any window manager

Some more information about this you can found in this thread http://www.nvnews.net/vbulletin/showthread.php?t=140538 I was thing that it depend to deinterlacer, but it is not true.

GOOGLE tell me that I am not along with this problem see to http://www.google.cz/search?q=xine+v...image+with+pts

PS: I can't use mplayer instead of xine, because I need it as frontend of VDR. Mplayer in same condition not support OSD
jdobry is offline   Reply With Quote
Old 12-01-09, 12:48 PM   #2
jdobry
Registered User
 
Join Date: Jan 2007
Posts: 45
Default Re: xine / VDPAU drop 90% of HD video frames

Debug messages for
AMD X2 4800+ forced to 1GHz nVidia 8300 512MB shared memory (Asus M4N78 PRO)

LANG=en xine ~/Videa/test.ts -A none --verbose
jdobry is offline   Reply With Quote
Old 12-01-09, 12:51 PM   #3
jdobry
Registered User
 
Join Date: Jan 2007
Posts: 45
Default Re: xine / VDPAU drop 90% of HD video frames

I forget attachment for previous post
Attached Files
File Type: bz2 test.txt.bz2 (13.7 KB, 106 views)
jdobry is offline   Reply With Quote
Old 12-01-09, 12:53 PM   #4
jdobry
Registered User
 
Join Date: Jan 2007
Posts: 45
Default Re: xine / VDPAU drop 90% of HD video frames

Same configuration as previous but more debug

LANG=en VDPAU_TRACE=1 VDPAU_NVIDIA_DEBUG=3 xine ~/Videa/test.ts -A none --verbose
Attached Files
File Type: bz2 test_vdpau_debug.txt.bz2 (61.5 KB, 107 views)
jdobry is offline   Reply With Quote
Old 12-01-09, 12:58 PM   #5
jdobry
Registered User
 
Join Date: Jan 2007
Posts: 45
Default Re: xine / VDPAU drop 90% of HD video frames

Same as previous but --post filter

LANG=en xine ~/Videa/test.ts -A none --verbose --post tvtime:method=use_vo_driver
Attached Files
File Type: bz2 test_post.txt.bz2 (9.7 KB, 95 views)
jdobry is offline   Reply With Quote
Old 12-01-09, 01:04 PM   #6
jdobry
Registered User
 
Join Date: Jan 2007
Posts: 45
Default Re: xine / VDPAU drop 90% of HD video frames

qvdpautest 0.4 in same conditions
Code:
AMD Athlon(tm) 64 X2 Dual Core Processor 4800+
NVIDIA GPU GeForce 8300 (C77) at PCI:2:0:0 (GPU-0)

VDPAU API version : 1
VDPAU implementation : NVIDIA VDPAU Driver Shared Library  195.22  Sun Nov 22 18:17:34 PST 2009

SURFACE GET BITS: 272.982 M/s
SURFACE PUT BITS: 299.795 M/s

MPEG DECODING (1920x1080): 52 frames/s
MPEG DECODING (1280x720): 127 frames/s
H264 DECODING (1920x1080): 42 frames/s
H264 DECODING (1280x720): 71 frames/s
VC1 DECODING (1440x1080): 55 frames/s

MIXER WEAVE (1920x1080): 159 frames/s
MIXER BOB (1920x1080): 306 fields/s
MIXER TEMPORAL (1920x1080): 58 fields/s
MIXER TEMPORAL + IVTC (1920x1080): 39 fields/s
MIXER TEMPORAL + SKIP_CHROMA (1920x1080): 81 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 22 fields/s
MIXER TEMPORAL_SPATIAL + IVTC (1920x1080): 17 fields/s
MIXER TEMPORAL_SPATIAL + SKIP_CHROMA (1920x1080): 25 fields/s
MIXER TEMPORAL_SPATIAL (720x576 video to 1920x1080 display): 87 fields/s

MULTITHREADED MPEG DECODING (1920x1080): 19 frames/s
MULTITHREADED MIXER TEMPORAL (1920x1080): 22 fields/s
jdobry is offline   Reply With Quote
Old 12-01-09, 01:29 PM   #7
jdobry
Registered User
 
Join Date: Jan 2007
Posts: 45
Default Re: xine / VDPAU drop 90% of HD video frames

Test H264 sample where is possible see problem

Format TS (contain all P,B,I frames). Stream is from HD satelite source. (1080i)

http://netload.in/dateiSD7rl3nXX2/test.ts.bz2.htm (aprox 129MB)
jdobry is offline   Reply With Quote
Old 12-17-09, 07:11 AM   #8
jdobry
Registered User
 
Join Date: Jan 2007
Posts: 45
Default Re: xine / VDPAU drop 90% of HD video frames

nobody know?
jdobry is offline   Reply With Quote

Old 12-26-09, 03:45 PM   #9
jdobry
Registered User
 
Join Date: Jan 2007
Posts: 45
Angry Re: xine / VDPAU drop 90% of HD video frames

I am trying today snapshost from x264, ffmpeg, xine-lib-1.2-vdpau (http://hg.debian.org/hg/xine-lib/xine-lib-1.2-vdpau/) and latest beta driver 195.30 and nothing changed.

On heavy load it drops frames. Why?
jdobry is offline   Reply With Quote
Old 12-26-09, 03:52 PM   #10
jdobry
Registered User
 
Join Date: Jan 2007
Posts: 45
Default Re: xine / VDPAU drop 90% of HD video frames

Can somebody confirm or reject this behavior?
jdobry is offline   Reply With Quote
Old 12-26-09, 05:41 PM   #11
mocharhw
Registered User
 
Join Date: May 2008
Posts: 113
Default Re: xine / VDPAU drop 90% of HD video frames

Quote:
Originally Posted by jdobry View Post
I am trying today snapshost from x264, ffmpeg, xine-lib-1.2-vdpau (http://hg.debian.org/hg/xine-lib/xine-lib-1.2-vdpau/) and latest beta driver 195.30 and nothing changed.

On heavy load it drops frames. Why?
What's the difference between the xine-vdpau from the mecurial repo above and the one found at http://www.jusst.de/vdpau/?
mocharhw is offline   Reply With Quote
Old 12-26-09, 09:54 PM   #12
W3ird_N3rd
Registered User
 
Join Date: Dec 2009
Posts: 3
Default Re: xine / VDPAU drop 90% of HD video frames

When using an AMD processor with AM2 socket and integrated video you should always force the CPU to at least 1.8Ghz when using vdpau.

At 1Ghz there is less bandwidth available to the integrated GPU. AM2+ and AM3 should not have this problem. A seperate videocard in a PCI-e slot also does not have this problem. There is no solution for this. SD material and some light HD material could play fine at 1Ghz but that'll always be a gamble.

Don't worry though, my experience is that the jump from 1 to 1.8Ghz only sucks another 10 watts or so from your wall socket. Precise value depends on core type though, I have a Brisbane.

I have no experience with Intel but something similar might be the case there.
W3ird_N3rd 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 04:17 AM.


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