No sound from firefox linux

Arch Linux

You are not logged in.

#1 2015-01-23 20:13:32

no sound in firefox [solved]

i have a problem with my firefox.

I would like to listen to music with spotify, but get not a tone.

When i start firefox through the terminal i get:

Unfortunatly, i have absolutly no clue about sound architecture and don ´t know where to start.

Last edited by dzld (2015-01-28 18:31:07)

#2 2015-01-23 21:15:43

Re: no sound in firefox [solved]

#3 2015-01-24 15:19:27

Re: no sound in firefox [solved]

The solution dosn´ t work for me.

Here some info i just found out:

Firefox plays sound, when i shut down all other applications using the soundsystem.
When firefox plays sound, all other appluications don´ t. On the other hand, when any other application plays sound, firefox dosen´ t.

#4 2015-01-24 18:52:11

Re: no sound in firefox [solved]

You could try to re-install whatever sound related packages you use.

Also provide more info: logs, installed packages, a link to the guide you followed to set up sound, .

#5 2015-01-24 20:58:38

Re: no sound in firefox [solved]

Hm, i didn´ t really set up any sound. It came with the installation.
Other than that, i installed pulseaudio.

Like i said in my first post, i dont really know anything about how alsa or pulsaudio works.

So, the only thing i can post without any further tips where to look, is the outout form vainfo:

Does that maybe help?

And then there is this line from journalctl

The last part means: The device or the resource is busy.

Last edited by dzld (2015-01-24 21:08:26)

#6 2015-01-26 01:21:45

Re: no sound in firefox [solved]

Install pulseaudio-alsa, also: https://wiki.archlinux.org/index.php/PulseAudio#ALSA (you are trying to use flash which uses ALSA and doesn’t have a native pulse backend)

Last edited by V1del (2015-01-26 08:51:32)

#7 2015-01-26 19:00:44

Re: no sound in firefox [solved]

Sorry, i forgot that one.

Читайте также:  Switch from windows to machines

It is already installed.

#8 2015-01-26 19:23:17

Re: no sound in firefox [solved]

then while firefox is running , and post the contents of your /etc/asound.conf and any

/.asoundconf (you shouldn’t have that last one, if you have it post its contents anyway)

Last edited by V1del (2015-01-26 19:24:05)

#9 2015-01-26 21:09:12

Re: no sound in firefox [solved]

/asoundconf, but there is a

#10 2015-01-26 21:20:19

Re: no sound in firefox [solved]

Yeah, this is your problem, why are you doing this? you bypass pulse for ALSA devices and as soon as something alsa comes up it tries to use the asym and dmix stuff which won’t work if pulseaudio is already using the device and vice versa. Pulse should provide you with duplex profiles by default which you can switch to using pavucontrol

#11 2015-01-27 15:52:35

Re: no sound in firefox [solved]

OK, so i need to change that. Only to be sure: Before i posted here, i found another topic, with this fix.

This asoundrc was suposed to look like the asound.conf.

Those lines with # before them are from me, the rest was in there. Of course, when i tested this, those lines were marked with #.
When i tried that, i didn´ t have any sound at all.

And what do i have to do with this now? Change it ? Delete it? Or is there a way to tell my system not to use this file but the asound.conf, or link the asoundrc to asound.conf?

Last edited by dzld (2015-01-27 15:53:10)

#12 2015-01-27 17:08:40

Re: no sound in firefox [solved]

What did you try to fix? If you don’t know you can delete it, it isn’t needed the /etc/asound.conf is enough.

#13 2015-01-27 19:10:13

Re: no sound in firefox [solved]

Well, i tried to fix my sound problem with this. As i said, it didn´ t work. OK, then, i´ m going to delete it.

#14 2015-01-27 19:18:22

Re: no sound in firefox [solved]

Oh my god, it worked perfectly.

You are the man, V1del (or woman, i´ m not sure )

Thank you so much.

Last edited by dzld (2015-01-27 19:18:44)

#15 2015-01-27 20:30:15

Re: no sound in firefox [solved]

Then you tried to fix this before you installed pulseaudio-alsa or something, whelp whatever no problem, don’t forget to prepend [solved] to your title by editing your initial post

Источник

Linux Mint Forums

Welcome to the Linux Mint forums!

No sound from Firefox

No sound from Firefox

Post by linux_rules » Sun Apr 08, 2018 10:02 am

All was working well but suddenly there is no audio when I play videos using Firefox.

Any ideas how troubleshoot this issue ?

Re: No sound from Firefox

Post by Flemur » Sun Apr 08, 2018 10:09 am

Re: No sound from Firefox

Post by linux_rules » Sun Apr 08, 2018 10:11 am

Re: No sound from Firefox

Post by Sir Charles » Sun Apr 08, 2018 10:13 am

Re: No sound from Firefox

Post by linux_rules » Sun Apr 08, 2018 10:15 am

Re: No sound from Firefox

Post by Sir Charles » Sun Apr 08, 2018 10:21 am

Re: No sound from Firefox

Post by linux_rules » Sun Apr 08, 2018 10:23 am

Читайте также:  Windows 10 pro 20h2 key

Okay for now I will watch Youtube on VLC player,

If someone has any ideas I am ready to troubleshoot.

Re: No sound from Firefox

Post by Flemur » Sun Apr 08, 2018 10:26 am

Internet search [pulseaudio «main.c: User-configured server»] —> I think that’s pulseaudio talk for «it didn’t start».

/.pulseXX file or dir **). Then try that «—start» again.

**I removed pulseaudio because of this sort of nonsense, so I’m kinda guessing at the exact file names.

Re: No sound from Firefox

Post by linux_rules » Sun Apr 08, 2018 10:53 am

I think I have found the cause for no sound in Firefox.

When I start Firefox with

I don’t get sound but when I launch firefox without Firejail I hear sound.

Now is there a way to use FF with Firejail and get sound too ?

Re: No sound from Firefox

Post by Sir Charles » Sun Apr 08, 2018 10:59 am

Источник

What to do if Firefox won’t play any sounds

This article describes what to do when you can’t hear sound in Firefox.

Table of Contents

Check the Volume Mixer

  1. Open Firefox and play content that should play sound, such as this Firefox video or a Flash video with sound .
  2. Click Right-click the volume icon in the Windows taskbar.
  3. Click MixerOpen Volume Mixer . The Volume Mixer window will appear.
  4. Make sure the slider for Mozilla Firefox (and Plugin Container for Firefox, for Adobe Flash plugin content) is not muted or at the bottom.

Check your audio device

Make sure that the audio device (such as speakers or headphones) are turned on and connected to the computer properly.

Other solutions

Check out whether other applications on your computer can play sounds. If they can’t:

If Firefox is the only application that you can’t hear sound in:

Make sure other applications on your computer can play sounds. If Firefox is the only application that you can’t hear sounds in:

If no application can play sounds:

  • See Apple’s Troubleshooting issues with no audio from built-in speakers on Macs.
  • If you have an external audio device, check whether it’s turned on and connected properly.

Make sure other applications on your computer can play sounds. If Firefox is the only application that doesn’t play sounds:

If you can’t hear sounds in any other applications:

  • Make sure that the audio device (such as speakers or headphones) are turned on and connected to the computer properly.

These fine people helped write this article:

Volunteer

Grow and share your expertise with others. Answer questions and improve our knowledge base.

Fix common audio and video issues

Sometimes, the video or audio content in a web page cannot be properly downloaded and displayed in Firefox. This article will help you solve these.

I can’t play audio on a Remote Desktop Connection

If you are on a Remote Desktop Connection (RDP) on Windows, audio playback will be disabled due to increased security restrictions. This is a.

Источник

No sound from firefox linux

with bspwm and firefox i have no sound

if i start xfce and then firefox sound work

i already configured this in my bspwmrc file to start pulseaudio:

disable sandbox MOZ_DISABLE_CONTENT_SANDBOX=1 firefox also no sound

systemctl —user status pulseaudio.service pulseaudio.socket

● pulseaudio.service — Sound Service

Читайте также:  Что может mac os server

Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; disabled; vendor preset: enabled)

Active: active (running) since Wed 2020-07-08 09:36:05 CEST; 29min ago

Main PID: 1151 (pulseaudio)

├─1151 /usr/bin/pulseaudio —daemonize=no

Jul 08 09:36:04 HOME systemd[1034]: Starting Sound Service.

Jul 08 09:36:05 HOME systemd[1034]: Started Sound Service.

● pulseaudio.socket — Sound System

Loaded: loaded (/usr/lib/systemd/user/pulseaudio.socket; enabled; vendor preset: enabled)

Active: active (running) since Wed 2020-07-08 09:35:57 CEST; 29min ago

Listen: /run/user/1000/pulse/native (Stream)

but if i start firefox i see this error if i want play a video on youtube:

Failed to create secure directory (/run/user/1000/pulse): no permission

sh: /usr/bin/jackd: no permission

[Child 34377, MediaDecoderStateMachine #1] WARNING: 7fc3332f0c80 OpenCubeb() failed to init cubeb: file /build/firefox/src/firefox-78.0.1/dom/media/AudioStream.cpp, line 331

[Child 34377, MediaDecoderStateMachine #1] WARNING: Decoder=7fc333782000 [OnMediaSinkAudioError]: file /build/firefox/src/firefox-78.0.1/dom/media/MediaDecoderStateMachine.cpp, line 3891

[Child 34377, MediaDecoderStateMachine #1] WARNING: 7fc32e75b530 OpenCubeb() failed to init cubeb: file /build/firefox/src/firefox-78.0.1/dom/media/AudioStream.cpp, line 331

[Child 34377, MediaDecoderStateMachine #1] WARNING: Decoder=7fc3303e5800 [OnMediaSinkAudioError]: file /build/firefox/src/firefox-78.0.1/dom/media/MediaDecoderStateMachine.cpp, line 3891

ps -afe | grep pulse

user 1151 1034 0 09:36 ? 00:00:02 /usr/bin/pulseaudio —daemonize=no

Источник

No sound from firefox linux

All other apps (like Chrome, Spotify, and audio configuration sound test) sound fine.

I’ve tried -safe-mode, re-installing, and removing duplicate Flash plugins. My /etc/hosts file is Xhosts, I’ve cleared the cache, pulseaudio is running, all pop-ups are allowed,

Description: Ubuntu 18.10 Codename: cosmic Linux Who 4.18.0-16-generic #17-Ubuntu SMP Fri Feb 8 00:06:57 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux buster/sid GNOME Shell 3.30.2

PS: The «Automatically add» green button below only brings up a page that says it’s lost.

Chosen solution

As it is based on Debian, I suppose the desktop independent method on Ubuntu is putting start-pulseaudio-x11 & into

You can of course also add the command to the autostart applications specific to your environment — there’s probably a GUI interface for doing that in the settings (see https://wiki.archlinux.org/index.php/Autostarting#On_desktop_environment_startup). level 4 diarrheaninja 2 points · 5 months ago

Alright, it looks like it was definitely a problem with pulseaudio, but I couldn’t figure out how to make it run. It kept saying failed to start.

I found the solution on this page. Posting the fix in case anyone else has this problem:

In the terminal, type:

All Replies (2)

Chosen Solution

As it is based on Debian, I suppose the desktop independent method on Ubuntu is putting start-pulseaudio-x11 & into

You can of course also add the command to the autostart applications specific to your environment — there’s probably a GUI interface for doing that in the settings (see https://wiki.archlinux.org/index.php/Autostarting#On_desktop_environment_startup). level 4 diarrheaninja 2 points · 5 months ago

Alright, it looks like it was definitely a problem with pulseaudio, but I couldn’t figure out how to make it run. It kept saying failed to start.

I found the solution on this page. Posting the fix in case anyone else has this problem:

In the terminal, type:

/.xsessionrc (see https://wiki.debian.org/Xsession#User_configuration and https://www.debian.org/doc/manuals/debian-reference/ch07.en.html#_customizing_the_x_session_new_method). You can of course also add the command to the autostart applications specific to your environment — there’s probably a GUI interface for doing that in the settings (see https://wiki.archlinux.org/index.php/Autostarting#On_desktop_environment_startup). level 4 diarrheaninja 2 points · 5 months ago Alright, it looks like it was definitely a problem with pulseaudio, but I couldn’t figure out how to make it run. It kept saying failed to start. I found the solution on this page. Posting the fix in case anyone else has this problem: In the terminal, type: rm

/.config/pulse/* And hit enter. Then reboot.

Источник

Оцените статью