Ubuntu 22.04 LTS installed in a dual-boot setup:
Problem Description:
The Problem: My laptop’s internal speakers produce no sound whatsoever in Ubuntu. All volume controls appear correct, and selecting the built-in output device doesn’t help.
Context:
- Headphones plugged into the 3.5mm jack DO work perfectly fine in Ubuntu.
- All sound, including the internal speakers, works perfectly when I boot into Windows on the same machine.
What I’ve Tried:
- Installed
pavucontrol and tried switching the sound card profile.
- Ran
sudo alsa force-reload.
- I identified the following audio codecs on my system:
cat /proc/asound/card*/codec* | grep Codec
Codec: Nvidia GPU a5 HDMI/DP
Codec: Realtek ALC285
Codec: Intel Raptorlake HDMI
Has anyone successfully resolved a “speakers only” issue on Ubuntu 22.04? Any guidance on how to fix this, would be greatly appreciated! Thank you.
Presuming you haven’t changed desktop and are still using Gnome, check under settings, sound, output device.
If its set to Nvidia, then sound is routed via the HDMI cable.
You need to look for something like Realtek ALC285 that should send sound to your speakers.
In addition, if you run alsamixer from the terminal, check the sound card in use with F6, and then make sure controls for that card are not muted, if in doubt press m
The output device is Built-in Audio, and nothing is muted.
I have three options in my sound card using F6 in alsamixer, default, HDA Nvidia, and HDA Intel PCH — none of which work.
Below is the ALSA information and device listing generated via:
alsa-info --upload
alsa_report
ALSA Detected Soundcards
Soundcards recognised by ALSA
-----------------------------
0 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0x87080000 irq 17
1 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0x645f230000 irq 222
PCI Soundcards installed in the system
--------------------------------------
0000:00:1f.3 Audio device [0403]: Intel Corporation Device [8086:7a50] (rev 11) (prog-if 80)
DeviceName: Onboard - Sound
0000:01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:22bc] (rev a1)
Subsystem: ASUSTeK Computer Inc. Device [1043:34f8]
Playback Devices
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: Generic Digital [Generic Digital]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC285 Analog [ALC285 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
PulseAudio / PipeWire Sinks
pactl list short sinks
122 alsa_output.pci-0000_01_00.1.pro-output-3 PipeWire s32le 2ch 48000Hz IDLE
531 alsa_output.pci-0000_00_1f.3.analog-stereo PipeWire s32le 2ch 48000Hz IDLE
Are you dual-booting? If so, make sure to disable the Windows’ Fast Startup feature and shutdown completely.
Then boot Ubuntu and try again.