New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Fixed] UHD 630 No HDMI audio #1189
Comments
I managed a bit more of free time and I'm happy to say that the fix for this issue has been found. We now know that @vit9696 maybe you have any insights on it's inner workings? Sorry but I haven't been able to dig too deep just yet. |
Interesting find, but I am not sure I can look at it any soon. Maybe ping more people. CC @khronokernel @headkaze |
This makes sense. Basically, these flags indicate whether a power well should be used by the driver. When reading power well state in
The usage of variables v7 to v9 indicates interest in a power well. Now, for setting a power well state we have similar code:
Flag 0x100 corresponds to SKL_PW_CTL_IDX_PW_2, and 0x80 to use_SKL_PW_CTL_IDX_MISC_IO.
|
references acidanthera/bugtracker#1189
Perfect. Thank you so much @07151129 for your investigation. |
Hi @black-dragon74 thank you from me too for your investigation results. I wanted to post my situation for you and @vit9696 to perhaps comment. Here are my details on my Intel NUC 10 with Core i7-10710U (no other GFX card, only IGPU):
Although not sure how to force flags, in Hackintool.app (tab Patch > Connectors > Active connection list) in the flags list displayed, I do see
Thank you in advance, looking to receiving your feedback from both of you, let me know if you need any more details. |
@mackonsti Hehoo, I am facing a similar problem. Have an ASROCK Z490 PGITX/TB3 and i7-10700K, 11.2.3 installation was easy with OC. Even the only iGPU gave 4k and 60Hz out of the box using HDMI, but no sound. Hackintool only shows the alc (1220) under sound, regardless if I connect the display by HDMI, a usb-c to HDMI cable or by my tb3 dock. By mistake I connected an old screen by usb-c, while my main screen was still connected by HDMI and baaam, both displays popped up in the sound app, giving me the option to play sound by hdmi on both devices. Closer look shows in hackintool, that an additional new device was presented under sound (Intel Kabylake HDMI) and a AppleHDAHDMI_DPDriver was loaded to it. I could even disconnect on display and still use the other to play sound via HDMI - till next reboot. So in short: I con only play sound via HDMI, when the board is connected by two cablles either to two displays or to two HDMI ports on one display. I cant get sound to work with only on connection. I am still unable to trigger the Intel Kabylake HDMI to load following @black-dragon74 idea. Perhaps give it a try and connect two displays before booting to check. |
I do not understand much of all thats is discused here. What can I do to fix the audio problem with the HDMI port? |
This issue has been around since long on the select UHD 630 iGPUs and nobody has had any success so far (none that I know of). This seems to mostly affect ASUS CFL laptops. I did a bit of research and I'm gonna post my findings here for someone to look at it and provide his/her insights on this issue. I'm also gonna list a partial fix for the HDMI video just in case someone ends up here with this issue.
Here are the specifications of my system:
CPU: i7-8750H (issue exists on i5-8300H too)
GPU: Intel UHD 630 (GTX 1050Ti disabled)
Audio Codec: Realtek ALC 295 (alc-layout-id: 0xE)
Video Ports: eDP, HDMI and DP (index 0x00, 0x01 and 0x02 respectively)
The initial issue was of no HDMI video output. This was quite a pain to fix but the fix was to change the
bus-id
of HDMI port (index 0x1) to0x1
. In the attached debug files one can see that I have disabled the DP port as I don't use it by changing it's index value. I have also changed the pipe values from default to0xA
but this has no effect on HDMI Audio/Video whatsoever.Also, one will still face HDMI hot-plug issue which can be easily fixed by enabling the
complete-modeset
property and by providing the list of affected indexes usingcomplete-modeset-framebuffers
property (00 01 ff ff ff ff ff ff
for LVDS and HDMI modeset).After the above steps, HDMI Video will work 100% reliably. If one still faces issues, it's a misconfiguration of something else on his/her end.
Now coming to the elephant in the room, HDMI Audio. I started investigating on this quite a while ago. The initial discussions can be found here. It was impossible to get the HDMI Audio to work under any cases. Tried methods include changing ig-platform-id, layout-id, pipe, port, connector-type, trying with DP cable (and port) instead of HDMI, Faking the device-id. None of these work. I eventually gave up all the hope until I accidentally stumbled upon a potential fix maybe? (expert suggestions and reviews needed).
I had my eDP cable unplugged as I was doing some repairs. I turned on my machine and connected the HDMI cable. I was surprised to find HDMI Audio working OOB. So, I guessed it has something to do with internal display. After reconnecting the eDP cable, I disabled the internal display by patching it's index using WEG. As expected, the HDMI audio still worked without any additional patches.
As eDP is a variant of DP, I thought maybe due to some weird reason, it might be the cause. Hence, I tried changing the connector-type of internal display to Dummy/VGA, DP, HDMI. The internal display worked in all cases and HDMI Audio didn't.
The technical findings from the above experiments are:
DigitalAudioCapabilities
property (dict) not being injected onHDEF
AppleHDAHDMI_DPDriver
not loading when internal display is connectedPinConfigurations
property is 4 bytes shorter when HDMI audio is not working (tried injecting the longer property, doesn't help)Also, the checklist for working HDMI audio is completely checked and is in place (one can verify from the attached files)
Description of attached files:
HDAU_eDP_Unplugged is when HDMI Audio is working but eDP cable is unplugged.
HDAU_eDP_Disabled is when HDMI Audio is working but eDP is disabled (index set to
0xFFFFFFFF
)NoHDAU_eDP_Plugged is when HDMI Audio is not working with internal display and analog audio working.
DEBUG FILE: HDAU_Debug.zip
Regards
The text was updated successfully, but these errors were encountered: