FYI, I had the problems of nVidia settings not surviving since 18.04
(and every release in between) up to 20.04.

I believe the underlying cause is that gdm3 greeter opens a new X Screen
for the user session after login, and a discrepancy between the X screen
configurations cannot be resolved because there is no way -- or, more
precisely, none that I'm aware of -- that would allow storing anywhere,
a configuration for the new X Screen that gets spawned.

Proof of the existence of a new X Screen can be found by starting a
remote terminal session against the target system and then running "sudo
lsof /tmp/.X11-unix/X* ". Before the login, only one pid exists from
node "/tmp/.X11-unix/X0". After the login, a second pid exists from node
"/tmp/.X11-unix/X1". I believe this "X0" and "X1" refer to "X Screen 0"
and "X Screen 1", but the /etc/X11/xorg.conf file know only about Screen
0 -- therefore initializing a new screen after every login and/or return
after the screen saver has been used.

Further proof can be found by switching from gdm3 to lightdm by issuing
"sudo dpkg-reconfigure lightdm". This causes other problems (with
background screens and alignment of screens, etc), but it proves the
fact that monitor layout configurations survive on the same
hardware/software components (specifically, same version of nVidia
drivers, xorg.conf files, ec), when all that changes is the display
manager and how it handles X Screens.

You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to mutter in Ubuntu.

  [nvidia] Dual monitor setup with secondary monitor in portrait-right
  mode cause tiled windows to occupy 1.5 monitors

To manage notifications about this bug go to:

desktop-bugs mailing list

Reply via email to