ferdium-app icon indicating copy to clipboard operation
ferdium-app copied to clipboard

High CPU usage since update to 7.0.1

Open linkcharger opened this issue 8 months ago • 2 comments

Avoid duplicates

  • [x] I agree to follow the Code of Conduct that this project adheres to.
  • [x] I have searched the issues tracker for a bug report similar to mine, in vain

Ferdium Version

7.0.1

What Operating System are you using?

Ubuntu

Operating System Version

Kubuntu 24.10

What arch are you using?

x64

Last Known Working Ferdium version

6.xxx

Expected Behavior

Before the update (I dont know which was the exact version, but it must have been 6.x.. or maybe the 7.0.0, since now I'm on 7.0.1), it runs just fine, using 1 or 2% of CPU (on a 12 core system) when not active. I have seen this other issue from half a year ago about starting and running in the background causing the high CPU utilisation, but I had those settings activated always and did not have an issue before. I've also been on Wayland the whole time, so I dont think that makes a difference. Everything stayed the same except the ferdium version.

Actual Behavior

After the update, whether I launch it at startup or manually, it takes about 50-60% CPU for half a minute, then it settles to 20% and stays there indefinitely.

Steps to reproduce

  1. launch ferium (automatically or manually)
  2. check CPU usage

Debug link

https://debug.ferdium.org/450d66ec-2e1d-4cd5-be34-6de8cbb1abbe

Screenshots

No response

Additional information

Version: 7.0.1 Server: No Server Electron: 34.4.1 Chrome: 132.0.6834.210 Node.js: 20.18.3 Platform: Linux 6.11 Arch: x64 Build date: Mon Apr 07 2025 18:20:44 GMT+0200 (Central European Summer Time) Git SHA: 0e27e4da Git branch: release

Operating System: Kubuntu 24.10 KDE Plasma Version: 6.1.5 KDE Frameworks Version: 6.6.0 Qt Version: 6.6.2 Kernel Version: 6.11.0-24-generic (64-bit) Graphics Platform: Wayland Processors: 12 × Intel® Core™ i7-9750H CPU @ 2.60GHz Memory: 31.1 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics 630 Manufacturer: LENOVO Product Name: 20QTCTO1WW System Version: ThinkPad P1 Gen 2

When launching from the terminal: ┌─[13:32:18] [tau@solarSailer] ~ └─ ferdium Checking for beta autoupdate feature for deb/rpm distributions Found package-type: deb [58421:0428/133222.389068:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times! [MobX] Since strict-mode is enabled, changing (observed) observable values without using an action is not allowed. Tried to modify: [email protected] Ferdium Migration: 🧙‍ Running database migration wizard info: serving app on http://localhost:46569 Ferdium Migration: 🔧 Nothing to migrate, already on the newest version [58421:0428/133230.510207:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times! [58421:0428/133232.204628:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times! Checking for update Update for version 7.0.1 is not available (latest version: 7.0.1, downgrade is disallowed).

linkcharger avatar Apr 28 '25 11:04 linkcharger

Updating to the latest nightly with Electron 35 did not fix the issue, unfortunately:

Version: 7.1.0-nightly.6 Server: No Server Electron: 35.2.1 Chrome: 134.0.6998.205 Node.js: 22.14.0 Platform: Linux 6.11 Arch: x64 Build date: Sun Apr 27 2025 03:12:12 GMT+0200 (Central European Summer Time) Git SHA: fa9501a1 Git branch: nightly

linkcharger avatar Apr 29 '25 08:04 linkcharger

Downgrade to 7.0.0 did, though:

Version: 7.0.0 Server: No Server Electron: 33.2.0 Chrome: 130.0.6723.118 Node.js: 20.18.0 Platform: Linux 6.11 Arch: x64 Build date: Sun Nov 10 2024 03:22:25 GMT+0100 (Central European Standard Time) Git SHA: e6249427 Git branch: release

linkcharger avatar Apr 29 '25 08:04 linkcharger

Same problem here (posted in this duplicate: https://github.com/ferdium/ferdium-app/issues/1720#issuecomment-2882925904)

svobom57 avatar May 15 '25 08:05 svobom57

Ever since I bumped to the latest 7.1.0 this was resolved for me at least 🤷‍♂ not sure if it was some regression introduced in the previous 7.0.x version

The release notes for 7.1.0 do not mention any fixes for CPU so not sure what could've caused that.

svobom57 avatar May 26 '25 14:05 svobom57

I downgraded to 7.0.0 and the issue was gone - on your recommendation I upgraded to 7.1.0 now, and the issue is back 😂😂

linkcharger avatar May 27 '25 08:05 linkcharger

High cpu usage in windows 11 too. Downgrading back to 7.0.0 fixing the issue.

Qu1ckJ avatar Jun 02 '25 00:06 Qu1ckJ

I'm seeing a similar issue with Fedora 41. 7.0.x was fine, upgrading to 7.1 causes 100% CPU usage after several minutes. Also sometimes I'll see two ferdium icons in the status bar, and even quitting Ferdium from the menu doesn't work, I have to kill it from the command line.

kartiksubbarao avatar Jun 03 '25 21:06 kartiksubbarao

7.1.0 high memory usage (~3 GB ram): Version: 7.1.0-nightly.9 Server: No Server Electron: 35.4.0 Chrome: 134.0.6998.205 Node.js: 22.15.0 Platform: Linux 6.11 Arch: x64 Build date: Sat May 24 2025 04:08:00 GMT+0300 (Eastern European Summer Time) Git SHA: 108a7030 Git branch: nightly

urbels avatar Jun 04 '25 07:06 urbels

Ever since I bumped to the latest 7.1.0 this was resolved for me at least 🤷‍♂ not sure if it was some regression introduced in the previous 7.0.x version

The release notes for 7.1.0 do not mention any fixes for CPU so not sure what could've caused that.

Ditto for me. For me this was specific to the Messenger recipe and only on Windows, but it's no longer occurring in 7.1.0.

ptous avatar Jun 28 '25 03:06 ptous