You are not logged in.

#1 2015-05-17 18:49:40

jeremy5561
Member
Registered: 2015-05-17
Posts: 12

Xorg.conf multiple monitors different refresh rates

I have two monitors on my setup, with my primary montor being to the right of my secondary. They both have resolution 1920x1080. I'm trying to get my primary monitor to run at 120 Hz but it's only doing 60. My secondary monitor is a different model that can only do 60 Hz.

This is my xorg.conf

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 349.16  (buildmeister@swio-display-x86-rhel47-06)  Wed Apr  8 00:52:19 PDT 2015

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 349.16  (buildmeister@swio-display-x86-rhel47-06)  Wed Apr  8 00:51:15 PDT 2015

Section "ServerLayout"
    Identifier     "Layout"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "ServerFlags"
    Option         "RandR" "on"
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     "ASUS"
    ModelName      "ASUS VG278"
    HorizSync       60.0 - 166.0
    VertRefresh     112.0 - 152.0
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Dell"
    ModelName      "Dell ST2320L"
    HorizSync       45.0 - 70.0
    VertRefresh     50.0 - 80.0
    Option         "LeftOf" "Monitor0"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 680"
EndSection

Section "Screen"
    Identifier     "Screen"
    Device         "NVIDIA GeForce GTX 680"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Monitor-DVI-I-1" "Monitor0"
    Option         "Monitor-DVI-D-0" "Monitor1"
    SubSection     "Display"
        Virtual     3840 1080
        Depth       24
        Modes      "1920x1080"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "DVI-D-0: nvidia-auto-select +0+0, DVI-I-1: nvidia-auto-select +1920+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

This is actually one of the first times i've had to go under the hood linux (I've recently been using a linux computer at work) so I'm pretty newbie - any help would be greatly appreciated.

Offline

#2 2015-05-17 20:50:30

Malkymder
Member
Registered: 2015-05-13
Posts: 258

Re: Xorg.conf multiple monitors different refresh rates

try using xrandr

xrandr --output <your monitor> -s <your resolution> -r <your refresh>

For More info about xrandr https://wiki.archlinux.org/index.php/Xrandr

Offline

#3 2015-05-17 21:07:47

jeremy5561
Member
Registered: 2015-05-17
Posts: 12

Re: Xorg.conf multiple monitors different refresh rates

nothing happens after running
xrandr --output DVI-I-1 -s 1920x1080 -r 119.98

Offline

#4 2015-05-17 21:10:20

Malkymder
Member
Registered: 2015-05-13
Posts: 258

Re: Xorg.conf multiple monitors different refresh rates

look in your /var/log/Xorg.0.log file to see if any errors

Offline

#5 2015-05-17 21:12:47

Malkymder
Member
Registered: 2015-05-13
Posts: 258

Re: Xorg.conf multiple monitors different refresh rates

Also check the current refresh rate using

xrandr -q

an asterisk should be beside the current refresh rate in use

Offline

#6 2015-05-17 21:24:09

jeremy5561
Member
Registered: 2015-05-17
Posts: 12

Re: Xorg.conf multiple monitors different refresh rates

Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 connected primary 1920x1080+1920+0 (normal left inverted right x axis y axis) 598mm x 336mm
   1920x1080     60.00*+ 119.98   109.95    99.93  
   1680x1050     59.95  
   1440x900      59.89  
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1280x800      59.81  
   1280x720      60.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   640x480       75.00    59.94  
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DVI-D-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 509mm x 286mm
   1920x1080     60.00*+
   1280x1024     75.02    60.02  
   1152x864      75.00  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   640x480       75.00    59.94  
DP-1 disconnected (normal left inverted right x axis y axis)

I don't think using

xrandr --output (output) -r 119.98

is the right way of doing it. When I type this command, nothing happens (no reply from terminal)

But when I type

xrandr -r 119.98

I get

 Rate 119.98 Hz not available for this size 

Offline

#7 2015-05-17 21:30:41

Malkymder
Member
Registered: 2015-05-13
Posts: 258

Re: Xorg.conf multiple monitors different refresh rates

you have 2 monitors ergo you need to specify what monitor your asking the changes otherwise it uses the default monitor withch in your case seems to be DVD-D-0

Offline

#8 2015-05-17 21:44:59

Malkymder
Member
Registered: 2015-05-13
Posts: 258

Re: Xorg.conf multiple monitors different refresh rates

try adding this to your screen section in the xorg.conf

	Option "UseEDIDFreqs" "False"
	SubSection "Display"
		Modes		"1980x1080_119.98" "19280x1080_60"
	EndSubSection

Last edited by Malkymder (2015-05-17 21:45:19)

Offline

#9 2015-05-18 02:34:57

jeremy5561
Member
Registered: 2015-05-17
Posts: 12

Re: Xorg.conf multiple monitors different refresh rates

After making the edits and restarting

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 349.16  (buildmeister@swio-display-x86-rhel47-06)  Wed Apr  8 00:52:19 PDT 2015

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 349.16  (buildmeister@swio-display-x86-rhel47-06)  Wed Apr  8 00:51:15 PDT 2015

Section "ServerLayout"
    Identifier     "Layout"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "ServerFlags"
    Option         "RandR" "on"
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     "ASUS"
    ModelName      "ASUS VG278"
    HorizSync       60.0 - 166.0
    VertRefresh     112.0 - 152.0
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Dell"
    ModelName      "Dell ST2320L"
    HorizSync       45.0 - 70.0
    VertRefresh     50.0 - 80.0
    Option         "LeftOf" "Monitor0"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 680"
EndSection

Section "Screen"
    Identifier     "Screen"
    Device         "NVIDIA GeForce GTX 680"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Monitor-DVI-I-1" "Monitor0"
    Option         "Monitor-DVI-D-0" "Monitor1"
    Option         "UseEDIDFreqs" "False"
    SubSection     "Display"
        Virtual     3840 1080
        Depth       24
        Modes      "1920x1080_119.98" "1920x1080_60"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "DVI-D-0: nvidia-auto-select +0+0, DVI-I-1: nvidia-auto-select +1920+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

My screen is still in 60 Hz sad. Stubborn screen.

Last edited by jeremy5561 (2015-05-18 02:36:29)

Offline

#10 2015-05-18 08:47:39

Malkymder
Member
Registered: 2015-05-13
Posts: 258

Re: Xorg.conf multiple monitors different refresh rates

When you open the nvidia-settings tool does it now allow you to select the higher resolution

Offline

#11 2015-05-18 14:13:45

jeremy5561
Member
Registered: 2015-05-17
Posts: 12

Re: Xorg.conf multiple monitors different refresh rates

Unfortunately not sad.

l9jV6Dk.png

Offline

#12 2015-05-18 17:54:27

Malkymder
Member
Registered: 2015-05-13
Posts: 258

Re: Xorg.conf multiple monitors different refresh rates

Select the 1920x1080 resolution instead of auto that will let you specify a refresh rate**

Last edited by Malkymder (2015-05-18 17:54:48)

Offline

#13 2015-05-18 17:57:57

jeremy5561
Member
Registered: 2015-05-17
Posts: 12

Re: Xorg.conf multiple monitors different refresh rates

Thanks!!! That fixed it. Silly me.

Here's my updated Xorg.conf

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 349.16  (buildmeister@swio-display-x86-rhel47-06)  Wed Apr  8 00:51:15 PDT 2015

Section "ServerLayout"
    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"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Ancor Communications Inc ASUS VG278HR"
    HorizSync       24.0 - 140.0
    VertRefresh     50.0 - 122.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 680"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "DVI-I-1: 1920x1080_120 +1920+0, DVI-D-0: 1920x1080_60 +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Offline

#14 2015-05-18 18:08:38

jeremy5561
Member
Registered: 2015-05-17
Posts: 12

Re: Xorg.conf multiple monitors different refresh rates

Oddly, the settings don't commit after a restart.

After settings the refresh rate in nvidia-settings, if I close the panel and reopen, the settings are still there.

However after a full restart the settings are lost. The resolution goes back to auto. My xorg.conf file is kept though.

Offline

#15 2015-05-19 02:33:47

Malkymder
Member
Registered: 2015-05-13
Posts: 258

Re: Xorg.conf multiple monitors different refresh rates

if your using gnome shell it calls xrandr on start and overrides whatever you have in your xorg.conf

You could use a bash script to run on login to reapply your values .... many posts available on how to do that in the forums wink

Offline

Board footer

Powered by FluxBB