DS4DRV using 60% cpu on pi3?
-
I got ahold of a ps4 controller for my retropie on pi3, am using the ds4drv driver, and since then Emulationstation has been running badly, buggy, and i've been getting throttled A LOT. Just ran top and noticed ds4drv is using between 40 and 65% cpu when idle... does anyone else have this problem, or do something go wrong with my install?
-
Just connect it via Bluetooth menu in the setup script, no need for USB cable or userspace ds4drv.
-
it is connected via bluetooth, the led lights up, and /dev/input/js0 exists, but only the touchpad registers in jstest...
-
Then you don't need ds4drv, it just works. I just did it on the weekend.
-
@suprjami said in DS4DRV using 60% cpu on pi3?:
Then you don't need ds4drv, it just works. I just did it on the weekend.
nope, it doesn't work, at least not on 4.0.3, on my fully updated pi3 (or not for me), it registers as connected, but no buttons or axes are functional besides the touchpad, in ES, or retroarch, or jstest. It works when plugged into USB, but not when connected via bluetooth.
-
OK you're right, I bought a new DS4 yesterday and this one doesn't work with just the regular Bluetooth menu. My other (older) DS4 controller does just work via the Bluetooth menu.
I did get the new one working in ES with
ds4drv
like the wiki says, but I didn't get a chance to play with it more yet or look at CPU usage. -
Hey @gomisensei today I bought a Sony Dualshock 4 Wireless USB Adapter.
It does all the wireless pairing in hardware and appears as a plugged-in USB controller, so you don't need to setup Bluetooth or ds4drv or anything special in software at all.
Just plug in, push the adapter for 3 seconds to enter pairing mode, press PS+Select on the controller, and you're good to go.
This worked with both my controllers, the one which works over RetroPie Bluetooth menu, and the one which otherwise needs ds4drv.
If you have multiple controllers, you need one adapter per controller. I'm going to buy another one soon but I expect it'll work fine.
Hope this helps you!
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.