Comments (18)
Same here, but 91%
5.15.144-1-MANJARO
caprine 2.59.1
Top outpot 1940406 i3hunor 20 0 1133.2g 287120 103908 R 107.0 3.6 113:38.55 electron
from caprine.
Same on latest windows 11 lately
from caprine.
Same on Debian. Driving me nuts.
from caprine.
Hi @sgtcoder . Could you test if #2109 fixes this issue. I suspect that the currently broken selector is causing elementReady to hang, resulting in high CPU usage.
I can take a peak later today :-)
from caprine.
Same on Fedora 39. Higher CPU usage by about 5-10%
from caprine.
Kubuntu 23.10 flatpak same problem.
from caprine.
I am seeing the same in Debian 12. Initially the app has an expected usage and then after several hours of uptime it starts using more CPU, usually taking up 90~% of one core.
Restarting the application seems to help the problem.
from caprine.
Same @ arch linux. Eating one core.
from caprine.
Same on Ubuntu 22.04.3 LTS, when application is in foreground it has one core pinned
from caprine.
I am having this issue too again. They fixed it in previous versions, but looks like the issue is back. Debian 12.
from caprine.
I have this problem too on Arch it uses around 4% of my CPU while all other apps in idle are not even close to that. But thing what concerns me the most is temperatures of CPU. In idle having discord and firefox open with multiple tabs I have CPU cores temps around 37C to 42C, but when I turn this caprine on it quickly raises to 42C-49C.Its quite a lot in my opinion.
I find out that it might be due hardware acceleration not working properly. I have set it on true on caprine setting, but when I run app in terminal I have this erorr:
libva error: vaGetDriverNames() failed with unknown libva error
I have it installed newest version.
Caprine right now runs fully on CPU not touching GPU data at all. so maybe all that stuff is being calculated on CPU that is not very effective I guess.
from caprine.
There is a pull request (#2110) ready which seems to fix the issue.
from caprine.
When running the below, the app opens and displays Messenger and then the screen turns white (this isn't an issue with "electron": "^28.2.1",
. I noticed the CPU usage being low, but can't confirm usage.
Also, how do I build for a .deb package? I couldn't see that in the docs. Actually, npx electron-builder --linux
git clone https://github.com/bnabholz/caprine
cd caprine
git checkout fixes/high-cpu-usage
npm install && npm start
from caprine.
Same issue with CPU hitting at least 70% at all times while app is open.
OS: Pop!_OS 22.04 LTS
Caprine: 2.59.1
from caprine.
So here is what I did for a workaround solution for myself (so I can have it auto-pull into my repository server as well).
I forked this repo sindresorhus/caprine
then pulled in the PR Fix: https://github.com/sindresorhus/caprine/pull/2110
I updated "electron": "^28.2.1"
since that also was needed for me.
I also updated all the packages that could be updated without breaking.
Resulting in this: https://github.com/sgtcoder/caprine/releases
So maybe this could be a temp solution for now. It dropped my Intel CPU 20C.
from caprine.
Hi @sgtcoder . Could you test if #2109 fixes this issue. I suspect that the currently broken selector is causing elementReady to hang, resulting in high CPU usage.
from caprine.
Hi @sgtcoder . Could you test if #2109 fixes this issue. I suspect that the currently broken selector is causing elementReady to hang, resulting in high CPU usage.
Hi, I posted it here and I still had issues with it
For some reason though, updating electron
and element-ready
to the latest versions works well.
from caprine.
On my old Xeon machine driving a single core to 100%. Any hope for getting a fix soon?
from caprine.
Related Issues (20)
- not compatible with 2fa? HOT 1
- Feature request: client-side logging of messages
- Caprine deletes all bitmap fonts from fontconfig cache on Linux HOT 6
- Caprine not opening to last message upon launch
- "Messenger Settings" doesn't open HOT 4
- " HOT 1
- "Messages are missing. Sync now." does nothing HOT 5
- Add XDG autostart support HOT 1
- Arch repo
- Encrypted messages are not displayed after re-launch HOT 2
- "Synch now" button does not work. HOT 1
- Caprine opens with message list not showing at all. It just keeps loading with a blank screen. HOT 1
- Block seen and typing indicator, Vibrancy, White/Dark tοggle shortcut (Cmd+D), Notification preview, Messenger Preferences
- Caprine turned to a white blank window HOT 1
- CAPRINE ne fonctionne pas avec le chiffrement de bout en bout HOT 1
- Can't syncronize messages HOT 1
- Input Box for One time code is not showing. HOT 1
- [BUG] View options don't work as intended
- Cant sync messages HOT 3
- Dark mode theme doesn't fit in window HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caprine.