Monitor will not go to sleep

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
supersoup
Level 1
Level 1
Posts: 7
Joined: Fri Sep 30, 2022 12:49 am

Monitor will not go to sleep

Post by supersoup »

Hello,

I've noticed that on returning to my computer after hours, the monitors will still be on and it will not have locked. I verified that in Power Management, it was set to "Turn off the screen when inactive for [15 minutes]" and that for the Screensaver, the "Delay before starting the screensaver [15 minutes]" and "Delay before locking [10 minutes]" were set as well as the toggles for "Lock the computer when put to sleep" and "Lock the computer after the screensaver starts."

As a troubleshooting step, I set "Turn off the screen when in active for [5 minutes]" and sat there with a timer to watch the screen, rolled back from the desk to ensure I didn't bump it. I also closed all open applications prior to this test. After 7 minutes I had to call it.

Obligatory system details as tribute so I can actually get a meaningful response, hopefully.
updated-neofetch.png
supersoup
Level 1
Level 1
Posts: 7
Joined: Fri Sep 30, 2022 12:49 am

Re: Monitor will not go to sleep

Post by supersoup »

Partial solution: I was able to use the xset command to specify a standby time for dpms (Display Power Management Signaling). xset -q can be used to see your current system settings for a lot of things, of which your display specific settings are only a small part. You can use the command xset dpms x y z, where x is the time to standby, y is the time to suspend, and z is the time to power off, all in seconds. Note that suspend and power off (based on some cursory research) are seemingly legacy settings largely intended for CRT monitors, so for modern LCDs we need only concern ourself with the first variable. So something like xset dpms 600 is sufficient to set your display(s) to enter standby mode in 600 seconds, or 10 minutes.

Why the Power Management options in System Settings don't seem to affect it is another problem.
User avatar
SMG
Level 23
Level 23
Posts: 18734
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Monitor will not go to sleep

Post by SMG »

supersoup wrote:
Fri Oct 07, 2022 1:34 pm
Obligatory system details as tribute so I can actually get a meaningful response, hopefully.
Please open the System Reports app and click the System Information tab on the left. Your computer's information should come up in the right pane. Then click Copy, and paste the results into a reply window here so we can see how Linux Mint views your hardware. Neofetch does not give driver information.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
antikythera
Level 15
Level 15
Posts: 5724
Joined: Thu Jul 02, 2020 12:52 pm
Location: Cymru

Re: Monitor will not go to sleep

Post by antikythera »

Do you have any wireless usb peripherals? They can keep a PC awake with the screen on, I have a wireless game controller receiver that does that. It's plugged into a port on my monitor but that's kind of irrelevant. It doesn't matter where it's plugged in (PC ports front or back, keyboard or monitor ports) as disconnecting it is the only solution.
I’ll tell you a DNS joke but be advised, it could take up to 24 hours for everyone to get it.
supersoup
Level 1
Level 1
Posts: 7
Joined: Fri Sep 30, 2022 12:49 am

Re: Monitor will not go to sleep

Post by supersoup »

SMG wrote:
Sun Oct 09, 2022 8:10 pm
Copy, and paste the results into a reply window here so we can see how Linux Mint views your hardware

Code: Select all

System:
  Kernel: 5.15.0-48-generic x86_64 bits: 64 compiler: gcc v: 11.2.0 Desktop: Cinnamon 5.4.12
    tk: GTK 3.24.33 wm: Mutter dm: LightDM Distro: Linux Mint 21 Vanessa base: Ubuntu 22.04 jammy
Machine:
  Type: Desktop Mobo: ASUSTeK model: TUF GAMING X570-PLUS (WI-FI) v: Rev X.0x
    serial: <superuser required> UEFI: American Megatrends v: 2607 date: 08/14/2020
CPU:
  Info: 6-core model: AMD Ryzen 5 3600 bits: 64 type: MT MCP arch: Zen 2 rev: 0 cache: L1: 384 KiB
    L2: 3 MiB L3: 32 MiB
  Speed (MHz): avg: 3327 high: 4191 min/max: 2200/4208 boost: enabled cores: 1: 4191 2: 2096
    3: 2083 4: 4176 5: 4031 6: 3699 7: 3922 8: 2061 9: 2027 10: 4184 11: 3269 12: 4187
    bogomips: 86235
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: AMD Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] vendor: Micro-Star MSI
    driver: amdgpu v: kernel pcie: speed: 16 GT/s lanes: 16 ports: active: DP-1,DP-2
    empty: DP-3,HDMI-A-1 bus-ID: 0b:00.0 chip-ID: 1002:731f
  Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: amdgpu,ati
    unloaded: fbdev,modesetting,radeon,vesa gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x1080 s-dpi: 96
  Monitor-1: DisplayPort-0 mapped: DP-1 pos: primary,right model: Asus VG248 res: 1920x1080
    dpi: 92 diag: 609mm (24")
  Monitor-2: DisplayPort-1 mapped: DP-2 pos: primary,left model: Dell P2417H res: 1920x1080
    dpi: 93 diag: 604mm (23.8")
  OpenGL: renderer: AMD Radeon RX 5700 (navi10 LLVM 14.0.6 DRM 3.42 5.15.0-48-generic)
    v: 4.6 Mesa 22.2.0 - kisak-mesa PPA direct render: Yes
Audio:
  Device-1: AMD Navi 10 HDMI Audio driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: 0b:00.1 chip-ID: 1002:ab38
  Device-2: AMD Starship/Matisse HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie:
    speed: 16 GT/s lanes: 16 bus-ID: 0d:00.4 chip-ID: 1022:1487
  Device-3: Logitech PRO X Wireless Gaming Headset type: USB
    driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-2:2 chip-ID: 046d:0aba
  Sound Server-1: ALSA v: k5.15.0-48-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Wireless-AC 9260 driver: iwlwifi v: kernel pcie: speed: 5 GT/s lanes: 1
    bus-ID: 04:00.0 chip-ID: 8086:2526
  IF: wlp4s0 state: down mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK driver: r8169
    v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 05:00.0 chip-ID: 10ec:8168
  IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: Intel Wireless-AC 9260 Bluetooth Adapter type: USB driver: btusb v: 0.8 bus-ID: 3-5:2
    chip-ID: 8087:0025
  Report: hciconfig ID: hci0 rfk-id: 0 state: down bt-service: enabled,running rfk-block:
    hardware: no software: yes address: <filter>
Drives:
  Local Storage: total: 2.73 TiB used: 169.16 GiB (6.1%)
  ID-1: /dev/nvme0n1 vendor: Western Digital model: WDBRPG0010BNC-WRSN size: 931.51 GiB
    speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 33.9 C
  ID-2: /dev/sda vendor: Samsung model: SSD 870 QVO 2TB size: 1.82 TiB speed: 6.0 Gb/s
    serial: <filter>
Partition:
  ID-1: / size: 915.32 GiB used: 169.15 GiB (18.5%) fs: ext4 dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 511 MiB used: 8.6 MiB (1.7%) fs: vfat dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 6 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002
  Device-1: 1-2:2 info: Logitech PRO X Wireless Gaming Headset type: Audio,HID
    driver: hid-generic,snd-usb-audio,usbhid rev: 1.1 speed: 12 Mb/s chip-ID: 046d:0aba
  Hub-2: 2-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 6 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002
  Device-1: 3-5:2 info: Intel Wireless-AC 9260 Bluetooth Adapter type: Bluetooth driver: btusb
    rev: 2.0 speed: 12 Mb/s chip-ID: 8087:0025
  Device-2: 3-6:3 info: ASUSTek AURA LED Controller type: HID driver: hid-generic,usbhid
    rev: 2.0 speed: 12 Mb/s chip-ID: 0b05:18f3
  Hub-4: 4-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
  Hub-5: 5-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002
  Device-1: 5-1:2 info: SteelSeries ApS Apex M750 type: Keyboard,HID driver: hid-generic,usbhid
    rev: 2.0 speed: 12 Mb/s chip-ID: 1038:0616
  Device-2: 5-2:3 info: Logitech G502 SE HERO Gaming Mouse type: Mouse,HID
    driver: hid-generic,usbhid rev: 2.0 speed: 12 Mb/s chip-ID: 046d:c08b
  Hub-6: 6-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
Sensors:
  System Temperatures: cpu: N/A mobo: N/A gpu: amdgpu temp: 41.0 C mem: 50.0 C
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 0
Repos:
  Packages: 2779 apt: 2738 flatpak: 41
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/additional-repositories.list
    1: deb [arch=amd64 signed-by=/usr/share/keyrings/unity-key.gpg] https: //hub.unity3d.com/linux/repos/deb stable main
  Active apt repos in: /etc/apt/sources.list.d/kisak-kisak-mesa-jammy.list
    1: deb [arch=amd64 signed-by=/usr/share/keyrings/kisak-mesa.gpg] http: //ppa.launchpad.net/kisak/kisak-mesa/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http: //packages.linuxmint.com vanessa main upstream import backport
    2: deb http: //archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http: //archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http: //archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/winehq-jammy.sources
    1: deb [arch=amd64 i386] https: //dl.winehq.org/wine-builds/ubuntu jammy main
Info:
  Processes: 343 Uptime: 22h 1m Memory: 31.26 GiB used: 3.64 GiB (11.7%) Init: systemd v: 249
  runlevel: 5 Compilers: gcc: 11.2.0 alt: 11 Client: Unknown python3.10 client inxi: 3.3.13
antikythera wrote:
Sun Oct 09, 2022 8:59 pm
Do you have any wireless usb peripherals? They can keep a PC awake with the screen on, I have a wireless game controller receiver that does that. It's plugged into a port on my monitor but that's kind of irrelevant. It doesn't matter where it's plugged in (PC ports front or back, keyboard or monitor ports) as disconnecting it is the only solution.
Yes, I have a wireless headset. How might I go about finding it's device id and setting it to be ignored for wake-on functionality? Or to rephrase, it doesn't seem like either the bus id or the chip id listed in the System Information can be found with cat /proc/acpi/wakeup, so I assume I'm looking for a different one? Or perhaps I need to look elsewhere?
User avatar
SMG
Level 23
Level 23
Posts: 18734
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Monitor will not go to sleep

Post by SMG »

supersoup wrote:
Mon Oct 10, 2022 6:30 pm
Yes, I have a wireless headset.
Have you confirmed the headset is the issue? If the headset is off and not in range of the computer, will the monitor go to sleep?

Multiple people have reported issues of the monitor not sleeping and noticed there have been differences related to which port the monitor is attached. Some people only had the problem with their HDMI port while others discovered the reverse happening. It is also possible the issue might relate to the amdgpu graphics driver (which controls the GPU's ports).
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
antikythera
Level 15
Level 15
Posts: 5724
Joined: Thu Jul 02, 2020 12:52 pm
Location: Cymru

Re: Monitor will not go to sleep

Post by antikythera »

supersoup wrote:
Mon Oct 10, 2022 6:30 pm
Yes, I have a wireless headset. How might I go about finding it's device id and setting it to be ignored for wake-on functionality? Or to rephrase, it doesn't seem like either the bus id or the chip id listed in the System Information can be found with cat /proc/acpi/wakeup, so I assume I'm looking for a different one? Or perhaps I need to look elsewhere?
Remove the USB headset dongle and see if the expected sleep behaviour happens. You can always plug that back in again and it's far easier than experimenting with settings changes to do with the GPU or any other component's sleep states to begin with.

If that doesn't help, try the same with the ASUS RGB controller

I note you are also using kisak PPA drivers for the GPU, so that may affect the system's ability to sleep the monitor as compared to using stock drivers.
I’ll tell you a DNS joke but be advised, it could take up to 24 hours for everyone to get it.
Post Reply

Return to “Beginner Questions”