[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Second monitor doesn't quite work



On 2023-04-19 19:43:01 -0700, Charlie Gibbs wrote:
> Section "Screen"
>     Identifier     "Screen0"
>     Device         "Device0"
>     Monitor        "Monitor0"
>     DefaultDepth    24
>     Option         "Stereo" "0"
>     Option         "metamodes" "HDMI-0: nvidia-auto-select +0+0"
>     Option         "SLI" "Off"
>     Option         "MultiGPU" "Off"
>     Option         "BaseMosaic" "off"
>     SubSection     "Display"
>         Depth       24
>     EndSubSection
> EndSection
> 
> Section "Screen"
>     Identifier     "Screen1"
>     Device         "Device1"
>     Monitor        "Monitor1"
>     DefaultDepth    24
>     Option         "Stereo" "0"
>     Option         "nvidiaXineramaInfoOrder" "DFP-0"
>     Option         "metamodes" "DVI-D-0: nvidia-auto-select +0+0
> {AllowGSYNC=Off}"
>     Option         "SLI" "Off"
>     Option         "MultiGPU" "Off"
>     Option         "BaseMosaic" "off"
>     SubSection     "Display"
>         Depth       24
>     EndSubSection
> EndSection

Not sure whether this is correct. I have only one Screen section
for 2 monitors (that's before I change the configuration with
xrandr when logging in, because I actually have 3 monitors):

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "DP-3: nvidia-auto-select +0+0, DP-4: nvidia-auto-select +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

In your case, the metamodes option should probably be

  Option "metamodes" "HDMI-0: nvidia-auto-select +0+0, DVI-D-0: nvidia-auto-select +0+0"

I don't know what "{AllowGSYNC=Off}" is about.

Also check the xrandr output: both monitors should be "connected"
with a screen geometry shown.

For instance, in my case:

Screen 0: minimum 8 x 8, current 7680 x 2160, maximum 16384 x 16384
VGA-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 connected (normal left inverted right x axis y axis)
   3200x1800     59.98 +  40.00  
DP-4 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 700mm x 390mm
   3840x2160     60.00*+  30.00    29.97  
   2560x1440     59.95  
   1920x1080     60.00    59.94  
   1680x1050     59.95  
   1600x900      60.00  
   1440x900      59.89  
   1280x1024     75.02    60.02  
   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    72.81    59.94  
DP-5 connected 3840x2160+3840+0 (normal left inverted right x axis y axis) 597mm x 336mm
   3840x2160     60.00*+  29.98  
   2560x1440     59.95  
   1920x2160     59.99  
   1920x1080     60.00    59.94    50.00  
   1680x1050     59.95  
   1440x900      59.89  
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1280x720      60.00    59.94    50.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    72.81    59.94    59.93  
DP-6 disconnected (normal left inverted right x axis y axis)

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


Reply to: