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 Desktop
Packages, which is subscribed to gnome-control-center in Ubuntu.
https://bugs.launchpad.net/bugs/1874217

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

Status in gnome-control-center:
  Unknown
Status in gnome-control-center package in Ubuntu:
  Confirmed
Status in mutter package in Ubuntu:
  Confirmed

Bug description:
  I'm on Ubuntu 20.04 AMD64 fully up to date and freshly rebooted.

  I use dual screen : the main screen is on the left side (32"), the
  secondary screen (19") is at right and in portrait mode (rotated
  right). The window are improperly growed : they extend from full main
  screen to half the "witdh" of the secondary screen. Additionnally, the
  « pop-up » menus (eg. from settings) do not appear at the right place
  (see screen capture in comment). The problem disappears if I revert
  the orientation of secondary screen from « portrait turned right » to
  « landscape ». I do have gnome-shell-extension-ubuntu-dock in version
  67ubuntu20.04.5, but still got the problem.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: gnome-shell 3.36.1-5ubuntu1
  ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
  Uname: Linux 5.4.0-26-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Wed Apr 22 11:11:25 2020
  DisplayManager: gdm3
  InstallationDate: Installed on 2020-04-19 (2 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200402)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  RelatedPackageVersions: mutter-common 3.36.1-3ubuntu3
  SourcePackage: gnome-shell
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/1874217/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to