Open mrstanlez opened 7 years ago
I've had the same high cpu usage issue with that keyboard, https://github.com/mattanger/ckb-next fork seems to be a bit better.
I'm afraid there's no easy solution for Linux. MacOS has this line which can be commented out.
I dont think so. Because after normal start all is under 1% power usage. So only we must think, how to restart ckb-daemon like it was from normal start. Correct ?
2017-01-19 19:41 GMT+01:00 Oleksii Vilchanskyi notifications@github.com:
I'm afraid there's no easy solution for Linux. MacOS has this https://github.com/ccMSC/ckb/blob/master/src/ckb/main.cpp#L15 line which can be commented out.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ccMSC/ckb/issues/563#issuecomment-273860921, or mute the thread https://github.com/notifications/unsubscribe-auth/AX_e-z2uM1-NEg4ELX91B4kLgaI3Q_5zks5rT65fgaJpZM4Lk07e .
I'm not yet aware of ckb codebase, this string was just what I found so far. And I didn't find any similar one for Linux. By "no easy solution" I mean without extensive refactoring of the codebase because I suppose there isn't any easy fix either.
To me it sounds like after waking up, something goes wrong with the daemon, a pthread goes loose and starts taking up 100% of one core. @mrstanlez is your CPU a quad core?
That is strange. So, for sure, does this happen when resuming from sleep and hibernation? Or more often with one or the other?
On Jan 19, 2017 6:40 PM, "Tasos Sahanidis" notifications@github.com wrote:
To me it sounds like after waking up, something goes wrong with the daemon, a pthread goes loose and starts taking up 100% of one core. @mrstanlez https://github.com/mrstanlez is your CPU a quad core?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ccMSC/ckb/issues/563#issuecomment-273933839, or mute the thread https://github.com/notifications/unsubscribe-auth/AFM7GrgSR7yOt0rX1Q2Ttzk1i4Z4cn7fks5rT_RtgaJpZM4Lk07e .
Hi to All, yes if the system resumes from sleep or hibernation. I resume with vlc and thunar, but only ckb-daemon will comsume a lot of power cpu. Ckb application is good, but this problem still exists. Only one solution is kill ckb-daemon and restart ckb with keyboard re-plug from USB port 3.0.
Dňa 20. 1. 2017 2:05 dopoludnia používateľ "Matt Anger" < notifications@github.com> napísal:
That is strange. So, for sure, does this happen when resuming from sleep and hibernation? Or more often with one or the other?
On Jan 19, 2017 6:40 PM, "Tasos Sahanidis" notifications@github.com wrote:
To me it sounds like after waking up, something goes wrong with the daemon, a pthread goes loose and starts taking up 100% of one core. @mrstanlez https://github.com/mrstanlez is your CPU a quad core?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ccMSC/ckb/issues/563#issuecomment-273933839, or mute the thread https://github.com/notifications/unsubscribe-auth/ AFM7GrgSR7yOt0rX1Q2Ttzk1i4Z4cn7fks5rT_RtgaJpZM4Lk07e .
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ccMSC/ckb/issues/563#issuecomment-273947805, or mute the thread https://github.com/notifications/unsubscribe-auth/AX_e-7e9J7CdsZY7kvv8p8xk_EJbsSKfks5rUAhagaJpZM4Lk07e .
@mrstanlez: To get an idea what the daemon is running, please give us some more infos:
This is a problem related to my keyboard K70 RGB. OS is Linux 64 bit Manjaro XFCE 4.8(icon in systray dissapears always after start up from hibernate/sleeping mode).
CPU is used 25% of power with difference with normal start only 1% maximum. The process is ckb-daemon the consumes so more cpu power.
Please can You fix this issue ?