Spent way too long on this today so posting in case it helps someone.
My setup is pretty simple: Bazzite box with a 3090 Ti hooked up to an older Vizio M55-C2 over HDMI. Picture was flawless, but no sound at all - the TV didn't even show up as an audio device in the sound settings. Classic "everything looks fine but there's just no audio" situation.
I burned a bunch of time on the usual suspects first. Reinstalled/swapped drivers (nvidia-open → proprietary), toggled every PipeWire/sound-card profile, changed resolutions, swapped HDMI ports and cables, even went DP-to-HDMI instead. Rebooted a dozen times. None of it did anything. If you're here after trying all that too - yeah, same.
What finally cracked it was noticing two things. First, on the TV's own System Info screen, the "Audio Type" field was just blank - the TV wasn't receiving any audio stream. Second, on the PC:
$ cat /proc/asound/card1/eld#*
monitor_present 1
eld_valid 0
So the GPU sees the TV but never validates its audio. And the kicker: I plugged the same PC into a different, older Vizio and audio worked instantly. So it wasn't my PC or the driver - it was this specific TV.
Dug into the TV's actual EDID and found the culprit. Its audio data block is malformed - it claims 6 audio descriptors but the first 12 bytes are all zeros (four garbage/invalid descriptors), with only the two real ones (PCM stereo, AC-3) tacked on at the end. NVIDIA's driver looks at that, decides the audio info is corrupt, and just refuses to do audio. A normal TV with a clean EDID works; this one doesn't. Looks like broken code in the audio portion of Vizio's HDMI handling for this model, and of course there are no firmware updates for a TV this old.
If you want to check your own:
sudo cp /sys/class/drm/card1/card1-HDMI-A-1/edid ~/edid.bin
edid-decode ~/edid.bin # scroll to "Audio Data Block" - zero/garbage descriptors = same bug
The fix is to hand the GPU a cleaned-up copy of the EDID. I dumped the TV's EDID, edited the audio block down to just the two valid descriptors (fixing the length byte, the DTD-offset byte, and the checksum so it's still valid), then forced the kernel to use my version:
sudo mkdir -p /etc/firmware/edid
sudo cp edid-fixed.bin /etc/firmware/edid/edid-fixed.bin
sudo rpm-ostree kargs \
--append-if-missing='firmware_class.path=/etc/firmware' \
--append-if-missing='drm.edid_firmware=HDMI-A-1:edid/edid-fixed.bin'
sudo rpm-ostree initramfs-etc --track /etc/firmware/edid/edid-fixed.bin
Reboot, and eld_valid flipped to 1, the HDMI output showed up in the sound menu, and I had sound on the TV's speakers. A few things that'll save you time if you go down this road:
- The connector name in drm.edid_firmware is the DRM name (HDMI-A-1), not NVIDIA's HDMI-0. Check yours with ls /sys/class/drm/.
- The initramfs step is the part that trips everyone up on Bazzite/atomic. NVIDIA's modeset driver loads at ~7s into boot, but on ostree the real /etc isn't mounted until ~12s - so if your EDID lives under /etc, the driver can't find it at load time and the override silently fails on every reboot (works once if you set it live, then "mysteriously" breaks). rpm-ostree initramfs-etc --track bakes the file into the initramfs so it's there early. Without this, you'll chase your tail.
- I also tried NVIDIA's nvidia_modeset.config_file + CustomEDID route - that does NOT work (kernel says "Parser not found for key: CustomEDID"; CustomEDID is an old Xorg option, not a KMS config key). Use drm.edid_firmware as above.
- Heads up: if you ever rebase, rpm-ostree can drop the kernel args - re-add them with --append-if-missing.
Anyway - if you've got an older Vizio (or really any TV) that gives you video but stubbornly no HDMI audio on an NVIDIA box, check the EDID audio block before you throw money at adapters or soundbars like I almost did. Happy to share the exact bytes/script I used if anyone has the same M55-C2.