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

Newegg Daily Deals

Reply
 
Thread Tools
Old 10-05-11, 08:55 PM   #1
mr.dispenser
Registered User
 
Join Date: Jun 2010
Posts: 7
Question [SOLVED]Where to put _GL_SYNC_TO_VBLANK?

Where do I put the environment variable __GL_SYNC_TO_VBLANK? Do i put it in my Xorg.conf file and if so under what section?

http://us.download.nvidia.com/XFree8...hapter-11.html

My system currently sees my CRT as my primary monitor in twinview. I would like it to see my DFP as the primary monitor so that vertical screen tearing only takes place on the CRT not the DFP.

Thanks,
PEZ
mr.dispenser is offline   Reply With Quote
Old 10-06-11, 04:30 AM   #2
one_and_only
Registered User
 
Join Date: Mar 2007
Posts: 47
Default Re: Where to put _GL_SYNC_TO_VBLANK?

Not in xorg, just as an environmental variable, so just put:
export __GL_SYNC_TO_VBLANK="1"
in .bashrc or somewhere where your distro wants it to be set. E.g. for Gentoo it should be /etc/env.d/99local
one_and_only is offline   Reply With Quote
Old 10-06-11, 12:24 PM   #3
mr.dispenser
Registered User
 
Join Date: Jun 2010
Posts: 7
Default Re: Where to put _GL_SYNC_TO_VBLANK?

Ok, I placed the line

Quote:
export __GL_SYNC_DISPLAY_DEVICE=DFP-0
at the end of my bashrc file. Does this seem correct?

Is there a way to check if the system is seeing the LCD "DFP-0" as the primary monitor? This was in attempt to fix screen tearing on the LCD but I am still experiencing the problem.

I am trying to force my system to see my LCD monitor as the primary monitor over my CRT so that I can get rid of screen tearing on the LCD. I don't care if there is screen tearing on the CRT.

Any insight would be great!

Thanks,
PEZ
mr.dispenser is offline   Reply With Quote
Old 10-06-11, 01:10 PM   #4
mr.dispenser
Registered User
 
Join Date: Jun 2010
Posts: 7
Default Re: Where to put _GL_SYNC_TO_VBLANK?

YAY!!!! I think I got it!!!!
mr.dispenser 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 06:47 AM.


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