Issue with two monitors and sleep mode

I have a tendency to walk away from my PC quite often making it fall asleep waiting for my input.

Eventually, when get back I quickly and vigorously move the mouse around or smash the keyboard yelling at it to wake up, only to find one of the following as happened to my 2 monitors.

  • One monitor is completely off (no input detected), while the other is fine.
  • One monitor is super zoomed in, while the other is fine.
  • One monitor is a duplicate of the other.

They are configured to extend one another and both are turned on.

Anyone have any idea why this keeps happening?

Below are some of my specs if needed.

Monitor 1:
Model - Acer Technologies Acer XB240H A
Resolution - 1920x1080
Refresh Rate - 144hz

Monitor 2:
Model - Asustek Computer INC VG27A
Resolution - 2560x1440
Refresh Rate - 144hz

OS:
Platform - Linux x86_64
Distribution - EndeavourOS
Kernel Release - 6.5.3-arch1-1

Knowing which desktop or wm you use and whether X11 or Wayland would help.

Sure thing, let me know if you need additional information.

Software
Operating System: EndeavourOS
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Kernel Version: 6.5.3-arch1-1 (64-bit)
Graphics Platform: X11

Hardware
Processors: 16 × AMD Ryzen 7 3800X 8-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3090/PCIe/SSE2
Manufacturer: ASUS

That is odd. Did you use KDE’s Screen Settings to set things up?

Also, in KDE’s Battery/Power settings you can set it so the machine does not go to sleep if an external screen is attached (or at all), if that helps you.

Tried to recreate the issue a few times to provide more context, but it seems like once I got annoyed enough to post on the forum the issue went away.

Hopefully, it wont be like the sand people from Star Wars.