Apologies for the delayed reply. I've done some additional testing,
including the Wayland session.  Here my findings:

removed .config/monitors.xml and .config/monitors.xml~
unplugged monitor cable, unplugged monitor power
shutdown > start-up
Set display preferences for single/laptop screen
shutdown > start-up
plugged in monitor power
plugged in monitor to laptop
- no change -
opened display settings
monitor starts up as second screen
changed settings as needed for both screens > apply > keep settings
second monitor switches off
shutdown and restart > second monitor on and with correct settings
lock screen > wait for second monitor to go back to sleep
-- correct behaviour resumes -- 
wake screen > both monitors resume as expected 
suspend machine > resume > both monitors resume as expected
-- END--
unplug second monitor > single/laptop display resumes correctly
plug second monitor back in, display remains unchanged (laptop/single only)
unplug second monitor 
suspend laptop 
plug in second monitor
resume laptop, second monitor remains off
logout
login screen displayed with second screen now enabled
login 
display resets to multiple display desktop but second screen remains off
remove second screen > display resets correctly to single laptop screen
shutdown
--- correct behaviour resumes --
plugin in second monitor
start
both screens active including login
login
both screens working as expected
lock screen > all screens suspend
move mouse to active screens > both resume and can login 
suspend
suspend machine > resume > both monitors resume as expected
suspend > unplug second monitor > resume > single display/laptop works as 
expected
-- END --
suspend > plugin in second monitor > resume > display remains in "single" mode 
> second monitor remains off
restart gnome-shell (Alt+F2 > r) display resets to correct two display setup 
with second monitor on
lock screen > monitor suspend > move mouse to activate screens > only laptop 
screen wakes up
shutdown
--- correct behaviour resumes --
start
both screens active including login
login
both screens working as expected
lock screen > all screens suspend
move mouse to active screens > both resume and can login 
suspend
suspend machine > resume > both monitors resume as expected
END TESTING

Wayland
---------
setup second display, all working as expected (lock screen and suspend resume 
work fine)
remove second screen > screen resets to single display
plug in second screen > no change
open display settings > display settings do not recognise second screen
logout
login screen, both displays work
login > both displays working as expected (lock screen and suspend resume work 
fine)
suspend > remove second display > resume
single display resets as expected
suspend > add second screen > resume
second screen remains off, display remains in 'single' display mode.
logout
login screen, both displays work
login > both displays working as expected (lock screen and suspend resume work 
fine)
END WAYLAND TESTING

Thanks for the time and effort all.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1886672

Title:
  Second screen is not always made to awaken when using multiple
  displays. Desktop is multiple display, but only laptop screen is on
  while second screen sometimes remains off

Status in mutter package in Ubuntu:
  Incomplete
Status in xorg-server package in Ubuntu:
  Incomplete

Bug description:
  New bug for me. Issue was fine till last week. I think this may be
  related to the following as it started happening shortly thereafter.

  I have XPS13 with second monitor, all working fine till I lock screen
  or suspend. Then my second monitor will not 'resume'. I.e. stays off.

  This behaviour started after (or shortly after) playing a wine game
  using Lutris to launch. Shutting game down and almost immediately
  hitting suspend on the laptop. Was rushing out.

  It's a wild shot in the dark but I think something got messed up / not
  saved correctly in this process.

  To get it working I need to unplug monitor (using USB-C > HDMI) >
  suspend > plug in monitor > resume and sometimes still need to open
  display settings before it 'kicks in'. Damn annoying. Hope someone can
  help :)

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: xorg 1:7.7+19ubuntu14
  ProcVersionSignature: Ubuntu 5.4.0-40.44-generic 5.4.44
  Uname: Linux 5.4.0-40-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.3
  Architecture: amd64
  BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
  CasperMD5CheckResult: skip
  CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
  CompositorRunning: None
  CurrentDesktop: GNOME
  Date: Tue Jul  7 16:44:52 2020
  DistUpgraded: 2020-05-15 15:17:42,708 DEBUG Running PostInstallScript: 
'./xorg_fix_proprietary.py'
  DistroCodename: focal
  DistroVariant: ubuntu
  ExtraDebuggingInterest: Yes, if not too technical
  GraphicsCard:
   Intel Corporation UHD Graphics 620 [8086:5917] (rev 07) (prog-if 00 [VGA 
controller])
     Subsystem: Dell UHD Graphics 620 [1028:082a]
  InstallationDate: Installed on 2019-01-29 (525 days ago)
  InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 
(20180725)
  MachineType: Dell Inc. XPS 13 9360
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.4.0-40-generic 
root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7
  SourcePackage: xorg
  Symptom: display
  UpgradeStatus: Upgraded to focal on 2020-05-15 (53 days ago)
  dmi.bios.date: 11/14/2019
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 2.13.0
  dmi.board.name: 0PVG6D
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 9
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr2.13.0:bd11/14/2019:svnDellInc.:pnXPS139360:pvr:rvnDellInc.:rn0PVG6D:rvrA00:cvnDellInc.:ct9:cvr:
  dmi.product.family: XPS
  dmi.product.name: XPS 13 9360
  dmi.product.sku: 082A
  dmi.sys.vendor: Dell Inc.
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.101-2
  version.libgl1-mesa-dri: libgl1-mesa-dri 20.0.8-0ubuntu1~20.04.1
  version.libgl1-mesa-glx: libgl1-mesa-glx 20.0.8-0ubuntu1~20.04.1
  version.xserver-xorg-core: xserver-xorg-core 2:1.20.8-2ubuntu2.1
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20200226-1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.16-1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1886672/+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