-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
[Linux] [ALSA] It is not possible to specify a capture device for ALSA and not work with USB web-camera #5380
Comments
@IlyaIndigo you've mixed up expected and actual behavior :) |
@IlyaIndigo Благодарю! :-) |
In 1.5.11 for GNU/Linux, the options for setting up playback and capture devices appeared, but they do not work. When you click on "Output device" or "Input device", the application freezes.
And the microphone is still mute. |
А можете попробовать запустить под gdb и скинуть стек, в каком месте главный поток виснет? |
Благодарю Вас за быстрый ответ, да ещё и на родном языке! :-) Предполагаю, что приложение ожидает обнаружить pulseaudio, возможно даже отключённый, а не обнаружив его в принципе не знает что делать дальше. P.S. Никогда ранее не использовал gdb. |
Не, не настолько просто (к сожалению). Запускать да, через |
Понятно, когда же надо начинать изучать работу с отладчиком, вот и повод. ;-) |
Сразу после запуска gdb telegram-desktop:.
Это ошибка gdb, патчей в openSUSE, telegram-desktop, или я что-то сделал не так? |
Решил для себя проблему настройкой ALSA
Теперь телеграм на устройстве default видит моё hw:0,0 и работает с ним. |
К сожалению ещё не всё работает. :-( Голосовые сообщения он отправляет прекрасно, без вывода ошибок в stdout. Но при проверке микрофона в настройках микрофон молчит и в stdout выводит
и после прекращения проверки
При звонке, к сожалению, микрофон тоже молчит, и далее привожу краткий лог вывода
Судя потому, что микрофон через default с другими приложениями работает, а также работает при записи и отправке голосовых сообщений но не работает при проверке микрофона и звонках, то что- всё же не так в телеграм.
ALSA: 1.1.9 |
Вообще меня уволили, так что хз кто и как теперь это исправит, и исправит ли вообще ¯\_(ツ)_/¯ |
=( |
@Aokromes Can you please provide a link to issue duplicated by this one? |
#5380 (comment) (i cannot rename tickets, but the bug is the same) |
Not a duplicate :) |
"Steps to reproduce |
#2231 is about openal doesn't support "fallback device" pulseaudio feature, this issue is about libtgvoip doesn't work with some hardware on ALSA |
@Aokromes I don't see anything in common between these two issues. One is about Pulseaudio, multiple microphone sources, and not working microphone everywhere including voice messages. Another one is about ALSA and not working microphone only in voice calls but working in voice messages. |
The problem in version 2.3.2 is still present! |
@IlyaIndigo libtgvoip was replaced with webrtc that doesn't support alsa, you should install pulseaudio |
@ilya-fedin Is this ("you should install pulseaudio") an official position? 😠 |
My "you should not be disabling IPv6 in your kernel" pales in comparison lol. |
I have a good idea of what pulse-audio is. |
Feel free to contribute to google's webrtc library to implement fallback to alsa when pulseaudio is inaccessible |
I no longer turn off ipv6 (although I physically do not have it), but this does not affect the capture device via the web camera in any way. |
I'm referring to the fact that libtgvoip used a single dual-stack UDP socket for everything to simplify code, and also because I'm lazy af. This obviously didn't work for those who disabled IPv6 for some reason (the kernel no longer understood what |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Steps to reproduce
Expected behaviour
A Telegram must be able to specify a capture device (hw:0,0) (at least through an environment variable).
With ALSA, the default capture device does not work, since dmix works only with the playback device.
Actual behaviour
Mute capture device.
Configuration
Any GNU/Linux with ALSA only (openSUSE Tumbleweed).
Version of Telegram Desktop:
2.3.2 for GNU/Linux (KDE)
In log empty.
QEventLoop: Cannot be used without QApplication
QApplication: invalid style override passed, ignoring it.
The text was updated successfully, but these errors were encountered: