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

Newegg Daily Deals

Reply
 
Thread Tools
Old 06-04-12, 08:51 PM   #1
kshade
Registered User
 
Join Date: Mar 2004
Location: D(49)
Posts: 6
Default vsync doesn't work, ever

Hi,

I'm using a notebook with an external display and (currently) the 302.11 beta drivers. Vsync never worked properly for me, not with this monitor, not with the one I had before, not with older drivers. There's always a screen region where bad, very noticeable tearing happens, no matter if it's in Firefox or a game. I'm actually quite convinced that it's on but not in sync with the display for some reason.

I've messed with TwinView on and off, doesn't help. Forced X to only recognize the external display, no dice. My current relevant configuration:

I set
Code:
export __GL_SYNC_TO_VBLANK=1 
export __GL_SYNC_DISPLAY_DEVICE="DFP-1"
in my ~/.bashrc

Made an nvidia file in /etc/X11/xorg.conf.d/
Code:
Section "Device"
	Identifier "nvidia"
	Driver "nvidia"
	#Option "DynamicTwinView" "true"
	Option "NoLogo" "true"
	Option "DPMS" "1"
	Option "OnDemandVBlankInterrupts" "1"
	#Option "ConnectedMonitor" "DFP-1"
	Option "TripleBuffer" "true"
EndSection
Anybody got an idea what's causing this? The graphics cards is a GeForce GTX 260M, the external monitor is an Eizo FS2331.
kshade is offline   Reply With Quote
Old 06-04-12, 11:44 PM   #2
brebs
Registered User
 
Join Date: Jul 2007
Posts: 38
Default Re: vsync doesn't work, ever

Disable TripleBuffer - for me, TripleBuffer stops vsync from being on.
brebs is offline   Reply With Quote
Old 06-05-12, 07:56 PM   #3
kshade
Registered User
 
Join Date: Mar 2004
Location: D(49)
Posts: 6
Default Re: vsync doesn't work, ever

Turned it off, now the tearing happens in another screen region, but it's still there.

EDIT: Looks like it works when I turn off display compositing in XFCE. Shame. Oh well.
kshade is offline   Reply With Quote
Old 06-05-12, 09:00 PM   #4
Gusar
Registered User
 
Join Date: Apr 2006
Posts: 277
Default Re: vsync doesn't work, ever

Quote:
Originally Posted by kshade View Post
EDIT: Looks like it works when I turn off display compositing in XFCE.
Oh, that's completely normal then. The XFCE compositor is xrender-based, and xrender doesn't provide vsync. You can use either no compositor or a gl compositor.
Gusar is offline   Reply With Quote
Old 06-06-12, 04:28 AM   #5
kokoko3k
Registered User
 
Join Date: Jan 2007
Posts: 120
Default Re: vsync doesn't work, ever

Only gl compositor ; no compositor means tearing too.
kokoko3k is offline   Reply With Quote
Old 06-06-12, 09:00 AM   #6
Gusar
Registered User
 
Join Date: Apr 2006
Posts: 277
Default Re: vsync doesn't work, ever

Quote:
Originally Posted by kokoko3k View Post
Only gl compositor ; no compositor means tearing too.
That's the first time I hear of it. I don't use a compositor, and I don't have tearing.
Gusar is offline   Reply With Quote
Old 06-07-12, 07:49 AM   #7
kokoko3k
Registered User
 
Join Date: Jan 2007
Posts: 120
Default Re: vsync doesn't work, ever

Probably you're talking about an opengl app or an XV video inside a window or in fullscreen.
I was referring to the whole desktop (a browser scrolling a webpage, a window moving and so on.)
An opengl compositor that syncs to vblank wil fix tearing everywhere; (as a side note it seems to steal some cpu cycles too.)
kokoko3k 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
295.40 Does not Work Had to downgrade to 295.33 Archmbc NVIDIA Linux 4 05-03-12 03:38 PM
do 3d glasses really work? Gator General Hardware 19 12-30-02 05:39 AM
VSYNC issue? counterveil NVIDIA Linux 3 10-16-02 09:19 AM
Can't get FSAA to work krow NVIDIA Linux 6 09-17-02 09:03 AM

All times are GMT -5. The time now is 04:01 PM.


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