Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
driver nouveau how to turn off your monitor screen automatic
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
bagas
Apprentice
Apprentice


Joined: 29 Jun 2018
Posts: 209

PostPosted: Tue Mar 26, 2024 1:15 pm    Post subject: driver nouveau how to turn off your monitor screen automatic Reply with quote

Hello.
My system Linux 6.6.21-gentoo x86_64.
Graphic shell xfce4 4.18.6.
Code:
# eselect profile list | grep '*'
  [49]  default/linux/amd64/23.0/split-usr/no-multilib (stable) *


Old nvidia video card GeForce GTS 8600
I use the driver like nouveau.

If the computer is not used for 3-5 minutes, then how to automatically turn off the screen?

Code:
cat /etc/X11/xorg.conf
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
EndSection

Section "Files"
    FontPath        "/usr/share/fonts/corefonts/"
    FontPath        "/usr/share/fonts/misc/"
    FontPath        "/usr/share/fonts/100dri/"
    FontPath        "/usr/share/fonts/75dri/"
    FontPath        "/usr/share/fonts/Type1/"
    FontPath        "/usr/share/fonts/default/ghostscript"
    FontPath        "/usr/share/fonts/encodings/"
    FontPath        "/usr/share/fonts/ttf-bitstream-vera/"
    FontPath        "/usr/share/fonts/util/"
    FontPath        "/usr/share/fonts/cyrillic/"
EndSection

Section "Module"
    Load "dri"
    Load "glx"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Device"
    Identifier  "Card0"
    Driver      "nouveau"
    BusID       "PCI:1:0:0"
    VendorName  "nVidia Corporation"
    BoardName   "GeForce GTS 8600"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Card0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Viewport    0 0
        Depth       24
        Modes      "1680x1050" "1152x864" "1024x768"
    EndSubSection
EndSection



Now I'm turning off the screen using x11-misc/xscreensaver-6.08.
I would like to implement turning off the screen using standard system tools.
_________________
BSD, Linux systems blog
Back to top
View user's profile Send private message
bagas
Apprentice
Apprentice


Joined: 29 Jun 2018
Posts: 209

PostPosted: Thu Mar 28, 2024 1:27 pm    Post subject: Reply with quote

Any ideas, suggestions?
_________________
BSD, Linux systems blog
Back to top
View user's profile Send private message
Spanik
Veteran
Veteran


Joined: 12 Dec 2003
Posts: 1003
Location: Belgium

PostPosted: Fri Mar 29, 2024 8:27 am    Post subject: Reply with quote

Don't know about XFCE but with KDE I just set that in the "power management" of KDE. Not in the video driver.
_________________
Expert in non-working solutions
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22672

PostPosted: Fri Mar 29, 2024 3:04 pm    Post subject: Reply with quote

Is xset dpms number number number an acceptable solution? See man xset for usage details.
Back to top
View user's profile Send private message
Ralphred
l33t
l33t


Joined: 31 Dec 2013
Posts: 653

PostPosted: Fri Mar 29, 2024 5:33 pm    Post subject: Reply with quote

Hu wrote:
Is xset dpms number number number an acceptable solution? See man xset for usage details.

My vague memory of doing this in xorg.conf was validated:
man xorg.conf wrote:
SERVERFLAGS SECTION ...snip... Options specified in this section ... may be
overridden by Options specified in the active ServerLayout section.
...snip...
Option "OffTime" "time"
sets the inactivity timeout for the off phase of DPMS mode. time is in minutes, and the
value can be changed at run-time with xset(1). Default: 10 minutes. This is only suitable
for VESA DPMS compatible monitors, and may not be supported by all video drivers. It is only
enabled for screens that have the "DPMS" option set (see the MONITOR section below).

and because it may be relevant
man xorg.conf wrote:
MONITOR SECTION
...snip...
Option "DPMS" "bool"
This option controls whether the server should enable the DPMS extension for power management
for this screen. The default is to enable the extension.


xorg.conf has one of the top five man-pages ever, IMHO.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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