Created attachment 343872 [details]
I run a system with 4 monitors on 1 nvidia gpu. I combine them into a single screen using nvidia twinview. I have the monitor arrangement and primary monitor defined in xorg.conf.
When GDM starts via /etc/init.d/xdm start it take a long time to display signon and then changes to metamode so that the monitors are arranged in order with dfp-0 being primary.
I have the following order defined:
DPF-0, DFP-2, DFP-3, DFP-1 with DFP-3 primary
I end up with:
DFP-0, DFP-1, DFP-2, DFP-3 with DFP-0 primary.
I am attaching Xorg.0.log and xorg.conf
The change of metamode can be seen in Xorg.0.log
After signon, I change the monitor arrangement and primary monitor with nvidia-settings and all is fine for the rest of the session including restarts of gnome-shell.
Created attachment 343874 [details]
I would send this directly to upstream:
and post link here for tracking
gdm-3.8 uses xrandr to setup the monitors.
Try to configure your displays with 'gnome-control-center display' and copy ~/.config/monitors.xml to /etc/gnome-settings-daemon/xrandr/monitors.xml
Thanks that works around the problem. What do you think should be done to get in sync with nvidia-settings?
(In reply to comment #4)
> Thanks that works around the problem. What do you think should be done to
> get in sync with nvidia-settings?
I don't use nvidia-settings any more.
I think nvidia-settings was a workaround for the nvidia-drivers not supporting xrandr...
(In reply to poncho from comment #3)
> gdm-3.8 uses xrandr to setup the monitors.
> Try to configure your displays with 'gnome-control-center display' and copy
> ~/.config/monitors.xml to /etc/gnome-settings-daemon/xrandr/monitors.xml
Oh, wasn't aware of this; I basically figured out reading the g-s-d source code, could we perhaps document this somewhere? Or is it documented?
This idea was to include that information in upgrade guide (that is the reason this bug is blocking the documentation one), but haven't had time to work on upgrade guide yet :'(
(In reply to Tom Wijsman (TomWij) from comment #6)
> Oh, wasn't aware of this; I basically figured out reading the g-s-d source
> code [...
I found it while browsing the settings with dconf-editor:
gsettings get org.gnome.settings-daemon.plugins.xrandr default-configuration-file