No sound from Intel HD Audio (built in) in Ubuntu 22.04 |

Trending 4 months ago


I person a ROG STRIX B760-F Gaming Motherboard and I specifically want to usage nan optical output successful Ubuntu 22.04. The rumor is that I get nary sound astatine all, not via nan optical retired aliases via immoderate of nan analog outputs (like speaker). In my audio settings I tin prime from:

  • HDMI/Displayport - HDA Nvidia,
  • Digital Output (S/PDIF) U22 XT USB
  • Analogue Output U22 XT USB
  • Digital Output (S/PDIF) - USB Audio

where nan U22 XT is conscionable a USB paper that I usage for signaling sometimes (which useful fine, but I want to beryllium capable to usage nan built-in audio arsenic well). The past action seems to beryllium nan 1 from nan motherboard, since if I link thing to nan analog jacks, it changes to 'Speaker' etc. So yes, it reacts to connections, but nary sound whatsoever.

Any thief would beryllium overmuch appreciated!

I person tried:

I person tested that this useful successful Windows 10, truthful location isn't thing incorrect pinch nan hardware aliases cables.

I person restarted pulseaudio:

pulseaudio --kill pulseaudio --start

Set and restart Pipewire

sudo touch /usr/share/pipewire/media-session.d/with-pulseaudio systemctl --user restart pipewire-session-manager

The bid lsmod | grep snd_hda_intel gives:

snd_hda_intel 61440 5 snd_intel_dspcfg 32768 3 snd_hda_intel,snd_sof,snd_sof_intel_hda_common snd_hda_codec 212992 4 snd_hda_codec_hdmi,snd_hda_intel,snd_soc_hdac_hda,snd_sof_intel_hda snd_hda_core 147456 7 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda snd_pcm 196608 16 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_sof_utils,snd_hda_core,snd_pcm_dmaengine snd 143360 41 snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_ump,snd_pcm,snd_rawmidi

so I tried (following proposal from here):

echo "options snd-hda-intel model=generic" | sudo tee -a /etc/modprobe.d/alsa-base.conf

I besides tried wholly removing and installing alsa-base and pulseaudio:

sudo apt region --purge alsa-base sudo apt region --purge pulseaudio sudo apt instal alsa-base pulseaudio


sudo alsa force-reload

Additional info

Ubuntu 22.04.4

Kernel: 6.5.0-18-generic

lspci -v output for nan intel audio device:

00:1f.3 Audio device: Intel Corporation Device 7a50 (rev 11) DeviceName: Intel HD Audio Subsystem: ASUSTeK Computer Inc. Device 8882 Flags: autobus master, accelerated devsel, latency 32, IRQ 236 Memory astatine 4002220000 (64-bit, non-prefetchable) [size=16K] Memory astatine 4002000000 (64-bit, non-prefetchable) [size=1M] Capabilities: [50] Power Management type 3 Capabilities: [80] Vendor Specific Information: Len=14 <?> Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+ Kernel driver successful use: snd_hda_intel Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl

Here is my alsa config: /etc/modprobe.d/alsa-base.conf

# autoloader aliases install sound-slot-0 /sbin/modprobe snd-card-0 install sound-slot-1 /sbin/modprobe snd-card-1 install sound-slot-2 /sbin/modprobe snd-card-2 install sound-slot-3 /sbin/modprobe snd-card-3 install sound-slot-4 /sbin/modprobe snd-card-4 install sound-slot-5 /sbin/modprobe snd-card-5 install sound-slot-6 /sbin/modprobe snd-card-6 install sound-slot-7 /sbin/modprobe snd-card-7 # Cause optional modules to beryllium loaded supra generic modules install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; } # # Workaround astatine bug #499695 (reverted successful Ubuntu spot LP #319505) install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; } install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; } install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; } # install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; } # Cause optional modules to beryllium loaded supra sound paper driver modules install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; } install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; } # Load saa7134-alsa alternatively of saa7134 (which gets dragged successful by it anyway) install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; } # Prevent abnormal drivers from grabbing scale 0 options bt87x index=-2 options cx88_alsa index=-2 options saa7134-alsa index=-2 options snd-atiixp-modem index=-2 options snd-intel8x0m index=-2 options snd-via82xx-modem index=-2 options snd-usb-audio index=-2 options snd-usb-caiaq index=-2 options snd-usb-ua101 index=-2 options snd-usb-us122l index=-2 options snd-usb-usx2y index=-2 # Ubuntu #62691, alteration MPU for snd-cmipci options snd-cmipci mpu_port=0x330 fm_port=0x388 # Keep snd-pcsp from being loaded arsenic first soundcard options snd-pcsp index=-2 # Keep snd-usb-audio from beeing loaded arsenic first soundcard options snd-usb-audio index=-2 options snd-hda-intel model=generic

Pulse Audio Volume Control settings

Sound settings