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.

It took a few days but it did it again.

In the below picture, you can see the Display Configuration in its broken state after waking up the pc from sleep.

My normal configuration is set up in this manner from Left to Right

Primary
Model - Asustek Computer INC VG27A
Resolution - 2560x1440

Secondary
Model - Acer Technologies Acer XB240H A
Resolution - 1920x1080

But for some reason it flipped and it forgot what my other monitor is.

That is indeed odd. I have no clue, this is way over my head. All I know is that Nvidia is said to have wonky drivers.

Np, not a big issue, just wondering if I was doing something wrong.

Thanks.

Reboot fixed it.

Below is the normal configuration.

Nah I’ve had similar issues but since it was’t a big issue I disabled all these settings and now the monitor only shuts off when I shut down - as a side note I do need to use LTS kernel otherwise shutdown and reboot just hangs

I’ve tried multiple differnet fixes but this seems to be the only solution for my machine

1 Like

This used to happen to me on my old nvidia gpu and a kernel change indeed fixed it for me as well. Wish I knew what actually caused it :confused:

My random guess is that its the nvidia-dkms or nvidia-utils drivers.

As its the only thing that would help cause such a situation.

I recently updated last night to

nvidia-dkms 535.113.01-1
nvidia-utils 535.113.01-1

Before that I could not make the issue pop up again after many sleep modes.

It may just be some drivers have this issue and some don’t causing this inconsistency.

1 Like

It’s something to do with a dell pre check on my systems which apparently can’t be turned off

1 Like