I've been trying to play sounds on linux mint but when I do my laptop does not play sound at all. I've tried to use sound preferences and look at the outputs but I can only select one speaker even though I'm pretty sure usually there is a second option that actually lets me play sound. It's kind of annoying cause I don't understand the cause of this and it happens frequently; I've also tried to reboot but it doesn't really fix it.
#No audio when I boot up Linux Mint
35 messages · Page 1 of 1 (latest)
Please post results from terminal for inxi -Fxxxz
Please provide the output of
aplay -l
pactl list short sinks
$ 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
123 alsa_output.pci-0000_04_00.1.pro-output-3 PipeWire s32le 8ch 48000Hz SUSPENDED
this is what it looks like when the sound is working on sound preferences
Does the HD audio controller appear \ disappear randomly each boot, or did it disappear after an update or something?
it disappears froom boots that are random I believe
Do
sudo apt update && sudo apt ugrade -y
then reboot, and post the output of
dmesg | grep snd
lspci -nnk | grep -A3 Audio
yeah. family 17h is the onboard soundcard.
raven HDMI is your video card's audio feature passing audio over HDMI
is this a dualboot with Windows on the same system?
nah I only run linux here althoguh it previously had windows
any news on this? did you try Maniak's last-posted commands ?
dmesg | grep snd
[ 3.898384] snd_pci_acp3x 0000:04:00.5: enabling device (0000 -> 0002)
[ 3.898646] snd_pci_acp3x 0000:04:00.5: ACP audio mode : 1
[ 4.622785] snd_hda_intel 0000:04:00.1: enabling device (0000 -> 0002)
[ 4.622949] snd_hda_intel 0000:04:00.1: Handle vga_switcheroo audio client
[ 4.633047] snd_hda_intel 0000:04:00.6: enabling device (0000 -> 0002)
[ 5.737446] snd_hda_intel 0000:04:00.6: azx_get_response timeout, switching to polling mode: last cmd=0x800f0005
[ 6.740457] snd_hda_intel 0000:04:00.6: No response from codec, disabling MSI: last cmd=0x800f0005
[ 7.745880] snd_hda_intel 0000:04:00.6: azx_get_response timeout, switching to single_cmd mode: last cmd=0x800f0005
[ 8.891544] snd_hda_intel 0000:04:00.1: bound 0000:04:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[ 21.075925] snd_hda_intel 0000:04:00.6: no codecs initialized
$ lspci -nnk | grep -A3 Audio
04:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio Controller [1002:15de]
Subsystem: Hewlett-Packard Company Raven/Raven2/Fenghuang HDMI/DP Audio Controller [103c:87b7]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
04:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor [1022:15df]
--
04:00.5 Multimedia controller [0480]: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor [1022:15e2]
Subsystem: Hewlett-Packard Company ACP/ACP3X/ACP6x Audio Coprocessor [103c:87b7]
Kernel driver in use: snd_pci_acp3x
Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps, snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh, snd_sof_amd_acp63
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:87b7]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
After I tested it out multiple times, I think rebooting/restarting my laptop is the cause of this, because everytime I reboot The sound goes away but when I shut it down and turn it on the sound comes back
Try this: in the terminal type
sudo xed /etc/modprobe.d/fix-sound.conf
in the opened file paste
options snd_hda_intel enable_msi=0
save, close and restart. If it won't show Family 17h/19h HD Audio Controller as output device, post new
cat /proc/asound/cards
aplay -l
dmesg | grep snd
I tried the pasting "options snd_hda_intel enable_msi=0" into fix-sound.conf and then rebooted but still there's no sound
$ cat /proc/asound/cards
0 [Generic ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xfcdc8000 irq 53
$ 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
$ dmesg | grep snd
[ 3.865870] snd_pci_acp3x 0000:04:00.5: enabling device (0000 -> 0002)
[ 3.870075] snd_pci_acp3x 0000:04:00.5: ACP audio mode : 1
[ 4.626252] snd_hda_intel 0000:04:00.1: enabling device (0000 -> 0002)
[ 4.626397] snd_hda_intel 0000:04:00.1: Handle vga_switcheroo audio client
[ 4.626604] snd_hda_intel 0000:04:00.6: enabling device (0000 -> 0002)
[ 8.632235] snd_hda_intel 0000:04:00.6: azx_get_response timeout, switching to polling mode: last cmd=0x800f0005
[ 8.957912] snd_hda_intel 0000:04:00.1: bound 0000:04:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[ 9.634497] snd_hda_intel 0000:04:00.6: azx_get_response timeout, switching to single_cmd mode: last cmd=0x800f0005
[ 24.985060] snd_hda_intel 0000:04:00.6: no codecs initialized
These are the results from the terminal commands I used after it didnt work
Alright, next run
cat /proc/asound/card0/codec* | grep Codec
$ cat /proc/asound/card0/codec* | grep Code
Codec: ATI R6xx HDMI
Ok, next try this
echo "blacklist snd_pci_acp3x" | sudo tee -a /etc/modprobe.d/fix-sound.conf
restart and show results of
aplay -l
cat /proc/asound/cards
cat /proc/asound/card0/codec* | grep -i Codec
Also, when you'll manage to get a "good" boot with sound (you were saying you're more likely to have sound working after shutdown - power up), provide output of
cat /proc/asound/cards
ls /proc/asound/card*/codec*
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 0/1
Subdevice #0: subdevice #0
results when there is no sound:
$ cat /proc/asound/cards
0 [Generic ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xfcdc8000 irq 57
$ cat /proc/asound/card0/codec* | grep -i Codec
Codec: ATI R6xx HDMI
Results when there is sound:
$ cat /proc/asound/cards
0 [Generic ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xfcdc8000 irq 57
1 [Generic_1 ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xfcdc0000 irq 53
ls /proc/asound/card*/codec*
/proc/asound/card0/codec#0 /proc/asound/card1/codec#0
Ok, let's try this then
echo "options snd_hda_intel enable_msi=0 probe_mask=1,1" | sudo tee /etc/modprobe.d/fix-sound.conf
then restart and show
aplay -l
cat /proc/asound/cards
grep -H "Codec:" /proc/asound/card*/codec*
pactl list short sinks
$ echo "options snd_hda_intel enable_msi=0 probe_mask=1,1" | sudo tee /etc/modprobe.d/fix-sound.conf
[sudo] password for sepxora:
options snd_hda_intel enable_msi=0 probe_mask=1,1
ok, restart
woops forgot to send the other parts
After restarting:
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 0/1
Subdevice #0: subdevice #0
$ cat /proc/asound/cards
0 [Generic ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xfcdc8000 irq 5
$ grep -H "Codec:" /proc/asound/card*/codec*
/proc/asound/card0/codec#0:Codec: ATI R6xx HDM
$ pactl list short sinks
51 alsa_output.pci-0000_04_00.1.pro-output-3 PipeWire s32le 8ch 48000Hz RUNNING