LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 06-21-2004, 11:22 AM   #1
proximity
LQ Newbie
 
Registered: Dec 2003
Location: vormedal, norway
Distribution: Mandrake Linux 10.0 Community. kernel 2.6.3
Posts: 20

Rep: Reputation: 0
how do i turn off vsync?


Hi! I have a Nvidia graphic card (nvidia geforce 4 ti4200), and i want to turn off vsync. I did this at on my friends windoze-box today, and games got better fps because of this.

So how do i turn off vsync? here is part of my XF86Config-4 config:

Code:
Section "Monitor"
    Identifier "monitor1"
    VendorName "Generic"
    ModelName "1024x768 @ 70 Hz"
    HorizSync 31.5-57.0
    VertRefresh 50-70

    # Sony Vaio C1(X,XS,VE,VN)?
    # 1024x480 @ 85.6 Hz, 48 kHz hsync
    ModeLine "1024x480"    65.00 1024 1032 1176 1344   480  488  494  563 -hsync -vsync

    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630

    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Device"
    Identifier "device1"
    VendorName "NVidia"
    BoardName "NVIDIA GeForce4 (generic)"
    Driver "nvidia"
    Option "DPMS"
Option "NvAGP" "3"
Option "DigitalVibrance" "0"
EndSection
Help is much appreciated
 
Old 06-21-2004, 12:35 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
export _GL_SYNC_TO_VBLANK=0

It will cause tearing but if FPS is all your concerned about thats it. Mostly its turned of anyway so low FPS could be a problem with the driver rather than this.

i.e if your already getting more FPS than your monitor ( more than 70 at 1024x768 ) Then your FPS have nothing to do with VSYNC.
 
Old 06-21-2004, 10:08 PM   #3
proximity
LQ Newbie
 
Registered: Dec 2003
Location: vormedal, norway
Distribution: Mandrake Linux 10.0 Community. kernel 2.6.3
Posts: 20

Original Poster
Rep: Reputation: 0
Hmm, where do i put "export _GL_SYNC_TO_VBLANK=0" ?

I tried googling it and found nothing. Should i put that line in XF86Config-4 or something?

Thanks again
 
Old 06-22-2004, 07:47 AM   #4
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
No you type it into a console. If you read the Nvidia readme all the details are there.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
need to turn off Vsync for WoW......... set235 Linux - Software 1 08-08-2005 01:58 PM
How to enable vsync? NTolerance Linux - General 0 04-10-2005 05:50 PM
how can i enable vsync Creeps Linux - General 0 09-30-2004 04:43 AM
How to turn off Xserver in the gui and turn it off in the command line geminiviper Linux - Newbie 8 08-20-2004 08:05 AM
Vsync in openGL some Linux - Newbie 1 12-11-2003 05:26 AM


All times are GMT -5. The time now is 12:55 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration