You are not logged in.

#1 2025-07-02 09:30:48

nsakey
Member
Registered: 2025-06-23
Posts: 17

[SOLVED] dwm screen suspend weird behavior

Hi, everyone
I've recently made fresh install of arch linux, and currently using basic dwm, without any patches or whatever.
I'm experiencing the next issue: if I will leave my pc turned on, and do not touch for a while the screen goes black.
If i touched right after it went black, it will be fine, everything works. If I will not touch it for a while, I wouldn't be able to see the screen, only thing I could is type pkill dwm blindfolded. Also screen might stutter.
I can't go from black screen also when I'm doing something with display settings, example changing refresh rate or any other setting that will require monitor going black and restart.
It doesn't happen on xfce or windows(duh).


gpu: 4090
monitor: 57" Odyssey Neo G9 G95NC
wm: dwm

Last edited by nsakey (2025-07-25 15:53:28)

Offline

#2 2025-07-02 12:33:19

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,617

Re: [SOLVED] dwm screen suspend weird behavior

if I will leave my pc turned on, and do not touch for a while the screen goes black.

https://wiki.archlinux.org/title/Displa … _Signaling

It doesn't happen on xfce

Do you use a compositor (picom) along dwm?
The symptoms kinda sound as if the output powers down and unregisters on DPMS - and then either never shows up again (fumbled handshake, HDMI?) or some userspace daemon responds and disables the monitor.
Can you switch to another VT and query

DISPLAY=:0 xrandr -q

when this happens?
Does the monitor come back if you physicall de- and re-attach it?
https://aur.archlinux.org/packages/x-on-resize is a generic X11 daemon to "automatically do stuff with outputs as they appear" but you can also use udev rules, https://wiki.archlinux.org/title/Udev#E … _unplugged

Offline

#3 2025-07-02 14:05:11

nsakey
Member
Registered: 2025-06-23
Posts: 17

Re: [SOLVED] dwm screen suspend weird behavior

> Do you use a compositor (picom) along dwm?
No I don't

> Does the monitor come back if you physicall de- and re-attach it?
You mean reattach cable? no.

Will answer later on other stuff.
Thank you.

Offline

#4 2025-07-23 14:30:28

nsakey
Member
Registered: 2025-06-23
Posts: 17

Re: [SOLVED] dwm screen suspend weird behavior

I'm still looking into your ideas.
Some updates:
- it fixes if I change tty and go back
- it doesn't happen with my old mony oddysey g7
- Sometimes mony goes off and tries to be on, but it get into stutter(seems unrelated)

Offline

#5 2025-07-23 15:38:03

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,617

Re: [SOLVED] dwm screen suspend weird behavior

it fixes if I change tty and go back

How is the monitor attached? HDMI?
Can you run the Odyssey Neo G9 G95NC at the same resolution as the Odyssey G7?
Or try to blindly (shortcut) cycle the resolution? ("xrandr --output … --mode 3840x1080; sleep 5; xrandr --output … --auto")

Offline

#6 2025-07-24 13:03:39

nsakey
Member
Registered: 2025-06-23
Posts: 17

Re: [SOLVED] dwm screen suspend weird behavior

Display port for new one
HDMI for old one
I can test other setups

> Can you run the Odyssey Neo G9 G95NC at the same resolution as the Odyssey G7?
I can, will test it

> Or try to blindly (shortcut) cycle the resolution? ("xrandr --output … --mode 3840x1080; sleep 5; xrandr --output … --auto")
Will do

Oh by the way, I have 4090 and it has display port 1.4. So it's not supporting this monitor.
I've setup in monitor settings for 120 hz
And for some reason it thinks that the default resuloution is 5120x1440 not 7680x2160

Offline

#7 2025-07-24 13:19:49

nsakey
Member
Registered: 2025-06-23
Posts: 17

Re: [SOLVED] dwm screen suspend weird behavior

> Can you run the Odyssey Neo G9 G95NC at the same resolution as the Odyssey G7?
I've run it in 2k, there is no such issue in this case.

Offline

#8 2025-07-24 14:06:08

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,617

Re: [SOLVED] dwm screen suspend weird behavior

HBR3 will at a push (and with a little DSC) still do 7680x2160 @60Hz?
Do you then still have those issues?

Offline

#9 2025-07-25 12:21:11

nsakey
Member
Registered: 2025-06-23
Posts: 17

Re: [SOLVED] dwm screen suspend weird behavior

Seems like on 60HZ it's all good

Offline

#10 2025-07-25 12:34:26

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,617

Re: [SOLVED] dwm screen suspend weird behavior

Even at 7680x2160 ?
You might run into the HW limits where 7680x2160 @120Hz is attempted and fails - how are you setting the lower resolution?
xrandr script of xorg config?
https://wiki.archlinux.org/title/Xrandr … esolutions (you perhaps don't have to add a modeline, but setting the PreferredMode might help)

Offline

#11 2025-07-25 12:40:35

nsakey
Member
Registered: 2025-06-23
Posts: 17

Re: [SOLVED] dwm screen suspend weird behavior

> Even at 7680x2160 ?
Yes

xrandr only

Offline

#12 2025-07-25 12:55:28

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,617

Re: [SOLVED] dwm screen suspend weird behavior

If you prefer running 5120x1440@120Hz over 7680x2160@60Hz consider adding a default configuration to avoid race conditions or the server picking the "wrong" modeline when the monitor gets (logically) attached after the DPMS.

Offline

#13 2025-07-25 13:39:31

nsakey
Member
Registered: 2025-06-23
Posts: 17

Re: [SOLVED] dwm screen suspend weird behavior

I will keep 7680x2160@120Hz.
It has only this issue, and it's manageable with xset -dpms / xset s off.
I think this thread should be closed.
Thanks a lot for your time and your expert help!

Offline

#14 2025-07-25 14:17:14

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,617

Re: [SOLVED] dwm screen suspend weird behavior

I thought your GPU is limited to HBR3 and 7680x2160@120Hz doesn't work and you're running on 5120x1440@120Hz ??

Mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#15 2025-07-25 15:52:38

nsakey
Member
Registered: 2025-06-23
Posts: 17

Re: [SOLVED] dwm screen suspend weird behavior

7680x2160@240Hz doesn't work
7680x2160@120Hz does with this bug

Offline

#16 2025-08-28 07:21:13

nsakey
Member
Registered: 2025-06-23
Posts: 17

Re: [SOLVED] dwm screen suspend weird behavior

I believe fix is to use gpu with DP 2.1
Closed

Offline

Board footer

Powered by FluxBB