Search found 48 matches

by wrl
Thu Jan 07, 2021 5:48 pm
Forum: Computer Related Hardware
Topic: Ultralite AVB
Replies: 899
Views: 4631539

Re: Ultralite AVB

<r><QUOTE author="shellwalker" post_id="127653" time="1610018274" user_id="17841"><s>[quote=shellwalker post_id=127653 time=1610018274 user_id=17841]</s> Running overnight was what brought me to the question of an automated test rig. My thought was, if I came back in the morning and saw on the scree...
by wrl
Thu Jan 07, 2021 3:49 am
Forum: Computer Related Hardware
Topic: Ultralite AVB
Replies: 899
Views: 4631539

Re: Ultralite AVB

Thanks @wrl for all your work on this. I'd be happy to give some feedback on my Ultralite AVB with new ESS chip. I applied your patch to 5.11rc1 and everything was fine with the building. My problem now is unrelated to the audio stack, but I'll ask for help here anyway: the 5.11 doesn't boot on my ...
by wrl
Thu Jan 07, 2021 1:03 am
Forum: Computer Related Hardware
Topic: Ultralite AVB
Replies: 899
Views: 4631539

Re: Ultralite AVB

ok. So here's my current status: 1. I switched to linux-next (tag=next-20201223) 2. I first did not apply any patch, just to see the base behaviour -> drifting occurs as expected. ("Drifting occurs" _also_ means that the heard audio becomes somewhat distorted as time goes. Regarding how l...
by wrl
Wed Jan 06, 2021 4:22 pm
Forum: Computer Related Hardware
Topic: Ultralite AVB
Replies: 899
Views: 4631539

Re: Ultralite AVB

Also – tried out jack_bufsize with the URB fast completion patch. Shrinking the buffer (e.g. 1024 -> 128) results in a brief dropout (about ~1sec) while the device reconfigures, but then it comes back online without any channel drift issues. Enlarging the buffer (128 -> 1024 or whatever) happens on...
by wrl
Mon Jan 04, 2021 1:18 am
Forum: Computer Related Hardware
Topic: Ultralite AVB
Replies: 899
Views: 4631539

Re: Ultralite AVB

Also – tried out jack_bufsize with the URB fast completion patch. Shrinking the buffer (e.g. 1024 -> 128) results in a brief dropout (about ~1sec) while the device reconfigures, but then it comes back online without any channel drift issues. Enlarging the buffer (128 -> 1024 or whatever) happens on ...
by wrl
Mon Jan 04, 2021 1:17 am
Forum: Computer Related Hardware
Topic: Ultralite AVB
Replies: 899
Views: 4631539

Re: Ultralite AVB

No i'm absolutely tired. i think in xhci_urb_enqueue int lock_acquired = spin_trylock_irqsave(&xhci_lock, flags); ... if (lock_aquired) spin_unlock_irqrestore(&xhci_lock, flags); should do the trick. No extra USB_HOST_LOCK_IS_ACQUIRED flag needed. This seems dodgy to me. If the lock needs t...
by wrl
Mon Jan 04, 2021 1:16 am
Forum: Computer Related Hardware
Topic: Ultralite AVB
Replies: 899
Views: 4631539

Re: Ultralite AVB

[....] my other audio interface (babyface pro) [...]. How do you like the Motu device (828es you said?) vs the Babyface Ppro? I'm trying to decide between the two. TBH, I'm kinda leaning toward the Babyface Pro FS. If the Ultralite AVB or 624 AVB drivers were stable I'd go with them. But having the...
by wrl
Sun Jan 03, 2021 12:14 am
Forum: Computer Related Hardware
Topic: Ultralite AVB
Replies: 899
Views: 4631539

Re: Ultralite AVB

You're absolutely right, I somehow completely blanked on that.
by wrl
Sun Jan 03, 2021 12:01 am
Forum: Computer Related Hardware
Topic: Ultralite AVB
Replies: 899
Views: 4631539

Re: Ultralite AVB

Aha, very nice catch, thanks for the review! I'll make that adjustment tomorrow – might just use the URB_FAST_COMPLETION flag for that rather than adding another flag that's only used in this specific code path. Will also look into making the change in the EHCI code. Currently smoke testing USB_ISO_...
by wrl
Sat Jan 02, 2021 11:50 pm
Forum: Computer Related Hardware
Topic: Ultralite AVB
Replies: 899
Views: 4631539

Re: Ultralite AVB

Drumfix wrote: Sat Jan 02, 2021 10:36 pm The right thing to do would be to have a separate kernel thread that handles the ISO completion callbacks and is scheduled instead of the tasklet_hi_schedule.
Is this something I could just test with "threadirqs" before going down the path of implementing a separate kernel thread?
by wrl
Sat Jan 02, 2021 10:07 pm
Forum: Computer Related Hardware
Topic: Ultralite AVB
Replies: 899
Views: 4631539

Re: Ultralite AVB

I make it short: Doing a spin_unlock/spin_lock while inside hardirq context is the best way to create a kernel panic. Noted, and thanks for looking at the patch. The unlock/lock is necessary because of a hardlock that happens otherwise. The specific code was borrowed from the way that the URB giveb...
by wrl
Sat Jan 02, 2021 7:28 pm
Forum: Computer Related Hardware
Topic: Ultralite AVB
Replies: 899
Views: 4631539

Re: Ultralite AVB

Still going fine today, about 100 hours of runtime with no channel drift. As mentioned, this is with an 828es, I don't have any other devices handy. Latest firmware. Here's a patchset, apply on top of linux-next. Otherwise no device/ALSA-specific patches necessary here, linux-next has the relevant i...
by wrl
Fri Jan 01, 2021 1:30 pm
Forum: Computer Related Hardware
Topic: Ultralite AVB
Replies: 899
Views: 4631539

Re: Ultralite AVB

So, the behaviour I was observing with Audacity turned out to be resolved by a BIOS update, so that may have been a sketchy USB host controller. Regardless, even with the BIOS updated, I was seeing channel drifting after hours to days of operation with linux-next. With "acpi_irq_nobalance nowat...
by wrl
Sun Dec 06, 2020 3:54 pm
Forum: Computer Related Hardware
Topic: Ultralite AVB
Replies: 899
Views: 4631539

Re: Ultralite AVB

Woke up and the channels had indeed drifted, so I don't think we're 100% of the way there right now. Regardless, it's good to see upstream taking this seriously.
by wrl
Sun Dec 06, 2020 6:11 am
Forum: Computer Related Hardware
Topic: Ultralite AVB
Replies: 899
Views: 4631539

Re: Ultralite AVB

I noticed that there is a new USB audio patch incoming to the 5.11 kernel that seems to both address implicit feedback mode in general, and the Motu M-Series devices in the specific. Is there a chance of this improving things for the Motu Ultralite and the AVB Motu 624 AVB? In any case, how would t...