Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What's turning off my display?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
pizza-rat
Tux's lil' helper
Tux's lil' helper


Joined: 23 Dec 2022
Posts: 81

PostPosted: Fri Feb 17, 2023 7:18 pm    Post subject: What's turning off my display? Reply with quote

Had this issue since I upgraded my PC, at first I thought it was my graphics card failing til I realized it happened after the same amount of elapsed time idle every time.
On a relatively fresh install, what is it that's doing power management on my display? I've been lazy and just used xfce4-powermanager as a stopgap, because its settings seem to override whatever's doing this, but I'm curious if I can disable it without needing a power management program.

It's not just my monitor itself because I noticed it first while playing stuff on PCSX2, and when the screen would blank, the audio would hang/repeat as well.
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3916

PostPosted: Fri Feb 17, 2023 10:12 pm    Post subject: Reply with quote

You need
Code:

xfce-extra/xfce4-screensaver

Amd disable screensaver along with other settings pertaining to it from Settings->ScreenSaver
_________________
:)
Back to top
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3430

PostPosted: Sat Feb 18, 2023 1:31 am    Post subject: Reply with quote

You can change screensaver's settings with xset.
Things that can result in display going off are enabled blanking, suspend and dpms.
Back to top
View user's profile Send private message
pizza-rat
Tux's lil' helper
Tux's lil' helper


Joined: 23 Dec 2022
Posts: 81

PostPosted: Sun Feb 19, 2023 12:54 am    Post subject: Reply with quote

Hmm, I do have the DPMS line in my xorg.conf, perhaps that's it. Should I remove the line or perhaps just set it to off with xset in my .xinitrc? xset -q also tells me prefer-blanking is "yes" and the cycle is "600" which, if that means 10 minutes, checks out.
Back to top
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3430

PostPosted: Sun Feb 19, 2023 9:36 pm    Post subject: Reply with quote

You have xorg.conf? I don't think many people use it anymore, it's hardly ever necessary those days.
Anyway, yeah, xset s noblank and xset -dpms should do the trick. This change is runtime-only, restarting xorg will reset to default (unless your DE remembers it upon logout and restores later, I think e.g. gnome does that)
Back to top
View user's profile Send private message
pizza-rat
Tux's lil' helper
Tux's lil' helper


Joined: 23 Dec 2022
Posts: 81

PostPosted: Mon Feb 20, 2023 7:52 pm    Post subject: Reply with quote

Yeah, I think I needed one to set my monitor order or something. Don't think you need it if you use a DE but I usually use openbox or icewm.

Anywho, I put "xset s off -dpms" in my autostart file and I think it'd taken care of it! Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum