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

Newegg Daily Deals

Reply
 
Thread Tools
Old 10-27-09, 05:43 AM   #1
jdobry
Registered User
 
Join Date: Jan 2007
Posts: 45
Default VDPAU and DEINTERLACE problem [solved]

Hello,

I have problem with VDPAU deinterlace. It have dropped pictures.
I was try many possible configuration and nothing help except disable deinterlace.

I was test it with driver 185.18.36, 190.42RC both is same
I try it wit several cards:
- 8400 with shared memory - AMD X2 4800+
- G100 - 512MB 64bit DDR2 - AMD X2 4800+
- G105M - 512MB 64bit DDR2 - intel T6600 CPU
- G130 - 792MB 192bit DDR2 - AMD X2 4800+

Nothing works

I test several xine-lib version
- revision 262 SVN
- revision 275 SVN
- revision 284 SVN
- revision 285 SVN

nothing works

EDIT: freezing is solved, but I have visibly drooped frames

I was try SD/MPEG2 video with temporal_spatial deinterlace - not work
I was try HD/h264 video with all deinterlacers bob/temporal/temporal_spatial - not work

On all cards qvdpau show me sufficient power to deinterlace, its works, but freeze randomly.

For exclusion window manager effect I was try start it without window manager direcly on xorg server. It not help.

Why? I don't have idea what I can do. Going to crazy...

Tracelog (VDPAU_TRACE=1) for one freeze few second after start is in attachment.
Attached Files
File Type: txt trace1.txt (22.0 KB, 132 views)

Last edited by jdobry; 12-01-09 at 03:17 PM. Reason: solved / closed
jdobry is offline   Reply With Quote
Old 10-27-09, 06:05 AM   #2
crisalide
Registered User
 
Join Date: Dec 2008
Posts: 173
Default Re: VDPAU and DEINTERLACE problem

This is a known problem, see http://www.nvnews.net/vbulletin/showthread.php?t=131201

At this time, add this in your /etc/X11/xorg.conf :
Code:
Section "Extensions"
        Option "Composite" "Disable"
EndSection
This will make vdpau to use the overlay, which doesn't suffer this problem.

Another option is to use half rate deinterlacers ( "half temporal" or "half temporal_spatial" ) since the freezes only happen with 2X deinterlacers ( "bob", "temporal" and "temporal_spatial" )
crisalide is offline   Reply With Quote
Old 10-27-09, 07:51 AM   #3
jdobry
Registered User
 
Join Date: Jan 2007
Posts: 45
Default Re: VDPAU and DEINTERLACE problem

Thanks for quick reply. I lost plenty of time to found problem on XINE and it look that problem in driver.

At this moment I am not sure, if it is exactly same bug as you refer, but I hope. I will try if disable composite help, and in this case I will add some more information into thread from reference. I read, that Stephen Warren have some dificultes to reproduce this problem.

I can try only disable composite because I don't know how to set vdpau deinterlace metod for SD video (in XINE). Configuration file support it only for HD.
jdobry is offline   Reply With Quote
Old 11-27-09, 10:53 AM   #4
jdobry
Registered User
 
Join Date: Jan 2007
Posts: 45
Default Re: VDPAU and DEINTERLACE problem

It looks, that 195.22 solve freezing. But video play is not smooth. With deinterlace filter it is easy to see dropped frames. If I play several times recorded video from HDTV video broadcast and dropped pictures is every time on same place. Strange, stream is without glitch in data.

without DEINTERLACE filter it have smooth playing but interlaced video on progresive screen is ugly.

I test it with few TV connected thou HDMI with 1080p50 nad 720p50 configuration. Input signal is 1080i

Any Idea? I can upload short video sample somewhere, but it can't be public. It is signal from live TV and I have not copyright :-(

Signal is from satellite, without bad packets (I can analyze CRCs in service tables) H264

I was try each deintarlace filter (bob, temporal, half tempral, temporal spatial, half temporal spatial) and change this have not any effect.

G130 card have sufficient power by my mean.

I was try with or without synchronization monitor but it is not solved.
jdobry is offline   Reply With Quote
Old 11-28-09, 02:51 AM   #5
jdobry
Registered User
 
Join Date: Jan 2007
Posts: 45
Default Re: VDPAU and DEINTERLACE problem

Strange. I found that its much better when I disable main CPU frequency scaling. A am not expert but I was thing that everything in decode->deinterlace->presentation is done in GPU, noy in CPU or not? CPU utilize is around 5-15%.
jdobry is offline   Reply With Quote
Old 11-28-09, 07:34 AM   #6
P.Kosunen
Registered User
 
Join Date: Jan 2009
Posts: 57
Default Re: VDPAU and DEINTERLACE problem

What CPU do you have? AMD (and newest Intels) has memory controller in CPU so CnQ also drops memory performance.
P.Kosunen is offline   Reply With Quote
Old 11-29-09, 11:32 AM   #7
jdobry
Registered User
 
Join Date: Jan 2007
Posts: 45
Default Re: VDPAU and DEINTERLACE problem

I wast test it with many CPU on many machines. See to my first post in this thread.
I know that change frequency have side effect to memory. Problem is that only one of tested configuration have shared RAM. All others have dedicated RAM on graphical card and in this case I am not expect big changes. Except this all used cards have sufficient paper power to do it without main CPU. For example, when I was try play H264 video with deinterlacer, card is able to show 33000 pictures/sec glxgears test in another window without effect to video play. (When I use syncronization to SYNC signal it is only 250 pictires/sec but it depend to monitor frequency not graphic card.
jdobry is offline   Reply With Quote
Old 11-30-09, 06:06 AM   #8
P.Kosunen
Registered User
 
Join Date: Jan 2009
Posts: 57
Default Re: VDPAU and DEINTERLACE problem

Didn't read carefully..

xine-lib-1.2-vdpau

That freeze problem with xine-lib could be buggy libX11/xcb. Try above version, "#define LOCKDISPLAY" is enabled by default and should not freeze.
P.Kosunen is offline   Reply With Quote

Old 11-30-09, 08:46 AM   #9
jdobry
Registered User
 
Join Date: Jan 2007
Posts: 45
Default Re: VDPAU and DEINTERLACE problem

Thanks for reply, but I can confirm this bug for xine-lib mercurial snapshot from 2009-11-22 where is this "LOCKDISPLAY" workarround enabled.
VDPAU patches are last (r284).
jdobry is offline   Reply With Quote
Old 11-30-09, 11:48 AM   #10
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: VDPAU and DEINTERLACE problem

I'm not really sure what the current problem is now.

If you're having de-interlacing performance problems, try a de-interlacer that requires lower performance. Bob should work on anything. Temporal spatial probably won't work on those cards, since I think they're all fairly low-end (although maybe it will for SD but not HD).
Stephen Warren is offline   Reply With Quote
Old 11-30-09, 01:24 PM   #11
jdobry
Registered User
 
Join Date: Jan 2007
Posts: 45
Default Re: VDPAU and DEINTERLACE problem

Stephen: I have this problem with all deinterlacers including BOB. Problematic is 1080i H264 stream from satelitte. I was try it on 5 different machines (AMD, Intel, Shared RAM or dedicated RAM, four different nVidia cards.)

I can upload stream sample somewhere, but not public, I am not have copyright.
jdobry is offline   Reply With Quote
Old 11-30-09, 02:53 PM   #12
crisalide
Registered User
 
Join Date: Dec 2008
Posts: 173
Default Re: VDPAU and DEINTERLACE problem

jdobry,

what do you mean by "dropped frames" ? Does xine explicitly discard frames and you read it in its verbose output, or is this a "visual" conclusion ?
crisalide 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 05:52 PM.


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