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

Do not work on sleep #343

Closed
1 task done
kafkaGen opened this issue Jun 18, 2022 · 2 comments
Closed
1 task done

Do not work on sleep #343

kafkaGen opened this issue Jun 18, 2022 · 2 comments
Labels

Comments

@kafkaGen
Copy link

kafkaGen commented Jun 18, 2022

Is there an existing issue for this?

  • I have searched the existing issues

Operating system

Arch Linux x86_64

Installation method

Package Manager (from OS)

Betterlockscreen & Dependency-Versions

- Betterlockscreen:
Betterlockscreen: version: v4.0.4 (dunst: true, feh: true)
i3lock: version 2.13.c.4 © 2010 Michael Stapelberg, © 2015 Cassandra Fox, © 2021 Raymond Li
Version: ImageMagick 7.1.0-37 Q16-HDRI x86_64 20104 https://imagemagick.org
Copyright: (C) 1999 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules OpenCL OpenMP(4.5)
Delegates (built-in): bzlib cairo djvu fontconfig freetype heic jbig jng jp2 jpeg jxl lcms lqr ltdl lzma openexr pangocairo png raqm raw rsvg tiff webp wmf x xml zip zlib
Compiler: gcc (12.1)
dunst version: 1.8.1
feh version 3.9
Compile-time switches: curl exif inotify help magic stat64 verscmp xinerama
[B] Betterlockscreen

- i3lock-color:
- ImageMagick:
- dunst (if used):
Dunst - A customizable and lightweight notification-daemon 1.8.1 (2022-03-02)

- feh (if used):
feh version 3.9
Compile-time switches: curl exif inotify help magic stat64 verscmp xinerama

Bug description

Betterlockscreen work perfectly for all purpose, exept on - sleep. While I leave device idle, the screen is turning off, but screen lock do not appear.
Everything work fine with suspend.
I have enabled service.

Steps to reproduce

yay -S betterlockscreen
systemctl enable betterlockscreen@$USER

betterlockscreenrc:

~/.config/betterlockscreenrc

default options

display_on=0
span_image=false
lock_timeout=60
fx_list=(dim)
dim_level=40
blur_level=1
pixel_scale=10,1000
solid_color=333333
wallpaper_cmd="feh --bg-fill"
quiet=false

i3lockcolor_bin="i3lock-color" # Manually set command for i3lock-color

default theme

loginbox=00000066
loginshadow=00000000
locktext="Type password to unlock..."
font="sans-serif"
ringcolor=ffffffff
insidecolor=00000000
separatorcolor=00000000
ringvercolor=ffffffff
insidevercolor=00000000
ringwrongcolor=ffffffff
insidewrongcolor=d23c3dff
timecolor=ffffffff
time_format="%H:%M:%S"
greetercolor=ffffffff
layoutcolor=ffffffff
keyhlcolor=d23c3dff
bshlcolor=d23c3dff
verifcolor=ffffffff
wrongcolor=d23c3dff
modifcolor=d23c3dff
bgcolor=000000ff

Relevant log output

journalctl | grep systemd-sleep

Jun 18 20:59:59 nachalnik systemd-sleep[3314]: Entering sleep state 'suspend'...
Jun 18 21:00:09 nachalnik systemd-sleep[3314]: System returned from sleep state.
Jun 18 21:00:09 nachalnik systemd-sleep[3475]: [8] INFO: # Post-resume hook
Jun 18 21:00:09 nachalnik systemd-sleep[3475]: [8] INFO: Previous state was: {'type': 'pending_post_resume', 'switch_id': '20220618T205300', 'current_mode': 'integrated'}
Jun 18 21:00:09 nachalnik systemd-sleep[3475]: [10] INFO: Turning Nvidia GPU off again
Jun 18 21:00:09 nachalnik systemd-sleep[3512]: modinfo: ERROR: Module acpi_call not found.
Jun 18 21:00:10 nachalnik systemd-sleep[3475]: [886] INFO: Loading module bbswitch
Jun 18 21:00:10 nachalnik systemd-sleep[3475]: [889] INFO: Setting GPU power to OFF via bbswitch
Jun 18 21:00:10 nachalnik systemd-sleep[3475]: [993] INFO: Writing state {'type': 'done', 'switch_id': '20220618T205300', 'current_mode': 'integrated'}
Jun 18 21:00:11 nachalnik systemd-sleep[3475]: [1809] INFO: Post-resume hook completed successfully.
Jun 18 21:03:17 nachalnik systemd-sleep[4861]: [9] INFO: # Pre-suspend hook
Jun 18 21:03:17 nachalnik systemd-sleep[4861]: [9] INFO: Previous state was: {'type': 'done', 'switch_id': '20220618T205300', 'current_mode': 'integrated'}
Jun 18 21:03:17 nachalnik systemd-sleep[4861]: [10] INFO: Switching option: bbswitch
Jun 18 21:03:17 nachalnik systemd-sleep[4861]: [10] INFO: Turning Nvidia GPU back on
Jun 18 21:03:17 nachalnik systemd-sleep[4895]: modinfo: ERROR: Module acpi_call not found.
Jun 18 21:03:18 nachalnik systemd-sleep[4861]: [883] INFO: Loading module bbswitch
Jun 18 21:03:18 nachalnik systemd-sleep[4861]: [886] INFO: Setting GPU power to ON via bbswitch
Jun 18 21:03:18 nachalnik systemd-sleep[4861]: [1019] INFO: Writing state {'type': 'pending_post_resume', 'switch_id': '20220618T205300', 'current_mode': 'integrated'}
Jun 18 21:03:18 nachalnik systemd-sleep[4861]: [1019] INFO: Pre-suspend hook completed successfully.
Jun 18 21:03:18 nachalnik systemd-sleep[4858]: Entering sleep state 'suspend'...
Jun 18 21:03:25 nachalnik systemd-sleep[4858]: System returned from sleep state.
Jun 18 21:03:25 nachalnik systemd-sleep[4936]: [9] INFO: # Post-resume hook
Jun 18 21:03:25 nachalnik systemd-sleep[4936]: [9] INFO: Previous state was: {'type': 'pending_post_resume', 'switch_id': '20220618T205300', 'current_mode': 'integrated'}
Jun 18 21:03:25 nachalnik systemd-sleep[4936]: [10] INFO: Turning Nvidia GPU off again
Jun 18 21:03:25 nachalnik systemd-sleep[4977]: modinfo: ERROR: Module acpi_call not found.
Jun 18 21:03:26 nachalnik systemd-sleep[4936]: [893] INFO: Loading module bbswitch
Jun 18 21:03:26 nachalnik systemd-sleep[4936]: [896] INFO: Setting GPU power to OFF via bbswitch
Jun 18 21:03:26 nachalnik systemd-sleep[4936]: [994] INFO: Writing state {'type': 'done', 'switch_id': '20220618T205300', 'current_mode': 'integrated'}
Jun 18 21:03:27 nachalnik systemd-sleep[4936]: [1978] INFO: Post-resume hook completed successfully.
@kafkaGen kafkaGen added the bug label Jun 18, 2022
@SebTM
Copy link
Collaborator

SebTM commented Oct 9, 2022

Jun 18 21:03:17 nachalnik systemd-sleep[4895]: modinfo: ERROR: Module acpi_call not found.

Seems to be related to this which indicates system-configuration issues
Please also provide your service-log for betterlockscreen@$USER

@SebTM
Copy link
Collaborator

SebTM commented Dec 26, 2022

I'm going to close the issue as can't reproduce and no further information's provided :)

@SebTM SebTM closed this as not planned Won't fix, can't repro, duplicate, stale Dec 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants