LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-28-2016, 05:25 PM   #1
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,683

Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
Alien Bob's Chromium package no pulseaudio?


This is not a big deal but I noticed today while I was running Eric's Chromium binary for 14.2 that the audio is piping out to alsa and not pulseaudio. I looked at the SlackBuild and it has support for pulseaudio. I rebuilt Chromium from the SlackBuild without changing anything and now the audio is being piped through pulseaudio. I've attached two screenshots so you can see what I mean. Is this normal for the binary, I am just curious?
Attached Thumbnails
Click image for larger version

Name:	pulseaudio.jpg
Views:	62
Size:	227.4 KB
ID:	22593   Click image for larger version

Name:	alsa.jpg
Views:	48
Size:	219.0 KB
ID:	22594  
 
Old 07-28-2016, 06:12 PM   #2
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
Can't speak for chromium, but google's google-chrome binary uses the pulse alsa-plugin too.
 
Old 07-28-2016, 06:22 PM   #3
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,683

Original Poster
Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
Quote:
Originally Posted by GazL View Post
Can't speak for chromium, but google's google-chrome binary uses the pulse alsa-plugin too.
I just found it odd because Eric's binaries are built from his SlackBuild so if hes building on 14.2 pulseaudio should be picked during build time since it is in his script.
 
Old 07-28-2016, 07:23 PM   #4
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
Alien Bob's Chromium binary here plays via the ALSA plugin on several sites - even Youtube (HTML5). FF plays some via ALSA and on some via pulseaudio. Weird that HTML5 video plays via PA in FF but via ALSA plugin in chromium.

This doesn't seem to effect multiple streams: I can play several streams via chromium and/or FF simultaneously regardless of the plugin. I think that is telling me that PA is still managing the audio streams.
 
Old 07-28-2016, 07:33 PM   #5
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
ALSA can play multiple streams simultaneously no problem.
 
Old 07-28-2016, 08:05 PM   #6
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
Quote:
Originally Posted by Emerson View Post
ALSA can play multiple streams simultaneously no problem.
Yes it can, but you have to set up a proper $HOME/.asoundrc or /etc/asound.conf if your soundcard does not have a hardware mixer (such as SoundBlaster). Most motherboard audio (realtek, Intel, etc) need to have software mixing set up in soeftware. This has been discussed at length in this forum.
 
Old 07-28-2016, 08:45 PM   #7
the3dfxdude
Member
 
Registered: May 2007
Posts: 730

Rep: Reputation: 358Reputation: 358Reputation: 358Reputation: 358
Quote:
Originally Posted by kingbeowulf View Post
Yes it can, but you have to set up a proper $HOME/.asoundrc or /etc/asound.conf if your soundcard does not have a hardware mixer (such as SoundBlaster). Most motherboard audio (realtek, Intel, etc) need to have software mixing set up in soeftware. This has been discussed at length in this forum.
I don't think that has been true for about the past 10+ years.

http://alsa.opensrc.org/Dmix
Quote:
NOTE: For ALSA 1.0.9rc2 and higher you don't need to setup dmix for analogue output. Dmix is enabled by default for soundcards which don't support hardware mixing. You still need to set it up for digital outputs.
But what do I know. I've never really remember having any problem that required a custom config with Alsa. There could have been other problems all along.
 
2 members found this post helpful.
Old 07-28-2016, 10:50 PM   #8
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
Originally Posted by kingbeowulf View Post
Yes it can, but you have to set up a proper $HOME/.asoundrc or /etc/asound.conf if your soundcard does not have a hardware mixer (such as SoundBlaster). Most motherboard audio (realtek, Intel, etc) need to have software mixing set up in soeftware. This has been discussed at length in this forum.
That hasn't been true for a decade. The correct defaults for playing multiple streams are set by default, in /usr/share/alsa/alsa.conf.

The actual discussions have usually been started by people who wrote their own .asoundrc files and accidentally disabled that.

Last edited by dugan; 07-28-2016 at 11:05 PM.
 
Old 07-28-2016, 11:17 PM   #9
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
Well, then perhaps I have always run on decades old hardware; or crappy sound cards/drivers. 14.x was better, but not perfect. The defaults have rarely worked here without hardware mixing capability, not to mention HDMI and multiple microphone input. Getting Steam and Mumble to play nice was exciting.
 
Old 07-29-2016, 02:52 AM   #10
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
FYI,
I do not compile every package for every release of Slackware. I only compile a package for a newer Slackware release if the package is broken.
The chromium package is built on Slackware 14.1 and made available for 14.2 and -current too. This means that it is not supporting PulseAudio. I do not consider that "broken".
 
Old 07-29-2016, 03:54 AM   #11
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,683

Original Poster
Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
Quote:
Originally Posted by Alien Bob View Post
FYI,
I do not compile every package for every release of Slackware. I only compile a package for a newer Slackware release if the package is broken.
The chromium package is built on Slackware 14.1 and made available for 14.2 and -current too. This means that it is not supporting PulseAudio. I do not consider that "broken".
I hope that wasn't directed at me. I didn't mean to imply that anything was "broken" and didn't use the word broken in my post. I was just curious to know and your explanation makes sense. Sorry if I offended you, I didn't mean any disrespect. I appreciate all the EXTREMELY hard work you do.
 
Old 07-29-2016, 03:57 AM   #12
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by Daedra View Post
I hope that wasn't directed at me. I didn't mean to imply that anything was "broken" and didn't use the word broken in my post. I was just curious to know and your explanation makes sense. Sorry if I offended you, I didn't mean any disrespect. I appreciate all the EXTREMELY hard work you do.
Hi Daedra, I did not take offense at all. The quotes surrounding "broken" were only meant to illustrate that I do not consider a lack of PA support as something which is broken. After all, audio still works, it's just using ALSA.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] chromium-dev installation of alien-bob failing on slackware-current with error nitecrawler Slackware 16 08-14-2015 03:25 PM
Chromium package added to Alien Bob's repository! 1337_powerslacker Slackware 9 11-25-2013 07:05 PM
Small Issue with Alien Bob's VLC package and DVD playback on 14.1 Daedra Slackware 1 11-08-2013 12:40 AM
unable to build gspca from Alien Bob Slackbuilds package adityavpratap Slackware 5 08-03-2009 11:01 PM
Alien Bob GCC 3.4 Package Woodsman Slackware 2 03-01-2008 02:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration