debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #09807
[Bug 2085820] Re: Volume Control Buttons Jump to Extremes on Ubuntu 24.04
There's a bit of potential weirdness with the spa.alsa, seems to be
getting confused about accuracy, something I don't see on my 24.04
machine,
I 10:25:27.777475 spa.alsa ../spa/plugins/alsa/acp/acp.c:1254:mixer_volume_init: Hardware volume ranges from -99999.99 dB to 20.00 dB.
I 10:25:27.777478 spa.alsa ../spa/plugins/alsa/acp/acp.c:1260:mixer_volume_init: Fixing base volume to -20.00 dB
I 10:25:27.777479 spa.alsa ../spa/plugins/alsa/acp/acp.c:1268:mixer_volume_init: Using hardware volume control. Hardware dB scale supported.
I 10:25:27.777480 spa.alsa ../spa/plugins/alsa/acp/acp.c:1282:mixer_volume_init: Using hardware mute control.
I 10:25:27.777482 spa.alsa ../spa/plugins/alsa/acp/alsa-mixer.c:1425:pa_alsa_path_select: Activating path Dmic0
D 10:25:27.777484 spa.alsa ../spa/plugins/alsa/acp/alsa-mixer.c:3240:pa_alsa_path_dump: Path Dmic0 (null), direction=2, priority=0, probed=yes, supported=yes, has_mute=yes, has_volume=yes, has_dB=yes, min_volume=0, max_volume=70, min_dB=-100000, max_dB=20
D 10:25:27.777486 spa.alsa ../spa/plugins/alsa/acp/alsa-mixer.c:3216:pa_alsa_element_dump: Element 'Dmic0', direction=2, switch=1, volume=1, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x6, n_channels=2, override_map=00
D 10:25:27.777492 spa.alsa ../spa/plugins/alsa/acp/acp.c:1175:set_volume: Requested volume: 24163
D 10:25:27.777493 spa.alsa ../spa/plugins/alsa/acp/acp.c:1176:set_volume: Got hardware volume: 24163
D 10:25:27.777494 spa.alsa ../spa/plugins/alsa/acp/acp.c:1177:set_volume: Calculated software volume: 65536 (accurate-enough=yes)
D 10:25:27.777495 spa.alsa ../spa/plugins/alsa/acp/alsa-ucm.c:1466:pa_alsa_ucm_set_port: Enable ucm device Mic1
I 10:25:27.777498 spa.alsa ../spa/plugins/alsa/alsa-acp-device.c:848:card_port_changed: card port changed from [Out] HDMI3 to [In] Mic1
I 10:25:27.777500 spa.alsa ../spa/plugins/alsa/acp/acp.c:1929:acp_device_set_volume: Set hardware volume: min:24929 max:24929
D 10:25:27.777501 spa.alsa ../spa/plugins/alsa/acp/acp.c:1934:acp_device_set_volume: 0: 24929
D 10:25:27.777501 spa.alsa ../spa/plugins/alsa/acp/acp.c:1934:acp_device_set_volume: 1: 24929
D 10:25:27.777503 spa.alsa ../spa/plugins/alsa/acp/acp.c:1175:set_volume: Requested volume: 24929
D 10:25:27.777504 spa.alsa ../spa/plugins/alsa/acp/acp.c:1176:set_volume: Got hardware volume: 24163
D 10:25:27.777505 spa.alsa ../spa/plugins/alsa/acp/acp.c:1177:set_volume: Calculated software volume: 67614 (accurate-enough=no)
I 10:25:27.777506 spa.alsa ../spa/plugins/alsa/alsa-acp-device.c:896:on_volume_changed: device HiFi: hw:sofhdadsp,6: source volume changed
D 10:25:27.777516 mod.protocol-nativ ../src/modules/module-protocol-native/connection.c:278:clear_buffer: 0x5d12e83dec40 clear fds:0 n_fds:0
D 10:25:27.777526 wp-registry ../lib/wp/object-manager.c:1066:expose_tmp_globals: <WpCore:0x5d12e83291e0> exposing 2 new globals
D 10:25:27.777552 wp-registry ../lib/wp/object-manager.c:1066:expose_tmp_globals: <WpCore:0x5d12e839adb0> exposing 2 new globals
I subscribed alsa-drivers in case they have any advice. One other thing
to check, does the following sequence work as expected, or does the
volume clip to an extreme value?
$ pactl get-sink-volume @DEFAULT_SINK@
Volume: front-left: 53757 / 82% / -5.16 dB, front-right: 53757 / 82% / -5.16 dB
balance 0.00
$ pactl set-sink-volume @DEFAULT_SINK@ -10%
$ pactl get-sink-volume @DEFAULT_SINK@
Volume: front-left: 47203 / 72% / -8.55 dB, front-right: 47203 / 72% / -8.55 dB
balance 0.00
** Also affects: alsa-driver (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/2085820
Title:
Volume Control Buttons Jump to Extremes on Ubuntu 24.04
Status in alsa-driver package in Ubuntu:
New
Status in wireplumber package in Ubuntu:
Incomplete
Bug description:
I have a sound problem with my laptop model Lenovo ThinkBook 16 G6
IRL. When I press the volume up button once or twice, the volume jumps
to maximum. Similarly, when I press the volume down button once or
twice, the volume drops to minimum. This occurs both on the speakers
and with headphones. I am using Ubuntu 24.04.
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: pulseaudio 1:16.1+dfsg1-2ubuntu10
ProcVersionSignature: Ubuntu 6.8.0-47.47-generic 6.8.12
Uname: Linux 6.8.0-47-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/seq: milos 2445 F.... pipewire
/dev/snd/controlC0: milos 2445 F.... pipewire
milos 2449 F.... wireplumber
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Tue Oct 29 10:25:08 2024
InstallationDate: Installed on 2024-06-20 (131 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
MachineType: LENOVO 21KH
ProcEnviron:
LANG=en_US.UTF-8
LC_TIME=en_IE.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
XDG_RUNTIME_DIR=<set>
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
SourcePackage: pulseaudio
Symptom: audio
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/22/2023
dmi.bios.release: 1.33
dmi.bios.vendor: LENOVO
dmi.bios.version: MMCN33WW
dmi.board.asset.tag: No Asset Tag
dmi.board.name: LNVNB161216
dmi.board.vendor: LENOVO
dmi.board.version: NO DPK
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: ThinkBook 16 G6 IRL
dmi.ec.firmware.release: 1.29
dmi.modalias: dmi:bvnLENOVO:bvrMMCN33WW:bd11/22/2023:br1.33:efr1.29:svnLENOVO:pn21KH:pvrThinkBook16G6IRL:rvnLENOVO:rnLNVNB161216:rvrNODPK:cvnLENOVO:ct10:cvrThinkBook16G6IRL:skuLENOVO_MT_21KH_BU_idea_FM_ThinkBook16G6IRL:
dmi.product.family: ThinkBook 16 G6 IRL
dmi.product.name: 21KH
dmi.product.sku: LENOVO_MT_21KH_BU_idea_FM_ThinkBook 16 G6 IRL
dmi.product.version: ThinkBook 16 G6 IRL
dmi.sys.vendor: LENOVO
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/2085820/+subscriptions