You are not logged in.

#1 2020-12-31 10:41:39

d.ALT
Member
Registered: 2019-05-10
Posts: 920

SOLVED: nVIDIA (HDMI) does NOT wakeup after long time

I have GTX1660S and KDE. Using latest nvidia and linux.
As in title, it happens (almost) always when I let my PC in idle (not suspended) over night and also when is in idle for about some hours (let's say 4 hours).
When I turn on the TV, I get no signal (even if I press keys in the keyboard).
Tested with both SDDM lockscreen enabled and disabled.
Tested with both leaving the TV turned on and also turning it off.
I can wake-up the GPU with these two workarounds:

  • Suspend the PC using keycombo in my keyboard and then resume from suspension
    or

  • Login via ssh and then change resolution with xrandr

    $ export DISPLAY=:0
    $ xrandr --output HDMI-0 --mode 1920x1080 --rate 60 && xrandr --output HDMI-0 --mode 3840x2160 --rate 60

Is the only way to completely disable DMPS?
Must I have a xorg.conf file to set it off?

$ xset q
Keyboard Control:
  auto repeat:  on    key click percent:  0    LED mask:  00000000
  XKB indicators:
    00: Caps Lock:   off    01: Num Lock:    off    02: Scroll Lock: off
    03: Compose:     off    04: Kana:        off    05: Sleep:       off
    06: Suspend:     off    07: Mute:        off    08: Misc:        off
    09: Mail:        off    10: Charging:    off    11: Shift Lock:  off
    12: Group 2:     off    13: Mouse Keys:  off
  auto repeat delay:  600    repeat rate:  25
  auto repeating keys:  00ffffffdffffbbf
                        fadfffefffedffff
                        9fffffffffffffff
                        fff7ffffffffffff
  bell percent:  50    bell pitch:  400    bell duration:  100
Pointer Control:
  acceleration:  2/1    threshold:  4
Screen Saver:
  prefer blanking:  yes    allow exposures:  yes
  timeout:  0    cycle:  600
Colors:
  default colormap:  0x20    BlackPixel:  0x0    WhitePixel:  0xffffff
Font Path:
  built-ins
DPMS (Energy Star):
  Standby: 600    Suspend: 900    Off: 1200
  DPMS is Enabled
  Monitor is On

Last edited by d.ALT (2021-05-12 18:00:49)


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#2 2021-01-08 15:57:29

magoscuro
Member
Registered: 2017-10-09
Posts: 4

Re: SOLVED: nVIDIA (HDMI) does NOT wakeup after long time

d.ALT, same problem here: I have 2 monitors connected to the card.

DVI Monitor recover from sleep OK
HDMI Monitor will not recover from suspend, ALT+CTR+F2 and the ALT+CTRL+F1 will recover HDMI monitor.

magoscuro

Offline

#3 2021-01-10 19:10:46

d.ALT
Member
Registered: 2019-05-10
Posts: 920

Re: SOLVED: nVIDIA (HDMI) does NOT wakeup after long time

This DOES NOT solve the problem:

$ cat /etc/X11/xorg.conf.d/10-monitor.conf 
Section "Extensions"
    Option      "DPMS" "Disable"
EndSection

Any other ideas?


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#4 2021-01-13 03:35:01

magoscuro
Member
Registered: 2017-10-09
Posts: 4

Re: SOLVED: nVIDIA (HDMI) does NOT wakeup after long time

I replaced HDMI cable with DisplaPort and now is working OK.

Offline

#5 2021-05-12 18:00:22

d.ALT
Member
Registered: 2019-05-10
Posts: 920

Re: SOLVED: nVIDIA (HDMI) does NOT wakeup after long time

SOLVED
I firmly believe that it is sufficient to define this value to correct the problem:

Option         "ConnectToAcpid" "False"

In any case, here's my config files for future reference:

$ cat /etc/X11/xorg.conf.d/20-nvidia.conf

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "SAMSUNG"
    HorizSync       15.0 - 185.0
    VertRefresh     24.0 - 120.0
    Option         "DPMS" "False"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "NVIDIA GeForce GTX 1660 SUPER"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-1"
    Option         "metamodes" "2560x1440_60 +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    Option         "AllowIndirectGLXProtocol" "off"
    Option         "TripleBuffer" "on"
    Option         "ConnectToAcpid" "False"
      SubSection     "Display"
          Depth 24
      EndSubSection
EndSection

$ cat /etc/X11/xorg.conf.d/21-DPMS-disable.conf

Section "ServerFlags"
    Option "NoPM" "true"
EndSection

Section "Extensions"
    Option      "DPMS" "Disable"
EndSection[

<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#6 2021-09-23 02:13:11

supa
Forum Fellow
From: United States
Registered: 2003-05-19
Posts: 28
Website

Re: SOLVED: nVIDIA (HDMI) does NOT wakeup after long time

d.ALT wrote:

SOLVED
I actually think this is the line that solved it for me... I tried ConnectToAcpid alone first and it didn't solve it for me.

Section "ServerFlags"
    Option "NoPM" "true"
EndSection

Offline

Board footer

Powered by FluxBB