XPS9350-macOS icon indicating copy to clipboard operation
XPS9350-macOS copied to clipboard

Contribution

Open nos1609 opened this issue 8 years ago • 30 comments

Hi! I'd like to contribute a bit with all the info I gathered to get the laptop working. Clover.zip

I've attached my current setup. I have fully working touchpad with preference pane, keyboard, sleep. The only non working thing is audio, so I'm using VoodooHDA for now.

At first tried to use your clover but it falls into KP with donotstealmacos kext in backtrace. So I've found a working combination. Also graphics FakePCIID cause glitches in left top corner, so I'm not using it. Since we have an architecture very similar to the new MPB with no touchbar I'm sure that it is the right identifier.

I count on your help and would be nice if you provide any other method of communication like telegram or skype or hangouts to make things develop more efficiently.

nos1609 avatar Dec 14 '16 20:12 nos1609

Hi @nos1609 , I really could use some help from users like you who have dedication.

By far, the fix of XPS 13 on iris version has almost done. I don't think there's many difference between iris version and non-iris version(expect ig-platform-id and framebuffer patch).. So, the first question is what specs you have?

BTW, do you voodoohda work like a charm e.g. hp, speaker, mic, speaker and hp auto switch...?

Thanks, syscl

syscl avatar Dec 14 '16 20:12 syscl

I have a 6560U QHD+, DW1830 and toshiba XG3 nvme 512GB. voodoo works, but switching has to be performed manually.

nos1609 avatar Dec 15 '16 14:12 nos1609

@nos1609 Try my latest deploy.sh

syscl

syscl avatar Dec 15 '16 15:12 syscl

@nos1609 I tried VoodooHDA, and try to set the node, but cause no sound on both headphone and speaker... Thus, try my latest deploy.sh and config.plist, remove VoodooHDA

syscl

syscl avatar Dec 15 '16 15:12 syscl

@syscl is there any possibility to make a .sh script which doesn't modify the original partition? I've seen some code which modifies the main volume. It is an unstable path to any further system updates or developer previews. I'm sure it's fully feasable by clover means only with no system modification. At the moment my clover folder make it possible to boot any original hard drive install from an Apple device, not just 9350. I do some mac repair, so this moment is kinda crucial for me.

Also check the ApplePS2SmartTouchPad.kext which allows the use of 10.12.2 original preference pane for trackpad setup and have a macbook-like keyboard configuration for a better experience. I saw yours is out of date as for today.

nos1609 avatar Dec 16 '16 01:12 nos1609

@nos1609 I've tried to keep root as vanilla since M3800 project, I know the principle less is more. But the problems is

  • Non iris laptop still has the pixel clock limitation, thus patch CoreDisplay for non-iris model is a must
  • AppleALC is great, and I am those who first implement AppleALC in my M3800. I like that project, but Sierra involved some new mechanism cause the AppleALC to corrupt the whole system. Yeah, yeah, I still keep eyes on the development on AppleALC, but old style patch for AppleHDA is good enough and do not patch kernel too much(if you look into the source of AppleALC)
  • Bluetooth driver behave unstable once you inject them by Clover
  • I know ApplePS2SmartTouchPad has updated to beta5 coz EMlyDinEsH, the author of that driver, has already contacted my for testing. It's on the right way, but still have to improve(multi gesture is not good as 4.6.5). Thus I am still waiting for the stable version.

P.S. myabe I will implement your suggestion one day(for advance users), but it's more important to fix bugs ATM.

Thanks for your suggestion, syscl

syscl avatar Dec 16 '16 02:12 syscl

@syscl I have KP loading either the installer or the main volume with your clover folder img_20161216_052002

Concerning the pixel clock patch, on Mac Mini 2012 to be able to unlock the frequencies for two monitors configuration with 2540x1080x60p over HDMI I used this patch and it is proven as a stable solution for native machines. Just for now I haven't seen any complaints about the pixel clock limitation on QHD+ screens like it is the case for UHD on XPS 9550. Even in the previous thread dedicated to 10.11 install process it was proven there were no issues with that.

I've started with AppleALC kext, sound works great for few minutes, but have to reinstall the whole system after reboot. It simply destroys the FS up to the eighth condition in diskutil check. But is there a possibility not to replace the original kext in SLE but to use a disabler like one provided with VoodooHDA and a patched AppleHDA in Clover folder? Can you upload your current one so I could test it?

Concerning the ACPI patches, since majority of them are untouched, think It's better pulling them from original repos, to make it a bit clear for end users.

Also my pack is not suited for advanced users, but for beginner ones, because during 10.11 discussion I haven't found any universal and working solution which could at least bring me the ssd in the installer. Yours look way more advanced ;)

nos1609 avatar Dec 16 '16 02:12 nos1609

@nos1609 Do you know where his pixel patch come from? It's from me!! But too bad, he eliminated my contribution as it's his own idea to figure where to patch the pixel clock in Sierra! I have nothing to say about this...

Back to your question, what specs you have?

syscl

syscl avatar Dec 16 '16 02:12 syscl

@syscl I have a 6560U QHD+, DW1830 and toshiba XG3 nvme 512GB

nos1609 avatar Dec 16 '16 02:12 nos1609

@nos1609 It's weird, we have the same specs. Do you mind try this config.plist?

Note: remove SSDT-pr! This one is with hwp enable, still in experiment

config.plist.zip

syscl

syscl avatar Dec 16 '16 02:12 syscl

