You are not logged in.

#1 2011-07-19 13:18:17

alperenel
Member
From: Turkiye
Registered: 2011-02-05
Posts: 36
Website

[SOLVED] Refresh Rate and Tearing Problem. Help needed!

I have a laptop and a monitor. i am using them as twinview. My laptop's refresh rate is 59.94hz, monitor's refresh rate is 59.89. I think this cause the tearing. I couldnt force them to 60 hz. Can someone help me?. Thanks.

My Configs:

.nvidia-settings-rc:

#
# /home/oae/Desktop/sett
#
# Configuration file for nvidia-settings - the NVIDIA X Server Settings utility
# Generated on Tue Jul 19 16:06:27 2011
#

# ConfigProperties:

RcFileLocale = C
ToolTips = Yes
DisplayStatusBar = Yes
SliderTextEntries = Yes
IncludeDisplayNameInConfigFile = No
ShowQuitDialog = Yes
Timer = PowerMizer_Monitor_(GPU_0),Yes,1000
Timer = Thermal_Monitor_(GPU_0),Yes,1000
Timer = Graphics_Card_(GPU_0),Yes,1000

# Attributes:

0/CursorShadow=1
0/CursorShadowAlpha=64
0/CursorShadowRed=255
0/CursorShadowGreen=0
0/CursorShadowBlue=0
0/CursorShadowXOffset=4
0/CursorShadowYOffset=2
0/SyncToVBlank=1
0/LogAniso=0
0/FSAA=0
0/TextureSharpen=1
0/AllowFlipping=1
0/FSAAAppControlled=1
0/LogAnisoAppControlled=1
0/OpenGLImageSettings=1
0/FSAAAppEnhanced=0
0/RedBrightness=0.000000
0/GreenBrightness=0.000000
0/BlueBrightness=0.000000
0/RedContrast=0.000000
0/GreenContrast=0.000000
0/BlueContrast=0.000000
0/RedGamma=1.000000
0/GreenGamma=1.000000
0/BlueGamma=1.000000
0/DigitalVibrance[CRT-0]=0
0/DigitalVibrance[DFP-0]=0
0/OverscanCompensation[CRT-0]=0
0/OverscanCompensation[DFP-0]=0
0/XVideoTextureBrightness=0
0/XVideoTextureContrast=0
0/XVideoTextureHue=0
0/XVideoTextureSaturation=0
0/XVideoTextureSyncToVBlank=1
0/XVideoSyncToDisplay=1

xorg.conf

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 270.41.19  (buildmeister@swio-display-x86-rhel47-07.nvidia.com)  Mon May 16 23:52:01 PDT 2011

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 270.41.19  (buildmeister@swio-display-x86-rhel47-07.nvidia.com)  Mon May 16 23:52:12 PDT 2011

Section "ServerLayout"

# Removed Option "Xinerama" "0"
# Removed Option "Xinerama" "1"
# Removed Option "Xinerama" "1"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
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      "BenQ G920WAL"
    HorizSync       24.0 - 63.0
    VertRefresh     50.0 - 75.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "Nvidia Default Flat Panel"
    HorizSync       29.0 - 68.0
    VertRefresh     0.0 - 61.0
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 9600M GT"
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    Option "NoLogo" "1"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 9600M GT"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Screen"

# Removed Option "metamodes" "CRT: nvidia-auto-select +1920+0, DFP: nvidia-auto-select +0+0"
# Removed Option "metamodes" "CRT: nvidia-auto-select +1920+90, DFP: nvidia-auto-select +0+0"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "TwinViewXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "CRT: nvidia-auto-select +1920+0, DFP: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "DFP: 1920x1080_60 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Disable"
EndSection

10-monitor.conf

Section "ServerLayout"
    Identifier     "DualSreen"
    Screen       0 "Screen0"
    Screen       1 "Screen1" RightOf "Screen0" #Screen1 at the right of Screen0
    Option         "Xinerama" "0" #To move windows between screens
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    Option         "Enable" "true"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    Option         "Enable" "true"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    Screen         0
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    Screen         1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    SubSection "Display"
        Depth          24
        Modes          "1920x1080_60.00"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth   24
    Option         "TwinView" "1"
    SubSection "Display"
        Depth          24
    EndSubSection
EndSection

Last edited by alperenel (2013-08-02 07:14:50)

Offline

#2 2011-07-19 18:19:40

MoonSwan
Member
From: Great White North
Registered: 2008-01-23
Posts: 881

Re: [SOLVED] Refresh Rate and Tearing Problem. Help needed!

If you look at the Nvidia docs it says in there somewhere why each monitor has a "unique" refresh rate.  It boils down to X is too stupid to do real dual monitors.  As a result, Nvidia presents to X two "separate" monitors; it differentiates them to X by using different refresh rates...thus you cannot (and should not even try) to set the monitors to use the same refresh rate.

I'd suggest using nvidia-utils or nvidia-setup (not sure of the name but it will autocomplete on the command line if you just type "nvidia-") to set up twinview or separate X sessions or whatever you want.  It's easy to use and will even write an xorg.conf for you.  Failing that, look at randr on the wiki.

Offline

#3 2011-07-22 22:22:37

alperenel
Member
From: Turkiye
Registered: 2011-02-05
Posts: 36
Website

Re: [SOLVED] Refresh Rate and Tearing Problem. Help needed!

MoonSwan wrote:

If you look at the Nvidia docs it says in there somewhere why each monitor has a "unique" refresh rate.  It boils down to X is too stupid to do real dual monitors.  As a result, Nvidia presents to X two "separate" monitors; it differentiates them to X by using different refresh rates...thus you cannot (and should not even try) to set the monitors to use the same refresh rate.

I'd suggest using nvidia-utils or nvidia-setup (not sure of the name but it will autocomplete on the command line if you just type "nvidia-") to set up twinview or separate X sessions or whatever you want.  It's easy to use and will even write an xorg.conf for you.  Failing that, look at randr on the wiki.

i did nvidia-xconfig. and also activated the vsync in nvidia-settings. But no luck. Also when i chose seperate X in nvidia-settings my arch freezes. I am going to do a refresh install.

Offline

#4 2011-08-08 01:37:03

alperenel
Member
From: Turkiye
Registered: 2011-02-05
Posts: 36
Website

Re: [SOLVED] Refresh Rate and Tearing Problem. Help needed!

problem still persists sad

Offline

#5 2011-09-05 13:27:52

alperenel
Member
From: Turkiye
Registered: 2011-02-05
Posts: 36
Website

Re: [SOLVED] Refresh Rate and Tearing Problem. Help needed!

up

Offline

#6 2013-08-02 07:14:29

alperenel
Member
From: Turkiye
Registered: 2011-02-05
Posts: 36
Website

Re: [SOLVED] Refresh Rate and Tearing Problem. Help needed!

i have added following variables to /etc/environment and it fixed.

CLUTTER_PAINT=disable-clipped-redraws:disable-culling
CLUTTER_VBLANK=True

Offline

Board footer

Powered by FluxBB