I’m having this issue with my multi-monitor setup that’s been driving me up the wall lately.
So I have a dualboot system with Manjaro as my distro for every day tasks (for which I only need one monitor), and Linux Mint for work.
On my Linux Mint I use two monitors for work, one’s on a VGA cable (native resolution of 1366x768), the other one (the main monitor, native resolution 1920x1080) is on DP. Intel IGP is driving those two monitors.
Now on Linux Mint I do get occasional issues when the main monitor would be switched over to the VGA monitor, but with a few adjustments it’s easy to fix it, even if it’s a bit annoying to be required to do this.
On Manjaro however, most of the time when I boot into it, after I resume from suspend, the monitor setup is screwed.
What ends up happening is that it switches the main monitor to the VGA one (even though I’ve disabled it by switching off the “Active” setting in the Display settings panel), and the DP monitor uses the wrong resolution (1440x900), and the native resolution is not made available in the list.
Now I can easily switch off the VGA monitor fro the settings so it reverts back to the DP monitor, but the resolution problem is a lot harder to fix.
Sometimes when I would switch the DP monitor to a lower resolution (like 800x600 for example), then afterwards the native resolution would be made available, but not always.
I’ve also tried doing some xrandr trickery to no avail:
It doesn’t seem to be able to change the resolution, but I didn’t catch the exact message it outputs.
Restarting Cinnamon doesn’t seem to help at all.
The only thing that helps is to restart the PC and then boot back in, and then I’m able to switch to the native resolution.
Could anyone guide me into what I need to do to keep those settings permanent and to prevent all this from happening? (switching the active monitor, not disabling the VGA monitor, no native resolution available)
Alright, issued the xrandr commands from above, and got this error:
xrandr: Configure crtc 0 failed
Taking a look into the Display settings panel, I see the resolution has been added there as well, but I get a similar error message, this time being CRTC 62 instead (can’t attach screenshots to show full message)
So I’ve tried following a forum post off Archlinux (I’m not allowed to link to it by the forum software)
Mentioned using decode-edit and obtaining edid data through xrandr --props
After getting the proper mode line for my monitor’s native resolution and the EDID data, I’ve issued these commands:
First time I tried issuing the commands again, Cinnamon crashed/froze at the 2nd line.
Restarted Cinnamon, and of course now both monitors are active again, and now I only have two resolutions available for the DP monitor (1024x768 and 800x600)
Is there any way to disable VGA output all together on this OS so it would stop activating the VGA monitor?
In the meantime I’ll try to boot with this Xorg conf file, hopefully it’ll load the correct edid file so it would (hopefully) always get the correct native resolution:
Alright, I’m still having issues, even after using the above Xorg conf file.
This time it happened after the monitor went to sleep, and I woke it up by moving the mouse.
The 2nd (VGA) monitor was enabled again, and the DP monitor was using the wrong resolution.
I had to manually disable the 2nd monitor again, and to restart two times to get back the native resolution on the DP monitor… This is a pain in the butt.
So, after looking at this thread, here’s some more info in case it helps any of you suggest anything:
Looking at the Xorg logfiles, it doesn’t seem like it’s using the edid file at all, it still pulls (sometimes incorrectly) the info from the monitor.
Here’s the log file for this last boot: Hastebin
Will try to get another log when this happens again.
In the meantime, can anyone suggest what I could try next?