View Single Post
Old 06-23-10, 09:31 AM   #6
mikeym
Registered User
 
Join Date: Aug 2005
Posts: 9
Default Re: Always Tearing on 8600 GTS

Thanks for your reply mocharhw.

I've tried (the best I could figure out of what you were meaning) what you've said. I ended up putting both sessings in my ~/.xinitrc file (and I checked that the export variables were set once X was started).

This is how it looks:

Code:
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice
export __GL_SYNC_TO_VBLANK=1
export __GL_SYNC_DISPLAY_DEVICE="CRT-0"
nvidia-settings -l &
exec ck-launch-session startxfce4
Unfortunately this did not make any noticeable difference.

I've also tried a few options such as (edit) disabling twin view removing EDID and specifying my own settings from my monitor's user manual. None of which has had much success. Specifying my own settings just seemed to mess everything up.

The commented out lines:

# HorizSync 28.0 - 33.0
# VertRefresh 43.0 - 72.0


are from my monitor's user manual and screw up my settings if used, so I use the ones suggested from the nvidia-xconfig utility.

(edit) Sorry that's the other way round. The commented out lines are the ones suggested by the nvidia-xconfig utility that work and the uncommented Hsync and Vrefresh lines are from my user manual and totally mess things up. The Modlines are also from my user manual and don't appear to give me a proper resolution either.

Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder58)  Fri Mar 12 02:12:40 PST 2010

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
#    HorizSync       28.0 - 33.0
   HorizSync       30-62
#    VertRefresh     43.0 - 72.0
   VertRefresh     50-75
    Option         "DPMS"
# 1280x1024 @ 75.02 Hz (GTF) hsync: 80.20 kHz; pclk: 138.59 MHz
#  Modeline "1280x1024_75.02"  138.59  1280 1368 1504 1728  1024 1025 1028 1069  -HSync +Vsync
# 1280x1024 @ 60.02 Hz (GTF) hsync: 63.62 kHz; pclk: 108.92 MHz
#  Modeline "1280x1024_60.02"  108.92  1280 1360 1496 1712  1024 1025 1028 1060  -HSync +Vsync
# 1024x768 @ 75.03 Hz (GTF) hsync: 60.17 kHz; pclk: 81.84 MHz
#  Modeline "1024x768_75.03"  81.84  1024 1080 1192 1360  768 769 772 802  -HSync +Vsync
# 1024x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 64.11 MHz
#  Modeline "1024x768_60.00"  64.11  1024 1080 1184 1344  768 769 772 795  -HSync +Vsync
# 800x600 @ 75.00 Hz (GTF) hsync: 47.03 kHz; pclk: 48.91 MHz
#  Modeline "800x600_75.00"  48.91  800 840 920 1040  600 601 604 627  -HSync +Vsync
# 800x600 @ 60.32 Hz (GTF) hsync: 37.52 kHz; pclk: 38.42 MHz
#  Modeline "800x600_60.32"  38.42  800 832 912 1024  600 601 604 622  -HSync +Vsync
# 720x400 @ 70.09 Hz (GTF) hsync: 29.23 kHz; pclk: 26.19 MHz
#  Modeline "720x400_70.09"  26.19  720 736 808 896  400 401 404 417  -HSync +Vsync
# 640x480 @ 75.00 Hz (GTF) hsync: 37.65 kHz; pclk: 30.72 MHz
#  Modeline "640x480_75.00"  30.72  640 664 728 816  480 481 484 502  -HSync +Vsync
# 640x480 @ 59.94 Hz (GTF) hsync: 29.79 kHz; pclk: 23.83 MHz
#  Modeline "640x480_59.94"  23.83  640 656 720 800  480 481 484 497  -HSync +Vsync
# 640x350 @ 70.10 Hz (GTF) hsync: 25.59 kHz; pclk: 20.06 MHz
#  Modeline "640x350_70.10"  20.06  640 648 712 784  350 351 354 365  -HSync +Vsync
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option         "TripleBuffer" "True"
#    Option "UseEDID" "FALSE"
#    Option "TwinView" "FALSE"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
#        Modes "1280x1024_75.02" "1280x1024_60.02" "1024x768_75.03" "1024x768_60.00" "800x600_75.00" "800x600_60.32" "720x400_70.09" "640x480_75.00" "640x480_59.94" "640x350_70.10"
    EndSubSection
EndSection

Last edited by mikeym; 06-25-10 at 04:37 AM.
mikeym is offline   Reply With Quote