No sound in tor browser on Debian 10 with ALSA
by 938442 from LinuxQuestions.org on (#4ZXGA)
Hello,
I struggle to get sound working in tor browser. I have read this post: https://www.linuxquestions.org/quest...ly-4175663745/
and this one
https://trac.torproject.org/projects/tor/ticket/29360
And there are some solutions to this problem according to the first post
Quote:
The problem is that I don't use pulseaudio, so I don't have those pulseaudio related files - I use ALSA. Sound in firefox works, so pulseaudio is not necessary for working sound.
Output from running tor-browser with --verbose in terminal when trying to play sound:
Code:[Child 39741, MediaPlayback #3] WARNING: 7f05cf4fb390 OpenCubeb() failed to init cubeb: file /var/tmp/build/firefox-869854aeea80/dom/media/AudioStream.cpp, line 382
[Child 39741, MediaPlayback #3] WARNING: Decoder=7f05d2e67c00 [OnMediaSinkAudioError]: file /var/tmp/build/firefox-869854aeea80/dom/media/MediaDecoderStateMachine.cpp, line 3639I tried with apulse, i get the message above but also this:
Code:ALSA lib pcm_direct.c:1966:(snd1_pcm_direct_parse_open_conf) The field ipc_gid must be a valid group (create group audio)
[apulse] [error] do_connect_pcm: can't open playback device "default". Error code -22 (Invalid argument)
[apulse] [error] do_connect_pcm: failed to open ALSA device. Apulse does no resampling or format conversion, leaving that task to ALSA plugins. Ensure that selected device is capable of playing a particular sample format at a particular rate. They have to be supported by either hardware directly, or by "plug" and "dmix" ALSA plugins which will perform required conversions on CPU.I also tried tweaking sandbox settings in about:config, didn't work.
I found ~/.config/pulse folder (although I have no idea what it is) tried copying it to tor browser fake home directory (into .config) It didn't work.
Any idea how to get sound working with ALSA in tor browser without installing pulseaudio?


I struggle to get sound working in tor browser. I have read this post: https://www.linuxquestions.org/quest...ly-4175663745/
and this one
https://trac.torproject.org/projects/tor/ticket/29360
And there are some solutions to this problem according to the first post
Quote:
1. Using older version of Pulseaudio i.e. 12.2 2. Running Pulseaudio in system wide mode. 3. Copying Pulseaudio auth cookie from your HOME to Tor-Browser/Browser directory. 4. Disabling auth-cookie authentication for module-esound-protocol- (parameter auth-cookie-enabled) |
Output from running tor-browser with --verbose in terminal when trying to play sound:
Code:[Child 39741, MediaPlayback #3] WARNING: 7f05cf4fb390 OpenCubeb() failed to init cubeb: file /var/tmp/build/firefox-869854aeea80/dom/media/AudioStream.cpp, line 382
[Child 39741, MediaPlayback #3] WARNING: Decoder=7f05d2e67c00 [OnMediaSinkAudioError]: file /var/tmp/build/firefox-869854aeea80/dom/media/MediaDecoderStateMachine.cpp, line 3639I tried with apulse, i get the message above but also this:
Code:ALSA lib pcm_direct.c:1966:(snd1_pcm_direct_parse_open_conf) The field ipc_gid must be a valid group (create group audio)
[apulse] [error] do_connect_pcm: can't open playback device "default". Error code -22 (Invalid argument)
[apulse] [error] do_connect_pcm: failed to open ALSA device. Apulse does no resampling or format conversion, leaving that task to ALSA plugins. Ensure that selected device is capable of playing a particular sample format at a particular rate. They have to be supported by either hardware directly, or by "plug" and "dmix" ALSA plugins which will perform required conversions on CPU.I also tried tweaking sandbox settings in about:config, didn't work.
I found ~/.config/pulse folder (although I have no idea what it is) tried copying it to tor browser fake home directory (into .config) It didn't work.
Any idea how to get sound working with ALSA in tor browser without installing pulseaudio?