Since updating Linux Mint's Nvidia driver, I've found my second monitor is not waking up at boot.
Running xrandr | grep ' connected'
gives:
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
DP-1-0 connected (normal left inverted right x axis y axis)
So the monitor is connected. eDP-1
is my laptop display, DP-1-0
is the second monitor running on displayport. If in doubt run xrandr
without the grep to try
and work out which is which by looking at the resolutions
Some solutions recommend xset dpms force on
to wake up the monitor. This did not work for me. Instead I reset the layout using
xrandr --output eDP-1 --mode 1920x1080 --output DP-1-0 --mode 2560x1440 --right-of eDP-1 --primary
Here I've set the resolutions, layout of the monitors with --right-of eDP1
and set the primary monitor.