22
submitted 7 months ago by Lars@infosec.pub to c/linux@lemmy.ml

For a long time now, I've had audio drops and sometimes even keyboard input drops through my KVM switches.
When a drop occurs, all audio across all applications drop at once. If there's a video playing then it'll pause briefly. In a game, I just miss a second of audio with no video stuttering.
When I connect my USB speakers directly to my motherboard then the issue does not occur; only through the KVM switch. I was using this decent switch I got off Amazon but just replaced it with one from Level 1 Techs and the issue remained. I've tried different ports on the switches and my board as well.
The issue also only occurs on my Linux computer. When I switch over to my work laptop running Windows I don't have the issue.
I'm not seeing anything in journalctl that seems related after swapping KVM switches. With the old switch I was seeing logs like below but no longer see that with the new switch.

kernel: retire_capture_urb: 1 callbacks suppressed

My PC
CPU: AMD Ryzen 9 7950X
Motherboard: Asus PRIME X670E-PRO WIFI
Memory: G.Skill Ripjaws S5 64 GB (4 x 16 GB) DDR5-5600 CL28
GPU: Gigabyte GAMING OC Radeon RX 6900 XT 16 GB
Kernel: 6.8.1-arch1-1
DS: Wayland 1.22
DE: Gnome 45.0.1
AS: Pipewire
SM: Wireplumber

top 7 comments
sorted by: hot top controversial new old
[-] youngGoku@lemmy.world 3 points 7 months ago

Have you tried another OS on the same hardware to rule out hardware issues?

[-] Lars@infosec.pub 1 points 7 months ago* (last edited 7 months ago)

I don't get any audio drops on my work laptop running Windows
Tried different KVM switches
and different ports
with all of the same devices connected but my speakers connected directly to my computer then I get no drops

[-] youngGoku@lemmy.world 3 points 7 months ago

So the answer is no, you didn't try another OS on the same hardware. Likely could be hardware issue.

[-] Peffse@lemmy.world 2 points 7 months ago

Are either KVM powered by an AC adapter or are they riding off the 5v rail of your PC?
I had a very similar problem and found that the 5v on my PSU was going bad, and as devices powered down/up the KVM would vanish for a second and reconnect.

[-] Lars@infosec.pub 3 points 7 months ago

The first one was powered by 5v off a dedicated usb charger. The new one uses an A/C adapter

[-] baru@lemmy.world 2 points 7 months ago

Sometimes the different USB ports are backed by different manufacturers. Pretty much all of my USB outputs are a bit unreliable. Apparently a hardware issue. There are two that use a different chipset. Those are the only reliable ones.

So maybe check the various USB ports to see if there's a difference.

[-] Lars@infosec.pub 2 points 7 months ago

I've tried various ports on the motherboard and when directly connected to the same ports that the KVM switch was then there was no issue. I've been wanting to replace my kinda crappy board anyways so maybe the new one will fix it whenever I get around to it. I think I'm going to try to just use 3.5mm cables instead of USB and hope it works fine over the KVM switch. Just ordered a few.

this post was submitted on 30 Mar 2024
22 points (100.0% liked)

Linux

48007 readers
852 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS