Assuming you connect to the rear, vacuum then blow out the input/output jacks.
Make sure you have the correct sound output toggled in the OS and verify nothing is muted.
Uninstall / reinstall drivers.
Toggle off / on the sound in bios.
If still not fixed I recommend an external dac / sound card, but if you really want a PCI-E sound card I have an ASUS Xonar DGX for $15 shipped. Quick Google shows people have it working fine with Windows 11. Not sure if on Microsoft or UNI drivers.
Creative Labs Sound Blaster Play! 3 External USB Sound Adapter for Windows and Mac. Plug and Play (No Drivers Required). Upgrade to 24-Bit 96Khz Playback https://a.co/d/gjR37ye
As an Amazon Associate, HardForum may earn from qualifying purchases.