From mboxrd@z Thu Jan 1 00:00:00 1970 From: "numbchild@gmail.com" Subject: Re: org-notify dbus send message to KDE/Plasma caused desktop suspend Date: Sat, 14 Sep 2019 07:40:01 +0800 Message-ID: References: <87blvqec2t.fsf@alphapapa.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000769bd5059277c76e" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:37115) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i8vB2-0005MT-2K for emacs-orgmode@gnu.org; Fri, 13 Sep 2019 19:40:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i8vB0-00074K-L8 for emacs-orgmode@gnu.org; Fri, 13 Sep 2019 19:40:31 -0400 Received: from mail-vs1-xe31.google.com ([2607:f8b0:4864:20::e31]:41527) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i8vB0-000725-Gj for emacs-orgmode@gnu.org; Fri, 13 Sep 2019 19:40:30 -0400 Received: by mail-vs1-xe31.google.com with SMTP id g11so19385073vsr.8 for ; Fri, 13 Sep 2019 16:40:29 -0700 (PDT) In-Reply-To: <87blvqec2t.fsf@alphapapa.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Adam Porter Cc: Org-mode --000000000000769bd5059277c76e Content-Type: text/plain; charset="UTF-8" Yes, my "suspend" means some part of the Plasma UI is freezing and causing high CPU usage. :) I will try to reproduce this bug with command `dbus-send`. And file a issue report to KDE. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Thu, Sep 12, 2019 at 5:52 AM Adam Porter wrote: > "numbchild@gmail.com" writes: > > > org-notify dbus send message to KDE/Plasma caused desktop suspend and > high CPU,memory resources. > > > > Here is my config: > > ```elisp > > (setq org-notify-audible nil) > > (org-notify-add 'default > > '(:time "1h" :period "1h" :duration 8 > > :actions (-ding -notify/window) > > :audible t)) > > (org-notify-start (* 60 2)) > > ``` > > > > When I have about 10 deadline tasks to be reminded at once, dbus suspend > desktop soon because send dbus message too fast? > > > > Maybe add a sequence delay to improve this situation? > > That workaround might be helpful, but it sounds like a bug somewhere > else in the Plasma/dbus/etc. stack. I recommend trying to reproduce it > with e.g. the notify-send shell command; if you can, you'll know the bug > isn't with Emacs/Org. > > I recommend filing a bug report with KDE, or perhaps with your Linux > distro as a first step. > > By the way, I'm not sure what you mean by "desktop suspend." The word > "suspend" is typically used to mean putting the system into a low-power > sleep state, but I'm guessing you mean that some part of the Plasma UI > is freezing and causing high CPU usage. > > > --000000000000769bd5059277c76e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yes, my "suspend" means some part of the Plasma = UI is freezing and causing high CPU usage. :)

I will try to = reproduce this bug with command `dbus-send`. And file a issue report to KDE= .

[stardiviner]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 <Hack this world!>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 GPG key ID= : 47C32433
IRC(freeenode): stardiviner =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 Twitter:=C2=A0 @numbchild
Key fingerprint =3D 9BAA 92BC CDDD B9EF= 3B36=C2=A0 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/
<= /div>


On Thu, Sep 12, 2019 at 5:52 AM Adam Porter <= adam@alphapapa.net> wrote:
=
"numbchild@gmail.com" &= lt;numbchild@gmail= .com> writes:

> org-notify dbus send message to KDE/Plasma caused desktop suspend and = high CPU,memory resources.
>
> Here is my config:
> ```elisp
> (setq org-notify-audible nil)
> (org-notify-add 'default
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0'(:ti= me "1h" :period "1h" :duration 8
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0:actions (-ding -notify/window)
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0:audible t))
> (org-notify-start (* 60 2))
> ```
>
> When I have about 10 deadline tasks to be reminded at once, dbus suspe= nd desktop soon because send dbus message too fast?
>
> Maybe add a sequence delay to improve this situation?

That workaround might be helpful, but it sounds like a bug somewhere
else in the Plasma/dbus/etc. stack.=C2=A0 I recommend trying to reproduce i= t
with e.g. the notify-send shell command; if you can, you'll know the bu= g
isn't with Emacs/Org.

I recommend filing a bug report with KDE, or perhaps with your Linux
distro as a first step.

By the way, I'm not sure what you mean by "desktop suspend."= =C2=A0 The word
"suspend" is typically used to mean putting the system into a low= -power
sleep state, but I'm guessing you mean that some part of the Plasma UI<= br> is freezing and causing high CPU usage.


--000000000000769bd5059277c76e--