Contribute
Register

How to Disable DP Audio?

Joined
Dec 13, 2016
Messages
77
Motherboard
Gigabyte Z270X Ultra Gaming
CPU
i5-7600K
Graphics
970 GTX
It's so damn annoying that the audio output is switched to DisplayPort every time I turn my monitor on, despite it not having any speakers. Audio stops working until I switch back to "internal speakers".

How can I disable DisplayPort Audio? AppleHDAEngineOutputDP, inside AppleHDA, is the bad guy that needs to be disabled somehow.
 

pastrychef

Moderator
Joined
May 29, 2013
Messages
14,386
Motherboard
Gigabyte Z390 M Gaming
CPU
i9-9900K OC'd @ 5.0GHz
Graphics
Radeon VII
Mac
MacBook, Mac Pro
Classic Mac
iBook, Power Mac, PowerBook
Mobile Phone
iOS
It's so damn annoying that the audio output is switched to DisplayPort every time I turn my monitor on, despite it not having any speakers. Audio stops working until I switch back to "internal speakers".

How can I disable DisplayPort Audio? AppleHDAEngineOutputDP, inside AppleHDA, is the bad guy that needs to be disabled somehow.
If you are using WhateverGreen, you can try adding the "-igfxnohdmi" boot argument.
 
Joined
Dec 13, 2016
Messages
77
Motherboard
Gigabyte Z270X Ultra Gaming
CPU
i5-7600K
Graphics
970 GTX
If you are using WhateverGreen, you can try adding the "-igfxnohdmi" boot argument.
That doesn't work unfortunately, I've already tried that.

How do I change "Plist options" in IOService? If I could change "HDMIDPAudioCapabilities" to False or AppleHDAEngineOutputDP to 0, seems like that would solve the issue.

413297
 
Last edited:
Joined
Jun 16, 2010
Messages
233
Motherboard
Gigabyte GA-Z270X-Gaming-K7
CPU
i5-7600K
Graphics
RX 5500 XT
That doesn't work unfortunately, I've already tried that.

How do I change "Plist options" in IOService? If I could change "HDMIDPAudioCapabilities" to False or AppleHDAEngineOutputDP to 0, seems like that would solve the issue.

View attachment 413297
I've got almost the same system with the same issue. Were you able to make the plist changes work?
 
Joined
Aug 3, 2012
Messages
269
Thanks @pastrychef. adding the "-igfxnohdmi" boot argument does work in the case of HDMI display. But display port is different than HDMI, that's why it may not have worked for the OP, but Worked for me.
Well. Switching from DisplayPort to HDMI will at least for me solve the issue without any additional boot argument.
But unfortunately its no solution for the problem. :banghead:
 
Joined
Sep 6, 2012
Messages
16
Motherboard
GA-Z77X-UP5 TH
CPU
3770k
Graphics
Radeon Pulse RX 580 8GB
Mac
MacBook Pro
Mobile Phone
iOS
I got it working with Hammerspoon - hs.audiodevice.watcher.setCallback() :headbang:
Hi there!

Got the same issue as OP (Audio switches to DP when my computer resumes from sleep) and I was looking at your answer but couldn't figure out how you made this work. Would you mind sharing your lua script to make it work?

Thanks!
 
Joined
Dec 13, 2016
Messages
77
Motherboard
Gigabyte Z270X Ultra Gaming
CPU
i5-7600K
Graphics
970 GTX
I got it working with Hammerspoon - hs.audiodevice.watcher.setCallback() :headbang:
Hi there!

Got the same issue as OP (Audio switches to DP when my computer resumes from sleep) and I was looking at your answer but couldn't figure out how you made this work. Would you mind sharing your lua script to make it work?

Thanks!
Yeah, that would be really appreciated! :)
 
Top