GoXLR-on-Linux / goxlr-on-linux

Documentation and scripts to make the GoXLR and GoXLR Mini useful on Linux.
142 stars 8 forks source link

1-2 seconds of lag #49

Closed RileyMeta closed 1 year ago

RileyMeta commented 1 year ago

With the current version of the GoXLR FOSS drivers will give about 1-2 seconds of lag with the playback port of the GoXLR. I do not have this lag when I use the Motherboard ports.

To Reproduce Have a GoXLR on Linux Mint 21.2 Cinnamon Load up a video on YouTube Pause It takes 1-2 seconds to actually stop the audio

Expected behavior It stops at the same or near the same time you pause the YT Video (or VLC or Celluloid)

Attached is the system info for my PC. System_Info.txt

Additional context It just happens.

RileyMeta commented 1 year ago

Wrote this when I was excruciatingly drunk, but the issue is still real.

RileyMeta commented 1 year ago

I should also mention that adding a negative buffer to the audio (-2 seconds latency offset) does not fix the issue.

FrostyCoolSlug commented 1 year ago

See the pinned post.

This is specifically an issue with pulse audio, we're not sure what causes it, or how to fix it, but our general recommendation is to switch to pipewire which doesn't have this issue.

RileyMeta commented 1 year ago

Alrighty, thanks for that update! For anyone else that stumbles across this I got Pipewire installed with the help of this guide (specifically on Linux Mint 21.2)

It absolutely does "solve" the issue with latency. At the very least it's less noticeable, getting it down to about half a second or less.

image