Closed nikelborm closed 1 year ago
Apparently it's https://github.com/kcat/openal-soft/issues/892? I guess switching to pulseaudio would fix that.
I dont know much about low level sound stuff. I'm happy to run any commands you ask and provide output or any additional info about system.
I find it a bit strange that telegram simply does not see my earbuds. On first screenshot from telegram settings they are not even in the list of available devices.
First of I ask to check the issue with the official build from https://desktop.telegram.org
Same problem. Audio plays with speakers. Can't select earbuds.
Try to launch it like ALSOFT_DRIVER=pulse ./Telegram
Has this helped?
No. Sadly, it didn't help
Oops, it should be ALSOFT_DRIVERS=pulse ./Telegram
ps auxww | grep -e pipewire -e pulseaudio -e wireplumber
would help to reveal whether you have both pipewire & pulseaudio running at the same time and conflict with each other. If it shows only two of the utils then everything is ok, if all three present then you have a conflict and both are managing your sound.
pactl list
with connected earbuds DIFF pactl list
with connected earbuds and playing sound from chrome
https://www.diffchecker.com/Qx35bgn2/
Your command ALSOFT_DRIVERS=pulse ./Telegram
helped. Now voice messages and video circles plays fine. And in call settings I can select both notebook speakers and earbuds.
THANK YOU VERY MUCH!
And looks like I have both pipewire and pulseaudio. To be honest I dont know how this happened. Because it is arch and I did most of installation by hands, it is probably my fault.
š96% ā ps auxww | grep -e pipewire -e pulseaudio -e wireplumber
nikel 6455 0.0 0.1 148664 15540 ? S<sl Aug31 0:05 /usr/bin/pipewire
nikel 6456 0.0 0.0 95812 9212 ? Ssl Aug31 0:00 /usr/bin/pipewire-media-session
nikel 36927 0.2 0.1 1964868 20340 ? S<sl Aug31 2:10 /usr/bin/pulseaudio --daemonize=no --log-target=journal
nikel 80721 0.0 0.0 7372 2432 pts/0 S+ 12:43 0:00 grep --color=auto -e pipewire -e pulseaudio -e wireplumber
Well, you have pipewire-media-session
so it shouldn't manage audio unless you have pipewire-audio
package installed (wireplumber makes pipewire always manage audio). I guess one of pacman -S pipewire-alsa pipewire-pulse wireplumber
(switch to pipewire completely) / pacman -Rsnc pipewire-audio
(switch to pulseaudio completely) should fix this.
Yes, I left only pipewire and deleted pulseadio. Now it works great even without ALSOFT_DRIVERS
env var. Thank you again! You fixed a problem in my system that lived unnoticed a long time!)
Steps to reproduce
Expected behaviour
Actual behaviour
Operating system
Arch linux, GNOME 44.4
Version of Telegram Desktop
4.9.3-2
Installation source
Other (unofficial) source
Crash ID
No response
Logs