External monitor stops Sleep cycle

Not sure if it’s the same, but my Fedora/monitor setup also had similar problem. In my case, I set my laptop screen as primary monitor and an external display (from ASUS) as secondary.

My situation is:

  • If the external monitor wasn’t plugged in, the primary screen goes to sleep as normal;
  • If I plugged the external monitor in, after 5 minutes of idle, both screen goes sleep initially, but then turn back on after ~5 seconds, in a very similar fashion mentioned in the main post. Through the machine in the main post seemed like a desktop.

What I’ve discovered after fondling the settings on the external monitor, is that if I turn off “Auto Source Detection” feature (see picture below), then both screen goes to sleep as normal.

Maybe worth a try if your monitor offers the same feature.

However, I do still think this is a software issue, since the same monitor and setup worked just fine under Windows (eww, but yeah).

1 Like

Added multiple-displays and removed cinnamon

Welcome to :fedora:

If you are having issues still, please post the output of inxi -Fzxx so we can see your hardware and current build config.

Please use preformatted text </>
2024-05-06_12-15-49_Preformatted_Text

Thanks! I first encountered the problem in 2020 since my correct Fedora instance was installed. I bookmarked the post back then to track their process, which they resolved by “(obtaining) a new laptop”.

Because of the fact that I did not actually resolve the issue, here is my output of inxi -Fzxx as requested:

$ inxi -Fzxx 
System:
  Kernel: 6.9.8-200.fc40.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.41-37.fc40
  Desktop: GNOME v: 46.3.1 tk: GTK v: 3.24.42 wm: gnome-shell dm: GDM
    Distro: Fedora Linux 40 (Workstation Edition)
Machine:
  Type: Laptop System: LENOVO product: 21EF0002CD v: ThinkPad neo 14
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 21EF0002CD v: ThinkPad serial: <superuser required>
    part-nu: LENOVO_MT_21EF_BU_Think_FM_ThinkPad neo 14 UEFI: LENOVO
    v: R21ET42W (1.16 ) date: 09/29/2022
Battery:
  ID-1: BAT0 charge: 41.1 Wh (73.0%) condition: 56.3/57.0 Wh (98.8%)
    volts: 12.2 min: 11.5 model: SMP L21M3PD4 serial: <filter>
    status: not charging
CPU:
  Info: 8-core model: AMD Ryzen 7 6800H with Radeon Graphics bits: 64
    type: MT MCP arch: Zen 3+ rev: 1 cache: L1: 512 KiB L2: 4 MiB L3: 16 MiB
  Speed (MHz): avg: 494 high: 1906 min/max: 400/4785 cores: 1: 400 2: 400
    3: 1906 4: 400 5: 400 6: 400 7: 400 8: 400 9: 400 10: 400 11: 400 12: 400
    13: 400 14: 400 15: 400 16: 400 bogomips: 102212
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: AMD Rembrandt [Radeon 680M] vendor: Lenovo driver: amdgpu
    v: kernel arch: RDNA-2 pcie: speed: 16 GT/s lanes: 16 ports:
    active: HDMI-A-1,eDP-1 empty: DP-1, DP-2, DP-3, DP-4, DP-5, DP-6,
    Writeback-1 bus-ID: 33:00.0 chip-ID: 1002:1681 temp: 46.0 C
  Device-2: Syntek Integrated Camera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 bus-ID: 5-1:2 chip-ID: 174f:1811
  Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 24.1.1
    compositor: gnome-shell driver: X: loaded: amdgpu
    unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu display-ID: 0
  Monitor-1: HDMI-A-1 model: PA278QEV res: 2560x1440 dpi: 109
    diag: 685mm (27")
  Monitor-2: eDP-1 model: AU Optronics 0xa195 res: 2240x1400 dpi: 190
    diag: 354mm (13.9")
  API: OpenGL v: 4.6 vendor: amd mesa v: 24.1.2 glx-v: 1.4 es-v: 3.2
    direct-render: yes renderer: AMD Radeon Graphics (radeonsi rembrandt LLVM
    18.1.6 DRM 3.57 6.9.8-200.fc40.x86_64) device-ID: 1002:1681
    display-ID: :0.0
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: AMD Rembrandt Radeon High Definition Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: 33:00.1 chip-ID: 1002:1640
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Lenovo
    driver: snd_pci_acp6x v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: 33:00.5 chip-ID: 1022:15e2
  Device-3: AMD Family 17h/19h HD Audio vendor: Lenovo driver: snd_hda_intel
    v: kernel pcie: speed: 16 GT/s lanes: 16 bus-ID: 33:00.6 chip-ID: 1022:15e3
  API: ALSA v: k6.9.8-200.fc40.x86_64 status: kernel-api
  Server-1: PipeWire v: 1.0.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin
Network:
  Device-1: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
    vendor: Lenovo driver: mt7921e v: kernel pcie: speed: 5 GT/s lanes: 1
    bus-ID: 01:00.0 chip-ID: 14c3:0616
  IF: wlp1s0 state: up mac: <filter>
  IF-ID-1: br-292f8fe42e00 state: down mac: <filter>
Bluetooth:
  Device-1: Foxconn / Hon Hai Bluetooth 5.2 Adapter [MediaTek MT7922]
    driver: btusb v: 0.8 type: USB rev: 2.1 speed: 480 Mb/s lanes: 1
    bus-ID: 1-4:2 chip-ID: 0489:e0d8
  Report: btmgmt ID: hci0 rfk-id: 1 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: <filter> bt-v: 5.2 lmp-v: 11
Drives:
  Local Storage: total: 476.94 GiB used: 326.96 GiB (68.6%)
  ID-1: /dev/nvme0n1 vendor: Lenovo model: UMIS RPETJ512MGE2QDQ
    size: 476.94 GiB speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 26.9 C
Partition:
  ID-1: / size: 475.34 GiB used: 326.62 GiB (68.7%) fs: btrfs dev: /dev/dm-0
    mapped: luks-c45a4ef6-ec97-43b4-bc39-1628f6d5af72
  ID-2: /boot size: 973.4 MiB used: 332.8 MiB (34.2%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 19 MiB (3.2%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 475.34 GiB used: 326.62 GiB (68.7%) fs: btrfs
    dev: /dev/dm-0 mapped: luks-c45a4ef6-ec97-43b4-bc39-1628f6d5af72
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 724.2 MiB (8.8%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 46.0 C mobo: 32.0 C gpu: amdgpu temp: 46.0 C
  Fan Speeds (rpm): fan-1: 0 fan-2: 0
Info:
  Memory: total: 16 GiB note: est. available: 14.39 GiB used: 5.74 GiB (39.9%)
  Processes: 463 Power: uptime: 21h 51m wakeups: 0 Init: systemd v: 255
    target: graphical (5) default: graphical
  Packages: pm: flatpak pkgs: 48 Compilers: clang: 18.1.6 gcc: 14.1.1
    Shell: Bash v: 5.2.26 running-in: kgx inxi: 3.3.34

Since @endlisnis posted similar information on their post which this post was replied to, and resulted a great effect, I expect the information above will be very helpful in accelerating the resolving of this problem?

Also, for future viewers who might be confused by this: this is a spited post due to the parent post being too old to be replied, even though the problem remain unsolved for years. And yes, I did not make up the title of this post and I’m not responsible for any possible misunderstandings caused by it.

1 Like

Thank you, this helped!
By disabling the auto source detection the screen now goes to sleep properly!

To add to this thread - since it just helped me solve the same problem (screen either won’t turn off after the power saving screen blank timer is up or starts to turn off (dim) but then comes back on again).
In my case it was being caused by a Depzol KVM HDMI switch which has an “auto scan” and “auto detection” function. This seems to be activated by the “hot key” button on the front panel. If the “hot key” light is not on, then the monitors won’t turn off. If the light is on, then the monitors turn off correctly. Hope this helps someone!
(PS. the KVM switch, which I use to switch my two monitors at home between my linux PC and my work laptop, is otherwise excellent).