TreeFallSound / pi-stomp

pi-stomp is a DIY high definition, multi-effects stompbox platform for guitar, bass and keyboards
https://treefallsound.com
GNU General Public License v3.0
106 stars 19 forks source link

Low Latency Kernel #43

Closed micahvdm closed 2 years ago

rreichenbach commented 2 years ago

The good news is that, yes, this seems to fix the USB issue. The bad is that CPU usage is back to what it was before the real-time kernel: 50 to 70% for most of the default pedalboards, where with the RTK those same pedalboards used about half (25 to 35%). Personally, I'd even give up USB for the better performance and almost zero XRUNs. Might be better to fix the USB issue with the RTK if possible.

micahvdm commented 2 years ago

Ok, let’s leave the rtk in for now and I’ll build a new rt kernel with usb fixes

micahvdm commented 2 years ago

I managed to build 5.15.40-rt43 kernel and it works now when adding dtoverlay=dwc2,dr_mode=host to config.txt. It works with the previous kernel too, but wasn't as stable. New kernel is much better, stability wise.

rreichenbach commented 2 years ago

Seems good. CPU usage is back to the 30%'s and I'm able to hot plug a USB device with apparently no ill effects.