Bolt icon indicating copy to clipboard operation
Bolt copied to clipboard

No sound on Runelite with Arch Linux + Wayland (+ how to fix)

Open bdnugget opened this issue 6 months ago • 2 comments

I have spent ages getting sound on Runelite to work, and setting all the Java params and latency related stuff in env did not help. What helped me with Runelite in the end was creating the .alsoftrc and .asoundrc files in my home folder.

Sadly when trying out Bolt, the sound issues were there again and I went trough the same process of trying all the Java env vars and different launch commands suggested, and even making it use the original Runelite jar in /usr/share/java/runelite/RuneLite.jar. I finally found out that Bolt uses its "own" home directory in ~/.local/share/bolt-launcher and for me the fix was as simple as making the .alsoftrc and .asoundrc files there as well. I am hoping this might help some other adventurer coming across this.

File: .local/share/bolt-launcher/.alsoftrc

drivers = pulse

File: .local/share/bolt-launcher/.asoundrc

pcm.!default {
    type pulse
}

ctl.!default {
    type pulse
}

bdnugget avatar Jun 16 '25 22:06 bdnugget

Your analysis of the problem is right. A better fix, where possible, is to configure software to use XDG-compliant locations instead of these dot-files, and that means it will always look for these files in the same place instead of being relative to HOME.

Looking at the relevant issue trackers:

  • ~/.asoundrc can be fixed by moving the file to $XDG_CONFIG_HOME/alsa/asoundrc (link)
  • ~/.alsoftrc can be fixed by moving the file to $XDG_CONFIG_HOME/alsoft.conf or by setting the ALSOFT_CONF environment variable (link)

By the way, in both cases if $XDG_CONFIG_HOME isn't set, it will default to ~/.config, and Bolt will handle this correctly.

Adamcake avatar Jun 17 '25 14:06 Adamcake

Looks like I have same issue for many months, I was trying to solve here: https://github.com/runelite/runelite/issues/18534

I use Arch Linux + Wayland + Pipewire, today I found this issue, so I tried to create files .alsoftrc and .asoundrc with its contents in:

~/.local/share/bolt-launcher/
~/.var/app/com.adamcake.Bolt/data/bolt-launcher (flatpak)
~/.config

I tried Bolt installed through AUR and flathub, didnt help, RuneLite is still without sound.

Trying to solve it here https://github.com/Adamcake/Bolt/issues/146 too

t0msk avatar Jul 06 '25 13:07 t0msk