(X)ubuntu 18.04: firefox : no soundcloud audio

Optimize your system for ultimate performance.

Moderators: khz, MattKingUSA

jonetsu
Established Member
Posts: 1226
Joined: Sat Jun 11, 2016 12:05 am

(X)ubuntu 18.04: firefox : no soundcloud audio

Postby jonetsu » Mon Feb 04, 2019 9:22 pm

Anyone knows about this ? Using firefox fhere's sound from youtube but soundcloud is as silent as it can be. firefox does not even start to play the soundcloud piece and as such does not show up in pavucontrol. Any fix for this ?

Cheers.

User avatar
milo
Established Member
Posts: 86
Joined: Wed Sep 06, 2017 2:55 am
Contact:

Re: (X)ubuntu 18.04: firefox : no soundcloud audio

Postby milo » Mon Feb 04, 2019 9:45 pm

Does it work in Chromium?

jonetsu
Established Member
Posts: 1226
Joined: Sat Jun 11, 2016 12:05 am

Re: (X)ubuntu 18.04: firefox : no soundcloud audio

Postby jonetsu » Mon Feb 04, 2019 10:26 pm

I've never installed it and I'm not sure if it constitutes a valid troubleshooting tool. So far this new system is lean so I'm not tempted to crowd it. Also, if it works in it then the reasoning could fall into something like: well, use it then and forget firefox. So far I'd prefer knowing why it does not work and trying to fix it. There must be a reason. I still have LM 18.1 around in which firefox plays soundcloud very well as I've uploaded many pieces to my soundcloud account using that Linux Mint system.

If you have a technical insight on this let me know.

Cheers.

User avatar
sysrqer
Established Member
Posts: 1695
Joined: Thu Nov 14, 2013 11:47 pm
Contact:

Re: (X)ubuntu 18.04: firefox : no soundcloud audio

Postby sysrqer » Mon Feb 04, 2019 11:10 pm

I believe there's a gstreamer plugin you need for that but I don't remember which, see if the are any you don't have.

User avatar
bluebell
Established Member
Posts: 950
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland & Frankfurt, Germany

Re: (X)ubuntu 18.04: firefox : no soundcloud audio

Postby bluebell » Tue Feb 05, 2019 6:42 am

jonetsu wrote:Anyone knows about this ? Using firefox fhere's sound from youtube but soundcloud is as silent as it can be. firefox does not even start to play the soundcloud piece and as such does not show up in pavucontrol. Any fix for this ?

Cheers.


Do you have an interface with more than 2 outputs? Then you need channels=2 in module-jack-sink, else Pulseaudio freaks out with Soundcloud because it tries to do strange surround sound things and fails.

jonetsu
Established Member
Posts: 1226
Joined: Sat Jun 11, 2016 12:05 am

Re: (X)ubuntu 18.04: firefox : no soundcloud audio

Postby jonetsu » Tue Feb 05, 2019 8:51 pm

bluebell wrote: Do you have an interface with more than 2 outputs? Then you need channels=2 in module-jack-sink, else Pulseaudio freaks out with Soundcloud because it tries to do strange surround sound things and fails.


Yes, there are 8 outputs to the 1010LT audio card. Although I never tweaked that channels parameter in the jack sink before. If I dual boot to the previous LM 18.1 system, soundcloud will work just nice in firefox.

In this case here firefox itself will not output anything at all from soundcloud. From youtube yes, but not soundcloud. So since it works with youtube then the problem is not with the sink, as far as I see it.

jonetsu
Established Member
Posts: 1226
Joined: Sat Jun 11, 2016 12:05 am

Re: (X)ubuntu 18.04: firefox : no soundcloud audio

Postby jonetsu » Tue Feb 05, 2019 8:53 pm

sysrqer wrote:I believe there's a gstreamer plugin you need for that but I don't remember which, see if the are any you don't have.


gstreamer is installed but then, there are a lot of gstreamer packages available. I'm not inclined to install them all out of not knowing which additional one would be needed.

User avatar
sysrqer
Established Member
Posts: 1695
Joined: Thu Nov 14, 2013 11:47 pm
Contact:

Re: (X)ubuntu 18.04: firefox : no soundcloud audio

Postby sysrqer » Tue Feb 05, 2019 9:05 pm

I think it's just one of the good, bad, ugly ones but these are the ones I have and it works for me -
Image

jonetsu
Established Member
Posts: 1226
Joined: Sat Jun 11, 2016 12:05 am

Re: (X)ubuntu 18.04: firefox : no soundcloud audio

Postby jonetsu » Wed Feb 06, 2019 12:06 am

Thanks, I'll compare with what's installed. I'll install the ones that are absent one-by-one so that it could be possible to pinpoint which one does it. Maybe.

User avatar
bluebell
Established Member
Posts: 950
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland & Frankfurt, Germany

Re: (X)ubuntu 18.04: firefox : no soundcloud audio

Postby bluebell » Wed Feb 06, 2019 10:22 am

jonetsu wrote:
bluebell wrote: Do you have an interface with more than 2 outputs? Then you need channels=2 in module-jack-sink, else Pulseaudio freaks out with Soundcloud because it tries to do strange surround sound things and fails.


