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

Mouse/Music stutter when starting many docker containers #1638

Open
tomrutsaert opened this issue Aug 31, 2024 · 3 comments
Open

Mouse/Music stutter when starting many docker containers #1638

tomrutsaert opened this issue Aug 31, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@tomrutsaert
Copy link

Describe the bug

I’ve experienced stuttering issues with my desktop environment, specificly when running Docker containers or performing Maven builds (that use Docker test-containers in tests), on three different UBlue-based operating systems (Aurora, Bluefin-DX, and a custom Sway image) on two separate machines.

The culprit is /lib/udev/rules.d/30-linksys-ae1200.rules
overriding this file by placing an empty file in /etc/udev/rules.d/30-linksys-ae1200.rules, the stuttering goes away.

This was experienced by 3 different users, and the workaround fixes it for all.

More info see: https://universal-blue.discourse.group/t/mouse-music-stutter-when-starting-many-docker-containers/3470

What did you expect to happen?

I did not expect any stutter, as fedora workstation 40 for the same workload also does not have the stutter.

Output of rpm-ostree status

No response

Output of groups

No response

Extra information or context

No response

@dosubot dosubot bot added the bug Something isn't working label Aug 31, 2024
@castrojo
Copy link
Member

Is there a log? What led you to find this file?

@tomrutsaert
Copy link
Author

tomrutsaert commented Aug 31, 2024

This thread in discord: https://discord.com/channels/1072614816579063828/1226572714668724286/1275179629350490135

I knew already it was in udev, see discourse. and NullUnit pointed to the command and the file.
And when I proposed to him to override the file in etc, his problem was fixed. It was also fixed for me, and for another user in discourse

@castrojo
Copy link
Member

castrojo commented Aug 31, 2024

OK here's the relevant information:

cat /lib/udev/rules.d/30-linksys-ae1200.rules 
ACTION=="add",ATTRS{idVendor}=="13b1",ATTRS{idProduct}=="0bdc",
RUN+="/sbin/modprobe brcmfmac"
RUN+="/bin/sh -c 'echo 13b1 0bdc > /sys/bus/usb/drivers/brcmfmac/new_id'"

Nullunit

08/19/2024 4:21 PM
here is the full command:
/bin/sh -c echo 13b1 0bdc > /sys/bus/usb/drivers/brcmfmac/new_id
I see references to Linksys AE1200 on the web about this
Nullunit

08/19/2024 4:30 PM
looks like it is the /lib/udev/rules.d/30-linksys-ae1200.rules file
is has the RUN+= lines, so RUN keeps growing and growing
Nullunit

08/19/2024 4:59 PM
I needed to add --network=host to my docker build and docker run commands
otherwise while looking at "udevadm monitor", there are lots of UDEV add and remove events
now it is nice and quiet, hope that helps anyone else with this issue. If docker uses the network "bridge", it acts like a wifi USB dongle is inserted and removed a ton of times

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants