On a broken kernel, dmesg contains no information about the snd_* modules, and lsmod shows that none have loaded.
In both cases lspci -v gives the same details:
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Trinity HDMI Audio Controller
Subsystem: Micro-Star International Co., Ltd. [MSI] Trinity HDMI Audio Controller
Flags: bus master, fast devsel, latency 0, IRQ 5
Memory at feb44000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Kernel modules: snd_hda_intel
`sudo modprobe snd_hda_intel` loads all the correct modules and brings sound back.
For some reason the newer kernels aren't load snd_hda_intel (or something related) when it should be.
Will update after testing mainline kernels, etc.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.15.0-139-generic 4.15.0-139.143
ProcVersionSignature: Ubuntu 4.15.0-139.143-generic 4.15.18
Uname: Linux 4.15.0-139-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.23
Architecture: amd64
Date: Mon Mar 22 04:42:26 2021
HibernationDevice: RESUME=UUID=5d6634dd-fb1b-49f6-b17a-4197a3814382
InstallationDate: Installed on 2015-11-28 (1940 days ago)
InstallationMedia: Kubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
IwConfig:
eth0 no wireless extensions.
lo no wireless extensions.
MachineType: MSI MS-7721
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-139-generic root=UUID=6c84fef8-256e-4a5c-9033-28e0b9342a56 ro zswap.enabled=1 quiet splash zswap.compressor=lz4hc zswap.max_pool_percent=20 zswap.zpool=z3fold vt.handoff=1
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
linux-restricted-modules-4.15.0-139-generic N/A
linux-backports-modules-4.15.0-139-generic N/A
linux-firmware 1.173.19
RfKill:
SourcePackage: linux
UpgradeStatus: Upgraded to bionic on 2020-01-28 (419 days ago)
dmi.bios.date: 12/12/2014
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: V32.8
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: A55M-E33 (MS-7721)
dmi.board.vendor: MSI
dmi.board.version: 7.0
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: MSI
dmi.chassis.version: 7.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrV32.8:bd12/12/2014:svnMSI:pnMS-7721:pvr7.0:rvnMSI:rnA55M-E33(MS-7721):rvr7.0:cvnMSI:ct3:cvr7.0:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: MS-7721
dmi.product.version: 7.0
dmi.sys.vendor: MSI
Starting with linux-4. 15.0-137- generic, there is no sound at all on a system with an AMD A4-5300.
From a working kernel:
Mar 22 05:00:29 richie kernel: [ 33.029621] snd_hda_intel 0000:00:01.1: Force to non-snoop mode pci0000: 00/0000: 00:01.1/ sound/card0/ input5 codec_realtek hdaudioC1D0: autoconfig for ALC887-VD: line_outs=1 (0x14/0x0/ 0x0/0x0/ 0x0) type:line codec_realtek hdaudioC1D0: speaker_outs=0 (0x0/0x0/ 0x0/0x0/ 0x0) codec_realtek hdaudioC1D0: hp_outs=1 (0x1b/0x0/ 0x0/0x0/ 0x0) codec_realtek hdaudioC1D0: mono: mono_out=0x0 codec_realtek hdaudioC1D0: inputs: codec_realtek hdaudioC1D0: Front Mic=0x19 codec_realtek hdaudioC1D0: Rear Mic=0x18 codec_realtek hdaudioC1D0: Line=0x1a pci0000: 00/0000: 00:14.2/ sound/card1/ input6 pci0000: 00/0000: 00:14.2/ sound/card1/ input7 pci0000: 00/0000: 00:14.2/ sound/card1/ input8 pci0000: 00/0000: 00:14.2/ sound/card1/ input9 pci0000: 00/0000: 00:14.2/ sound/card1/ input10
[...]
Mar 22 05:00:29 richie kernel: [ 33.589291] input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/
Mar 22 05:00:29 richie kernel: [ 33.601773] snd_hda_
Mar 22 05:00:29 richie kernel: [ 33.601776] snd_hda_
Mar 22 05:00:29 richie kernel: [ 33.601779] snd_hda_
Mar 22 05:00:29 richie kernel: [ 33.601781] snd_hda_
Mar 22 05:00:29 richie kernel: [ 33.601782] snd_hda_
Mar 22 05:00:29 richie kernel: [ 33.601784] snd_hda_
Mar 22 05:00:29 richie kernel: [ 33.601786] snd_hda_
Mar 22 05:00:29 richie kernel: [ 33.601787] snd_hda_
Mar 22 05:00:29 richie kernel: [ 33.614365] input: HD-Audio Generic Front Mic as /devices/
Mar 22 05:00:29 richie kernel: [ 33.614426] input: HD-Audio Generic Rear Mic as /devices/
Mar 22 05:00:29 richie kernel: [ 33.614481] input: HD-Audio Generic Line as /devices/
Mar 22 05:00:29 richie kernel: [ 33.614536] input: HD-Audio Generic Line Out as /devices/
Mar 22 05:00:29 richie kernel: [ 33.614597] input: HD-Audio Generic Front Headphone as /devices/
$ lsmod | grep -F snd codec_generic, snd_seq, snd_seq_ device, snd_hda_ codec_hdmi, snd_hwdep, snd_hda_ intel,snd_ hda_codec, snd_hda_ codec_realtek, snd_timer, snd_pcm, snd_rawmidi codec_generic, snd_hda_ codec_hdmi, snd_hda_ intel,snd_ hda_codec_ realtek codec_generic 73728 1 snd_hda_ codec_realtek codec_realtek 106496 1 codec_generic, snd_hda_ codec_hdmi, snd_hda_ intel,snd_ hda_codec, snd_hda_ codec_realtek codec_hdmi, snd_hda_ intel,snd_ hda_codec, snd_hda_ core midi,snd_ seq_midi_ event snd_seq_ midi,snd_ rawmidi
snd 81920 21 snd_hda_
snd_hda_codec 126976 4 snd_hda_
snd_hda_
snd_hda_codec_hdmi 49152 1
snd_hda_
snd_hda_core 81920 5 snd_hda_
snd_hda_intel 45056 5
snd_hwdep 20480 1 snd_hda_codec
snd_pcm 98304 4 snd_hda_
snd_rawmidi 32768 1 snd_seq_midi
snd_seq 65536 2 snd_seq_
snd_seq_device 16384 3 snd_seq,
snd_seq_midi 16384 0
snd_seq_midi_event 16384 1 snd_seq_midi
snd_timer 32768 2 snd_seq,snd_pcm
On a broken kernel, dmesg contains no information about the snd_* modules, and lsmod shows that none have loaded.
In both cases lspci -v gives the same details:
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Trinity HDMI Audio Controller
Subsystem: Micro-Star International Co., Ltd. [MSI] Trinity HDMI Audio Controller
Flags: bus master, fast devsel, latency 0, IRQ 5
Memory at feb44000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Kernel modules: snd_hda_intel
`sudo modprobe snd_hda_intel` loads all the correct modules and brings sound back.
For some reason the newer kernels aren't load snd_hda_intel (or something related) when it should be.
Will update after testing mainline kernels, etc.
ProblemType: Bug 4.15.0- 139-generic 4.15.0-139.143 ature: Ubuntu 4.15.0- 139.143- generic 4.15.18 UUID=5d6634dd- fb1b-49f6- b17a-4197a38143 82
DistroRelease: Ubuntu 18.04
Package: linux-image-
ProcVersionSign
Uname: Linux 4.15.0-139-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.23
Architecture: amd64
Date: Mon Mar 22 04:42:26 2021
HibernationDevice: RESUME=
InstallationDate: Installed on 2015-11-28 (1940 days ago)
InstallationMedia: Kubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
IwConfig:
eth0 no wireless extensions.
lo no wireless extensions. /boot/vmlinuz- 4.15.0- 139-generic root=UUID= 6c84fef8- 256e-4a5c- 9033-28e0b9342a 56 ro zswap.enabled=1 quiet splash zswap.compresso r=lz4hc zswap.max_ pool_percent= 20 zswap.zpool=z3fold vt.handoff=1 ersions: restricted- modules- 4.15.0- 139-generic N/A backports- modules- 4.15.0- 139-generic N/A
MachineType: MSI MS-7721
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageV
linux-
linux-
linux-firmware 1.173.19
RfKill:
SourcePackage: linux asset.tag: To be filled by O.E.M. asset.tag: To Be Filled By O.E.M. version: 7.0 MegatrendsInc. :bvrV32. 8:bd12/ 12/2014: svnMSI: pnMS-7721: pvr7.0: rvnMSI: rnA55M- E33(MS- 7721):rvr7. 0:cvnMSI: ct3:cvr7. 0: version: 7.0
UpgradeStatus: Upgraded to bionic on 2020-01-28 (419 days ago)
dmi.bios.date: 12/12/2014
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: V32.8
dmi.board.
dmi.board.name: A55M-E33 (MS-7721)
dmi.board.vendor: MSI
dmi.board.version: 7.0
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: MSI
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: To be filled by O.E.M.
dmi.product.name: MS-7721
dmi.product.
dmi.sys.vendor: MSI