@syscl gonna try with removed but have no issues running this ssdt on my setup, or with it but hwp enabled in clover. Pretty sure it's not hwp the cause

nos1609 avatar Dec 16 '16 03:12 nos1609

@syscl It has booted with the config.plist you have attached. Just in case, it boots with mine also. Ssd is visible as expected. But not without those from master branch. Keep going, you are on the right way!

So far the only differences I've found were the force-injection of kexts, SystemID injection, HWP, C- and P-state generation, OSI to XOSI patch. I do not take into account the MacBook9,1 since I tried booting your Master-branch config with that smbios and got the same result as on the screen above. Since basing on my personnal experience these options (force-injection of kexts, SystemID injection, HWP, C- and P-state generation) make 0 difference on stability and loading issues, the OSI to XOSI patch is to blame. More precisely its absence in your default config. Gonna try booting my setup with MB9,1 smbios to check it up.

nos1609 avatar Dec 16 '16 03:12 nos1609

@syscl Another issue I'm facing is webcam fail after 5 minutes of work. You can check this by simply opening photobooth and checking after a while to find a still image instead of webcam video.

nos1609 avatar Dec 16 '16 04:12 nos1609

@nos1609 hold on a sec, I am refining config.plist!

syscl

syscl avatar Dec 16 '16 04:12 syscl

@nos1609 Try the latest config.plist, to see if it stuck your boot. I am pretty sure it will boot.

Sleep is ok, I try to sleep with HWP enable this whole afternoon while I was sleeping about 3hrs..

syscl

syscl avatar Dec 16 '16 04:12 syscl

@syscl we are not in a hurry, so take your time;) I've just made a little list of issues i get on a clean system. By the way I have absolutely no issues with BT injection by clover. Here is your previous config.plist.zip a little bit modified with my usual options to get brightness control oob. Be sure to check it thoroughly, there are a number of differences. As for now it boots successfully on my notebook with clover 3961, the lastest available. It also stores brightness value across reboots and sleep, but with MBP13,1.

nos1609 avatar Dec 16 '16 04:12 nos1609

@nos1609 Why you and AddPNLF? I have implemented PNLF in deploy.sh. Is AddPNLF fix the brightness key issue?

syscl

syscl avatar Dec 16 '16 05:12 syscl

@syscl 重新用新的deploy.sh kp问题解决了。我用 最新的 ApplePS2SmartTouchPad.kext 4.7 BETA5 亮度能调节 但是没有小太阳。

shixuev5 avatar Dec 16 '16 05:12 shixuev5

@syscl Yeah, clover solution is sufficient for us. No need to add anything more.

nos1609 avatar Dec 16 '16 07:12 nos1609

@nos1609 I tested the webcam for >5min, no such issue snip20161216_10

But to help you fix this issue, a friend send me his new MacBookPro13,2's information to fix the camera issue. Try the latest deploy.sh

syscl

syscl avatar Dec 16 '16 19:12 syscl

@syscl Do you know what exactly causes the AppleALC high CPU load and partition corruption? I haven't seen any such kind of issues on others machines.

nos1609 avatar Dec 20 '16 03:12 nos1609

@nos1609 I am always curious about this issue. But I think maybe that is not ALC's fault, possible Sierra's problem or nvme's issue. And, i double maybe on Windows has the same issue? If that is the case, then it's a very serious hardware issue. To be honest, I encounter slow response issue in Windows too, thus I double that there's some other serious issue...

And now, my Windows 10 Pro broke(don't know why...)

I have implemented AppleHDA in my git, you just run deploy.sh then all the post install progress will finish.

syscl

syscl avatar Dec 20 '16 05:12 syscl

@syscl could it be caused by patching method? Currently I'm using CloverHDA which was used as base for layout ID fo AppleALC. But CloverHDA uses Clover kext pattch method, while AppleALC kext make patching on its own, with no action from clover itself

nos1609 avatar Dec 20 '16 06:12 nos1609

Audio is working for me on latest commit. Not sure why I was having issues before, but they seem to be fixed now. 10.12.2 even prompted me to enable Siri :)

Note however this is on my higher end NVME / i7 / 540 laptop. I'm still having trouble getting the other one (M.2 / i5 / 520) functioning properly as I mentioned in my M.2 / NVME bug.

applesjgtl avatar Dec 20 '16 10:12 applesjgtl

By the way, using AppleALC on my desktop with a standard SATA 6Gb/s 4TB Samsung Evo with no corruption issues that I've noticed. Is this an NVME related problem?

applesjgtl avatar Dec 20 '16 10:12 applesjgtl

@applesjgtl No corruption even with sleep?

syscl

syscl avatar Jan 29 '17 03:01 syscl

As far as I can tell, yes. Is there somewhere specific I would notice this corruption taking place? This is on the i7 / 512 NVMe / 16GB / QHD+ model/

On an unrelated note, my i5-6200U / 256 M.2 / 8GB / QHD+ computer is still not booting with your latest commits and latest Clover folder.

applesjgtl avatar Jan 29 '17 04:01 applesjgtl

Hi @applesjgl

Which one no data corruption with sleep? The one with NVMe or without NVMe? Because I pretty enjoy sleep function, but I experience data corruption several times.

Could you give me some information about the frequency you sleep?

Thank you, syscl

syscl avatar Jan 29 '17 06:01 syscl

@syscl take a look at this guide

nos1609 avatar Feb 05 '17 14:02 nos1609

@nos1609 Why? I don't see he repair the NVMe sleep issue.

syscl

syscl avatar Feb 05 '17 18:02 syscl