|
|
#1 | |
|
Registered User
Join Date: Sep 2008
Posts: 17
|
Hi,
Video tearing is occurring on my second monitor when I am using TwinView, which is very distracting. Driver Version: 195.30 Distribution: Ubuntu 9.10 Please fix this NVIDIA as fast as possible since its very distracting for me. |
|
|
|
|
|
|
#2 | |
|
Registered User
Join Date: Jul 2005
Posts: 61
|
I doubt that this is technically possible. The GL can only sync to one monitor.
|
|
|
|
|
|
|
#3 |
|
NVIDIA Corporation
Join Date: Mar 2005
Posts: 2,487
|
Try the VDPAU_NVIDIA_SYNC_DISPLAY_DEVICE environment variable, documented in the README.
|
|
|
|
|
|
#4 | |
|
Registered User
Join Date: Oct 2007
Posts: 51
|
Quote:
I think that would be easy enough to implement and it would Just Work without the user having to know about environment variables (which can only be set before the media player app starts...). Regarding VDPAU, why doesn't it just use the XVideoSyncToDisplay driver setting in the first place? Ofcourse, VDPAU isn't XV thus that setting should probably be renamed but... |
|
|
|
|
|
|
#5 | |
|
Registered User
Join Date: Sep 2008
Posts: 17
|
Quote:
I have also noticed that I am getting tearing when I playback video on my main monitor. I have set the XVideo Settings to "Sync to Vblank" and selected my main monitor to sync and also selected "Xv output" in Mplayer and still get tearing. |
|
|
|
|
|
|
#6 | |
|
Moderator
Join Date: Aug 2005
Posts: 1,327
|
If you use the overlay-based presentation queue, you will not have tearing on any display, and no need to configure anything. See the VDPAU section in the README for details on when the overlay- vs. blit-based presentation queue is used.
If you use the blit-based presentation queue, you may need to set an environment variable before you run your video player application, to tell VDPAU which display device to sync to: export VDPAU_NVIDIA_SYNC_DISPLAY_DEVICE=DFP-0 (replace "DFP-0" with the correct display name). If you start your video player from a shell/command-line/terminal, simply execute that command first. If you start your video player from a script, you'll need that command in the script before starting your video player. If you start your video player using a GUI menu etc., things are more complicated; perhaps you can set that environment variable in your "x session" file. |
|
|
|
|
|
|
#7 | ||
|
Registered User
Join Date: Oct 2007
Posts: 51
|
Quote:
Code:
VDPAU_NVIDIA_SYNC_DISPLAY_DEVICE=CRT-1 mplayer media_file Quote:
Code:
mplayer -vo xv media_file |
||
|
|
|
|
|
#8 |
|
Registered User
Join Date: May 2008
Posts: 113
|
Does it matter if you put double quotes around the device in the env statement, like ="CRT-1" instead of =CRT-1? I've seen this both ways in various documents and forum posts.
|
|
|
|
|
|
#9 |
|
NVIDIA Corporation
Join Date: Mar 2005
Posts: 2,487
|
No. The quotes just prevent the shell from evaluating things like * and ~ as special characters but for something simple like DFP-1, it doesn't matter.
|
|
|
|
|
|
#10 |
|
Registered User
Join Date: Sep 2008
Posts: 17
|
Let me reiterate that I am NOT a hacker but Ive tried my best to do all the solutions here and they STILL do not work !!
Every video player I have tried STILL the same thing, lots of tearing !! I have set Xv to be my output in Smplayer, I have set my main monitor "DFP-0" to sync in "X Server Xvideo settings" I have also checked "Sync to Vblank" ... everything does NOT work !! Please provide a meaningful solution, I have even reverted back to the stable 190.53 drivers and it still exhibits the same problem. |
|
|
|
|
|
#11 |
|
NVIDIA Corporation
Join Date: Mar 2005
Posts: 2,487
|
Are you running a composite manager such as Compiz?
|
|
|
|
|
|
#12 |
|
Registered User
Join Date: Sep 2008
Posts: 17
|
Yes I am running Compiz, there is a large majority of Linux users who use Compiz.
I never got any tearing when I ran a single monitor, this only happened when I activated TwinView. |
|
|
|
![]() |
| Thread Tools | |
|
|