LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-06-2021, 01:06 AM   #1
IUseVo1dBTW
LQ Newbie
 
Registered: Aug 2021
Posts: 3

Rep: Reputation: Disabled
Unhappy Pulseaudio Stream Volume Issue


I have an issue with Pulseaudio when I change youtube playback volume in IceCat it changes stream volume in pulsemixer. I tested it with IceCat, Firefox, surf (which is basically webkitprocess).

Here are results.

******
  1. Firefox: changing youtube volume DOES NOT (Update: it DOES ) change stream volume in pulsemixer
  2. IceCat: changing youtube volume CHANGES stream volume in pulsemixer
  3. surf(webkitprocess): changing youtube volume CHANGES stream volume in pulsemixer

******

Additional Information

******
  1. I use void with xorg/dwm
  2. my user does have audio group
  3. I run pulseaudio as user (not as system daemon)
  4. flat-volumes = no
  5. I have alsa-plugins-pulseaudio and alsa-lib but no regular alsa
  6. my asound.conf file:
    Code:
    pcm.!default {
      type pulse
      hint {
        show on
        description "Default ALSA Output (currently PulseAudio Sound Server)"
      }
    }
    
    ctl.!default {
      type pulse
    }

*******

REALLY hope to find some help!
 
Old 08-06-2021, 10:10 AM   #2
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Saw your post on Reddit, also. Unfortunately, a quick search refers mostly to folks running with flat volume enabled and PA running as a daemon. That's not going to help you any, though. My guess is you've probably done this same search already.

Stand by for more knowledgeable folks to pop in here and possibly give you some assistance.

Have I mentioned lately that I hate PulseAudio.
 
Old 08-06-2021, 11:23 AM   #3
lovemeslk
Member
 
Registered: Feb 2020
Location: Rantoul IL
Distribution: Slackware
Posts: 350

Rep: Reputation: 72
Quote:
pcm.!default {
type pulse
hint {
show on
description "Default ALSA Output (currently PulseAudio Sound Server)"
}
}

ctl.!default {
type pulse
}
first off if you use this as an .asoundrc
That is like asking google to search for google. NO NO.
you should start the pulseaudio sound server as you want.
then install pavucontrol alas-utilities
now you can control your audio.
if you have a limited install like you say you do.
then I suggest find a distro that understands alsa is part of the kernel and the utilities to run it are
alsa-lib alas-utilities to handle the kerenl pipewire pulseaudio can be used as a sound server.
alsa-plugins are extensions for pulseaudio ffmpeg jack pipewire etc.

The moment you started using that ~/.asoundrc you pretty much
freaked out the system. you have it pointing to pulseaudio and no way to control it.
You will need pavucontrol alas-utilities.
if you want to only use pulesaudio on certain programs or alsa read up.
https://wiki.archlinux.org/index.php...b_pipe_to_ALSA
All this is a basic full install in Slackware Linux.

Quote:
I tested it with IceCat, Firefox, surf (which is basically webkitprocess).
these are html5 they only use default device. if you have a limited install on your distro then use the setting to set default device.
But telling it pulsaudio is default and no way to control it is not going to work.

pulseaudio creates a socket in your ~/.config/pulse
then sets a cookie
the ~/.config/pavucontrol.ini
is used to keep the default device per program.
install the tools and enjoy the media.
pulseaudio is never system wide it is always used per user. any user can turn it on and turn it off.
that is in the audio group.
This here
Code:
pcm.!default {
  type pulse
  hint {
    show on
    description "Default ALSA Output (currently PulseAudio Sound Server)"
  }
}

