[470.57.02] Nvidia 30-series HDMI audio stops working when switching from 60Hz to 120Hz

515.43.04 beta audio not working @ 4K @ 100/120Hz. It works at lower resolutions but @ 4K above 60Hz , no audio

We have root caused the problem and fix will be available in future driver release.

5 Likes

510.73.05 Not fixed…

Of course it’s not fixed in 510.x, that’s an old stable branch. Even 515.43.04 (which is in a newer branch) is older than the post mentioning a ā€œfuture releaseā€. We have to wait for something newer than 515.x.

However! shoffmeister at nvidia sound cutting out randomly on external screen (#2375) Ā· Issues Ā· PipeWire / pipewire Ā· GitLab found that we can reliably remove sound drops at 60 Hz by locking memory clock with nvidia-smi --lock-memory-clocks=… (which has a side effect of locking PCIe mode). So if anyone experiences sound dropping intermittently, there’s a viable work-around.

Not sure if that’s any help for 4K 120 Hz, but multiple people reported ā€œdropsā€ (maybe that’s how I found it) or sound playing if switching modes while playing. I’m sure it will help some people googling this thread.

2 Likes

Looks like it’s been addressed with the 515.48.07 driver.

  • Fixed an issue where HDMI audio output was not working in some cases, especially with high display refresh rates (120Hz, 100Hz, etc.) using Fixed Rate Link (FRL) transmission mode.
2 Likes

Only took a year to fix. I’m joking, this is quite sad.

515.48.07 , fixed… finally

@amrits will there be a fix for Windows too?

@user92565
I have informed to the right team for windows platform. They are working for the fix.

1 Like

I’m sad to report that 515.48.07 does not fix intermittent drops at 60Hz, at least through the DP->HDMI active cable which I bought as a work-around for this issue (it didn’t fix it, but reduced drop frequency, as mentioned before).

nvidia-smi --lock-memory-clocks work-around still works reliably, thankfully.

I’ll check pure HDMI (out of real HDMI port) tomorrow, hopefully. I’m not optimistic, but even if that works now, it won’t help people who need converters for other reasons, or people on laptops with built-in switches :/

Since PCIE link speed switching seems to be triggering the intermittent drops, and since locking the memory clocks helps, it might be worthwhile investigating

The linked code shows how the resource manager can be convinced to force-enable some link speeds (note the comment attached to NV_REG_ENABLE_PCIE_GEN3) . Now, the really interesting part is the setting of the complete link speed configuration via NV_REG_STR_RM_PCIE_LINK_SPEED

It could be interesting to apply a quick hack in that area, for instance by crudely altering the meaning of NV_REG_ENABLE_PCIE_GEN3, and force the resource manager into different behaviour.

Depending on how exactly that registry works, it might even be possible to whack content straight into RMPcieLinkSpeed, or add another registry entry which would allow doing that.

Case in point: NV_REG_STR_RM_PCIE_LINK_SPEED_LOCK_AT_LOAD smells a lot like it would prevent link speed switching, for instance.

Further, Google points to Mods | PDF | Graphics Processing Unit | Command Line Interface and presents ā€œ-nvlink_disable_clock_init Disable NvLink clock initialization … 104 PcieLinkTest This test stresses ASLM (link width change) by changing theā€, given the right incantations. I am not inclined to sign up to scribd, but ASLM also has a registry entry, and the doc possibly interesting things.

Disclaimers:

  • I have no idea what that Nvidia resource manager is; it smells like a singleton configuration holder
  • I have only been surfing the Nvidia source code on github
  • These are totally wild ideas…
  • Caveat emptor.

120hz works on all my LG OLED TVs with VRR using just about any Linux Distro. on every resolution except native which is odd, you would have to use 4096x2160p for sound to work at 4k.

Nvidia driver version 470.129.06
Nvidia Card RTX 3090
HDMI 2.1 cable - Rocketfish 8K Ultra High Speed HDMIĀ® 2.1 Certified Cable
Current Linux Distro - Fedora 36 (Workstation Edition)
Gnome 42.2
Windowing System - X11

Alternatively, S/PDIF optical cable will work flawlessly connected directly to the TV or an external DAC. My current setup I have the HDMI cable connected directly to the TV and an optical out to an RME ADI-2 DAC FS which is convenient because I occasionally switch to Windows 11 for gaming with HDR/Dolby Atmos and output the sound through the TV and two KEF speakers to enhance the sound.

I was having the same problems again with 510.73.05 on my RTX 3060 using Ubuntu 20.04.
Sadly my LG Blu Ray player/home theatre speaker system committed hara-kiri so I was forced to revisit HDMI audio to play audio through my TV while it is in for repairs.
Thankfully for me at 3840x2160 120Hz HDMI audio output now works with the updated driver 515.48.07.
I wish it was easier to get the current stable driver as a .deb but this works for now.

Any updates on the Windows fix? I was sent an e-mail on 7/15/22 with a ā€œGeForce Hotfix Driverā€ but this did not fix the problem. I’ve tried the HotFix driver and I still get the same results - 4k60, 4k120 HDR on/off audio skips with audio out over the same HDMI cable.

Thank you for your feedback. We released a new GeForce Hotfix Driver v516.79 which includes a new HD audio driver. If you have not done so, can you give it a try and let us know if you are still seeing issues with Dolby Atmos?

Error | NVIDIA

This occured to me yesterday and doing a clean driver install fixed the issue.

516.94
10900k
Strix z490e
EVGA FTW3 Ultra 3090
LG C1
Windows 10

I had an issue where playing full-screen at 1440p @59 or @60hz my audio was muted until i switched the hdmi port in my tv.

Tried a clean installation but the only thing that worked for me was going into nvidia’s control panel > adjust desktop size and position > perform scaling on > gpu

Nonetheless i had up to date windows drivers, same for the gpu and doing that minor change fixed the issue for me

The same is happening to me. Yeah, I know this is a Linux Thread, however, since I saw some mentions to Windows systems and this thread is actually a new one, I’ve decided to share my experience here.

Well, same as some others here. Windows 10 or 11. After some time of no audio playback, the HDMI sound revert to Stereo. The only way to workaround this is switching from one display refresh rate to another and reverting back to the previous value.

Changing the Nvidia driver to the HD Audio Driver (Windows native) also fix this.

Pls, I’ve paid a lot to build my system to not be able to use it properly.

3080Ti (HDMI 2.1) > QN90B (HDMI 2.1) > Q800B(eARC)

I’m available for further troubleshooting if necessary, just call me.

Yes, your 3080 Ti purchase was stupid. I’m sorry to break the news to you ;) (My 3080 cost me $300 after selling my 1080 Ti (and those went even more expensive at one point of the 2021 shortage ;)), so I can accept some trade-offs and work-arounds necessary to watch movies from my video card).

I was blaming Nvidia this whole time, and of course this crap still isn’t fixed (their work-around only works sometimes/for some people), two years after Ampere’s release to the public, so they’re guilty and all… but isn’t it strange that no hardware review site/influencer is covering this story?

I mean, everyone reported Radeon black screen problem (kind of similar to this one!) and very recently all the driver issues with Intel’s Alchemist. But for Nvidia, the best we can get is 2080 Ti artifacts and two generations later, 4090 power adapter burning. Otherwise, it’s just FPS in games. No mention that for like 7 generations, they can’t drive two 1080p displays without the GPU drawing 40 Watts, or that Ampere can’t play audio over HDMI without interrupts.

To stay on topic: forcing low memory clocks with nvidia-smi still works as a work-around with 520.56.06, and is still necessary for my case.

1 Like

My bclk was dipping quite a bit below 100 on both auto and manually typing in 100. Raising it seems to have done the trick, no sound problems since I raised it to 100.0625 Mhz (the minimum amount I could put in) My DDR5 is now 6003 instead of 6000, but no problems so far!

PS. This started with my new AM5 build, (I got the cheapest Asus b650 board I could find on black friday), on my previous AM4 build this never happened, but it’s bclk never fluctuated this much either, go figure…