LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-13-2023, 06:57 AM   #1
JinxsDad
Member
 
Registered: Apr 2023
Location: Fort Walton Beach, FL
Distribution: Slackwareb15
Posts: 282

Rep: Reputation: 23
how to configure pulseaudio to leave my volume settings alone


Every now and then, and always at night (more like early morning) when
I'm going to bed, pulseaudio will cause VLC's volume to go from 50 to
maxed out the second any music starts playing. I have to hover my mouse
over the volume setting so I can take it back to 50 the instant it goes
full blast. This, btw, is in Slackware 15, but I have the same issues on
an old Linux Mint system, and there I was told it was pulseaudio doing
it.

So here's the question: How do I stop it from doing this? I can't
imagine that people like having it do that,so someone surely knows how to
keep it from jacking around with preset volume levels.

So how do you configure it use the existing volume every time, and never
attempt to change it?

Thanks

--
From my days in 16th Special Operations Wing Intelligence:

AN EXERCISE is a situation in which you stop what you're doing
in order to simulate doing what you were doing so you can show
someone else that you can simulate what you were doing as well
as you were doing it before you were interrupted.
 
Old 12-13-2023, 03:32 PM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,660
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Hi, I've not come across this kind of error before this, so please excuse my going around the problem.

If it is pulse audio creating the problem, I suggest moving to pulse-audio's successor

pipewire and wireplumber.

wireplumber is a mulimedia-server, while pipewire takes over from pulse in other areas.

There are some quirks, please search for a tute from your OS first, if you can't find one or two...

https://slackbuilds.org/repository/1...o/wireplumber/

The olny other thing I can think of is perhaps the mainboard may have some age related degradation.
 
Old 12-15-2023, 08:22 AM   #3
JinxsDad
Member
 
Registered: Apr 2023
Location: Fort Walton Beach, FL
Distribution: Slackwareb15
Posts: 282

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by GlennsPref View Post

If it is pulse audio creating the problem, I suggest moving to pulse-audio's successor

pipewire and wireplumber.

wireplumber is a mulimedia-server, while pipewire takes over from pulse in other areas.

There are some quirks, please search for a tute from your OS first, if you can't find one or two...

https://slackbuilds.org/repository/1...o/wireplumber/
Ok, then, one final question: How do I completely get rid of pulseaudio?
Is it as simple as "whereis pulseaudio" and remove everything from the
result? Or is there more to it than just that?

Thanks,
--jim

--
From my days in 16th Special Operations Wing Intelligence:

AN EXERCISE is a situation in which you stop what you're doing
in order to simulate doing what you were doing so you can show
someone else that you can simulate what you were doing as well
as you were doing it before you were interrupted.
 
Old 12-15-2023, 03:42 PM   #4
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,660
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Hi, you can't get rid of it, it's been integrated(, since no-one complained enough).

But you can reduce it to a minimum.

You will be left with libpulse* but the init scripts will change it behaviour.

I also have alsa configured to fill any other gaps.

I have read that some web-browsers are hard-coded for pulse, but falls back to alsa if pulse can't be found.

I did this process just by removing pulseaudio associated packages untill the deps started impinging on the OS operation. (...until removing more would bork the system)

All the best.
 
Old 12-16-2023, 10:25 AM   #5
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,132
Blog Entries: 2

Rep: Reputation: 260Reputation: 260Reputation: 260
I've also removed pulseaudio as much as possible, and only use ALSA. I'm left with 2 packages, libpulse0 and libpulse-mainloop-glib0.
 
Old 12-16-2023, 03:33 PM   #6
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,660
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
yep, I got those too.

Those packages are in deep.

do you have sound after the services have been restarted? (like a reboot)

Did pipewire and wireplumber install without errors?

I hope this works for you.
 
Old 12-16-2023, 04:41 PM   #7
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,132
Blog Entries: 2

Rep: Reputation: 260Reputation: 260Reputation: 260
I have these packages for pipewire on my system: libkpipewire5, libkpipewiredmabuf5, libkpipewirerecord5 and libpipewire-0.3-0. I don't have anything for wireplumber. When my system reboots, I have this command run on startup:
Code:
amixer set Master 35% unmute
 
Old 12-16-2023, 04:57 PM   #8
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,660
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
You may need to install wireplumber.
and perhaps also install pipewire, if you haven't already done so.

Most of the pulse packages will/would be removed during install of those packages and any dependant packages.

I hope this helps.
 
Old 12-16-2023, 05:29 PM   #9
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,464
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
Quote:
Originally Posted by JinxsDad View Post
Every now and then, and always at night (more like early morning) when I'm going to bed, pulseaudio will cause VLC's volume to go from 50 to maxed out the second any music starts playing.
Try changing your preference for the default volume in VLC, here:

 
2 members found this post helpful.
Old 12-28-2023, 08:13 AM   #10
JinxsDad
Member
 
Registered: Apr 2023
Location: Fort Walton Beach, FL
Distribution: Slackwareb15
Posts: 282

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by rkelsen View Post
Try changing your preference for the default volume in VLC, here:

In VLC on my system, the "Always reset audio start level to:" option is set to 100, but is greyed out and not checked.

Last edited by JinxsDad; 12-28-2023 at 08:16 AM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] sed: alone [ /pattern/!d ] works; alone [ s ] works; together =don't work klenot Programming 7 10-23-2010 09:45 AM
LXer: Some People Don't Know When To Leave Well Enough Alone LXer Syndicated Linux News 0 11-21-2009 04:50 AM
Just a yes or no and ill leave you all alone :) Mistro116@yahoo.com Programming 4 11-07-2005 09:44 AM
redhat wont leave me alone Synth218 Slackware 9 05-24-2003 11:49 PM
XFree86 3.x Won't Leave Me Alone bhefny Linux - General 1 12-04-2002 02:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:40 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