You are not logged in.

#1 2020-06-26 15:10:11

miomio
Member
Registered: 2016-01-17
Posts: 144

[SOLVED] 10-monitor.conf

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"
EndSection

Here'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-2

and 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-2

Using 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

#2 2020-06-26 15:54:27

seth
Member
Registered: 2012-09-03
Posts: 16,266

Re: [SOLVED] 10-monitor.conf

"1920x1080_60.00" sound like it's a custom mode? How do you add it?

Offline

#3 2020-06-26 16:04:22

miomio
Member
Registered: 2016-01-17
Posts: 144

Re: [SOLVED] 10-monitor.conf

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 none

In 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

#4 2020-06-26 19:42:25

Buddlespit
Member
From: Chesapeake, Va.
Registered: 2014-02-07
Posts: 487

Re: [SOLVED] 10-monitor.conf

seth wrote:

"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)


MSI B550 Bazooka, Ryzen 7 3800X, RTX 2070 SUPER, Arctis 5 usb audio, 16GB 3800 cl15 (1900 inf fab) memory, 1 nvme, 3 ssd, 1 hhd (8TB tot.)

Offline

#5 2020-06-26 19:47:25

miomio
Member
Registered: 2016-01-17
Posts: 144

Re: [SOLVED] 10-monitor.conf

They don't set correctly unless I do it manually either by xrandr or an xorg config file.

Offline

#6 2020-06-26 19:58:16

Buddlespit
Member
From: Chesapeake, Va.
Registered: 2014-02-07
Posts: 487

Re: [SOLVED] 10-monitor.conf

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:~$ 

MSI B550 Bazooka, Ryzen 7 3800X, RTX 2070 SUPER, Arctis 5 usb audio, 16GB 3800 cl15 (1900 inf fab) memory, 1 nvme, 3 ssd, 1 hhd (8TB tot.)

Offline

#7 2020-06-26 20:09:19

seth
Member
Registered: 2012-09-03
Posts: 16,266

Re: [SOLVED] 10-monitor.conf

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.

Offline

Board footer

Powered by FluxBB