No sound ubuntu 23.10

Graeme D

New Member
Joined
Mar 19, 2024
Messages
9
Reaction score
0
Credits
57
Hi, I clean installed Ubuntu 23.10 to dual boot with Win11 on a HP Pavillion 24 ca1002a AIO. Graphics card is AMD Ryzen 5 5625U. I have sound in windows but in ubuntu no sound from speakers or headphones. I do have sound output if i connect to a bluetooth soundbar though. Any solutions for this problem? TIA
 


First thing to check is whether the sound has been muted in linux. Tools useful to check are: pavucontrol, in the GUI, or in the terminal: alsamixer. If you run pavucontrol you can check that all the little speaker icons are not muting the sound indicated by crosses next to them. The crosses can be checked off. In alsamixer, you can check off mute, which is indicated by MM which appears at the base of the volume bars. They can be checked off with the m key. Then you can increase the volume on the bars with the up arrow key.
 
First thing to check is whether the sound has been muted in linux. Tools useful to check are: pavucontrol, in the GUI, or in the terminal: alsamixer. If you run pavucontrol you can check that all the little speaker icons are not muting the sound indicated by crosses next to them. The crosses can be checked off. In alsamixer, you can check off mute, which is indicated by MM which appears at the base of the volume bars. They can be checked off with the m key. Then you can increase the volume on the bars with the up arrow key.
Thanks osprey, I have checked all the mutes etc and volumes turned up to 100%. when i go to sound under settings it shows but when i test it shows very minute bit of activity in the little output box but no sound. The listed driver for family 17h/19h is SND_HDA_INTEL
1710906887869.png

Not sure if that helps any
 
Code:
lspci -nnkd ::403
04:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller [1002:1637]
    Subsystem: Hewlett-Packard Company Renoir Radeon High Definition Audio Controller [103c:89dc]
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel
04:00.6 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller [1022:15e3]
    Subsystem: Hewlett-Packard Company Family 17h/19h HD Audio Controller [103c:89dc]
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel
Code:
ctl --user status pulseaudio.service
systemctl --user status pipewire.service
Unit pulseaudio.service could not be found.
● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: e>
     Active: active (running) since Wed 2024-03-20 21:50:37 AEDT; 6h left
TriggeredBy: ● pipewire.socket
   Main PID: 1739 (pipewire)
      Tasks: 3 (limit: 18339)
     Memory: 9.2M
        CPU: 8.787s
     CGroup: /user.slice/user-1000.slice/[email protected]/session.slice/pipewi>
             └─1739 /usr/bin/pipewire
[CODE]lsof /dev/snd/*
COMMAND    PID           USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
pipewire  1739 graeme-dimmack  mem    CHR  116,5           963 /dev/snd/pcmC1D0p
pipewire  1739 graeme-dimmack   51u   CHR  116,1      0t0  534 /dev/snd/seq
pipewire  1739 graeme-dimmack   52u   CHR  116,1      0t0  534 /dev/snd/seq
pipewire  1739 graeme-dimmack   63u   CHR  116,8      0t0  968 /dev/snd/controlC1
pipewire  1739 graeme-dimmack   65u   CHR  116,5      0t0  963 /dev/snd/pcmC1D0p
wireplumb 1751 graeme-dimmack   34u   CHR  116,8      0t0  968 /dev/snd/controlC1
wireplumb 1751 graeme-dimmack   37u   CHR  116,4      0t0  947 /dev/snd/controlC0
 
Code:
 aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: ALC274 Analog [ALC274 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
 
Thanks for that output. Can't spot a problem there at the moment. Could you check on missing firmware and microcode with these commands, which may need root or sudo permissions, and paste back here:
Code:
dmesg | grep -i firmware
dmesg | grep -i microcode
 
Code:
dmesg | grep -i firmware
dmesg | grep -i microcode
[sudo] password for graeme-dimmack:
[    0.117085] Spectre V2 : Enabling Restricted Speculation for firmware calls
[    0.319640] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    0.338952] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-7f] only partially covers this bridge
[    1.709808] wmi_bus wmi_bus-PNP0C14:00: [Firmware Info]: 8F1F6436-9F42-42C8-BADC-0E9424F20C9A has zero instances
[    1.709814] wmi_bus wmi_bus-PNP0C14:00: [Firmware Info]: 8F1F6435-9F42-42C8-BADC-0E9424F20C9A has zero instances
[    1.709816] wmi_bus wmi_bus-PNP0C14:00: [Firmware Info]: 7391A661-223A-47DB-A77A-7BE84C60822D has zero instances
[    1.709817] wmi_bus wmi_bus-PNP0C14:00: [Firmware Info]: DF4E63B6-3BBC-4858-9737-C74F82F821F3 has zero instances
[    3.629269] systemd[1]: systemd-pcrmachine.service - TPM2 PCR Machine ID Measurement was skipped because of an unmet condition check (ConditionPathExists=/sys/firmware/efi/efivars/StubPcrKernelImage-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f).
[    4.596694] rtw89_8852ae 0000:02:00.0: loaded firmware rtw89/rtw8852a_fw.bin
[    4.598216] rtw89_8852ae 0000:02:00.0: Firmware version 0.13.36.0, cmd version 0, type 1
[    4.598219] rtw89_8852ae 0000:02:00.0: Firmware version 0.13.36.0, cmd version 0, type 3
[    6.322978] [drm] Loading DMUB firmware via PSP: version=0x01010027
[    6.323801] [drm] Found VCN firmware Version ENC: 1.20 DEC: 6 VEP: 0 Revision: 0
[    6.323813] amdgpu 0000:04:00.0: amdgpu: Will use PSP to load VCN firmware
dmesg: read kernel buffer failed: Operation not permitted
 
Hi osprey, i did notice in aplay output
card 1 0/1 sub device listed. analog
card 0 1/1 sub device hdmi
of relevance?
 
The output "read kernel buffer failed" in post #8 is likely because you weren't root or sudo. The two commands need to be run separately, both as root or sudo.

On my own hdmi connected monitor, the device is also marked analog.

It occurred to me that since you are dual booting, that the MS installation may have hi-jacked the sound system if you haven't started the linux installation from a dead cold boot. That means the MS system needs to be shut down normally to a power off situation, and then restart with just the linux installation booting up.

Another aspect is the kernel version. The later kernels are better at sound, so if you could provide some details about the system e.g.
Code:
inxi -GSAaz

This may seem laborious, but taking a step at a time might show something.
 
Code:
 sudo dmesg | grep -i firmware
[sudo] password for graeme-dimmack:
[    0.117085] Spectre V2 : Enabling Restricted Speculation for firmware calls
[    0.319640] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    0.338952] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-7f] only partially covers this bridge
[    1.709808] wmi_bus wmi_bus-PNP0C14:00: [Firmware Info]: 8F1F6436-9F42-42C8-BADC-0E9424F20C9A has zero instances
[    1.709814] wmi_bus wmi_bus-PNP0C14:00: [Firmware Info]: 8F1F6435-9F42-42C8-BADC-0E9424F20C9A has zero instances
[    1.709816] wmi_bus wmi_bus-PNP0C14:00: [Firmware Info]: 7391A661-223A-47DB-A77A-7BE84C60822D has zero instances
[    1.709817] wmi_bus wmi_bus-PNP0C14:00: [Firmware Info]: DF4E63B6-3BBC-4858-9737-C74F82F821F3 has zero instances
[    3.629269] systemd[1]: systemd-pcrmachine.service - TPM2 PCR Machine ID Measurement was skipped because of an unmet condition check (ConditionPathExists=/sys/firmware/efi/efivars/StubPcrKernelImage-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f).
[    4.596694] rtw89_8852ae 0000:02:00.0: loaded firmware rtw89/rtw8852a_fw.bin
[    4.598216] rtw89_8852ae 0000:02:00.0: Firmware version 0.13.36.0, cmd version 0, type 1
[    4.598219] rtw89_8852ae 0000:02:00.0: Firmware version 0.13.36.0, cmd version 0, type 3
[    6.322978] [drm] Loading DMUB firmware via PSP: version=0x01010027
[    6.323801] [drm] Found VCN firmware Version ENC: 1.20 DEC: 6 VEP: 0 Revision: 0
[    6.323813] amdgpu 0000:04:00.0: amdgpu: Will use PSP to load VCN firmware
[ 7022.758056] audit: type=1326 audit(1710910558.693:153): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.firmware-updater.firmware-updater-app pid=17195 comm="firmware-update" exe="/snap/firmware-updater/121/bin/firmware-updater" sig=0 arch=c000003e syscall=203 compat=0 ip=0x79cd6b51a531 code=0x50000
[ 7022.758063] audit: type=1326 audit(1710910558.693:154): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.firmware-updater.firmware-updater-app pid=17195 comm="firmware-update" exe="/snap/firmware-updater/121/bin/firmware-updater" sig=0 arch=c000003e syscall=203 compat=0 ip=0x79cd6b51a531 code=0x50000
[ 7022.758066] audit: type=1326 audit(1710910558.693:155): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.firmware-updater.firmware-updater-app pid=17195 comm="firmware-update" exe="/snap/firmware-updater/121/bin/firmware-updater" sig=0 arch=c000003e syscall=203 compat=0 ip=0x79cd6b51a531 code=0x50000
[ 7022.758068] audit: type=1326 audit(1710910558.693:156): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.firmware-updater.firmware-updater-app pid=17195 comm="firmware-update" exe="/snap/firmware-updater/121/bin/firmware-updater" sig=0 arch=c000003e syscall=203 compat=0 ip=0x79cd6b51a531 code=0x50000
[ 7022.758070] audit: type=1326 audit(1710910558.693:157): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.firmware-updater.firmware-updater-app pid=17195 comm="firmware-update" exe="/snap/firmware-updater/121/bin/firmware-updater" sig=0 arch=c000003e syscall=203 compat=0 ip=0x79cd6b51a531 code=0x50000
[ 7022.758072] audit: type=1326 audit(1710910558.693:158): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.firmware-updater.firmware-updater-app pid=17195 comm="firmware-update" exe="/snap/firmware-updater/121/bin/firmware-updater" sig=0 arch=c000003e syscall=203 compat=0 ip=0x79cd6b51a531 code=0x50000
[ 7053.025411] audit: type=1326 audit(1710910588.967:181): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.firmware-updater.firmware-updater-app pid=17195 comm="firmware-update" exe="/snap/firmware-updater/121/bin/firmware-updater" sig=0 arch=c000003e syscall=203 compat=0 ip=0x79cd6b51a531 code=0x50000
graeme-dimmack@graeme-dimmack-HP-Pavilion-All-in-One-Desktop-24-ca1xxx:~$ sudo dmesg | grep -i microcode
[    0.117089] Speculative Return Stack Overflow: IBPB-extending microcode not applied!
[    0.117091] Speculative Return Stack Overflow: Vulnerable: Safe RET, no microcode
[    1.233993] microcode: CPU0: patch_level=0x0a50000d
[    1.233993] microcode: CPU1: patch_level=0x0a50000d
[    1.233997] microcode: CPU4: patch_level=0x0a50000d
[    1.233998] microcode: CPU5: patch_level=0x0a50000d
[    1.233999] microcode: CPU9: patch_level=0x0a50000d
[    1.234000] microcode: CPU8: patch_level=0x0a50000d
[    1.234007] microcode: CPU3: patch_level=0x0a50000d
[    1.234007] microcode: CPU2: patch_level=0x0a50000d
[    1.234009] microcode: CPU6: patch_level=0x0a50000d
[    1.234009] microcode: CPU7: patch_level=0x0a50000d
[    1.234013] microcode: CPU10: patch_level=0x0a50000d
[    1.234012] microcode: CPU11: patch_level=0x0a50000d
[    1.234027] microcode: Microcode Update Driver: v2.2.
 
Code:
inxi -GSAaz
System:
  Kernel: 6.5.0-26-generic arch: x86_64 bits: 64 compiler: N/A
    clocksource: tsc available: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.5.0-26-generic
    root=UUID=03d465af-d552-4859-8235-44395c65663a ro quiet splash
    vt.handoff=7
  Desktop: GNOME v: 45.2 tk: GTK v: 3.24.38 wm: gnome-shell dm: GDM3
    v: 45.beta Distro: Ubuntu 23.10 (Mantic Minotaur)
Graphics:
  Device-1: AMD Barcelo vendor: Hewlett-Packard driver: amdgpu v: kernel
    arch: GCN-5 code: Vega process: GF 14nm built: 2017-20 pcie: gen: 3
    speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s ports:
    active: eDP-1 empty: DP-1,DP-2,HDMI-A-1 bus-ID: 04:00.0 chip-ID: 1002:15e7
    class-ID: 0300 temp: 40.0 C
  Device-2: Quanta HP 5MP Camera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-4:5 chip-ID: 0408:545d
    class-ID: fe01 serial: <filter>
  Display: wayland server: X.org v: 1.21.1.7 with: Xwayland v: 23.2.0
    compositor: gnome-shell driver: gpu: amdgpu display-ID: 0
  Monitor-1: eDP-1 model: HP Contino built: 2019 res: 1920x1080 dpi: 93
    gamma: 1.2 size: 527x296mm (20.75x11.65") diag: 604mm (23.8") ratio: 16:9
    modes: max: 1920x1080 min: 640x480
  API: OpenGL v: 4.6 Mesa 23.2.1-1ubuntu3.1 renderer: AMD Radeon Graphics
    (renoir LLVM 15.0.7 DRM 3.54 6.5.0-26-generic) direct-render: Yes
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 04:00.1 chip-ID: 1002:1637
    class-ID: 0403
  Device-2: AMD Family 17h/19h HD Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 04:00.6 chip-ID: 1022:15e3
    class-ID: 0403
  API: ALSA v: k6.5.0-26-generic status: kernel-api
    tools: alsactl,alsamixer,amixer
  Server-1: PipeWire v: 0.3.79 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pw-cat,pw-cli,wpctl
 
Thanks for all your work. Nothing stands out to me as a problem. The kernel is reasonably recent and the audio driver in place. No firmware or microcode problems reported. It looks like it will take better eyes than mine to see an issue. I assume that the hardware is connected up properly. Only you can check that. I'm sorry it's come this far and nothing pops out for me. Just about the only thing that comes to mind at the moment is whether the dbus is running properly. You can have a look at that with the command: busctl list, and grep it out to see if the wireplumber process is running on the bus, which it should be. You could grep it out like:
Code:
busctl list | grep wireplumber
If by chance it's not there, then there are ways to restart dbus to see if that helps.
On the wayland presence, I don't have any experience with wayland, but I'm not aware that that should be an issue for audio.
 
Code:
sudo busctl list | grep wireplumber
[sudo] password for graeme-dimmack:
:1.71                                1759 wireplumber     graeme-dimmack   :1.71         [email protected]             -       -
:1.74                                1759 wireplumber     graeme-dimmack   :1.74         [email protected]             -       -
Thanks for your assistance. It is an all in one unit about 12 months old so all should be connected properly and all runs ok in windows
regards
Graeme
 

Members online


Top