No sound in Tor-Browser only
by rarog from LinuxQuestions.org on (#4TQHZ)
Hi,
I'm struggling with following problem, despite Pulseaudio being installed and active I don't have audio in Tor-browser and only in Tor-browser.
In Firefox mainline release (70.0.1) sound is working, also in firefox 68.2.0 ESR (which current Tor is based on) sound is working.
I have active and installed pulseaudio 13.0 provided with distro.
Disribution Slackware64 current
Code:Linux 4.19.81 #2 SMP Tue Oct 29 13:47:21 CDT 2019 x86_64 AMD Ryzen Threadripper 1920X 12-Core Processor AuthenticAMD GNU/LinuxTor-browser started from termial shows:
Code:[Child 9546, MediaPlayback #2] WARNING: 7fb602383e20 OpenCubeb() failed to init cubeb: file /var/tmp/build/firefox-5e83d0a74e4d/dom/media/AudioStream.cpp, line 382
[Child 9546, MediaPlayback #2] WARNING: Decoder=7fb6033a1000 [OnMediaSinkAudioError]: file /var/tmp/build/firefox-5e83d0a74e4d/dom/media/MediaDecoderStateMachine.cpp, line 3639
[Child 9546, MediaPlayback #3] WARNING: 7fb60352b050 OpenCubeb() failed to init cubeb: file /var/tmp/build/firefox-5e83d0a74e4d/dom/media/AudioStream.cpp, line 382
[Child 9546, MediaPlayback #3] WARNING: Decoder=7fb5ff8b0c00 [OnMediaSinkAudioError]: file /var/tmp/build/firefox-5e83d0a74e4d/dom/media/MediaDecoderStateMachine.cpp, line 3639Syslog shows:
Code:Nov 5 20:41:45 pc pulseaudio[3232]: [pulseaudio] socket-server.c: bind(): Address already in use
Nov 5 20:41:45 pc pulseaudio[3232]: [pulseaudio] module.c: Failed to load module "module-esound-protocol-unix"
(argument: ""): initialization failed.
Nov 5 20:41:45 pc pulseaudio[3232]: [pulseaudio] main.c: D-Bus name org.PulseAudio1 already taken.
Nov 5 20:41:45 pc pulseaudio[3229]: [pulseaudio] main.c: Service failed to startWhat I've tried:
1.change Code:autospawn=no in /etc/pulse/client.conf and killing and running Code:pulseaudio -vvvvv shows nothing specific. It's like it didn't even tried to access pulseaudio.
2.I thought this may be related to higher level of Tor(firefox) sandbox security level, so I've switched:
security.sandbox.content.level -> 0
security.sandbox.content.write_path_whitelist -> "/dev/snd/"
Aand it Didn't change anything.
3. /etc/asound.conf or ~/.asoundrc don't exist. On default content of "asound.conf", problem was the same.
4.I've tried different versions of Tor-browser ( alpha and some archive versions), problem still occurred.
I've run out of ideas. Any help will be appreciated.


I'm struggling with following problem, despite Pulseaudio being installed and active I don't have audio in Tor-browser and only in Tor-browser.
In Firefox mainline release (70.0.1) sound is working, also in firefox 68.2.0 ESR (which current Tor is based on) sound is working.
I have active and installed pulseaudio 13.0 provided with distro.
Disribution Slackware64 current
Code:Linux 4.19.81 #2 SMP Tue Oct 29 13:47:21 CDT 2019 x86_64 AMD Ryzen Threadripper 1920X 12-Core Processor AuthenticAMD GNU/LinuxTor-browser started from termial shows:
Code:[Child 9546, MediaPlayback #2] WARNING: 7fb602383e20 OpenCubeb() failed to init cubeb: file /var/tmp/build/firefox-5e83d0a74e4d/dom/media/AudioStream.cpp, line 382
[Child 9546, MediaPlayback #2] WARNING: Decoder=7fb6033a1000 [OnMediaSinkAudioError]: file /var/tmp/build/firefox-5e83d0a74e4d/dom/media/MediaDecoderStateMachine.cpp, line 3639
[Child 9546, MediaPlayback #3] WARNING: 7fb60352b050 OpenCubeb() failed to init cubeb: file /var/tmp/build/firefox-5e83d0a74e4d/dom/media/AudioStream.cpp, line 382
[Child 9546, MediaPlayback #3] WARNING: Decoder=7fb5ff8b0c00 [OnMediaSinkAudioError]: file /var/tmp/build/firefox-5e83d0a74e4d/dom/media/MediaDecoderStateMachine.cpp, line 3639Syslog shows:
Code:Nov 5 20:41:45 pc pulseaudio[3232]: [pulseaudio] socket-server.c: bind(): Address already in use
Nov 5 20:41:45 pc pulseaudio[3232]: [pulseaudio] module.c: Failed to load module "module-esound-protocol-unix"
(argument: ""): initialization failed.
Nov 5 20:41:45 pc pulseaudio[3232]: [pulseaudio] main.c: D-Bus name org.PulseAudio1 already taken.
Nov 5 20:41:45 pc pulseaudio[3229]: [pulseaudio] main.c: Service failed to startWhat I've tried:
1.change Code:autospawn=no in /etc/pulse/client.conf and killing and running Code:pulseaudio -vvvvv shows nothing specific. It's like it didn't even tried to access pulseaudio.
2.I thought this may be related to higher level of Tor(firefox) sandbox security level, so I've switched:
security.sandbox.content.level -> 0
security.sandbox.content.write_path_whitelist -> "/dev/snd/"
Aand it Didn't change anything.
3. /etc/asound.conf or ~/.asoundrc don't exist. On default content of "asound.conf", problem was the same.
4.I've tried different versions of Tor-browser ( alpha and some archive versions), problem still occurred.
I've run out of ideas. Any help will be appreciated.