LinuxQuestions.org
Help answer threads with 0 replies.
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 02-01-2021, 09:14 AM   #1
lcd047
LQ Newbie
 
Registered: Sep 2017
Posts: 17

Rep: Reputation: Disabled
Current: upgrading pulseaudio breaks alsamixer


I have Slackware64 Current, pulseaudio / ALSA, and alsamixer, with this configuration. Until a few days ago I could use alsamixer to change change volume, the change was immediately effective for all applications using sound, and life was good. Then a few days ago I upgraded pulseaudio from 14.0 to 14.2, and alsamixer stopped working: pressing the up and down arrows no longer changes either the volume or the colored bar representing the master control. Other mixers (f.i. pavucontrol) seem to have a similar problem, basically the cursor is stuck at whatever level was set at boot. This happens as root as well as my regular user, and downgrading pulseaudio to 14.0 and rebooting restores everything to a working state.

Any idea what's going on?
 
Old 02-01-2021, 12:58 PM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,239

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
I couldn't get it working for a while either. I took a close look at the man page, and saw alsamixer or alsamixergui opens on card 0. This is not a problem until you have more than 1 audio card; as I do. aplay -l shows I have audio on my Nvidia card, and I audio on the system board. The Nvidia card is 0, the default. I'm using card 1 the analog card on the system board.

So, alsamixer -c1 works, as does alsamixergui -c1.

Long story short, check aplay -l and make sure you are trying to use it with the correct card.

Hope this helps. ( yes, I'm on current fully updated to Jan31. )
 
Old 02-02-2021, 12:08 AM   #3
lcd047
LQ Newbie
 
Registered: Sep 2017
Posts: 17

Original Poster
Rep: Reputation: Disabled
While I do have a second on board card (disabled in BIOS), ID games don't seem to be the problem here. The output of aplay -l (and aplay -L) stays the same after the upgrade. This is the output of alsa-info.sh with pulseaudio 14.2, the one I posted above is with pulseaudio 14.0. Ignoring the garbage caused by different installation times etc., the difference seem to be only in some levels:

Code:
--- alsa-info.txt.old	2021-02-02 07:46:00.143059550 +0200
+++ alsa-info.txt.new	2021-02-02 07:41:34.836506106 +0200
@@ -218,14 +218,14 @@
   Playback channels: Front Left - Front Right - Rear Left - Rear Right - Front Center - Woofer - Side Left - Side Right
   Limits: Playback 0 - 255
   Mono:
-  Front Left: Playback 255 [100%] [195.00dB] [on]
-  Front Right: Playback 255 [100%] [195.00dB] [on]
-  Rear Left: Playback 255 [100%] [195.00dB] [on]
-  Rear Right: Playback 255 [100%] [195.00dB] [on]
-  Front Center: Playback 255 [100%] [195.00dB] [on]
-  Woofer: Playback 255 [100%] [195.00dB] [on]
-  Side Left: Playback 255 [100%] [195.00dB] [on]
-  Side Right: Playback 255 [100%] [195.00dB] [on]
+  Front Left: Playback 51 [20%] [-9.00dB] [on]
+  Front Right: Playback 51 [20%] [-9.00dB] [on]
+  Rear Left: Playback 51 [20%] [-9.00dB] [on]
+  Rear Right: Playback 51 [20%] [-9.00dB] [on]
+  Front Center: Playback 51 [20%] [-9.00dB] [on]
+  Woofer: Playback 51 [20%] [-9.00dB] [on]
+  Side Left: Playback 51 [20%] [-9.00dB] [on]
+  Side Right: Playback 51 [20%] [-9.00dB] [on]
 Simple mixer control 'Front Panel',0
   Capabilities: pswitch pswitch-joined
   Playback channels: Mono
@@ -293,14 +293,14 @@
 	control.1 {
 		iface MIXER
 		name 'Master Playback Volume'
-		value.0 127
-		value.1 127
-		value.2 127
-		value.3 127
-		value.4 127
-		value.5 127
-		value.6 127
-		value.7 127
+		value.0 79
+		value.1 79
+		value.2 79
+		value.3 79
+		value.4 79
+		value.5 79
+		value.6 79
+		value.7 79
 		comment {
 			access 'read write'
 			type INTEGER
@@ -308,14 +308,14 @@
 			range '67 - 127'
 			dbmin -6000
 			dbmax 0
-			dbvalue.0 0
-			dbvalue.1 0
-			dbvalue.2 0
-			dbvalue.3 0
-			dbvalue.4 0
-			dbvalue.5 0
-			dbvalue.6 0
-			dbvalue.7 0
+			dbvalue.0 -4800
+			dbvalue.1 -4800
+			dbvalue.2 -4800
+			dbvalue.3 -4800
+			dbvalue.4 -4800
+			dbvalue.5 -4800
+			dbvalue.6 -4800
+			dbvalue.7 -4800
 		}
 	}
 	control.2 {
@@ -583,8 +583,8 @@
 	control.25 {
 		iface MIXER
 		name Master
-		value.0 254
-		value.1 254
+		value.0 53
+		value.1 53
 		comment {
 			access 'read write user'
 			type INTEGER
@@ -593,8 +593,8 @@
 			tlv '0000000100000008ffffec1400000014'
 			dbmin -5100
 			dbmax 0
-			dbvalue.0 -20
-			dbvalue.1 -20
+			dbvalue.0 -4040
+			dbvalue.1 -4040
 		}
 	}
 }
 
Old 02-18-2021, 09:34 AM   #4
lcd047
LQ Newbie
 
Registered: Sep 2017
Posts: 17

Original Poster
Rep: Reputation: Disabled
Answering my own question: this is actually in the PulseAudio FAQ: alsmamixer doesn't work since making the pulse plugin the alsa default. TL;DR: the volume for PulseAudio is now 16 bits, so you now have to use the keys 1-9 if you want useful values out of alsamixer. Because, you know, why not break all ALSA mixers out there.

Last edited by lcd047; 02-18-2021 at 09:43 AM. Reason: better wording
 
  


Reply

Tags
pulseaudio



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] Upgrading to Slackware Current breaks dir colours in terminal and vim scroll down dalacor Slackware 15 02-21-2020 01:56 PM
[SOLVED] HELP: upgrading pulseaudio on Slackware64 14.2 to what's available on -current dimm0k Slackware 3 02-12-2020 09:21 AM
[SOLVED] Fedora 16, pulseaudio and alsamixer Basher52 Linux - Software 1 10-26-2012 01:45 PM
[SOLVED] Pulseaudio vs Alsamixer teboil12 Linux - Software 3 12-21-2011 01:33 AM
[SOLVED] F13. Mic not working. Skype 2.1 Beta. Pulseaudio. Alsamixer. 1337.HDLA Linux - Hardware 4 10-15-2010 12:25 PM

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

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