SCREENSHOT:

In Windows 10 > Settings > System > Power & Sleep:

Screen: When plugged in, turn off after: 1 minute # WORKS FINE, as
expected.

NOTE: Windows 10 is on legacy BIOS, while Ubuntu is on UEFI.

** Attachment added: "Windows10-Power-and-sleep.png"
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/2084256/+attachment/5827145/+files/Windows10-Power-and-sleep.png

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/2084256

Title:
  "Screen Blank" or "Screen Lock" gives a black screen, but not really
  OFF! (DPMS...)

Status in xorg package in Ubuntu:
  New

Bug description:
  ### Bug description
  I want to turn off the LCD screen and its LED backlight to prevent it from 
wearing out too quickly and to save electricity. But I see that the screen 
turns back on, a few seconds later. It's subtle, because the screen displays a 
100% black image, but I see that the LED backlight is still on, and therefore 
the LCD too, which displays black. I can see it when I turn off the room 
lighting around me and then look at the screen carefully... It's not a real 
total black, just a kind of very dark gray...

  This happens in several situations. Either with the screen lock
  keyboard shortcut (Ctrl+L), or by clicking on the lock icon in the
  quick settings, or with the Gnome GUI Settings > Power > Power Saving
  > Screen Blank: xx minutes.

  I guess there is a problem with the Display Power Management Signaling
  (DPMS) at the root of all this.!?

  ### To Reproduce

   1. Lock your screen: press Super+L, or click on the screen lock icon,
      or `dbus-send --type=method_call --dest=org.gnome.ScreenSaver
      /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock`
   2. See your desktop background picture blurred with the time displayed
      in large letters on top, then turning black about a second later.
   3. Turn off the lights around you and look at your screen carefully: **it
      displays black but is not really OFF.**

  ### Expected behavior

  I would expect the LED backlight and the LCD display to be off when
  the screen blanks or locks. Because I don't want my LCD-LED screen to
  wear out too quickly. These screens tend to deteriorate over time.
  Turning them off helps preserve colour accuracy, and also saves
  electricity. Check my screenshot: "Turn the screen OFF after a period
  of inactivity". That doesn't work either.

  ### Desktop (please complete the following information):
  ```
  System:
    Host: HP-EliteDesk Kernel: 6.8.0-45-generic arch: x86_64 bits: 64
    Desktop: GNOME v: 46.0 Distro: Ubuntu 24.04.1 LTS (Noble Numbat)
  Graphics:
    Device-1: Intel HD Graphics 530 driver: i915 v: kernel
    Display: wayland server: X.Org v: 23.2.6 with: Xwayland v: 23.2.6
      compositor: gnome-shell driver: X: loaded: modesetting unloaded: 
fbdev,vesa
      dri: iris gpu: i915 resolution: 1920x1080~100Hz
    API: EGL v: 1.5 drivers: iris,swrast
      platforms: wayland,x11,surfaceless,device
    API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.0.9-0ubuntu0.1
      renderer: Mesa Intel HD Graphics 530 (SKL GT2)
  ```
  Screen display connection: DisplayPort (DP) to HDMI  
  Screen display brand/model: LG 24" FHD 100Hz 5ms IPS Monitor (24MR400)  

  ### Additional context
  In addition to my regular Wayland sessions, I also did a quick test on a 
"classic" Xorg session. From there, I could do the classic:
  ```
  sleep 1; xset dpms force off
  ```
  Well, it bounces back all lit up a few seconds later. And now the screen 
isn't black, I can see my desktop and windows.

  I found a workaround. In my screen settings, I set: Input > Auto Input
  Switch: off. This means the screen won't try to switch from HDMI to
  D-SUB. When set that way, the screen stays off, as long as I don't
  touch the mouse or keyboard.

  I found that DPMS will sometimes work well, and sometimes not. And it
  depends on the monitor settings. It's reproducible, constant, on my
  monitor.

  Anyway, the problem seems to come from an exchange of signals between
  the monitor and the computer. I guess it has to do with the DDC?

  In any case, it's neither the computer nor the screen that is
  defective. On Windows 10, the same set works as it should. And then on
  Ubuntu, at least, when I put the computer to sleep, the screen turns
  off automatically, without fail, every time.

  ### One more thing
  I reset my screen to factory settings, i.e. auto-switching between HDMI and 
D-SUB. Then I log into a "classic" Xorg session and do this:
  ```
  sleep 1; xset dpms force off; sleep 10; xset q | grep "Monitor is"
    Monitor is Off
  ```

  Well, that's not true! Monitor is back on, obviously. And then I just touch 
the keyboard to type this:
  ```
  xset q | grep "Monitor is"
    Monitor is On
  ```

  Yes, "Monitor is On"...

  P.S.: I think many people are affected. I saw it on various forums.
  But I couldn't find an exact duplicate of my bug description here. I
  hope you find this interesting, as it took hours to investigate and
  write...

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: xorg 1:7.7+23ubuntu3
  ProcVersionSignature: Ubuntu 6.8.0-45.45-generic 6.8.12
  Uname: Linux 6.8.0-45-generic x86_64
  ApportVersion: 2.28.1-0ubuntu3.1
  Architecture: amd64
  BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
  CasperMD5CheckResult: pass
  CompositorRunning: None
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Oct 11 09:08:39 2024
  DistUpgraded: Fresh install
  DistroCodename: noble
  DistroVariant: ubuntu
  ExtraDebuggingInterest: Yes, if not too technical
  GraphicsCard:
   Intel Corporation HD Graphics 530 [8086:1912] (rev 06) (prog-if 00 [VGA 
controller])
     Subsystem: Hewlett-Packard Company HD Graphics 530 [103c:8054]
  InstallationDate: Installed on 2024-06-28 (105 days ago)
  InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
  Lsusb:
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
   Bus 001 Device 002: ID 046d:c52f Logitech, Inc. Unifying Receiver
   Bus 001 Device 003: ID 04f3:0103 Elan Microelectronics Corp. ActiveJet 
K-2024 Multimedia Keyboard
   Bus 001 Device 004: ID 2357:0604 TP-Link TP-Link UB500 Adapter
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  MachineType: HP HP EliteDesk 800 G2 SFF
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.8.0-45-generic 
root=/dev/mapper/ubuntu--vg-ubuntu--lv ro quiet splash vt.handoff=7
  SourcePackage: xorg
  Symptom: display
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 09/13/2022
  dmi.bios.release: 2.59
  dmi.bios.vendor: HP
  dmi.bios.version: N01 Ver. 02.59
  dmi.board.name: 8054
  dmi.board.vendor: HP
  dmi.board.version: KBC Version 05.39
  dmi.chassis.type: 4
  dmi.chassis.vendor: HP
  dmi.ec.firmware.release: 5.57
  dmi.modalias: 
dmi:bvnHP:bvrN01Ver.02.59:bd09/13/2022:br2.59:efr5.57:svnHP:pnHPEliteDesk800G2SFF:pvr:rvnHP:rn8054:rvrKBCVersion05.39:cvnHP:ct4:cvr:skuV8Y48UP#ABC:
  dmi.product.family: 103C_53307F G=D
  dmi.product.name: HP EliteDesk 800 G2 SFF
  dmi.product.sku: V8Y48UP#ABC
  dmi.sys.vendor: HP
  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.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/xorg/+bug/2084256/+subscriptions


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

Reply via email to