Onboard Intel HD Sound not working, including SPDIF

Unfortunately, my onboard intel HD sound card is not being seen by the system correctly. it is basically drowned out by all the nvidia HDMI ports. Verified fix below.
1 Reply
Hunanbean
Hunanbean4mo ago
Summary of Steps to Enable Onboard Sound Card on OSTree-based Fedora System Credit to CGPT. Tested working on Bazzite, 26th of May, 2024 Make every effort to understand the commands before executing! 1. Verify BIOS/UEFI Settings: - Ensure onboard audio is enabled in the BIOS/UEFI settings. 2. Blacklist Nvidia HDMI Audio Modules: - Create a blacklist configuration file for Nvidia HDMI audio drivers: You do Not need to blacklist the HDMIs if you do not want to! sudo nano /etc/modprobe.d/blacklist-nvidia-hdmi.conf - Add the following lines to the file: Note: optional blacklist snd_hda_codec_hdmi blacklist snd_hda_codec_nvhdmi 3. Modify Grub Configuration: - Edit the Grub configuration to include necessary kernel parameters: sudo nano /etc/default/grub - Add or modify the following line: GRUB_CMDLINE_LINUX="snd_hda_intel.dmic_detect=0 snd_hda_intel.probe_mask=1" - Update Grub using rpm-ostree: sudo rpm-ostree kargs --append='snd_hda_intel.dmic_detect=0 snd_hda_intel.probe_mask=1' 4. Rebuild and Update Initramfs: - Use rpm-ostree to manage initramfs: sudo rpm-ostree initramfs --force 5. Rescan PCI Devices and Reload Modules: - Rescan PCI devices and reload the sound module: echo 1 | sudo tee /sys/bus/pci/rescan sudo rmmod snd_hda_intel sudo modprobe snd_hda_intel 6. Reboot the System: - Reboot to apply all changes: sudo reboot 7. Verify the Sound Card: - After rebooting, check if the onboard sound card is detected: aplay -l 8. Check Logs for Issues (if needed): - If issues persist, gather detailed logs for further analysis: sudo dmesg | grep snd > dmesg_snd.log sudo journalctl -xe > journalctl.log By following these steps, you can ensure the proper configuration and enable the onboard sound card on an OSTree-based Fedora system. You do Not need to blacklist the HDMIs if you do not want. Also, keep in mind that the S/PDIF port is not called S/PDIF Until you select it. It is Digital Stereo (IEC958) Output, in its base configuration. This also enables all the analog ports too, including inputs, but i was most interested in the S/PDIF.
Want results from more Discord servers?
Add your server