Yes, there are 8 outputs to the 1010LT audio card. Although I never tweaked that channels parameter in the jack sink before. If I dual boot to the previous LM 18.1 system, soundcloud will work just nice in firefox.

In this case here firefox itself will not output anything at all from soundcloud. From youtube yes, but not soundcloud. So since it works with youtube then the problem is not with the sink, as far as I see it.


My (and other people's) problems were similar: strange balance with Soundcloud (one channel louder than the other, Pulseaudio outputs to 3(!) channels), but NO problems with Youtube.

I am no Pulseaudio expert. Maybe Pulseaudio can be tweaked.

Just watch pavumeter when playing Youtube-videos and Soundcloud-clips. Maybe you can see the different channel routing.

jonetsu
Established Member
Posts: 1226
Joined: Sat Jun 11, 2016 12:05 am

Re: (X)ubuntu 18.04: firefox : no soundcloud audio

Postby jonetsu » Wed Feb 06, 2019 3:04 pm

bluebell wrote: My (and other people's) problems were similar: strange balance with Soundcloud (one channel louder than the other, Pulseaudio outputs to 3(!) channels), but NO problems with Youtube. I am no Pulseaudio expert. Maybe Pulseaudio can be tweaked. Just watch pavumeter when playing Youtube-videos and Soundcloud-clips. Maybe you can see the different channel routing.


I see what you might mean although in this case firefox does not even go to pavucontrol (I do not currently have pavumeter installed) :

When firefox plays something from youtube:

pavucontrol-YT.jpg


When firefox plays something from soundcloud:

pavucontrol-SC.jpg


I'm only commenting as I haven't got the chance to do anything about this yet.
You do not have the required permissions to view the files attached to this post.

User avatar
sysrqer
Established Member
Posts: 1695
Joined: Thu Nov 14, 2013 11:47 pm
Contact:

Re: (X)ubuntu 18.04: firefox : no soundcloud audio

Postby sysrqer » Wed Feb 06, 2019 3:18 pm

If it doesn't play at all (as opposed to playing but being silent) then it is a codec issue. You can try running firefox from a terminal to see if there is anything suggestive there.

Do you have the same problem with bandcamp?

There are a few suggestions I've seen that say you need to install ffmpeg, might be worth a try.

merlyn
Established Member
Posts: 224
Joined: Thu Oct 11, 2018 4:13 pm

Re: (X)ubuntu 18.04: firefox : no soundcloud audio

Postby merlyn » Wed Feb 06, 2019 3:57 pm

I've seen 'Audio IPC Server' on my Arch system. It's a generic name for JACK, which does indeed provide Inter-Process Communication, or IPC. I don't use Pulse Audio but if the dialogue says 'JACK sink' -- a sink is an output? That would imply the version of Firefox you have has been compiled with JACK support. Is JACK started? What happens if you stop JACK?

The solution for me was to play back a youtube video for a short time, then pause it. Now play back soundcloud. Youtube starts Firefox's Audio IPC server (known to most people as Firefox's JACK client :)) and soundcloud can use it.

jonetsu
Established Member
Posts: 1226
Joined: Sat Jun 11, 2016 12:05 am

Re: (X)ubuntu 18.04: firefox : no soundcloud audio

Postby jonetsu » Wed Feb 06, 2019 4:03 pm

merlyn wrote:I've seen 'Audio IPC Server' on my Arch system. It's a generic name for JACK, which does indeed provide Inter-Process Communication, or IPC. I don't use Pulse Audio but if the dialogue says 'JACK sink' -- a sink is an output? That would imply the version of Firefox you have has been compiled with JACK support. Is JACK started? What happens if you stop JACK?

The solution for me was to play back a youtube video for a short time, then pause it. Now play back soundcloud. Youtube starts Firefox's Audio IPC server (known to most people as Firefox's JACK client :)) and soundcloud can use it.


No, there's no need for any application using PA to be compiled with jackd support to actually go through jackd. Hence the sink. The application happily uses PA w/o knowing that PA in turn goes to jackd. It does not need to know after all.

As a side effect of this installation, jackd is automatically started when PA starts (at each computer boot) and it's configuration lies in a ~/.jackdrc file, such as :

/usr/bin/jackd --sync -P80 -ndefault -dalsa -dhw:M1010LT -r44100 -p512 -n8

As I've mentioned, the LM 18.1 system in dual boot plays soundcloud fine using firefox and it has the same PA/jackd configuration that I've been using for years now.

jonetsu
Established Member
Posts: 1226
Joined: Sat Jun 11, 2016 12:05 am

Re: (X)ubuntu 18.04: firefox : no soundcloud audio

Postby jonetsu » Wed Feb 06, 2019 4:09 pm

sysrqer wrote:If it doesn't play at all (as opposed to playing but being silent) then it is a codec issue. You can try running firefox from a terminal to see if there is anything suggestive there. Do you have the same problem with bandcamp? There are a few suggestions I've seen that say you need to install ffmpeg, might be worth a try.


Just tried bandcamp, works fine. Good funky tune. The following is already installed:

Code: Select all

ii  chromium-codecs-ffmpeg-extra          71.0.3578.98-0ubuntu0.18.04.1
ii  ffmpeg                                7:3.4.4-0ubuntu0.18.04.1


Return to “System Tuning and Configuration”

Who is online

Users browsing this forum: No registered users and 1 guest