Git Product home page Git Product logo

Comments (18)

hujberhunor avatar hujberhunor commented on June 2, 2024 1

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.

HenryTheVacuum avatar HenryTheVacuum commented on June 2, 2024 1

Same on latest windows 11 lately

from caprine.

maetthew avatar maetthew commented on June 2, 2024 1

Same on Debian. Driving me nuts.

from caprine.

sgtcoder avatar sgtcoder commented on June 2, 2024 1

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.

mstapaj avatar mstapaj commented on June 2, 2024

Same on Fedora 39. Higher CPU usage by about 5-10%

from caprine.

Terrorzyw avatar Terrorzyw commented on June 2, 2024

Kubuntu 23.10 flatpak same problem.

from caprine.

tgm-git avatar tgm-git commented on June 2, 2024

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.

dusatvoj avatar dusatvoj commented on June 2, 2024

Same @ arch linux. Eating one core.

from caprine.

wkrska avatar wkrska commented on June 2, 2024

Same on Ubuntu 22.04.3 LTS, when application is in foreground it has one core pinned

from caprine.

sgtcoder avatar sgtcoder commented on June 2, 2024

I am having this issue too again. They fixed it in previous versions, but looks like the issue is back. Debian 12.

from caprine.

heavykisiel avatar heavykisiel commented on June 2, 2024

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.

maetthew avatar maetthew commented on June 2, 2024

There is a pull request (#2110) ready which seems to fix the issue.

from caprine.

sgtcoder avatar sgtcoder commented on June 2, 2024

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.

phodamentals avatar phodamentals commented on June 2, 2024

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.

sgtcoder avatar sgtcoder commented on June 2, 2024

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.

stkrknds avatar stkrknds commented on June 2, 2024

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.

sgtcoder avatar sgtcoder commented on June 2, 2024

#2109 (comment)

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

#2109 (comment)

For some reason though, updating electron and element-ready to the latest versions works well.

from caprine.

fliker09 avatar fliker09 commented on June 2, 2024

On my old Xeon machine driving a single core to 100%. Any hope for getting a fix soon?

from caprine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.