You are not logged in.
Pages: 1
Dual external monitors. Before method = using xrandr via ~/.xinitrc, after method = using 10-monitor.conf:
Section "Monitor"
Identifier "eDP1"
Option "Primary" "true"
EndSection
Section "Monitor"
Identifier "DP2-2"
Option "PreferredMode" "1920x1080_60.00"
Option "LeftOf" "eDP1"
Option "DPMS" "false"
EndSection
Section "Monitor"
Identifier "DP2-1"
Option "PreferredMode" "1080x1920_60.00"
Option "RightOf" "eDP1"
Option "Rotate" "left"
EndSectionHere's a before:
Monitors: 3
0: +*eDP1 1920/310x1080/170+1920+0 eDP1
1: +DP2-1 1080/510x1920/290+3840+0 DP2-1
2: +DP2-2 1920/510x1080/290+0+0 DP2-2and after:
Monitors: 3
0: +*eDP1 1920/310x1080/170+1920+0 eDP1
1: +DP2-1 1024/510x1280/290+3840+0 DP2-1
2: +DP2-2 1920/510x1080/290+0+0 DP2-2Using 10-monitor.conf sets the wrong resolution on DP2-1 despite setting a "preferred" resolution. How can I explicitly set DP2-1 (in 10-monitor.conf) to match the res automatically applied to DP2-1 via xrandr? (It doesn't matter whether I use `Option "PreferredMode" "1080x1920_60.00"` or `Option "PreferredMode" "1920x1080_60.00")
Last edited by miomio (2020-06-26 16:19:50)
Offline
"1920x1080_60.00" sound like it's a custom mode? How do you add it?
Online
I checked Xorg.0.log before using a 10-monitor.conf file which had:
[ 126.698] (II) intel(0): switch to mode 1920x1080@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[ 126.712] (II) intel(0): switch to mode 1920x1080@60.0 on DP2-1 using pipe 1, position (0, 0), rotation normal, reflection none
[ 126.713] (II) intel(0): switch to mode 1920x1080@60.0 on DP2-2 using pipe 2, position (0, 0), rotation normal, reflection noneIn reflection, yes, I think you've spotted the problem. So DP2-2 is ignoring this param and the rotation on DP2-1 is causing the difference?
EDIT:
Just needed to only quote the res to fix it.
Last edited by miomio (2020-06-26 16:19:01)
Offline
"1920x1080_60.00" sound like it's a custom mode? How do you add it?
Aren't most 1080 monitors 1920x1080? Both of mine are, and at 60hz (1920x1080_60.00)
An old man, trying to stay sane
Offline
They don't set correctly unless I do it manually either by xrandr or an xorg config file.
Offline
Huh... Odd. Mine doesn't have a mode set in 20-nvidia.conf and nvidia-settings auto sets resolution and refresh rate for both monitors at 1920x1080 and 60hz.
Just in case your curious:
pat@PatsMain:~$ cat /etc/X11/xorg.conf.d/20-nvidia.conf
Section "Device"
Identifier "Device"
Option "Coolbits" "28"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce RTX 2070 Super"
EndSection
pat@PatsMain:~$ An old man, trying to stay sane
Offline
We'd have to see the xorg log in order to say whether and which resolution is promoted by the EDID.
The "custom mode" thing referred to the "…_60" part in the mode name; the regular (generic) mode is just called 1920x1080 (and from his edit I assume that was the problem) - 1920x1080 is oc. the regular FullHD resolution, nothing odd or custom about that.
Online
Pages: 1