Disable audio output to DisplayPort device

I'm on OSX 10.9.2 using a Samsung SA850 Display connected to the display port of my MBP 15" Late 2012 Model.

All seems fine, but there is a problem with audio. Generally, whenever the display goes to sleep and wakes up again, my audio stops working. I found out that this is because the display has an integrated audio device, so for some reason this seems to mess with my system settings. I have no idea why.

This is kind of a clueless approach, but perhaps anyone knows how I can just totally stop OSX from even considering my display as an audio output device?


Solution 1:

Make the sound icon visible in the menu bar (at the bottom of the Sound system preferences window), then hold Alt ⌥ and click it to view all possible outputs. Sometimes the actual Output window in system preferences doesn't actually display all available options.

Solution 2:

Same problem with Sierra and a Dell P2715Q, here. It seems like a display with no audio shouldn't trigger this, but ¯\_(ツ)_/¯

With the display connected and no headphones, I used the Sound preferences to change the output to Internal Speakers. Now, at least for this user, the MacBook understands that I never want the sound output routed to DisplayPort.

Solution 3:

I suppose you could turn the sound off on your monitor using the buttons. You could also just use a connector like vga or dvi to get rid of sound output.

Solution 4:

Unloading the com.apple.driver.AppleGFXHDA kext caused the displayport audio drivers to be removed immediately.

sudo kextunload -b com.apple.driver.AppleGFXHDA

You will need to persist this across reboots.