-
Notifications
You must be signed in to change notification settings - Fork 36
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
XPS 9530 - external displays #52
Comments
I looked into your config.plist and you are using different ig-platform-id than darkvoid uses. That's why it is not working for me.
Anyways I managed to fix the kernel panic with HDMI-audio patch with 12 timing (but noone knows if it is timing or not). Now 2 displays work but without audio. That is just nice to have for me. If you have any ideas I will be grateful. |
I have another two exam tomorrow, I know what's wrong and will fix it in Wednesday. |
@animator013 try my latest config.plist and Deploy.sh syscl |
Will try it. Thanks. One more question. I looked to your commits and seen that you are enabling dp, hdmi1 and hdmi2? My xps9530 has only 1 hdmi and 1 mDP. Does it matter? |
@animator013 It doesn't matter, I just see the information from linux that our laptop has DP, HDMI1 and HDMI2, thus, I guess the last HDMI is for external dock. Not yet confirmed. BTW, once you plug in your HDMI, could you mind provide ioreg for me, I want to know which framebuffer@port macOS assign for our laptop. Thanks, |
Ok. Will report back during weekend. Hope that yours ig-platform-id will work for me like the darkvoid's ☺ I am looking forward if all of this goes well. This is a masterpiece. Very good work. |
I had some time today and tried it. After deploying your script from current master external displays do not work. After connecting HDMI or DP nothing happens. |
After reverting back to my config.plist, everything works except HDMI audio. I think yours ig-platform-id is not working for me. FYI, i think you are not enabling 160MB but only 128MB.
8*16Mb = 128Mb. But this is based on fact that the hex value is about DVMT preallocating. I have mine setup at 0a which is 10*16=160Mb. Nevertheless, it does not have any impact on the system even if I have it set in BIOS to 160Mb. I successfully booted with your deploy normally with full qe/ci but without possibility to connect an external monitor neither with HDMI or DP. Also I think that 0105 is my HDMI port but it can be related to ig-platform-id. |
@animator013 that's the reason why I asked you for ioreg to see which framebuffer@port has been assigned when HDMI is connected, since I have no HDMI and DP display ATM. what specs you have? For both QHD+ and UHD model, it's better to use 0a2e0008 than 0a260006. syscl |
@animator013 Try my latest config.plist and deploy.sh syscl |
My specs are. XPS 15 (9530) Tested latest deploy with config.plist. Same result. No external display working. Ports look totally dead. Don't know if anything can be seen in the ioreg. Posting my ioreg with both hdmi and mDP plugged in. |
Use this to dump ioreg, one port at a time, not both: if you plug in HDMI, then post the HDMI-ioreg, then unplug cable, plug in DP, post DP-ioreg. syscl |
Posting ioregs with the IORegExplorer 2.1. Hdmi & dp |
Reposting HDMI ioreg, something messed up content type. |
Connector type is OK now, but I don't see any external display under Framebuffer@port, so two possible cases:
Remember to use my config.plist directly and do forget to rebuild kernel cache and reboot... Wait for you report, |
BTW, do your touch screen work OOB? syscl |
Touch screen doesn't work. But I think that needs some driver. I do not use it anyways. DP and HDMI cannot be corrupted because when I use my config, both displays work. Always i copy everything from your clover dir, to EFI. Then i run Deploy.sh. Is it not correct ? |
So, could you post the ioreg with HDMI plugged-in when using your config.plist. Since, I don't think this is an issue related to ig-platform-id, if that is the case, I can fix it by kexts2patch :) So don't worry, |
Posting my ioregs :) Thank you for your time. |
I noticed a weird thing. When i replaced clover folder with my content and do not rebuild the kext cache after reboot i had displays working with audio. After kextcache rebuild no audio :) Posting my clover folder: |
Please try this syscl |
There is intel inject false, should I run Deploy.sh ? |
oh, sorry, change it to inject = true. syscl |
Ok what i've done:
I opened diff tool what you've changed and found nothing ? :) |
No, you should not run deploy.sh I change the binary patch... syscl |
Try this We first try to fix HDMI and HDMI-audio, then we go to fix DP, ok? syscl |
Tried your new config.plist still HDMI is dead :/ |
Um, let me differ your config.plist with my config.plist... syscl |
I have a new way to test:
syscl |
Tested this config.plist:
|
Ok, try this one syscl |
Same situation occured.
|
I've made this config. Everything works. But sometimes when hotplugging, displays are immediately on and audio works and sometimes displays are on after 2-3 seconds and audio doesn't work :) Same with mDP. So i need to unplug and plug until audio works |
@animator013 What you change? |
@animator013 do you bring back the eDP patch? syscl |
I merged my config with yours. But with the config you have now in repository i was experimenting on my own. Removed:
And replaced with mine config entries:
But still i am working with my ig-platform-id :/ so don't know if it is very good solution. |
Please try this one |
Tried it:
|
@animator013 So now, it seems that 0a2e0008 is not suit for you, I have to make my script support another case for you.. syscl |
Do you think that ig-platform-id 0x0a260006 is ok then ? Do you have problems with that plug and unplug thing ? Also while we were investigating this issue I found another one, which maybe you can help with. After sleep when no external display is connected and wake I have no sound. But with your platform-id it is working... |
Thus in XPS 9530 to make HDMI work:
Is that right? if this can power up HDMI/DP audio, I have to update my script and config.plist, thanks! syscl |
About sleep lose ext. sound issue, I am also looking at this, but this issue only happen at very special cases:
I want to figure out what's wrong in the second case. syscl |
Yeah. HDMI and DP works then. Only hdmi patch is required that i provided to my config.plist. The timing I found here: http://forum.osxlatitude.com/index.php?/topic/8723-enabling-dvidphdmi-with-intel-hd4200440046005000-and-iris-51005200-gpu/ I studied how to patch the framebuffer. Very good material. But also he didn't know what it is and marked it as priority. Somewhere on tonymacx i found RehabMan speaking of it as timing. If i do not have that patch in the config.plist HDMI works but i guess without audio. BUT, there is an issue then. HDMI has timing hex 09 and DP has timing hex 09. If we leave it like this HDMI works alone but after connecting mDP -> kernel panic. Also if i connect mDP, it works and after connecting HDMI -> kernel panic. After setting the port type to hex 08 and timing to hex 12, everything works. Hope that's clear enough. I am not an expert in this. And yeah! After connecting HP the sound works again. Strange... I'll move this to another issue for others #53 |
I am really appreciate, hope our hard work can make this project even better! BTW, do you try to make both timing to same value to see if this will corrupt? syscl |
Yeah. After setting mDP port to timing hex 12 i am back at the issue. After both monitors are connected, osx dies with kernel panic. |
@animator013 how about both timing to 09(original one)? Corrupt or not? And could you show me the screenshot of the panic? syscl |
Both timing at 09 makes the same. Kernel panic. Screenshot is impossible because all displays shuts off. But maybe I can find kernel panic log. But i remember that it is triggered by IOGraphicsFamily. |
Yes, you can find it in syscl |
Ok, I remove the patch from my config.plist and post it here. |
After disabling the patch and connecting to HDMI, display works even with audio! But after connecting mDP the kernel panic comes. So both displays cannot work together.
|
Which patch you disable and still works? Umm about this issue, try to remove DisplayLinkDriver.kext under clover/kexts/... to see if this can fix the panic syscl |
I disabled this patch:
I didn't have the DisplayLinkDriver.kext in my first setup, so I don't think it will be the problem. What is it even for ? This leads me to, that this patch actually repairs the two display setup and not the HDMI-audio. |
Thus, I think timing has nothing to do with the HDMI sound, we leave it as is. After you execute deploy.sh, DisplayLinkDriver will be installed in clover/kexts/... syscl |
Yeah, i know it will be installed but i was building everything from darkvoids version and he doesn't have this kext there. And the issue was also there without that patch. |
BTW, the-darkvoid's eDP 0000 patch is incorrect, thus use my config's eDP patch syscl |
Really ? Ok I try it then. But it is working with it, strange :) |
Yes, it seems no effect, but the eDP type is <00 04 00 00> instead of <04 00 00 00>. Since we want our laptops to be more stable as natural, it's better to change it to the correct type. Actually there's huge different between LVDS and eDP, and eDP behave better! So why not enjoy the eDP type:) syscl |
And can you explain how it behaves better ? I am just curious :) But I exchanged it in my config.plist. |
eDP has better performance and lower power consume, if you use LVDS type, then macOS just behave the way LVDS behave. That's the reason why we have to correct it. syscl |
So there remains the issue with HDMI plug and unplug. The audio is not very stable, but after few tries it works. Also the audio won't work after wake from sleep as i observe. If audio works and have it plugged in the notebook and put the nb into sleep and then wake, hdmi audio works. It's all strange. But this can be also caused by displays or cables, so it's hard to determine :) Also the internal audio works after disconnecting displays after wake from sleep. |
Hi there,
used your script to install el capitan to xps 9530. Everything works as expected but I have a big issue. When I ran your script for first time there was a little graphics glitch on top bar. Plugged in HDMI and mDP monitors and everything including audio was working. After sleep internal display won't wake.
After i was searching for the graphics glitch fix a found out that I need to rebuild kext cache once again. I did that and graphics glitch went away. But now i can't use external displays whatsoever. HDMI and mDP is not working at all. Sleep is now working for internal display.
When i use dark void patch 1 external monitor works without glitches with no audio and after connecting second one I get kernel panic.
I don't know how to resolve this, please advise.
The text was updated successfully, but these errors were encountered: