Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Troubles with screensaver if suspend (to RAM) mode triggered via keybinding #441

Open
itz-me-zappex opened this issue Aug 28, 2023 · 0 comments

Comments

@itz-me-zappex
Copy link

itz-me-zappex commented Aug 28, 2023

Distribution

Arch Linux

Package version

5.8.1 (5.8.1-1)

Graphics hardware in use

NVIDIA GeForce GTX 1050 TI; Proprietary NVIDIA Driver version 535.104.05

Frequency

Always

Bug description

When keybinding used for suspend system, upon system wake-up lock screen does not appear at all and i can use pc without password prompt, i.e. it just ignores enabled setting called as "Lock the computer when put to sleep" in "System Settings > Screensaver". Also when suspend mode triggered via keybinding, system may wake up immediately after it goes to suspend mode or even worse, ignore keyboard when suspended and i should press power button for wake up. These issues DOES NOT happen if system was switched to suspend mode via menu on panel. Weird, i know. I can't test that with hibernate mode (suspend to swap) because don't use swap file/partition. Sorry for my broken English if so.

Steps to reproduce

Press keybinding for switch to suspend mode and then wake up system.

Expected behavior

Lock screen should appear after suspend mode, keyboard should not be ignored in suspend mode and system should not wake up immediately after suspend. This only applies to suspend mode triggered with keybinding.

Additional information

I use SDDM as display manager, there is log from "~/.local/share/sddm":

Xlib:  extension "DPMS" missing on display ":0".
Xlib:  extension "DPMS" missing on display ":0".

(cinnamon:789): mutter-WARNING **: 15:45:56.300: Property 'libinput Accel Profile Enabled Default' for device 'Gaming Keyboard Mouse' returned 3 items, expected 2

(cinnamon:789): mutter-WARNING **: 15:45:56.300: Property 'libinput Accel Profiles Available' for device 'Gaming Keyboard Mouse' returned 3 items, expected 2

(cinnamon:789): mutter-WARNING **: 15:45:56.300: Property 'libinput Accel Profile Enabled' for device 'Gaming Keyboard Mouse' returned 3 items, expected 2

(cinnamon:789): mutter-WARNING **: 15:45:56.300: Property 'libinput Accel Profile Enabled Default' for device 'E-Signal USB Gaming Mouse' returned 3 items, expected 2

(cinnamon:789): mutter-WARNING **: 15:45:56.300: Property 'libinput Accel Profiles Available' for device 'E-Signal USB Gaming Mouse' returned 3 items, expected 2

(cinnamon:789): mutter-WARNING **: 15:45:56.300: Property 'libinput Accel Profile Enabled' for device 'E-Signal USB Gaming Mouse' returned 3 items, expected 2

(cinnamon:789): mutter-WARNING **: 15:45:56.314: Property 'libinput Accel Profile Enabled Default' for device 'Gaming Keyboard Mouse' returned 3 items, expected 2

(cinnamon:789): mutter-WARNING **: 15:45:56.314: Property 'libinput Accel Profiles Available' for device 'Gaming Keyboard Mouse' returned 3 items, expected 2

(cinnamon:789): mutter-WARNING **: 15:45:56.318: Property 'libinput Accel Profile Enabled Default' for device 'E-Signal USB Gaming Mouse' returned 3 items, expected 2

(cinnamon:789): mutter-WARNING **: 15:45:56.318: Property 'libinput Accel Profiles Available' for device 'E-Signal USB Gaming Mouse' returned 3 items, expected 2
Gjs-Message: 15:45:56.461: JS LOG: About to start Cinnamon
Gjs-Message: 15:45:56.506: JS LOG: [LookingGlass/info] Cinnamon.AppSystem.get_default() started in 43 ms
Gjs-Message: 15:45:56.507: JS LOG: [LookingGlass/info] loading user theme: /usr/share/themes/Fluent-Dark-compact/cinnamon/cinnamon.css
Gjs-Message: 15:45:56.518: JS LOG: [LookingGlass/info] added icon directory: /usr/share/themes/Fluent-Dark-compact/cinnamon
Gjs-Message: 15:45:56.523: JS LOG: [LookingGlass/info] GesturesManager: Looking for devices.

(cinnamon:789): St-WARNING **: 15:45:56.546: parse_shadow_property: default case

(cinnamon:789): St-WARNING **: 15:45:56.546: parse_shadow_property: default case
Gjs-Message: 15:45:56.732: JS LOG: [LookingGlass/info] loaded at Mon Aug 28 2023 15:45:56 GMT+0300 (Восточная Европа, летнее время)
Gjs-Message: 15:45:56.732: JS LOG: Cinnamon started at Mon Aug 28 2023 15:45:56 GMT+0300 (Восточная Европа, летнее время)
Gjs-Message: 15:45:56.736: JS LOG: [LookingGlass/info] ExtensionSystem started in 0 ms
Gjs-Message: 15:45:56.736: JS LOG: [LookingGlass/info] DeskletManager started in 0 ms
Gjs-Message: 15:45:56.736: JS LOG: [LookingGlass/info] SearchProviderManager started in 0 ms

(cinnamon:789): St-WARNING **: 15:45:56.741: parse_shadow_property: default case

(cinnamon:789): St-WARNING **: 15:45:56.741: parse_shadow_property: default case

(cinnamon:789): mutter-WARNING **: 15:45:56.744: Property 'libinput Accel Profile Enabled Default' for device 'Gaming Keyboard Mouse' returned 3 items, expected 2

(cinnamon:789): mutter-WARNING **: 15:45:56.744: Property 'libinput Accel Profiles Available' for device 'Gaming Keyboard Mouse' returned 3 items, expected 2

(cinnamon:789): mutter-WARNING **: 15:45:56.744: Property 'libinput Accel Profile Enabled Default' for device 'E-Signal USB Gaming Mouse' returned 3 items, expected 2

(cinnamon:789): mutter-WARNING **: 15:45:56.744: Property 'libinput Accel Profiles Available' for device 'E-Signal USB Gaming Mouse' returned 3 items, expected 2
Gjs-Message: 15:45:56.764: JS LOG: [LookingGlass/info] GesturesManager: No devices.
Gjs-Message: 15:45:56.783: JS LOG: [LookingGlass/info] Role locked: tray
Gjs-Message: 15:45:56.786: JS LOG: [LookingGlass/info] Loaded applet [email protected] in 20 ms
Gjs-Message: 15:45:56.815: JS LOG: [LookingGlass/info] Loaded applet [email protected] in 29 ms
Gjs-Message: 15:45:56.824: JS LOG: [LookingGlass/info] Loaded applet [email protected] in 9 ms

** (nemo-desktop:853): WARNING **: 15:45:56.841: Current gtk theme is not known to have nemo support (Fluent-Dark-compact) - checking...
Gjs-Message: 15:45:56.855: JS LOG: [LookingGlass/info] Loaded applet [email protected] in 31 ms
Gjs-Message: 15:45:56.864: JS LOG: [LookingGlass/info] Loaded applet [email protected] in 9 ms
Gjs-Message: 15:45:56.936: JS LOG: [LookingGlass/info] Role locked: panellauncher
Gjs-Message: 15:45:56.936: JS LOG: [LookingGlass/info] Role locked: windowattentionhandler
Gjs-Message: 15:45:56.937: JS LOG: [LookingGlass/info] Loaded applet [email protected] in 73 ms
Gjs-Message: 15:45:56.984: JS LOG: [LookingGlass/info] Loaded applet [email protected] in 47 ms
** Message: 15:45:56.988: nemo-desktop: session is cinnamon, establishing proxy
Gjs-Message: 15:45:57.094: JS LOG: [LookingGlass/info] Loaded applet [email protected] in 110 ms
Gjs-Message: 15:45:57.147: JS LOG: [LookingGlass/info] Loaded applet Cinnamenu@json in 53 ms
Gjs-Message: 15:45:57.147: JS LOG: [LookingGlass/info] AppletManager started in 414 ms
Gjs-Message: 15:45:57.149: JS LOG: [LookingGlass/info] Cinnamon took 688 ms to start
Gjs-Message: 15:45:57.169: JS LOG: Unknown network device type, is 32
Gjs-Message: 15:45:57.171: JS LOG: Unknown network device type, is 13
cinnamon-session[694]: WARNING: t+1,65479s: Detected that screensaver has appeared on the bus

(cinnamon:789): XApp-WARNING **: 15:45:57.262: Switcheroo-control doesn't appear to be running, checking for Ubuntu support...
Gjs-Message: 15:45:57.263: JS LOG: [LookingGlass/info] GPU offload supported: false
Gjs-Message: 15:46:01.133: JS LOG: Enabling WindowAttentionHandler

(csd-media-keys:735): Cvc-CRITICAL **: 15:46:58.483: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed

** (csd-media-keys:735): WARNING **: 15:46:58.484: Unable to get default source

** (csd-media-keys:735): WARNING **: 15:46:58.484: Unable to get default sink

(csd-media-keys:735): Cvc-CRITICAL **: 15:46:58.484: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed

(cinnamon:789): mutter-WARNING **: 15:46:58.891: Property 'libinput Accel Profile Enabled Default' for device 'Gaming Keyboard Mouse' returned 3 items, expected 2

(cinnamon:789): mutter-WARNING **: 15:46:58.891: Property 'libinput Accel Profiles Available' for device 'Gaming Keyboard Mouse' returned 3 items, expected 2

(cinnamon:789): mutter-WARNING **: 15:46:58.899: Property 'libinput Accel Profile Enabled Default' for device 'E-Signal USB Gaming Mouse' returned 3 items, expected 2

(cinnamon:789): mutter-WARNING **: 15:46:58.899: Property 'libinput Accel Profiles Available' for device 'E-Signal USB Gaming Mouse' returned 3 items, expected 2

(cinnamon:789): St-WARNING **: 15:46:58.952: parse_shadow_property: default case

(cinnamon:789): St-WARNING **: 15:46:58.952: parse_shadow_property: default case
cinnamon-session[694]: WARNING: t+31,60150s: Detected that screensaver has left the bus

(csd-media-keys:735): Cvc-CRITICAL **: 15:48:31.429: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed

(csd-media-keys:735): Cvc-CRITICAL **: 15:48:31.429: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed

** (csd-media-keys:735): WARNING **: 15:48:31.429: Unable to get default source

** (csd-media-keys:735): WARNING **: 15:48:31.429: Unable to get default sink

(csd-media-keys:735): Cvc-CRITICAL **: 15:48:31.429: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed

(csd-media-keys:735): Cvc-CRITICAL **: 15:48:31.429: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed

(cinnamon:789): St-WARNING **: 15:48:31.710: parse_shadow_property: default case

(cinnamon:789): St-WARNING **: 15:48:31.710: parse_shadow_property: default case

(cinnamon:789): mutter-WARNING **: 15:48:31.780: Property 'libinput Accel Profile Enabled Default' for device 'Gaming Keyboard Mouse' returned 3 items, expected 2

(cinnamon:789): mutter-WARNING **: 15:48:31.780: Property 'libinput Accel Profiles Available' for device 'Gaming Keyboard Mouse' returned 3 items, expected 2

(cinnamon:789): mutter-WARNING **: 15:48:31.788: Property 'libinput Accel Profile Enabled Default' for device 'E-Signal USB Gaming Mouse' returned 3 items, expected 2

(cinnamon:789): mutter-WARNING **: 15:48:31.788: Property 'libinput Accel Profiles Available' for device 'E-Signal USB Gaming Mouse' returned 3 items, expected 2
cinnamon-session[694]: WARNING: t+119,50058s: Detected that screensaver has appeared on the bus

(cinnamon:789): St-WARNING **: 15:49:05.358: parse_shadow_property: default case

(cinnamon:789): St-WARNING **: 15:49:05.358: parse_shadow_property: default case
cinnamon-session[694]: WARNING: t+149,50242s: Detected that screensaver has left the bus

(csd-media-keys:735): Cvc-CRITICAL **: 16:13:28.419: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed

(csd-media-keys:735): Cvc-CRITICAL **: 16:13:28.419: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed

(csd-media-keys:735): Cvc-CRITICAL **: 16:13:28.419: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed

** (csd-media-keys:735): WARNING **: 16:13:28.419: Unable to get default source

** (csd-media-keys:735): WARNING **: 16:13:28.419: Unable to get default sink

(csd-media-keys:735): Cvc-CRITICAL **: 16:13:28.419: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed

(csd-media-keys:735): Cvc-CRITICAL **: 16:13:28.419: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed

(csd-media-keys:735): Cvc-CRITICAL **: 16:13:28.419: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed

(cinnamon:789): mutter-WARNING **: 16:13:28.653: Property 'libinput Accel Profile Enabled Default' for device 'Gaming Keyboard Mouse' returned 3 items, expected 2

(cinnamon:789): mutter-WARNING **: 16:13:28.653: Property 'libinput Accel Profiles Available' for device 'Gaming Keyboard Mouse' returned 3 items, expected 2

(cinnamon:789): mutter-WARNING **: 16:13:28.661: Property 'libinput Accel Profile Enabled Default' for device 'E-Signal USB Gaming Mouse' returned 3 items, expected 2

(cinnamon:789): mutter-WARNING **: 16:13:28.661: Property 'libinput Accel Profiles Available' for device 'E-Signal USB Gaming Mouse' returned 3 items, expected 2

(cinnamon:789): St-WARNING **: 16:13:28.723: parse_shadow_property: default case

(cinnamon:789): St-WARNING **: 16:13:28.723: parse_shadow_property: default case
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x200003
cinnamon-session[694]: WARNING: t+1613,03999s: Detected that screensaver has appeared on the bus

(csd-media-keys:735): Cvc-CRITICAL **: 16:14:00.479: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed

(csd-media-keys:735): Cvc-CRITICAL **: 16:14:00.479: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed

(csd-media-keys:735): Cvc-CRITICAL **: 16:14:00.479: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed

(csd-media-keys:735): Cvc-CRITICAL **: 16:14:00.479: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed

(csd-media-keys:735): Cvc-CRITICAL **: 16:14:00.479: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed

(csd-media-keys:735): Cvc-CRITICAL **: 16:14:00.479: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed

(csd-media-keys:735): Cvc-CRITICAL **: 16:14:00.479: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed

(csd-media-keys:735): Cvc-CRITICAL **: 16:14:00.479: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed

** (csd-media-keys:735): WARNING **: 16:14:00.479: Unable to get default source

** (csd-media-keys:735): WARNING **: 16:14:00.479: Unable to get default sink

(cinnamon:789): St-WARNING **: 16:14:00.762: parse_shadow_property: default case

(cinnamon:789): St-WARNING **: 16:14:00.762: parse_shadow_property: default case

(cinnamon:789): mutter-WARNING **: 16:14:00.869: Property 'libinput Accel Profile Enabled Default' for device 'Gaming Keyboard Mouse' returned 3 items, expected 2

(cinnamon:789): mutter-WARNING **: 16:14:00.869: Property 'libinput Accel Profiles Available' for device 'Gaming Keyboard Mouse' returned 3 items, expected 2

(cinnamon:789): mutter-WARNING **: 16:14:00.871: Property 'libinput Accel Profile Enabled Default' for device 'E-Signal USB Gaming Mouse' returned 3 items, expected 2

(cinnamon:789): mutter-WARNING **: 16:14:00.871: Property 'libinput Accel Profiles Available' for device 'E-Signal USB Gaming Mouse' returned 3 items, expected 2
cinnamon-session[694]: WARNING: t+1654,23884s: Detected that screensaver has left the bus
Window manager warning: WM_TRANSIENT_FOR window 0x2e00008 for override-redirect window 0x2e00025 is an override-redirect window and this is not correct according to the standard, so we'll fallback to the root window.

Keybinding:
2023-08-28_16-10

Screensaver settings:
2023-08-28_16-15

UPD: command cinnamon-screensaver-command --lock ; systemctl suspend works fine for me, creating keybinding with this command is temporary solution, looks like built-in keybinding does smth wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant