LinuxQuestions.org
Help answer threads with 0 replies.
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 03-19-2018, 09:18 AM   #1
linustalman
LQ Guru
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,726

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Question Possible to cap volume at 100% in AlsaMixer?


Hi.

Is it possible to limit the volume from going over 100% in AlsaMixer? Or other method? As seen in the attached image, my alsamixer volume is 115%, in VLC it's 100% in pavucontrol and the system tray volume icon seems to be 115% also. Having the volume over 100% causes some videos to sound awful.
Attached Thumbnails
Click image for larger version

Name:	volumes.png
Views:	91
Size:	81.0 KB
ID:	27221  
 
Old 03-19-2018, 09:32 AM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
in your statement you acknowledge that it is only with "some" video's. Now you have to figure out how to get past that cap you put on it when you get the video that does not meet the it sounds awful when it is over 100 % criteria and actually needs to be set above 100 percent to hear it. Now causing you issues in that area of not being able to get an acceptable volume due to the settings being limited to 100.

from what I just researched I have not found a means to cap pulseaudio volume at 100 % because that is what it will take to do so because you're using pulseaudio along with alsa that allows the user to go over the 100 percent volume.

pulseaudio would then be contradicting itself if it was to allow someone to disable and not allow it to go above the max volume settings that alsa limits the user to go to that pulseaudio now allows the user to go above it.

Perhaps that is why the programmers did not provided a noticeable means if any to put a limit to the max volume it is able to achieve being to set it to the max volume alsa allows.

Because it would be setting itself up to defeat itself in the arena of attainable volume being no better then what alsa can provide.

You (might) then have to look into VLC to see if it provides any means to limit its max volume settings.

Last edited by BW-userx; 03-19-2018 at 09:42 AM.
 
Old 03-19-2018, 02:48 PM   #3
linustalman
LQ Guru
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,726

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Post

If I go over 100% in the VLC volume bar, the volume stays over 100% in alsamixer. When I bring the volume back down to 100% in the VLC volume bar - the volume remains over 100% in alsamixer.
 
Old 03-20-2018, 02:10 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by linustalman View Post
If I go over 100% in the VLC volume bar
you mean pavucontrol's vlc volume bar, or vlc's own volume bar?

Last edited by ondoho; 03-20-2018 at 12:21 PM.
 
Old 03-20-2018, 09:16 AM   #5
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
ASLA only goes to 100.
pulseaudio pushes it past the 100 % threshold.
pavucontrol is just a means to get to pulseaudio.
VLC utilizes whatever it is given as a source to control the sound.

Logic then sates.
Removing pulseaudio will take away VLC's ability to go past what alsa is limited to.
but stripping out pulseaudio in some Linux Distros can become a job to get your alsa working. Depending on how thsy have it set up.

Last edited by BW-userx; 03-20-2018 at 09:25 AM.
 
Old 03-21-2018, 03:31 PM   #6
linustalman
LQ Guru
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,726

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Maybe KDE has the solution [image attached] -- I prefer the MATE DE though.
BTW, SMPlayer does not cause this over 100% issue.
Attached Thumbnails
Click image for larger version

Name:	kde-vol.png
Views:	128
Size:	59.0 KB
ID:	27241  
 
Old 03-22-2018, 12:27 PM   #7
linustalman
LQ Guru
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,726

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
I tried this [attached image] but the alsamixer volume remains over 100%.
Attached Thumbnails
Click image for larger version

Name:	vlc-audio.png
Views:	74
Size:	73.9 KB
ID:	27250  
 
Old 03-22-2018, 03:43 PM   #8
linustalman
LQ Guru
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,726

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Post

Quote:
Originally Posted by ondoho View Post
you mean pavucontrol's vlc volume bar, or vlc's own volume bar?
Hi ondoho. I meant the native VLC volume bar.
 
Old 03-23-2018, 10:45 AM   #9
linustalman
LQ Guru
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,726

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
I tried this but you can still go over 100% buy using the mouse scroll wheel.
Attached Thumbnails
Click image for larger version

Name:	vlc-max-vol-displayed.png
Views:	41
Size:	99.6 KB
ID:	27255  
 
Old 03-24-2018, 02:22 AM   #10
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
i wouldn't try solving this from VLC, but from pulseaudio.

also it is unclear whether the volume levels are something pulseaudio invented.

i know VLC goes into overdrive above 100, which can be useful sometimes.

i don't think ALSA can ever go above 100%.

the easiest would be to uninstall pulseaudio, of course... (scnr)
 
Old 03-24-2018, 07:56 AM   #11
linustalman
LQ Guru
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,726

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Quote:
Originally Posted by ondoho View Post
i wouldn't try solving this from VLC, but from pulseaudio.

also it is unclear whether the volume levels are something pulseaudio invented.

i know VLC goes into overdrive above 100, which can be useful sometimes.

i don't think ALSA can ever go above 100%.

the easiest would be to uninstall pulseaudio, of course... (scnr)
I don't fancy removing pulseaudio - seems like something will break.
 
Old 03-24-2018, 09:59 AM   #12
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
do you HAVE to use VLC? their are other video players out there.
 
Old 03-24-2018, 10:01 AM   #13
linustalman
LQ Guru
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,726

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Quote:
Originally Posted by BW-userx View Post
do you HAVE to use VLC? their are other video players out there.
I've used VLC for many years, I'd prefer to stay with it.
 
  


Reply

Tags
alsamixer, limit, pulseaudio, vlc, volume



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
How to adjust volume in alsamixer Jefferies Linux - Software 1 06-19-2011 02:34 AM
alsamixer: PCM front attenuator always @100 when starting. stf92 Linux - Software 2 07-31-2010 09:24 AM
Volume of a partially filled sphere cap jlinkels Programming 18 05-02-2009 10:49 AM
Can't raise volume in Alsamixer? SonoranFun Linux - Software 3 02-15-2006 03:03 PM
LXer: Altiris Recognized as a Red Herring Small Cap 100 LXer Syndicated Linux News 0 12-14-2005 03:46 AM

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

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