Re: Why is idle not detected?

2021-01-09 Thread Anssi Saari
Rainer Dorsch  writes:

> Is there a way to find out what is the holding back the idle detection?

Some years ago I remember I had an indicator in KDE which clearly
indicated the culprit. For me it was usually Chromium back then. I
haven't seen that recently and I have no idea what provided that
info. It seemed like a part of KDE. Maybe it was unreliable and was
removed? Or maybe it never existed. I can't find anything relevant with
Google.

Of course, you might consider replacing VLC, since that seems to cause
your problem.



Re: Why is idle not detected?

2021-01-08 Thread Andrei POPESCU
On Mi, 06 ian 21, 21:46:51, Rainer Dorsch wrote:
> Hi,
> 
> I am running Debian 10 and sometimes idle is not detected correctly on my 
> (KDE) system and the desktop is not going to suspend.
> 
> A typical candidate is a not correctly terminating vlc process which does not 
> have a screen anymore but is still alive. Sometimes I cannot find out what 
> causes the problem.
> 
> Is there a way to find out what is the holding back the idle detection?

Maybe powertop can help with that.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Why is idle not detected?

2021-01-08 Thread Andrei POPESCU
On Sb, 09 ian 21, 00:25:46, Anders Andersson wrote:
> On Wed, Jan 6, 2021 at 9:47 PM Rainer Dorsch  wrote:
> >
> > I am running Debian 10 and sometimes idle is not detected correctly on my
> > (KDE) system and the desktop is not going to suspend.
> >
> > A typical candidate is a not correctly terminating vlc process which does 
> > not
> > have a screen anymore but is still alive. Sometimes I cannot find out what
> > causes the problem.
> 
> For me it is ALWAYS vlc, and it has been doing this at random for the
> past year or two. No solution other than "killall -KILL vlc" now and
> then and especially before leaving for the night. I don't know what
> triggers this behaviour, it doesn't always leave stray processes
> around.
> 
> Maybe some day I'm annoyed enough to file a bug report. This happened
> with different GPUs, different monitors, Wayland vs. X11, and I see
> this on Gnome in Debian testing.
 
Maybe it depends on the file being played?

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Why is idle not detected?

2021-01-08 Thread Anders Andersson
On Wed, Jan 6, 2021 at 9:47 PM Rainer Dorsch  wrote:
>
> Hi,
>
> I am running Debian 10 and sometimes idle is not detected correctly on my
> (KDE) system and the desktop is not going to suspend.
>
> A typical candidate is a not correctly terminating vlc process which does not
> have a screen anymore but is still alive. Sometimes I cannot find out what
> causes the problem.
>
> Is there a way to find out what is the holding back the idle detection?
>
> I am thinking of something like doing a dry-run of the idle detection by cron
> with a report every few minutes and log the report (without actually
> triggering suspend if idle is detected). Whenever idle is not detected
> properly, the log file would tell the reason.
>
> Any idea or hint is welcome.

For me it is ALWAYS vlc, and it has been doing this at random for the
past year or two. No solution other than "killall -KILL vlc" now and
then and especially before leaving for the night. I don't know what
triggers this behaviour, it doesn't always leave stray processes
around.

Maybe some day I'm annoyed enough to file a bug report. This happened
with different GPUs, different monitors, Wayland vs. X11, and I see
this on Gnome in Debian testing.



Why is idle not detected?

2021-01-06 Thread Rainer Dorsch
Hi,

I am running Debian 10 and sometimes idle is not detected correctly on my 
(KDE) system and the desktop is not going to suspend.

A typical candidate is a not correctly terminating vlc process which does not 
have a screen anymore but is still alive. Sometimes I cannot find out what 
causes the problem.

Is there a way to find out what is the holding back the idle detection?

I am thinking of something like doing a dry-run of the idle detection by cron 
with a report every few minutes and log the report (without actually 
triggering suspend if idle is detected). Whenever idle is not detected 
properly, the log file would tell the reason.

Any idea or hint is welcome.

Many thanks
Rainer

-- 
Rainer Dorsch
http://bokomoko.de/