Updating to either 375.82 or 384.59 breaks Display port audio, downgrading to 375.66 or 384.47 fixes the sound issue.
It seems that the newer drivers can’t parse the ELD
Confirming that DisplayPort audio not working in 384.59 on Ubuntu 16.04.1. Previously was using 375.39, and DisplayPort audio worked, but was flakey at times (choppy or no sound) after a monitor disconnect/reconnect. Usually, just opening the System Settings window would fix it. Yesterday, for no apparent reason, audio stopped working entirely. Audio still worked properly under Windows 7 or Ubuntu 16.04.1 with Nouveau driver, so upgraded NVidia driver to 384.59. Audio still not working. Now the System Settings/Sound/Output panel does not even list an NVidia DisplayPort option, although the NVidia card is showing up in “aplay -l” output. Also tried installing latest ALSA driver (oem-audio-hda-daily-lts-xenial-dkms_0.201707260446~ubuntu16.04.1_all.deb), but that didn’t help.
leigh123linux’s observations about ELD were also true on my system. nvidia-bug-report.log.gz (166 KB)
Sequencing of ELD updates across modesets is a little tricky. There was a change to these drivers that fixed ELD handling in some cases that were broken, but inadvertently broke it in some cases where it was working. I’m investigating and working on a larger change to streamline ELD updates so they’ll work more reliably.
In the meantime, I apologize for the inconvenience.
Also having problems with displayport on Nvidia GTX 780 (on 384.59-3). Port is detected as not connected. USB and analog sound is working.
Possibly related?
Sorry for the slow replies. Due to the complex nature of modeset sequencing, it’s taken a while to arrive at a solution that I believe will work everywhere. Unfortunately, I may have missed the cutoff for the next driver build, so I can’t promise that this will be fixed in the next release. I apologize for the delay in getting this fixed and I’ll let you know when I have better news.
Same issue with my GTX 660 on 384.69. All ELDs list 0, PulseAudio shows all ports as “unplugged”, and aplay for the port that should play audio shows “aplay: main:807: audio open error: Device or resource busy”.