My setup:
- First monitor: DVI-D-0 (AOC 2490W1) - Rotated right
- Second monitor: HDMI-A-0 (AOC 2476WM) - Primary, not rotated
Config:
main :
{
Screen :
{
width = 3000;
height = 1920;
widthMM = 794;
heightMM = 508;
};
Monitors :
{
HDMI-A-0 :
{
EDID = "AOC 2476WM";
resolution :
{
x = 1920;
y = 1080;
};
pos :
{
x = 1080;
y = 840;
};
rotation = 1;
primary = 1;
};
DVI-D-0 :
{
EDID = "AOC 2490W1";
resolution :
{
x = 1920;
y = 1080;
};
pos :
{
x = 0;
y = 0;
};
rotation = 8;
};
};
};
vert-only :
{
Screen :
{
width = 1080;
height = 1920;
widthMM = 286;
heightMM = 508;
};
Monitors :
{
DVI-D-0 :
{
EDID = "AOC 2490W1";
resolution :
{
x = 1920;
y = 1080;
};
pos :
{
x = 0;
y = 0;
};
rotation = 8;
primary = 1;
};
};
};
- Launched and moved second monitor through
arandr
- nothing turned off or on
./umonitor --verbose --listen
Connected to server
Autoloading
Number of profiles: 2
Trying to find which profile matches current setup
Current connected outputs: HDMI-A-0 (AOC 2476WM) DVI-D-0 (AOC 2490W1)
Looping over profile main
Configuration outputs: HDMI-A-0 (AOC 2476WM) DVI-D-0 (AOC 2490W1)
Profile main matches current setup
Done loading values from configuration file
Loading profile main
Num outputs per profile main: 2
Trying to find matching setting for DVI-D-0 (AOC 2490W1)
Found output in configuration file that matches DVI-D-0 (AOC 2490W1)
Trying match up the configuration resolution with the mode id
Found matching mode id: 86
Candidate crtc for this output: 79
Queing up crtc to load: 79
Crtc settings: x:0, y:0, rotation: 8, is_primary: 0, mode_id: 86, output: DVI-D-0
Trying to find matching setting for HDMI-A-0 (AOC 2476WM)
Found output in configuration file that matches HDMI-A-0 (AOC 2476WM)
Trying match up the configuration resolution with the mode id
Found matching mode id: 86
Candidate crtc for this output: 80
Queing up crtc to load: 80
Crtc settings: x:1080, y:840, rotation: 1, is_primary: 1, mode_id: 86, output: HDMI-A-0
Does any of queued crtc match currently loaded crtc 80?
Crtc: x:1080, y:840, rotation: 1, mode_id: 86, output: HDMI-A-0
Queued crtc 80 matches! Remove duplicate crtc 80 from ll
Does any of queued crtc match currently loaded crtc 79?
Crtc: x:0, y:0, rotation: 8, mode_id: 86, output: DVI-D-0
Queued crtc 79 matches! Remove duplicate crtc 79 from ll
Does any of queued crtc match currently loaded crtc 81?
Crtc: x:0, y:0, rotation: 1, mode_id: 0, output: HDMI-A-0
No crtcs to disable or enable. Profile main is currently active
*
Looping over profile vert-only
Configuration outputs: DVI-D-0 (AOC 2490W1)
---------------------------------
Waiting for event
Event type: 89
screen change masked: 1
output change masked: 0
Last time of configuration: 0
Time of event: 246959979
Screen change event detected
Now I should load
Number of profiles: 2
Trying to find which profile matches current setup
Current connected outputs: HDMI-A-0 (AOC 2476WM) DVI-D-0 (AOC 2490W1)
Looping over profile main
Configuration outputs: HDMI-A-0 (AOC 2476WM) DVI-D-0 (AOC 2490W1)
Profile main matches current setup
Done loading values from configuration file
Loading profile main
Num outputs per profile main: 2
Trying to find matching setting for DVI-D-0 (AOC 2490W1)
Found output in configuration file that matches DVI-D-0 (AOC 2490W1)
Trying match up the configuration resolution with the mode id
Found matching mode id: 86
Candidate crtc for this output: 79
Queing up crtc to load: 79
Crtc settings: x:0, y:0, rotation: 8, is_primary: 0, mode_id: 86, output: DVI-D-0
Trying to find matching setting for HDMI-A-0 (AOC 2476WM)
Found output in configuration file that matches HDMI-A-0 (AOC 2476WM)
Trying match up the configuration resolution with the mode id
Found matching mode id: 86
Candidate crtc for this output: 80
Queing up crtc to load: 80
Crtc settings: x:1080, y:840, rotation: 1, is_primary: 1, mode_id: 86, output: HDMI-A-0
Does any of queued crtc match currently loaded crtc 80?
Crtc: x:1080, y:0, rotation: 1, mode_id: 86, output: HDMI-A-0
Queing disable crtc 80
Does any of queued crtc match currently loaded crtc 79?
Crtc: x:0, y:0, rotation: 8, mode_id: 86, output: DVI-D-0
Queued crtc 79 matches! Remove duplicate crtc 79 from ll
Does any of queued crtc match currently loaded crtc 81?
Crtc: x:0, y:0, rotation: 1, mode_id: 0, output: HDMI-A-0
Disabling this crtc: 80
Change screen size here
Enable crtc 80
*
Looping over profile vert-only
Configuration outputs: DVI-D-0 (AOC 2490W1)
---------------------------------
Waiting for event
Event type: 89
screen change masked: 1
output change masked: 0
Last time of configuration: 247947955
Time of event: 247947894
Screen change event detected
Waiting for event
Event type: 89
screen change masked: 1
output change masked: 0
Last time of configuration: 247947955
Time of event: 247947910
Screen change event detected
Waiting for event
- Second run, turn primary off
./umonitor --verbose --listen
Connected to server
Autoloading
Number of profiles: 2
Trying to find which profile matches current setup
Current connected outputs: HDMI-A-0 (AOC 2476WM) DVI-D-0 (AOC 2490W1)
Looping over profile main
Configuration outputs: HDMI-A-0 (AOC 2476WM) DVI-D-0 (AOC 2490W1)
Profile main matches current setup
Done loading values from configuration file
Loading profile main
Num outputs per profile main: 2
Trying to find matching setting for DVI-D-0 (AOC 2490W1)
Found output in configuration file that matches DVI-D-0 (AOC 2490W1)
Trying match up the configuration resolution with the mode id
Found matching mode id: 86
Candidate crtc for this output: 79
Queing up crtc to load: 79
Crtc settings: x:0, y:0, rotation: 8, is_primary: 0, mode_id: 86, output: DVI-D-0
Trying to find matching setting for HDMI-A-0 (AOC 2476WM)
Found output in configuration file that matches HDMI-A-0 (AOC 2476WM)
Trying match up the configuration resolution with the mode id
Found matching mode id: 86
Candidate crtc for this output: 80
Queing up crtc to load: 80
Crtc settings: x:1080, y:840, rotation: 1, is_primary: 1, mode_id: 86, output: HDMI-A-0
Does any of queued crtc match currently loaded crtc 80?
Crtc: x:1080, y:840, rotation: 1, mode_id: 86, output: HDMI-A-0
Queued crtc 80 matches! Remove duplicate crtc 80 from ll
Does any of queued crtc match currently loaded crtc 79?
Crtc: x:0, y:0, rotation: 8, mode_id: 86, output: DVI-D-0
Queued crtc 79 matches! Remove duplicate crtc 79 from ll
Does any of queued crtc match currently loaded crtc 81?
Crtc: x:0, y:0, rotation: 1, mode_id: 0, output: HDMI-A-0
No crtcs to disable or enable. Profile main is currently active
*
Looping over profile vert-only
Configuration outputs: DVI-D-0 (AOC 2490W1)
---------------------------------
Waiting for event
Event type: 89
screen change masked: 1
output change masked: 0
Last time of configuration: 0
Time of event: 247947955
Screen change event detected
Now I should load
Number of profiles: 2
Trying to find which profile matches current setup
Current connected outputs: DVI-D-0 (AOC 2490W1)
Looping over profile main
Configuration outputs: HDMI-A-0 (AOC 2476WM) DVI-D-0 (AOC 2490W1)
Looping over profile vert-only
Configuration outputs: DVI-D-0 (AOC 2490W1)
Profile vert-only matches current setup
Done loading values from configuration file
Loading profile vert-only
Num outputs per profile vert-only: 1
Trying to find matching setting for DVI-D-0 (AOC 2490W1)
Found output in configuration file that matches DVI-D-0 (AOC 2490W1)
Trying match up the configuration resolution with the mode id
Found matching mode id: 86
Candidate crtc for this output: 80
Queing up crtc to load: 80
Crtc settings: x:0, y:0, rotation: 8, is_primary: 1, mode_id: 86, output: DVI-D-0
Does any of queued crtc match currently loaded crtc 80?
Crtc: x:0, y:0, rotation: 1, mode_id: 86, output: DVI-D-0
Queing disable crtc 80
Does any of queued crtc match currently loaded crtc 79?
Crtc: x:0, y:0, rotation: 8, mode_id: 0, output: HDMI-A-0
Does any of queued crtc match currently loaded crtc 81?
Crtc: x:0, y:0, rotation: 1, mode_id: 0, output: HDMI-A-0
Disabling this crtc: 80
Change screen size here
Enable crtc 80
*
---------------------------------
Waiting for event
Event type: 89
screen change masked: 1
output change masked: 0
Last time of configuration: 248049143
Time of event: 247947955
Screen change event detected
Waiting for event
Event type: 89
screen change masked: 1
output change masked: 0
Last time of configuration: 248049143
Time of event: 248048906
Screen change event detected
Waiting for event
Event type: 89
screen change masked: 1
output change masked: 0
Last time of configuration: 248049143
Time of event: 248048942
Screen change event detected
Waiting for event
Event type: 89
screen change masked: 1
output change masked: 0
Last time of configuration: 248049143
Time of event: 248048942
Screen change event detected
Waiting for event
Event type: 89
screen change masked: 1
output change masked: 0
Last time of configuration: 248049143
Time of event: 248048980
Screen change event detected
Waiting for event
Event type: 89
screen change masked: 1
output change masked: 0
Last time of configuration: 248049143
Time of event: 248048980
Screen change event detected
Waiting for event
Event type: 89
screen change masked: 1
output change masked: 0
Last time of configuration: 248049143
Time of event: 248049048
Screen change event detected
Waiting for event
Event type: 89
screen change masked: 1
output change masked: 0
Last time of configuration: 248049143
Time of event: 248049048
Screen change event detected
Waiting for event
- Third run, turn primary back on
./umonitor --verbose --listen
Connected to server
Autoloading
Number of profiles: 2
Trying to find which profile matches current setup
Current connected outputs: DVI-D-0 (AOC 2490W1)
Looping over profile main
Configuration outputs: HDMI-A-0 (AOC 2476WM) DVI-D-0 (AOC 2490W1)
Looping over profile vert-only
Configuration outputs: DVI-D-0 (AOC 2490W1)
Profile vert-only matches current setup
Done loading values from configuration file
Loading profile vert-only
Num outputs per profile vert-only: 1
Trying to find matching setting for DVI-D-0 (AOC 2490W1)
Found output in configuration file that matches DVI-D-0 (AOC 2490W1)
Trying match up the configuration resolution with the mode id
Found matching mode id: 86
Candidate crtc for this output: 80
Queing up crtc to load: 80
Crtc settings: x:0, y:0, rotation: 8, is_primary: 1, mode_id: 86, output: DVI-D-0
Does any of queued crtc match currently loaded crtc 80?
Crtc: x:0, y:0, rotation: 8, mode_id: 86, output: DVI-D-0
Queued crtc 80 matches! Remove duplicate crtc 80 from ll
Does any of queued crtc match currently loaded crtc 79?
Crtc: x:0, y:0, rotation: 8, mode_id: 0, output: HDMI-A-0
Does any of queued crtc match currently loaded crtc 81?
Crtc: x:0, y:0, rotation: 1, mode_id: 0, output: HDMI-A-0
No crtcs to disable or enable. Profile vert-only is currently active
*
---------------------------------
Waiting for event
Event type: 89
screen change masked: 1
output change masked: 0
Last time of configuration: 0
Time of event: 248049143
Screen change event detected
Now I should load
Number of profiles: 2
Trying to find which profile matches current setup
Current connected outputs: HDMI-A-0 (AOC 2476WM) DVI-D-0 (AOC 2490W1)
Looping over profile main
Configuration outputs: HDMI-A-0 (AOC 2476WM) DVI-D-0 (AOC 2490W1)
Profile main matches current setup
Done loading values from configuration file
Loading profile main
Num outputs per profile main: 2
Trying to find matching setting for DVI-D-0 (AOC 2490W1)
Found output in configuration file that matches DVI-D-0 (AOC 2490W1)
Trying match up the configuration resolution with the mode id
Found matching mode id: 86
Candidate crtc for this output: 80
Queing up crtc to load: 80
Crtc settings: x:0, y:0, rotation: 8, is_primary: 0, mode_id: 86, output: DVI-D-0
Trying to find matching setting for HDMI-A-0 (AOC 2476WM)
Found output in configuration file that matches HDMI-A-0 (AOC 2476WM)
Trying match up the configuration resolution with the mode id
Found matching mode id: 86
Candidate crtc for this output: 0
Candidate crtc will not work, using 79 instead
Queing up crtc to load: 79
Crtc settings: x:1080, y:840, rotation: 1, is_primary: 1, mode_id: 86, output: HDMI-A-0
Does any of queued crtc match currently loaded crtc 80?
Crtc: x:0, y:0, rotation: 8, mode_id: 86, output: DVI-D-0
Queued crtc 80 matches! Remove duplicate crtc 80 from ll
Does any of queued crtc match currently loaded crtc 79?
Crtc: x:1920, y:0, rotation: 1, mode_id: 86, output: HDMI-A-0
Queing disable crtc 79
Does any of queued crtc match currently loaded crtc 81?
Crtc: x:0, y:0, rotation: 1, mode_id: 0, output: HDMI-A-0
Disabling this crtc: 79
Change screen size here
Enable crtc 79
*
Looping over profile vert-only
Configuration outputs: DVI-D-0 (AOC 2490W1)
---------------------------------
Waiting for event
Event type: 89
screen change masked: 1
output change masked: 0
Last time of configuration: 248153317
Time of event: 248049143
Screen change event detected
Waiting for event
Event type: 89
screen change masked: 1
output change masked: 0
Last time of configuration: 248153317
Time of event: 248153020
Screen change event detected
Waiting for event
Event type: 89
screen change masked: 1
output change masked: 0
Last time of configuration: 248153317
Time of event: 248153020
Screen change event detected
Waiting for event
Event type: 89
screen change masked: 1
output change masked: 0
Last time of configuration: 248153317
Time of event: 248153060
Screen change event detected
Waiting for event
Event type: 89
screen change masked: 1
output change masked: 0
Last time of configuration: 248153317
Time of event: 248153074
Screen change event detected
Waiting for event
Event type: 89
screen change masked: 1
output change masked: 0
Last time of configuration: 248153317
Time of event: 248153074
Screen change event detected
Waiting for event
Event type: 89
screen change masked: 1
output change masked: 0
Last time of configuration: 248153317
Time of event: 248153175
Screen change event detected
Waiting for event
Event type: 89
screen change masked: 1
output change masked: 0
Last time of configuration: 248153317
Time of event: 248153175
Screen change event detected
Waiting for event
- Now it's broken, First monitor isn't rotated, and looks shifted
./umonitor --verbose
Connected to server
Number of profiles: 2
Trying to find which profile matches current setup
Current connected outputs: HDMI-A-0 (AOC 2476WM) DVI-D-0 (AOC 2490W1)
Looping over profile main
Configuration outputs: HDMI-A-0 (AOC 2476WM) DVI-D-0 (AOC 2490W1)
Profile main matches current setup
Done loading values from configuration file
Loading profile main
Num outputs per profile main: 2
Trying to find matching setting for DVI-D-0 (AOC 2490W1)
Found output in configuration file that matches DVI-D-0 (AOC 2490W1)
Trying match up the configuration resolution with the mode id
Found matching mode id: 86
Candidate crtc for this output: 80
Queing up crtc to load: 80
Crtc settings: x:0, y:0, rotation: 8, is_primary: 0, mode_id: 86, output: DVI-D-0
Trying to find matching setting for HDMI-A-0 (AOC 2476WM)
Found output in configuration file that matches HDMI-A-0 (AOC 2476WM)
Trying match up the configuration resolution with the mode id
Found matching mode id: 86
Candidate crtc for this output: 79
Queing up crtc to load: 79
Crtc settings: x:1080, y:840, rotation: 1, is_primary: 1, mode_id: 86, output: HDMI-A-0
Does any of queued crtc match currently loaded crtc 79?
Crtc: x:1080, y:840, rotation: 1, mode_id: 86, output: HDMI-A-0
Queued crtc 79 matches! Remove duplicate crtc 79 from ll
Does any of queued crtc match currently loaded crtc 80?
Crtc: x:0, y:0, rotation: 1, mode_id: 86, output: DVI-D-0
Queing disable crtc 80
Does any of queued crtc match currently loaded crtc 81?
Crtc: x:0, y:0, rotation: 1, mode_id: 0, output: HDMI-A-0
Looping over profile vert-only
Configuration outputs: DVI-D-0 (AOC 2490W1)
Unknown profile*
---------------------------------
./umonitor
main
vert-only
Unknown profile*
---------------------------------
- Load run fixed it
./umonitor --load main
Profile main loaded!
---------------------------------
main*
vert-only
---------------------------------
- After couple turn on and offs without umonitor restart WM(Mutter/Gala) crashes
kernel: [drm] {1920x1080, 2200x1125@148500Khz}
kernel: [drm] {1920x1080, 2200x1125@148500Khz}
kernel: [drm] {1920x1080, 2200x1125@148500Khz}
kernel: [drm] {1920x1080, 2200x1125@148500Khz}
kernel: [drm] {1920x1080, 2200x1125@148500Khz}
gnome-session[19212]: ** (gala:19444): CRITICAL **: plank_drawing_service_load_icon: assertion 'names != NULL' failed
gnome-session[19212]: ** (gala:19444): CRITICAL **: plank_drawing_service_load_icon: assertion 'names != NULL' failed
gnome-session[19212]: ** (gala:19444): CRITICAL **: plank_drawing_service_load_icon: assertion 'names != NULL' failed
kernel: [drm] {1920x1080, 2200x1125@148500Khz}
kernel: [drm] {1920x1080, 2200x1125@148500Khz}
kernel: [drm] {1920x1080, 2200x1125@148500Khz}
kernel: [drm] {1920x1080, 2200x1125@148500Khz}
gnome-session[19212]: **
gnome-session[19212]: mutter:ERROR:backends/meta-monitor-manager.c:260:make_logical_config: assertion failed: (output->crtc->logical_monitor != NULL)
gnome-session[19212]: gnome-session-binary[19212]: WARNING: Application 'gala.desktop' killed by signal 6
gnome-session-binary[19212]: WARNING: Application 'gala.desktop' killed by signal 6
kernel: [drm] {1920x1080, 2200x1125@148500Khz}
kernel: [drm] {1920x1080, 2200x1125@148500Khz}
kernel: [drm] {1920x1080, 2200x1125@148500Khz}
kernel: [drm] {1920x1080, 2200x1125@148500Khz}
gnome-session[19212]: QXcbConnection: XCB error: 148 (Unknown), sequence: 1549, resource id: 0, major code: 140 (Unknown), minor code: 20
gnome-session[19212]: QXcbConnection: XCB error: 148 (Unknown), sequence: 3910, resource id: 0, major code: 140 (Unknown), minor code: 20
gnome-session[19212]: (gala:25276): Gtk-WARNING **: Theme parsing error: gtk.css:2663:13: 'min-width' is not a valid property name
gnome-session[19212]: (gala:25276): Gtk-WARNING **: Theme parsing error: gtk.css:2663:13: 'min-width' is not a valid property name
gnome-session[19212]: (gala:25276): Gtk-WARNING **: Theme parsing error: gtk.css:2663:13: 'min-width' is not a valid property name
gnome-session[19212]: Window manager warning: Trying to re-add keybinding "switch-to-workspace-last".
gnome-session[19212]: Window manager warning: Trying to re-add keybinding "move-to-workspace-last".
gnome-session[19212]: ** (gala:25276): CRITICAL **: plank_drawing_service_load_icon: assertion 'names != NULL' failed
gnome-session[19212]: ** (gala:25276): CRITICAL **: plank_drawing_service_load_icon: assertion 'names != NULL' failed
gnome-session[19212]: ** (gala:25276): WARNING **: Preferences.vala:192: '/usr/share/themes/Arc-Dark/plank/dock.theme' is read-only!
gnome-session[19212]: ** (gala:25276): WARNING **: Preferences.vala:382: Missing key 'CascadeHide' for group 'PlankDrawingDockTheme' in preferences file '/usr/share/themes/Arc-Dark/plank/dock.theme' - using default value
kernel: [drm] {1920x1080, 2200x1125@148500Khz}
kernel: [drm] {1920x1080, 2200x1125@148500Khz}
gnome-session[19212]: ** (gala:25276): CRITICAL **: plank_drawing_service_load_icon: assertion 'names != NULL' failed
gnome-session[19212]: ** (gala:25276): CRITICAL **: plank_drawing_service_load_icon: assertion 'names != NULL' failed
kernel: [drm] {1920x1080, 2200x1125@148500Khz}
gnome-session[19212]: QXcbConnection: XCB error: 148 (Unknown), sequence: 4495, resource id: 0, major code: 140 (Unknown), minor code: 20
gnome-session[19212]: QXcbConnection: XCB error: 148 (Unknown), sequence: 2055, resource id: 0, major code: 140 (Unknown), minor code: 20
kernel: [drm] {1920x1080, 2200x1125@148500Khz}
kernel: [drm] 2476WM: [Block 0]
kernel: [drm] 2476WM: [Block 1]
kernel: [drm] dc_link_detect: manufacturer_id = E305, product_id = 2476, serial_number = 1D7, manufacture_week = 12, manufacture_year = 27, display_name = 2476WM, speaker_flag = 1, audio_mode_count = 1
kernel: [drm] dc_link_detect: mode number = 0, format_code = 1, channel_count = 2, sample_rate = 7, sample_size = 7
kernel: [drm] {1920x1080, 2200x1125@148500Khz}
kernel: [drm] {1920x1080, 2200x1125@148500Khz}
gnome-session[19212]: QXcbConnection: XCB error: 148 (Unknown), sequence: 4511, resource id: 0, major code: 140 (Unknown), minor code: 20
gnome-session[19212]: QXcbConnection: XCB error: 148 (Unknown), sequence: 2067, resource id: 0, major code: 140 (Unknown), minor code: 20
gnome-session[19212]: ** (gala:25276): CRITICAL **: plank_drawing_service_load_icon: assertion 'names != NULL' failed
kernel: [drm] {1920x1080, 2200x1125@148500Khz}
kernel: [drm] {1920x1080, 2200x1125@148500Khz}
kernel: [drm] {1920x1080, 2200x1125@148500Khz}
kernel: [drm] {1920x1080, 2200x1125@148500Khz}
gnome-session[19212]: **
gnome-session[19212]: mutter:ERROR:backends/meta-monitor-manager.c:260:make_logical_config: assertion failed: (output->crtc->logical_monitor != NULL)
gnome-session[19212]: gnome-session-binary[19212]: WARNING: Application 'gala.desktop' killed by signal 6
gnome-session[19212]: gnome-session-binary[19212]: WARNING: App 'gala.desktop' respawning too quickly
gnome-session-binary[19212]: WARNING: Application 'gala.desktop' killed by signal 6
gnome-session-binary[19212]: WARNING: App 'gala.desktop' respawning too quickly
gnome-session-binary[19212]: Unrecoverable failure in required component gala.desktop
gnome-session[19212]: gnome-session-binary[19212]: CRITICAL: We failed, but the fail whale is dead. Sorry....
gnome-session-binary[19212]: CRITICAL: We failed, but the fail whale is dead. Sorry....
gnome-session[19212]: ICE default IO error handler doing an exit(), pid = 19518, errno = 11