Bug 442491 - Screen can't sleep, it is always up with my computer
Summary: Screen can't sleep, it is always up with my computer
Status: RESOLVED WORKSFORME
Alias: None
Product: Powerdevil
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-15 20:16 UTC by Zacharie Troletti-Gillot
Modified: 2021-10-20 04:35 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
System lock settings (134.43 KB, image/png)
2021-09-15 20:16 UTC, Zacharie Troletti-Gillot
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zacharie Troletti-Gillot 2021-09-15 20:16:26 UTC
Created attachment 141574 [details]
System lock settings

Hello, 
I have assembled a new computer with AMD R7 1700 and RX 460 4 GB GPU. I have installed Debian Bullseye 11 and KDE Plasma 5.20.5 on it. 

I have installed AMD non-free drivers, but I have always a problem: I have set up KDE to lock my session and sleep my screen, but the screen is off only one second and going up immediately on my lock screen. 
However if I suspend the system with "systemctl suspend" command I don't have this problem. 


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Debian 11 Bullseye
(available in About System)
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Linux Kernel 5.10.8-amd64
Comment 1 Nate Graham 2021-09-16 18:04:55 UTC
Does it happen with Plasma 5.21 or newer? 5.20 is a bit old at this point.
Comment 2 Zacharie Troletti-Gillot 2021-09-16 19:15:09 UTC
Hello, thank you for your answer. I am using this version because it it the version in Debian 11 official repositories. 
Do you think I need to upgrade in unstable version? 


Very cordially.
Comment 3 Nate Graham 2021-09-16 19:56:40 UTC
You don't *need* to, but it's always nice to be using the latest version when you file a bug report, to minimize the risk of wasting your own time as well as the developers' time because the bug has been fixed in a newer version. In general I think it rarely makes sense to intentionally use old versions of any piece of free software, as this means you're missing out on bugfixes, user interface improvements, and new features.
Comment 4 Patrick Silva 2021-09-17 00:32:05 UTC
A few weeks ago the power management stopped working on my Arch Linux.
I fixed it by deleting this file

~/.config/powermanagementprofilesrc

and restarting Plasma session.

Today the problem occured again on the same system running Plasma 5.23 beta after plasma/system settings crash. The fix worked again.
Comment 5 Nate Graham 2021-09-17 18:04:41 UTC
Does the same thing fix it for you, Zacharie?
Comment 6 Zacharie Troletti-Gillot 2021-09-17 19:44:28 UTC
Hello, thank you very much for your answers.

I am not at home this week-end, I will try sunday at evening.


Very cordially.

Le 17/09/2021 à 20:04, Nate Graham a écrit :
> https://bugs.kde.org/show_bug.cgi?id=442491
>
> --- Comment #5 from Nate Graham <nate@kde.org> ---
> Does the same thing fix it for you, Zacharie?
>
Comment 7 Zacharie Troletti-Gillot 2021-09-19 21:15:47 UTC
Hello, I have try to delete the file, my problems appears always. The same on Plasma 5.21. 

But I have installed Debian 10 (the previous version) on my brother's laptop for compare, and I have found a big problem. A lot of kde packages are not installed on my system, not available on Debian 11 repositories;
kde-runtime
kde-runtime-data
kde-style-breeze-qt4
kdelibs-bin
kdelibs5-data
kdelibs5-plugins
libkde3support4
libkdeclarative5
libkdecore5
libkdesu5
libkdeui5
libkdewebkit5
libkf5kdepimdbusinterfaces5:amd64
libkf5libkdepimakonadi5:amd64
polkit-kde-1

If I download this packages manually, I can't install it because I have a lot of dependancies problem. I don't know what I can do, I will maybe go to the Debian forum for check informations... 


Very cordially.
Comment 8 Nate Graham 2021-09-20 16:32:10 UTC
Do you have the powerdevil package installed?
Comment 9 Zacharie Troletti-Gillot 2021-09-20 17:06:07 UTC
Hello, in fact I have this package on my system.
Comment 10 Bug Janitor Service 2021-10-05 04:36:06 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 11 Bug Janitor Service 2021-10-20 04:35:35 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!