nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Where to put _GL_SYNC_TO_VBLANK? (http://www.nvnews.net/vbulletin/showthread.php?t=167085)

mr.dispenser 10-05-11 09:55 PM

[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

one_and_only 10-06-11 05:30 AM

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

mr.dispenser 10-06-11 01:24 PM

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 10-06-11 02:10 PM

Re: Where to put _GL_SYNC_TO_VBLANK?
 
YAY!!!! I think I got it!!!!


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

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