Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Debian 9 Stretch and YouTube no audio

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
genunix
Posts: 2
Joined: 2017-01-31 03:06

Debian 9 Stretch and YouTube no audio

#1 Post by genunix »

I have been running stretch for about a month or so and it seems great. No real issues at all other than a few bumps in the road dealing with VMware WorkStation but otherwise it "just works"(tm). However running FireFox downloaded from Mozilla ( Firefox 51.0.1 build 20170125094131 ) runs very well with the exception that YouTube has no audio to speak of. VLC runs great and the dual monitor setup with my HD Radeon works fine and even the touchscreen works. All very cool. No audio with YouTube and searching around seems to point to pulseaudio problems. However ... there is no pulseaudio here. Also the alsamixer shows reasonable settings and /proc/asound/cards says :

Code: Select all

stretch$ cat /proc/asound/cards 
 0 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xb0000000 irq 19
 1 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xb0700000 irq 27

stretch$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version k4.8.0-2-amd64.
Well this all gets to be a mystery pretty quick at this point and while VLC works fine there is never audio from Firefox.

Any insights would be great.

genunix.

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: Debian 9 Stretch and YouTube no audio

#2 Post by Segfault »

I think Firefox comes with PA configured only. You need to recompile it by yourself to use bare ALSA.


genunix
Posts: 2
Joined: 2017-01-31 03:06

Re: Debian 9 Stretch and YouTube no audio

#4 Post by genunix »

Great .. so there is no way around this other than to build Firefox from sources. Not the worst answer I could expect but if the Mozilla people are in love with pulseaudio there is little else to do here.

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: Debian 9 Stretch and YouTube no audio

#5 Post by pylkko »

I am not sure, maybe some one else can verify, but the Firefox in Debian is compiled already to work without pulseuadio, I think.

Then you could use firefox ESR from repo, or mix repos from sid (maybe not safe) or systemd-nspawn the firefox from sid/exp

http://forums.debian.net/viewtopic.php?f=16&t=129390

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Debian 9 Stretch and YouTube no audio

#6 Post by Head_on_a_Stick »

I'm posting this from Firefox version 51.0, the sound works fine and I have no trace of PulseAudio on my system :)

However...

Code: Select all

Puffy: ~ $ uname -a
OpenBSD Puffy.lan 6.0 GENERIC.MP#158 amd64
Is this another Poettering thing?

:mrgreen:

Both my stretch systems have PA already installed, I will try to remove it from one of them later and report back...
deadbang

dibl
Posts: 528
Joined: 2009-10-13 19:50
Location: Dayton, Ohio, USA

Re: Debian 9 Stretch and YouTube no audio

#7 Post by dibl »

The firefox package in sid plays youtube videos perfectly. Also I noticed that there is no pulseaudio package in sid any more.

Code: Select all

root@hp-350g:/# uname -a
Linux hp-350g 4.9.6-towo.2-siduction-amd64 #1 SMP PREEMPT siduction 4.9-12 (2017-01-31) x86_64 GNU/Linux
root@hp-350g:/# apt policy firefox
firefox:
  Installed: 51.0-1
  Candidate: 51.0-1
  Version table:
 *** 51.0-1 500
        500 http://httpredir.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status
root@hp-350g:/# apt policy phonon
phonon:
  Installed: 4:4.9.0-4
  Candidate: 4:4.9.0-4
  Version table:
 *** 4:4.9.0-4 500
        500 http://httpredir.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status
Debian sid / siduction KDE

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Debian 9 Stretch and YouTube no audio

#8 Post by Head_on_a_Stick »

dibl wrote:there is no pulseaudio package in sid any more.
https://packages.debian.org/sid/pulseaudio?

Sound plays fine with both Firefox (from sid) and firefox-esr in my stretch-based system with no pulseaudio installed:

Code: Select all

empty@Helium:~$ apt-cache policy pulseaudio firefox firefox-esr
pulseaudio:
  Installed: (none)
  Candidate: 10.0-1
  Version table:
     10.0-1 500
        500 http://httpredir.debian.org/debian stretch/main amd64 Packages
        100 http://httpredir.debian.org/debian sid/main amd64 Packages
firefox:
  Installed: 51.0-1
  Candidate: 51.0-1
  Version table:
 *** 51.0-1 100
        100 http://httpredir.debian.org/debian sid/main amd64 Packages
        100 /var/lib/dpkg/status
firefox-esr:
  Installed: 45.7.0esr-1
  Candidate: 45.7.0esr-1
  Version table:
 *** 45.7.0esr-1 500
        500 http://httpredir.debian.org/debian stretch/main amd64 Packages
        100 http://httpredir.debian.org/debian sid/main amd64 Packages
        100 /var/lib/dpkg/status
Anyway, stretch will be using version 52 of firefox-esr so we should wait until that is out.
deadbang

dibl
Posts: 528
Joined: 2009-10-13 19:50
Location: Dayton, Ohio, USA

Re: Debian 9 Stretch and YouTube no audio

#9 Post by dibl »

Head_on_a_Stick wrote:
dibl wrote:there is no pulseaudio package in sid any more.
https://packages.debian.org/sid/pulseaudio?
Mehhhh -- I must have misspelled it in apt -- I got "package not found", but spelled correctly, there it is!
Debian sid / siduction KDE

Post Reply