ctl.!default {
  type pulse
should be in your /etc/alsa/conf.d/
That is created and installed with alsa-plugins
if you use this you will need alsa-utilites and Pavucontrol
alsa plugins are system wide.
remember your asking it to use pulseaudio and you have no way to control it.

Last edited by lovemeslk; 08-06-2021 at 11:52 AM.
 
Old 08-06-2021, 04:05 PM   #4
IUseVo1dBTW
LQ Newbie
 
Registered: Aug 2021
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by lovemeslk View Post
first off if you use this as an .asoundrc
That is like asking google to search for google. NO NO.
you should start the pulseaudio sound server as you want.
then install pavucontrol alas-utilities
now you can control your audio.
if you have a limited install like you say you do.
then I suggest find a distro that understands alsa is part of the kernel and the utilities to run it are
alsa-lib alas-utilities to handle the kerenl pipewire pulseaudio can be used as a sound server.
alsa-plugins are extensions for pulseaudio ffmpeg jack pipewire etc.

The moment you started using that ~/.asoundrc you pretty much
freaked out the system. you have it pointing to pulseaudio and no way to control it.
You will need pavucontrol alas-utilities.
if you want to only use pulesaudio on certain programs or alsa read up.
https://wiki.archlinux.org/index.php...b_pipe_to_ALSA
All this is a basic full install in Slackware Linux.


these are html5 they only use default device. if you have a limited install on your distro then use the setting to set default device.
But telling it pulsaudio is default and no way to control it is not going to work.

pulseaudio creates a socket in your ~/.config/pulse
then sets a cookie
the ~/.config/pavucontrol.ini
is used to keep the default device per program.
install the tools and enjoy the media.
pulseaudio is never system wide it is always used per user. any user can turn it on and turn it off.
that is in the audio group.
This here
Code:
pcm.!default {
  type pulse
  hint {
    show on
    description "Default ALSA Output (currently PulseAudio Sound Server)"
  }
}

ctl.!default {
  type pulse
should be in your /etc/alsa/conf.d/
That is created and installed with alsa-plugins
if you use this you will need alsa-utilites and Pavucontrol
alsa plugins are system wide.
remember your asking it to use pulseaudio and you have no way to control it.
My asound.conf in /etc/asound.conf
Also I am sure that I dont need alsa-utils (why do I need alsa if I am using pulse) (thats from voidlinux handbook)
I have pulsemixer instead of pavucontrol
 
Old 08-06-2021, 04:09 PM   #5
IUseVo1dBTW
LQ Newbie
 
Registered: Aug 2021
Posts: 3

Original Poster
Rep: Reputation: Disabled
You havent really helped

My asound.conf in /etc/asound.confg (as said in pulseaudio docs)
I dont use pavucontrol instead I use pulsemixer
Also, I dont need alsa-utils (voidlinux handbook says it)
I can control master volume with pulsemixer and streams volume too but they just able to changed it too

Last edited by IUseVo1dBTW; 08-06-2021 at 04:10 PM.
 
Old 08-06-2021, 08:21 PM   #6
lovemeslk
Member
 
Registered: Feb 2020
Location: Rantoul IL
Distribution: Slackware
Posts: 350

Rep: Reputation: 72
Code:
    Firefox: changing youtube volume DOES NOT (Update: it DOES ) change stream volume in pulsemixer
    IceCat:  changing youtube volume CHANGES stream volume in pulsemixer
    surf(webkitprocess): changing youtube volume CHANGES stream volume in pulsemixer
well I am unable to reproduce your issue in
3 ubuntu flavors.
2 fedora flavors
1 opensuse tumbleweed
slackware 14.2
slackware curent.
If I was you I would
Code:
rm ~/.config/pavucontrol.ini
rm -rf ~/.config/pulse
Then reboot most likely you have a stale cookie or socket.
pulsemixer same as pavuctrol they just build it with the system.
then test it.

That is this guys python scripts
https://github.com/GeorgeFilipkin/pulsemixer

You believe it is a Mozilla issue then fine down load the latest firefox
from mozilla https://www.mozilla.org/
extract the tar ball and run it from standalone file.
then you will know if when your distro built it if they enabled pulseaudio for the build.
Because mozzilla does but if your using ARCH's latest pipewire stuff you may be running into a reportable issue.

https://alpha.de.repo.voidlinux.org/live/current/
Is there a stable stable.
Not going to waste more of my time on unstable distro's

This was an issue I had with slackware 14.1 eight years ago.
But things have changed.
Quote:
I dont need alsa-utils (voidlinux handbook says it)
carry on because you know everything.
https://www.linuxquestions.org/linux...Ask_a_Question

Last edited by lovemeslk; 08-06-2021 at 08:40 PM.
 
  


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
Can't Get Sound from Pulseaudio -- PulseAudio Will Not Start JasonC10203 Linux - Software 4 11-28-2016 11:18 PM
Bypass pulseaudio problems and crashes when you don't have pulseaudio. Rinndalir Linux - Software 1 08-31-2016 01:00 PM
LVM Mount Physical Volume/Logical Volume without a working Volume Group mpivintis Linux - Newbie 10 01-11-2014 07:02 AM
[SOLVED] Squeeze + Pulseaudio + Alsa and USB Midi device causes Pulseaudio crash mad4linux Debian 1 01-26-2011 03:57 AM
Winecfg crashes on sound tab with Pulseaudio and no 'sounddrivers' without pulseaudio William (Dthdealer) Linux - Software 5 06-13-2010 07:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:54 PM.

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