0

For a long time now, I have been trying to understand why my sound card sometimes loads properly when I boot, sometimes does not, and sometimes cuts out while using my system. This is the sound card (from lspci command):

07:00.0 Audio device: Creative Labs CA0132 Sound Core3D 
[Sound Blaster Recon3D / Z-Series / Sound BlasterX AE-5 Plus] (rev 01)

These are the errors I see periodically when it doesn't load (dmesg command):

[    9.161022] snd_hda_intel 0000:07:00.0: azx_get_response timeout, switching to polling mode: last cmd=0x11970500
[   10.165000] snd_hda_intel 0000:07:00.0: azx_get_response timeout, switching to single_cmd mode: last cmd=0x11970500
[   13.677598] azx_single_send_cmd: 377 callbacks suppressed
[   13.679434] snd_hda_codec_realtek hdaudioC2D1: autoconfig for ALC899: line_outs=3 (0x14/0x15/0x16/0x0/0x0) type:line
[   13.679445] snd_hda_codec_realtek hdaudioC2D1:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   13.679449] snd_hda_codec_realtek hdaudioC2D1:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[   13.679452] snd_hda_codec_realtek hdaudioC2D1:    mono: mono_out=0x0
[   13.679454] snd_hda_codec_realtek hdaudioC2D1:    inputs:
[   13.679458] snd_hda_codec_realtek hdaudioC2D1:      Front Mic=0x19
[   13.679460] snd_hda_codec_realtek hdaudioC2D1:      Rear Mic=0x18
[   13.679463] snd_hda_codec_realtek hdaudioC2D1:      Line=0x1a
[   13.682129] [drm] amdgpu kernel modesetting enabled.
[   13.682410] amdgpu: Virtual CRAT table created for CPU
[   13.682492] amdgpu: Topology: Add CPU node
[   13.683233] [drm] initializing kernel modesetting (POLARIS12 0x1002:0x6981 0x1002:0x0B0D 0x10).
[   13.683280] [drm] register mmio base: 0xF8000000
[   13.683282] [drm] register mmio size: 262144
[   13.683435] [drm] add ip block number 0 <vi_common>
[   13.683439] [drm] add ip block number 1 <gmc_v8_0>
[   13.683441] [drm] add ip block number 2 <tonga_ih>
[   13.683443] [drm] add ip block number 3 <gfx_v8_0>
[   13.683445] [drm] add ip block number 4 <sdma_v3_0>
[   13.683447] [drm] add ip block number 5 <powerplay>
[   13.683449] [drm] add ip block number 6 <dm>
[   13.683451] [drm] add ip block number 7 <uvd_v6_0>
[   13.683453] [drm] add ip block number 8 <vce_v3_0>
[   13.684011] amdgpu 0000:01:00.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0x0000
[   13.688261] snd_hda_codec_realtek hdaudioC2D1: rates == 0 (nid=0x7, val=0x0, ovrd=1)
[   13.688273] snd_hda_codec_realtek hdaudioC2D1: fail to setup default for PCM ALC899 Analog
[   13.688283] snd_hda_codec_realtek: probe of hdaudioC2D1 failed with error -5
[   13.813537] amdgpu 0000:01:00.0: amdgpu: Fetched VBIOS from ROM
[   13.813584] amdgpu: ATOM BIOS: 113-D0155100-101
[   13.816399] snd_hda_codec_realtek hdaudioC2D1: autoconfig for ALC899: line_outs=3 (0x14/0x15/0x16/0x0/0x0) type:line
[   13.816405] snd_hda_codec_realtek hdaudioC2D1:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   13.816409] snd_hda_codec_realtek hdaudioC2D1:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[   13.816412] snd_hda_codec_realtek hdaudioC2D1:    mono: mono_out=0x0
[   13.816415] snd_hda_codec_realtek hdaudioC2D1:    inputs:
[   13.816418] snd_hda_codec_realtek hdaudioC2D1:      Front Mic=0x19
[   13.816420] snd_hda_codec_realtek hdaudioC2D1:      Rear Mic=0x18
[   13.816423] snd_hda_codec_realtek hdaudioC2D1:      Line=0x1a
[   13.822126] snd_hda_codec_realtek hdaudioC2D1: rates == 0 (nid=0x7, val=0x0, ovrd=1)
[   13.822142] snd_hda_codec_realtek hdaudioC2D1: fail to setup default for PCM ALC899 Analog
[   13.822152] snd_hda_codec_realtek: probe of hdaudioC2D1 failed with error -5
[   13.822758] [drm] UVD is enabled in VM mode
[   13.822761] [drm] UVD ENC is enabled in VM mode
[   13.822764] [drm] VCE enabled in VM mode
[   13.822890] amdgpu 0000:01:00.0: vgaarb: deactivate vga console
[   13.822897] amdgpu 0000:01:00.0: amdgpu: Trusted Memory Zone (TMZ) feature not supported
[   13.822903] amdgpu 0000:01:00.0: amdgpu: PCIE atomic ops is not supported
[   13.822912] [drm] GPU posting now...
[   14.183326] snd_hda_codec_generic hdaudioC2D1: autoconfig for Generic: line_outs=3 (0x14/0x15/0x16/0x0/0x0) type:line
[   14.183335] snd_hda_codec_generic hdaudioC2D1:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   14.183339] snd_hda_codec_generic hdaudioC2D1:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[   14.183342] snd_hda_codec_generic hdaudioC2D1:    mono: mono_out=0x0
[   14.183345] snd_hda_codec_generic hdaudioC2D1:    inputs:
[   14.183347] snd_hda_codec_generic hdaudioC2D1:      Front Mic=0x19
[   14.183350] snd_hda_codec_generic hdaudioC2D1:      Rear Mic=0x18
[   14.183353] snd_hda_codec_generic hdaudioC2D1:      Line=0x1a
[   14.187534] snd_hda_codec_generic hdaudioC2D1: rates == 0 (nid=0x7, val=0x0, ovrd=1)
[   14.187545] snd_hda_codec_generic hdaudioC2D1: fail to setup default for PCM Generic Analog
[   14.187552] snd_hda_codec_generic: probe of hdaudioC2D1 failed with error -5
[   14.187563] snd_hda_intel 0000:07:00.0: Cannot probe codecs, giving up

Sometimes (but not always), I can run pulseaudio -k, then sudo alsa force-reload, then pulseaudio -D to get it working again, but often times I need to keep rebooting until the sound starts working again.

Here are the steps I've attempted:

First attempt:

options snd-hda-intel probe_mask=2
options snd-hda-intel index=1
options snd-hda-intel index=2

Second Attempt - Fail:

options snd-hda-intel probe_mask=0x107
options snd-hda-codec-hdmi index=-2
options snd-hda-intel index=0

Third Attempt - Fail:

options snd-hda-intel probe_mask=0x101
#options snd-hda-codec-hdmi index=-2
options snd-hda-intel index=0

May try this next:

Fourth Attempt - Fail:

options snd-hda-codec-hdmi index=-2
options snd-hda-intel position_fix=1
sudo nano /etc/rc.local
#!/bin/sh -e
rmmod snd_hda_intel
modprobe snd_hda_intel position_fix=1
exit 0
sudo chmod +x /etc/rc.local

Fifth Attempt:

https://askubuntu.com/questions/78780/how-can-i-disable-an-audio-hdmi-device
#Avoiding conflict with Sound Blaster Recon3D
sudo nano /etc/modprobe.d/blacklist.conf
blacklist snd_hda_codec_hdmi

Sixth Attempt (finally got the sound working again after this - 7-31-24) - Fail:

sudo nano /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="amd_iommu=off"
sudo update-grub
#WARNING - THIS BROKE KEYBOARD/MOUSE ON BOOT

Seventh Attempt - Fail (worked on and off for a while):

options snd-usb-audio index=-2
options snd-hda-codec-hdmi index=-2
options snd-hda-intel probe_mask=0x103

Eighth Attempt - Worked so far after reboot (eventually stoppping working though):

#options snd-hda-intel probe_mask=0x103
sudo tee /etc/modprobe.d/1220-fix.conf <<<'options snd-hda-intel probe_mask=1'

Ninth Attempt - 1-25-25 - Working so far after a couple reboots (eventually stopped working)

defaults.ctl.card 2
defaults.pcm.card 2
sudo nano /usr/share/alsa/alsa.conf
karel
  • 122,292
  • 133
  • 301
  • 332

0 Answers0