Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High CPU usage #159

Closed
alpozcan opened this issue Mar 6, 2021 · 3 comments
Closed

High CPU usage #159

alpozcan opened this issue Mar 6, 2021 · 3 comments
Labels
invalid/duplicate This doesn't seem right / already exists

Comments

@alpozcan
Copy link

alpozcan commented Mar 6, 2021

Tested on Ubuntu 21.04 kernel Linux n8 5.10.0-14-generic #15-Ubuntu SMP Fri Jan 29 15:10:03 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux.

xow version 9d5a11b.

● xow.service - Xbox One Wireless Dongle Driver
     Loaded: loaded (/etc/systemd/system/xow.service; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2021-03-06 17:47:13 AEDT; 4min 35s ago
   Main PID: 834 (xow)
      Tasks: 6 (limit: 76906)
     Memory: 1.0M
     CGroup: /system.slice/xow.service
             └─834 /usr/local/bin/xow

Mar 06 17:47:19 n8 xow[834]: 2021-03-06 17:47:19 DEBUG - Channel 161, power: 43
Mar 06 17:47:19 n8 xow[834]: 2021-03-06 17:47:19 DEBUG - Channel 165, power: 43
Mar 06 17:47:19 n8 xow[834]: 2021-03-06 17:47:19 INFO  - Dongle initialized
Mar 06 17:47:21 n8 xow[834]: 2021-03-06 17:47:21 INFO  - Controller '1' connected
Mar 06 17:47:22 n8 xow[834]: 2021-03-06 17:47:22 INFO  - Device announced, product id: 0b12
Mar 06 17:47:22 n8 xow[834]: 2021-03-06 17:47:22 DEBUG - Firmware version: 5.5.2641.0
Mar 06 17:47:22 n8 xow[834]: 2021-03-06 17:47:22 DEBUG - Hardware version: 1032.1.1.1
Mar 06 17:47:22 n8 xow[834]: 2021-03-06 17:47:22 INFO  - Serial number: 09711773224036
Mar 06 17:47:23 n8 xow[834]: 2021-03-06 17:47:23 INFO  - Battery level: 2
Mar 06 17:47:46 n8 xow[834]: 2021-03-06 17:47:46 DEBUG - Rumble count: 0, duration: 5000, delay: 0

xow is using almost 2 cores of my Intel(R) Core(TM) i5-8259U.

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                                                                                                              
    834 xow       20   0  376412   4700   4240 S 170.1   0.0   5:21.05 xow           

This is with an Xbox Series S controller with share button.

The constantly high CPU utilisation continues even when the gamepad is disconnected.

@alpozcan alpozcan changed the title High CPU usage on linux 5.10 High CPU usage Mar 6, 2021
@kapsh
Copy link

kapsh commented Mar 6, 2021

Probably the same as #141.

@alpozcan
Copy link
Author

alpozcan commented Mar 6, 2021

Yes looks like it's the same issue. I'm on libusb 1.0.24 as well.

@medusalix
Copy link
Owner

Yep, there's unfortunately nothing I can do about this. It's a known bug and will hopefully be fixed in the next version of libusb.

@medusalix medusalix added the invalid/duplicate This doesn't seem right / already exists label Mar 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid/duplicate This doesn't seem right / already exists
Projects
None yet
Development

No branches or pull requests

3 participants