fthx / dock-from-dash

GNU General Public License v3.0
97 stars 20 forks source link

Getting frequent JS Errors in dmesg #71

Closed chereskata closed 1 year ago

chereskata commented 2 years ago

Hello,

i like your extension and use it every day! But i have noticed for some time, that gnome-shell uses an average of 15% CPU on a i7 7600U. After looking into dmesg i found following lines occouring frequently:

gnome-shell[2298]: JS ERROR: Invalid work id 3: Error: Invalid work id 3 queueDeferredWork@resource:///org/gnome/shell/ui/main.js:874:18 _queueRedisplay@resource:///org/gnome/shell/ui/dash.js:477:14 gnome-shell[2298]: JS ERROR: Invalid work id 4: Error: Invalid work id 4 queueDeferredWork@resource:///org/gnome/shell/ui/main.js:874:18 _queueRedisplay@resource:///org/gnome/shell/ui/dash.js:477:14 gnome-shell[2298]: JS ERROR: Invalid work id 5: Error: Invalid work id 5 queueDeferredWork@resource:///org/gnome/shell/ui/main.js:874:18 _queueRedisplay@resource:///org/gnome/shell/ui/dash.js:477:14 gnome-shell[2298]: JS ERROR: Invalid work id 6: Error: Invalid work id 6 queueDeferredWork@resource:///org/gnome/shell/ui/main.js:874:18 _queueRedisplay@resource:///org/gnome/shell/ui/dash.js:477:14 gnome-shell[2298]: JS ERROR: Invalid work id 3: Error: Invalid work id 3 queueDeferredWork@resource:///org/gnome/shell/ui/main.js:874:18 _queueRedisplay@resource:///org/gnome/shell/ui/dash.js:477:14 gnome-shell[2298]: JS ERROR: Invalid work id 4: Error: Invalid work id 4 queueDeferredWork@resource:///org/gnome/shell/ui/main.js:874:18 _queueRedisplay@resource:///org/gnome/shell/ui/dash.js:477:14 gnome-shell[2298]: JS ERROR: Invalid work id 5: Error: Invalid work id 5 queueDeferredWork@resource:///org/gnome/shell/ui/main.js:874:18 _queueRedisplay@resource:///org/gnome/shell/ui/dash.js:477:14 gnome-shell[2298]: JS ERROR: Invalid work id 6: Error: Invalid work id 6 queueDeferredWork@resource:///org/gnome/shell/ui/main.js:874:18 _queueRedisplay@resource:///org/gnome/shell/ui/dash.js:477:14 gnome-shell[2298]: JS ERROR: Invalid work id 3: Error: Invalid work id 3 queueDeferredWork@resource:///org/gnome/shell/ui/main.js:874:18 _queueRedisplay@resource:///org/gnome/shell/ui/dash.js:477:14 gnome-shell[2298]: JS ERROR: Invalid work id 4: Error: Invalid work id 4 queueDeferredWork@resource:///org/gnome/shell/ui/main.js:874:18 _queueRedisplay@resource:///org/gnome/shell/ui/dash.js:477:14 gnome-shell[2298]: JS ERROR: Invalid work id 5: Error: Invalid work id 5 queueDeferredWork@resource:///org/gnome/shell/ui/main.js:874:18 _queueRedisplay@resource:///org/gnome/shell/ui/dash.js:477:14 gnome-shell[2298]: JS ERROR: Invalid work id 6: Error: Invalid work id 6 queueDeferredWork@resource:///org/gnome/shell/ui/main.js:874:18 _queueRedisplay@resource:///org/gnome/shell/ui/dash.js:477:14

I have gnome-shell 43 installed on debian sid

Thanks a lot!

chereskata commented 2 years ago

I have got over 90% CPU hogs. Here is a full log: cleanlog2.txt

fthx commented 2 years ago

Yes I do not know how to remove these error messages. But afaik, there are not a big deal (Florian Muelnner told me it was on GS side, not cleaning signals correctly, because GS Dash was not supposed at first to be used outside its main call!). I don't believe your CPU usage to be related. Could you check without any other extension?

chereskata commented 2 years ago

Hello,

thank you for the fast response. I will try it out for a while. The only other extensions i use are freon and click-to-close-overview

fthx commented 1 year ago

Hi, any update?

chereskata commented 1 year ago

Hello,

thank you for your message. I switched to Alpine Linux and i do not get any problems with high CPU usage now.

Best Regards

fthx commented 1 year ago

I reopen this except for the cpu usage part. I look at this.

fthx commented 1 year ago

happens when opening or closing an app, at least

fthx commented 1 year ago

https://github.com/fthx/dock-from-dash/commit/6247f9f5f5c599823e62f1b7be763ce4cd59a084

fthx commented 7 months ago

really solved now.