Dear @vanvugt and all,
I am so happy to find this issue, because I suffer from the same problem. 
However I am very surprised to see this issue closed as fixed, when @raffaeler 
was saying that the proposed fix does *not* solve the main problem (and it does 
not solve it for me either)!

So the original, main problem reported here in this issue is (quoting from OP):
----
After a period of inactivity, the screens get blanked as configured.
When I move the mouse and the screens unblank, sometimes (not always) the 
configuration is changed by mirroring the same content on the two displays. 
Anyway, the display are still configured as extended in the applet.
Trying to change some settings to restore the desired configuration never work.
----

I have exactly this problem, and it is driving me crazy. The problem appeared 
for me with Ubuntu 22.04, after I changed:
 - Second monitor was set from older HDMI standard to HDMI 1.4
 - Screen resolution was increased from 1920x1080 to 3840x2160 @60 Hz

Prior to that, I never had problems with the displays or their configuration. 
After that change, the problem persists. Here is what I tried:
 - Update from Ubuntu 22.04 to 24.04
 - Change NVIDIA driver from 535 to 550
 - Change NVIDIA driver to nouveau
 - Unplug and re-plug all cables

Nothing helped. I'm using X11 instead of wayland, because currently
VSCode does not support wayland (yet). Not sure if this is related.

Attached a snipped from syslog from when the issue comes.

** Attachment added: "syslog-x11-error.txt"
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/2075525/+attachment/5815624/+files/syslog-x11-error.txt

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

Title:
  After screen blank, the displays configuration gets lost

Status in ubuntu-drivers-common package in Ubuntu:
  Fix Released

Bug description:
  I have configured the host screen with two monitors extending the desktop.
  They are both configured at 3840x2160, scale 150%, fractional scaling: yes.

  After a period of inactivity, the screens get blanked as configured.
  When I move the mouse and the screens unblank, sometimes (not always) the 
configuration is changed by mirroring the same content on the two displays. 
Anyway, the display are still configured as extended in the applet.
  Trying to change some settings to restore the desired configuration never 
work.
  I have to unbplug and re-plug the second monitor.

  But sometimes, after unplugging and replugging the secondary monitor,
  the session crashes, all the apps are terminated and I get just the
  logon screen.

  In other words, gnome is not able to manage reliably the blank/unblank cycle 
in a multi-monitor configuration.
  I also tried with the AMD built-in graphics card and the behavior is exactly 
the same. Therefore I don“t think that the NVidia driver has anything to do 
with it.

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: xorg 1:7.7+23ubuntu3
  ProcVersionSignature: Ubuntu 6.8.0-39.39-generic 6.8.8
  Uname: Linux 6.8.0-39-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  .proc.driver.nvidia.capabilities.gpu0: Error: path was not a regular file.
  .proc.driver.nvidia.capabilities.mig: Error: path was not a regular file.
  .proc.driver.nvidia.gpus.0000.01.00.0: Error: path was not a regular file.
  .proc.driver.nvidia.registry: Binary: ""
  .proc.driver.nvidia.suspend: suspend hibernate resume
  .proc.driver.nvidia.suspend_depth: default modeset uvm
  .proc.driver.nvidia.version:
   NVRM version: NVIDIA UNIX x86_64 Kernel Module  535.183.01  Sun May 12 
19:39:15 UTC 2024
   GCC version:
  ApportVersion: 2.28.1-0ubuntu3
  Architecture: amd64
  CasperMD5CheckResult: pass
  CompositorRunning: None
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Aug  1 16:41:52 2024
  DistUpgraded: 2024-05-30 18:43:55,152 DEBUG migrateToDeb822Sources()
  DistroCodename: noble
  DistroVariant: ubuntu
  GraphicsCard:
   NVIDIA Corporation GP106 [GeForce GTX 1060 3GB] [10de:1c02] (rev a1) 
(prog-if 00 [VGA controller])
     Subsystem: Gigabyte Technology Co., Ltd GP106 [GeForce GTX 1060 3GB] 
[1458:3722]
   Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev c9) (prog-if 
00 [VGA controller])
     Subsystem: ASUSTeK Computer Inc. Raphael [1043:8877]
  InstallationDate: Installed on 2023-12-11 (234 days ago)
  InstallationMedia: Ubuntu-Server 23.04 "Lunar Lobster" - Release amd64 
(20230415)
  MachineType: ASUS System Product Name
  ProcEnviron:
   LANG=en_US.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.8.0-39-generic 
root=UUID=445b6419-9578-4846-99e2-eb90362e1711 ro amd_iommu=on pcie_port_pm=off 
kvm.ignore_msrs=1 iommu=pt kvm_amd.npt=1 kvm_amd.avic=1 
vfio-pci.ids=10de:2805,10de:22bd
  SourcePackage: xorg
  Symptom: display
  UpgradeStatus: Upgraded to noble on 2024-05-30 (63 days ago)
  dmi.bios.date: 04/12/2024
  dmi.bios.release: 20.7
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 2007
  dmi.board.asset.tag: Default string
  dmi.board.name: ProArt X670E-CREATOR WIFI
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: Rev 1.xx
  dmi.chassis.asset.tag: Default string
  dmi.chassis.type: 3
  dmi.chassis.vendor: Default string
  dmi.chassis.version: Default string
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr2007:bd04/12/2024:br20.7:svnASUS:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnProArtX670E-CREATORWIFI:rvrRev1.xx:cvnDefaultstring:ct3:cvrDefaultstring:skuSKU:
  dmi.product.family: To be filled by O.E.M.
  dmi.product.name: System Product Name
  dmi.product.sku: SKU
  dmi.product.version: System Version
  dmi.sys.vendor: ASUS
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.120-2build1
  version.libgl1-mesa-dri: libgl1-mesa-dri 24.0.9-0ubuntu0.1
  version.libgl1-mesa-glx: libgl1-mesa-glx N/A
  version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
  version.xserver-xorg-core: xserver-xorg-core 2:21.1.12-1ubuntu1
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:22.0.0-1build1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20210115-1build1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 
1:1.0.17-2build1

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