You are not logged in.

#1 2015-08-23 15:58:37

emce
Member
Registered: 2015-08-23
Posts: 3

Screen backlight off after lock/unlock (Gnome)

Hello,

I have a 2015 Dell XPS 13 (9343) with the latest bios (A05) and a fresh, fully updated Arch install.  Everything has been working well, however, when the screen is locked and then logged back in, the backlight is completely off with no way to brighten the display.  This could occur when shutting the laptop lid which should put it into suspend mode, as well as hitting Super+L to lock the screen (presumably without running through suspend).

I've done a lot of research on this, and found a lot of possible solutions, but I haven't found anything that works terribly well.  My current work around is to attach the following script to a keyboard shortcut which I manually run right after logging back in:

#!/bin/bash
xset dpms force off
sleep 1
xset dpms force on

Am I missing the "real" fix, or is a hack like this necessary?  If so, is there a way to write a hook for gnome to automatically run my script after unlock?  I've attempted to create one under ~/.config/autostart, but that only seems to run on initial login and not after unlocking the system.

Any help is appreciated.

Other things I've tried
I've written a resume@.service for systemd, which does correctly run after resume, however, the gnome lock/unlock cycle ultimately defeats it and blacks out the screen.

I've also tried following the tutorial at pm-utils - Blank screen when waking from suspend, utilizing the quirk listed and that also does not work - presumably because the gnome lock/unlock cycle defeats it.

Thanks!

Offline

#2 2015-09-03 13:59:24

emce
Member
Registered: 2015-08-23
Posts: 3

Re: Screen backlight off after lock/unlock (Gnome)

For posterity, I seem to have fixed this by removing laptop-mode-tools and installing tlp.  I didn't do anything special - just installed and enabled the services per the TLP wiki page.

Offline

#3 2015-09-18 09:41:32

popcek
Member
Registered: 2015-09-18
Posts: 2

Re: Screen backlight off after lock/unlock (Gnome)

Hi;

same issue here. Using HP Zbook15 with Nvidia Quadro K1100M. After locking screen, the backlight goes off and not on again (after mouse move or keyboard press). Switching to tty and back to X helps. I also tried to install TLP, but problem persists. Some months ago this was working normally. I guess the bug should be in latest nvidia drivers or kernel.....

Offline

#4 2015-09-18 11:12:46

emce
Member
Registered: 2015-08-23
Posts: 3

Re: Screen backlight off after lock/unlock (Gnome)

FYI, my problem seems to be intermittent now.  I thought it was fixed with TLP, but I believe what's actually happening is that Gnome isn't locking the session properly when the laptop goes to sleep, so it doesn't kill the screen.  In other instances where the session does actually lock, the screen is dark after logging back in and I still need to use my work around in the first post.

I finally gave up trying to fix it, so unfortunately I don't have any other input to offer right now.

Good luck!

Offline

#5 2015-09-20 06:43:18

popcek
Member
Registered: 2015-09-18
Posts: 2

Re: Screen backlight off after lock/unlock (Gnome)

When i switch back from tty to x i get this in journal:


sep 20 08:40:47 hermit /usr/lib/gdm/gdm-x-session[1543]: (II) systemd-logind: got resume for 226:0
sep 20 08:40:47 hermit /usr/lib/gdm/gdm-x-session[1543]: (II) Open ACPI successful (/var/run/acpid.socket)
sep 20 08:40:47 hermit kernel: ACPI Warning: \_SB_.PCI0.PEGP.DGFX._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)
sep 20 08:40:48 hermit /usr/lib/gdm/gdm-x-session[1543]: (II) NVIDIA(0): Setting mode "DP-3: nvidia-auto-select @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}"
sep 20 08:40:49 hermit kernel: ACPI Warning: \_SB_.PCI0.PEGP.DGFX._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)
sep 20 08:40:49 hermit acpid[921]: client connected from 1545[0:100]
sep 20 08:40:49 hermit acpid[921]: 1 client rule loaded
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: (--) NVIDIA(GPU-0): CRT-0: disconnected
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: (--) NVIDIA(GPU-0):
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: (--) NVIDIA(GPU-0): DFP-0: disconnected
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: (--) NVIDIA(GPU-0):
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: (--) NVIDIA(GPU-0): DFP-1: disconnected
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: (--) NVIDIA(GPU-0):
sep 20 08:40:49 hermit kernel: ACPI Warning: \_SB_.PCI0.PEGP.DGFX._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)
sep 20 08:40:49 hermit kernel: ACPI Warning: \_SB_.PCI0.PEGP.DGFX._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)
sep 20 08:40:49 hermit kernel: ACPI Warning: \_SB_.PCI0.PEGP.DGFX._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)
sep 20 08:40:49 hermit kernel: ACPI Warning: \_SB_.PCI0.PEGP.DGFX._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: (--) NVIDIA(GPU-0): DFP-2: disconnected
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: (--) NVIDIA(GPU-0):
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: (--) NVIDIA(GPU-0): CMN (DFP-3): connected
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: (--) NVIDIA(GPU-0): CMN (DFP-3): Internal DisplayPort
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: (--) NVIDIA(GPU-0): CMN (DFP-3): 960.0 MHz maximum pixel clock
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: (--) NVIDIA(GPU-0):
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: (--) NVIDIA(GPU-0): DFP-4: disconnected
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: (--) NVIDIA(GPU-0): DFP-4: 960.0 MHz maximum pixel clock
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: (--) NVIDIA(GPU-0):
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: (--) NVIDIA(GPU-0): DFP-5: disconnected
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: (--) NVIDIA(GPU-0): DFP-5: 960.0 MHz maximum pixel clock
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: (--) NVIDIA(GPU-0):
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: (--) NVIDIA(GPU-0): DFP-6: disconnected
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: (--) NVIDIA(GPU-0): DFP-6: Internal DisplayPort
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: (--) NVIDIA(GPU-0): DFP-6: 960.0 MHz maximum pixel clock
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: (--) NVIDIA(GPU-0):
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: (II) systemd-logind: got resume for 13:71
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: (II) systemd-logind: got resume for 13:65
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: (II) systemd-logind: got resume for 13:66
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: The XKEYBOARD keymap compiler (xkbcomp) reports:
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: > Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: >                   Ignoring extra symbols
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: > Warning:          Type "TWO_LEVEL" has 2 levels, but <TLDE> has 4 symbols
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: >                   Ignoring extra symbols
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: Errors from xkbcomp are not fatal to the X server
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: The XKEYBOARD keymap compiler (xkbcomp) reports:
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: > Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: >                   Ignoring extra symbols
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: > Warning:          Type "TWO_LEVEL" has 2 levels, but <TLDE> has 4 symbols
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: >                   Ignoring extra symbols
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: Errors from xkbcomp are not fatal to the X server
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: The XKEYBOARD keymap compiler (xkbcomp) reports:
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: > Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: >                   Ignoring extra symbols
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: > Warning:          Type "TWO_LEVEL" has 2 levels, but <TLDE> has 4 symbols
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: >                   Ignoring extra symbols
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: Errors from xkbcomp are not fatal to the X server
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: The XKEYBOARD keymap compiler (xkbcomp) reports:
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: > Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: >                   Ignoring extra symbols
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: > Warning:          Type "TWO_LEVEL" has 2 levels, but <TLDE> has 4 symbols
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: >                   Ignoring extra symbols
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: Errors from xkbcomp are not fatal to the X server
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: The XKEYBOARD keymap compiler (xkbcomp) reports:
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: > Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: >                   Ignoring extra symbols
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: > Warning:          Type "TWO_LEVEL" has 2 levels, but <TLDE> has 4 symbols
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: >                   Ignoring extra symbols
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: Errors from xkbcomp are not fatal to the X server
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: The XKEYBOARD keymap compiler (xkbcomp) reports:
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: > Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: >                   Ignoring extra symbols
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: > Warning:          Type "TWO_LEVEL" has 2 levels, but <TLDE> has 4 symbols
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: >                   Ignoring extra symbols
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: Errors from xkbcomp are not fatal to the X server
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: The XKEYBOARD keymap compiler (xkbcomp) reports:
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: > Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: >                   Ignoring extra symbols
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: > Warning:          Type "TWO_LEVEL" has 2 levels, but <TLDE> has 4 symbols
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: >                   Ignoring extra symbols
sep 20 08:40:49 hermit /usr/lib/gdm/gdm-x-session[1543]: Errors from xkbcomp are not fatal to the X server
sep 20 08:40:52 hermit dbus[925]: [system] Activating via systemd: service name='net.reactivated.Fprint' unit='fprintd.service'

Offline

#6 2015-09-20 07:16:30

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Screen backlight off after lock/unlock (Gnome)

Please use code tags when pating to the boards: https://wiki.archlinux.org/index.php/Fo … s_and_code


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2015-09-22 06:34:26

Caspian
Member
Registered: 2007-05-22
Posts: 265

Re: Screen backlight off after lock/unlock (Gnome)

I have the exact same issue on Asus N56V laptop. I'm suing KDE and after unlock the laptop screen brightness doesn't restore to it's initial value (stays black). However I am able to manually bring it up again. This is not an issue with suspending from sleep since it happens every time laptop screen brightness gets lowered for power consumption.
I have these issues using intel graphics card (i915 driver) so it doesn't seem to be Nvidia only issue.

Last edited by Caspian (2015-09-22 07:22:20)

Offline

Board footer

Powered by FluxBB