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

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-29-09, 06:50 PM   #37
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: Tearing and Composite

I see this: you sent me two files with description:

This output is WITH the variable set and NO tearing:
-> In this file, the environment has both VDPAU_NVIDIA_SYNC_DISPLAY_DEVICE and __VDPAU_NVIDIA_SYNC_DISPLAY_DEVICE set (i.e. both with/without underscore).

This out is WITHOUT the variable set and HAS tearing:
-> In this file, the environment has NEITHER variable set.

So, this would correspond to commenting out *both* the first two lines of your .profile file. I was hoping for tests with just the second line (with __) commented out or not, and there should be no difference there. The only difference should be if you comment out the first line or not.

If you didn't actually comment out both lines, something is screwing up your environment, and preventing those variables from reaching the MPlayer process, which would explain why it didn't work...
Stephen Warren is offline   Reply With Quote
Old 04-29-09, 06:51 PM   #38
DrSuSE
Registered User
 
DrSuSE's Avatar
 
Join Date: Feb 2006
Posts: 91
Default Re: Tearing and Composite

Oh, no... you're right. Sorry, had a retard moment and was commenting out the whole section I'd added, sorry!!! Re-doing it right now.
DrSuSE is offline   Reply With Quote
Old 04-29-09, 06:59 PM   #39
DrSuSE
Registered User
 
DrSuSE's Avatar
 
Join Date: Feb 2006
Posts: 91
Default Re: Tearing and Composite

Stephen, use the same link for the without.txt file
DrSuSE is offline   Reply With Quote
Old 04-29-09, 07:14 PM   #40
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: Tearing and Composite

Huh. That's odd. I certainly have no explanation then!
Stephen Warren is offline   Reply With Quote
Old 04-29-09, 07:17 PM   #41
DrSuSE
Registered User
 
DrSuSE's Avatar
 
Join Date: Feb 2006
Posts: 91
Default Re: Tearing and Composite

Well, truth be told... I guess I am happy. It is working, even if I don't understand it. I'll get over the OCD, heh.

I feel badly, though, would have been better if we knew the solution so we could share/explain for other's sakes.

Thanks for all the time and help along the way, Stephen. If you can think of anything else I might do to investigate, let me know.
DrSuSE is offline   Reply With Quote
Old 05-04-09, 05:46 PM   #42
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: Tearing and Composite

FYI, I accidentally found a clip that repro's the problem of entering/leaving full-screen making the display go completely black. I'll try and find out what's up.
Stephen Warren is offline   Reply With Quote
Old 05-05-09, 03:05 PM   #43
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: Tearing and Composite

The black-screen issue appears to be an MPlayer bug. The change below should fix it. Please let me know, thanks.

Index: libvo/vo_vdpau.c
================================================== =================
--- libvo/vo_vdpau.c (revision 29229)
+++ libvo/vo_vdpau.c (working copy)
@@ -575,7 +575,7 @@

xswa.background_pixel = 0;
xswa.border_pixel = 0;
- xswamask = CWBackPixel | CWBorderPixel;
+ xswamask = /*CWBackPixel |*/ CWBorderPixel;

vo_x11_create_vo_window(&vinfo, vo_dx, vo_dy, d_width, d_height,
flags, CopyFromParent, "vdpau", title);
Stephen Warren is offline   Reply With Quote
Old 05-07-09, 11:25 PM   #44
DrSuSE
Registered User
 
DrSuSE's Avatar
 
Join Date: Feb 2006
Posts: 91
Default Re: Tearing and Composite

Sorry for the delay, I was out of town. Your patch worked for me. I was only experiencing the issue with composite off, so I first turned it off and verified I had a video exhibiting the problem, then patched mplayer and tried and again and it did not happen.

Thanks.
DrSuSE 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:59 PM.


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