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

Even crackles when connected to localhost server. #418

Closed
38github opened this issue Jul 1, 2020 · 13 comments
Closed

Even crackles when connected to localhost server. #418

38github opened this issue Jul 1, 2020 · 13 comments

Comments

@38github
Copy link

38github commented Jul 1, 2020

When connecting to a localhost server (3.5.8, Windows 10 x86_64, airplane mode) I get crackles. I am using a sine tone generator in REAPER and connecting it to Jamulus using ReaRoute ASIO and then bring it back to REAPER. Reaper has one track with the JS plugin called tone generator and a second that has the ReaInsert plugin to bring back the signal to REAPER.

In the video I will add I used ASIO4All in REAPER but also tried Focusrite latest drivers for Scarlett 2i2 which was even worse.

How come it gets buffer problems on a localhost (127.0.0.1) and sounds bad? Sometimes it kind of works and there are almost no artifacts.

Video:
https://streamable.com/96s1mm

@38github
Copy link
Author

38github commented Jul 1, 2020

These artifacts are not heard in REAPER when not sending it to Jamulus and back.

@pljones
Copy link
Collaborator

pljones commented Jul 1, 2020

Have you tried non-local hosts? Could you also provide details about sample rates and buffer sizes in your sound card and Reaper and use of small network buffers in the Jamulus client and fast update in the server.

@38github
Copy link
Author

38github commented Jul 1, 2020

Have you tried non-local hosts? Could you also provide details about sample rates and buffer sizes in your sound card and Reaper and use of small network buffers in the Jamulus client and fast update in the server.

It happens on remote servers too, public and private. It also crackles without using any middle man (Reaper). I use 48000 Hz since we have to and I believe that the sound card used 128ms latency but it also happens when I use 64 and 256ms. I have used both with and without small networks buffers and the difference is not night and day. I have also tried all this in Fedora 32 with JACK (64, 128 and 256ms latency) and I experience the same thing. Using JACK and normal playback of audio with Reaper or Deadbeef produce no issues at all.

It is strange to me that the crackling/buffer behaviour is present on a localhost server.

@pljones
Copy link
Collaborator

pljones commented Jul 1, 2020

Ignore for now the localhost idea as you've said it makes no difference.

Do either of the Buffers or Delay LEDs light up on the client UI?

Are you using Auto Jitter Buffer? If not, what values do you use?

@38github
Copy link
Author

38github commented Jul 1, 2020

Ignore for now the localhost idea as you've said it makes no difference.

Do either of the Buffers or Delay LEDs light up on the client UI?

Are you using Auto Jitter Buffer? If not, what values do you use?

Thank you for replies, pljones. If you watch the video in my first post you will see the settings of the client and how it behaves. Regards.

EDIT: Corrections.

@pljones
Copy link
Collaborator

pljones commented Jul 1, 2020

Is there something running on your computer that might be interfering with your networking?

@38github
Copy link
Author

38github commented Jul 1, 2020

If there is anyting it is Windows' services and Lenovo updates application that I know of.

@38github
Copy link
Author

38github commented Jul 1, 2020

Is it possible that some computers have really bad network controllers? I know that I should not use Wifi but I had to try it out to see how it behaves. I noticed that between two different wifi usb dongles it was a massive difference in ping and gargling and crackling sound. Is a computer with a dedicated graphics card prefered? I wonder bcause I notice when moving something around on the monitor sometimes also throws Jamulus of and produces artifacts.

These things, except potentially graphics, should not interfere with Jamulus/sound card, right?

What kind of computers do you guys have who have like no problems at all?

@pljones
Copy link
Collaborator

pljones commented Jul 2, 2020

Only ever use hard-wired, real ethernet with no Wifi enabled. (No ethernet "repeaters" and no Wifi enabled on the DSL router/modem, either, but those shouldn't affect the localhost issue.) On my audio PC(s), I always disable as many services as I can that I don't need (you can find guides aplenty on configuring Windows for real-time audio).

The Wifi may interfere locally, so it might be worth turning that off to see. Overall, it sounds a bit odd.

I can't remember the spec of the first machine I ran Jamulus on but it was fine on my AMD FX-8350 machine with an Echo AudioFire4 soundcard, running Windows 7 to 10. It's got a dedicated video card but it's pretty low spec (so passively cooled). My new machine uses the onboard graphics (as I couldn't find a passive card).

@gilgongo
Copy link
Member

gilgongo commented Jul 2, 2020

You could try sticking the Jamulus live USB version in it and see if that's any better.

Even if you don't end up using it for real, you might be able to isolate some problems perhaps?

@38github
Copy link
Author

38github commented Jul 6, 2020

I would like apologise for taking up your time. After trying out many things without success I went into the BIOS where I have only changed boot device and legacy/UEFI settings. I loaded default settings just see if it would somehow reset any potential bad things and then changed the boot device and UEFI settings so that my computer boots correctly. Now Jamulus works really well. Strange.

@corrados
Copy link
Contributor

corrados commented Jul 6, 2020

That's really strange... Shall we close this Issue now?

@38github
Copy link
Author

38github commented Jul 6, 2020 via email

@corrados corrados closed this as completed Jul 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants