Jump to content

HP Envy 17 6700HQ intel HD 530 partially working


Mikoman
 Share

107 posts in this topic

Recommended Posts

Hello guys,

 

Jumping on the boat here,

 

MSI GE 62 Apache Pro 6QF,

 

Skylake i7 6700HQ, Intel HD 530 / GTX 970M, DDR4, Intel AC 3165 WiFi.

 

Succesfully made it install and work more or less.

 

I got sound thanks to Voodoo HDA, Ethernet, and that's it. 

 

I'd like to know if there's finally a fix for Intel HD 530 or if someone managed to get it to work without any issues ?

Link to comment
Share on other sites

I am still struggling with the clean DSDT extraction. Lots of errors :/

Anyways i managed to make the sound working using HDAenabler3 https://github.com/Mirone/HDAEnablers and ALC290 kext https://github.com/Mirone/AppleHDA_10.11.1/blob/master/Laptop's/AppleHDA-272.50.31-ALC290.zip

No luck with the HD530 so far. 

Link to comment
Share on other sites

I am still struggling with the clean DSDT extraction. Lots of errors :/

Anyways i managed to make the sound working using HDAenabler3 https://github.com/Mirone/HDAEnablers and ALC290 kext No luck with the HD530 so far. 

Only use the *.dsl files for patching and after that compile the patched .dsl in MACiASL u getting less errors there easier to fix :)

Link to comment
Share on other sites

  • 4 weeks later...

updated just now. No change. I have checked the updated files in SLE but the SKLframebuffer is still the same. It doesn't very look like it was updated. 

 

Could you check if yours was?

 

AppleIntelSKLGraphicsFramebuffer.kext Date modified: 19 Nov 2015

 

in fact all SKL files are from this date. :/


even the combo update did not update the SKL files. This is weird. 


ok so the framebuffer file itself is updated (combo did the trick after all)
now i am not getting the error message anymore. but i am getting this new bunch of text and the display goes black

post-83633-0-36981700-1458637476_thumb.png

Link to comment
Share on other sites

Mikoman,

 

* You checked dates but not the md5sums.

* You need aptiofix2drv.efi now. One of your drivers files in /EFI/CLOVER is too old.

 

Thanks for the reply. I had the fix2 there already. I tried to remove all the drivers and reinstall just the fix2 but no change. 

Why do you think this is clover drivers related?

 

 

 

I guess i don't have this kind of issue. Nevertheless i tried it and no change.  

Link to comment
Share on other sites

So now after the verbose boot i can see an Apple logo for very short time which should be followed by login screen/desktop but then the display goes dark. Each cca 10 seconds the console cursor will appear and disappear. 

Looks like the windowsserver is crashing and restarting itself. That's why i am getting these cursor flashes. (Service only ran for 0 seconds. Pushing respawn out by 10 seconds.)

The same behaviour is with others platform-ids (tested all 520 and 530 ids)

I guess the mobile hd530 driver is still incomplete or i am missing something :/

Mar 27 18:21:02 Mikos-iMac WindowServer[253]: Server is starting up
Mar 27 18:21:02 Mikos-iMac WindowServer[253]: Session 257 retained (2 references)
Mar 27 18:21:02 Mikos-iMac WindowServer[253]: Session 257 released (1 references)
Mar 27 18:21:02 Mikos-iMac com.apple.xpc.launchd[1] (com.apple.ReportCrash.Root[252]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash.DirectoryService
Mar 27 18:21:02 Mikos-iMac WindowServer[253]: Session 257 retained (2 references)
Mar 27 18:21:02 Mikos-iMac WindowServer[253]: **DMPROXY** (2) Found `/System/Library/CoreServices/DMProxy'. Run with arg = -AMBDuser
Mar 27 18:21:02 Mikos-iMac WindowServer[253]: init_page_flip: page flip mode is on
Mar 27 18:21:02 Mikos-iMac WindowServer[253]: Found 16 modes for display 0x00000000 [16, 0]
Mar 27 18:21:02 Mikos-iMac WindowServer[253]: Found 1 modes for display 0x00000000 [1, 0]
Mar 27 18:21:02 --- last message repeated 1 time ---
Mar 27 18:21:02 Mikos-iMac kernel[0]: IOHIDSystem::registerScreenGated: Screen 0 recycled from pid 190
Mar 27 18:21:02 Mikos-iMac WindowServer[253]: mux_initialize: Couldn't find any matches
Mar 27 18:21:02 Mikos-iMac WindowServer[253]: Found 16 modes for display 0x00000000 [16, 0]
Mar 27 18:21:02 Mikos-iMac WindowServer[253]: Found 1 modes for display 0x00000000 [1, 0]
Mar 27 18:21:02 --- last message repeated 1 time ---
Mar 27 18:21:02 Mikos-iMac WindowServer[253]: WSMachineIsAMD: false
Mar 27 18:21:02 Mikos-iMac WindowServer[253]: WSMachineUsesNewStyleMirroring: true
Mar 27 18:21:02 Mikos-iMac WindowServer[253]: Display 0x20ce1500: GL mask 0x1; bounds (0, 0)[1920 x 1080], 16 modes available
	Main, Active, on-line, enabled, built-in, boot, Vendor 4c83, Model 3854, S/N 0, Unit 0, Rotation 0
	UUID 0x96b95d82a5bb323dc4d144985696ad7c
Mar 27 18:21:02 Mikos-iMac WindowServer[253]: Display 0x003f003f: GL mask 0x8; bounds (0, 0)[4096 x 2160], 2 modes available
	off-line, enabled, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 3, Rotation 0
	UUID 0xffffffffffffffffffffffffffffffff
Mar 27 18:21:02 Mikos-iMac WindowServer[253]: Display 0x003f003e: GL mask 0x4; bounds (0, 0)[0 x 0], 1 modes available
	off-line, enabled, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 2, Rotation 0
	UUID 0xffffffffffffffffffffffffffffffff
Mar 27 18:21:02 Mikos-iMac WindowServer[253]: Display 0x003f003d: GL mask 0x2; bounds (0, 0)[0 x 0], 1 modes available
	off-line, enabled, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 1, Rotation 0
	UUID 0xffffffffffffffffffffffffffffffff
Mar 27 18:21:03 Mikos-iMac WindowServer[253]: Set a breakpoint at CGSLogError to catch errors as they are logged.
Mar 27 18:21:03 Mikos-iMac WindowServer[253]: window_set_transform: Singular matrix
Mar 27 18:21:03 --- last message repeated 1 time ---
Mar 27 18:21:03 Mikos-iMac WindowServer[253]: Display 0x20ce1500: GL mask 0x1; bounds (0, 0)[1920 x 1080], 16 modes available
	Main, Active, on-line, enabled, built-in, boot, Vendor 4c83, Model 3854, S/N 0, Unit 0, Rotation 0
	UUID 0x96b95d82a5bb323dc4d144985696ad7c
Mar 27 18:21:03 Mikos-iMac WindowServer[253]: Display 0x003f003f: GL mask 0x8; bounds (2944, 0)[1 x 1], 2 modes available
	off-line, enabled, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 3, Rotation 0
	UUID 0xffffffffffffffffffffffffffffffff
Mar 27 18:21:03 Mikos-iMac WindowServer[253]: Display 0x003f003e: GL mask 0x4; bounds (2945, 0)[1 x 1], 1 modes available
	off-line, enabled, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 2, Rotation 0
	UUID 0xffffffffffffffffffffffffffffffff
Mar 27 18:21:03 Mikos-iMac WindowServer[253]: Display 0x003f003d: GL mask 0x2; bounds (2946, 0)[1 x 1], 1 modes available
	off-line, enabled, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 1, Rotation 0
	UUID 0xffffffffffffffffffffffffffffffff
Mar 27 18:21:03 Mikos-iMac WindowServer[253]: CGXPerformInitialDisplayConfiguration
Mar 27 18:21:03 Mikos-iMac WindowServer[253]:   Display 0x20ce1500: Unit 0; Vendor 0x4c83 Model 0x3854 S/N 0 Dimensions 15.04 x 8.46; online enabled built-in, Bounds (0,0)[1920 x 1080], Rotation 0, Resolution 1
Mar 27 18:21:03 Mikos-iMac WindowServer[253]:   Display 0x003f003f: Unit 3; Vendor 0xffffffff Model 0xffffffff S/N -1 Dimensions 0.00 x 0.00; offline enabled, Bounds (2944,0)[1 x 1], Rotation 0, Resolution 1
Mar 27 18:21:03 Mikos-iMac WindowServer[253]:   Display 0x003f003e: Unit 2; Vendor 0xffffffff Model 0xffffffff S/N -1 Dimensions 0.00 x 0.00; offline enabled, Bounds (2945,0)[1 x 1], Rotation 0, Resolution 1
Mar 27 18:21:03 Mikos-iMac WindowServer[253]:   Display 0x003f003d: Unit 1; Vendor 0xffffffff Model 0xffffffff S/N -1 Dimensions 0.00 x 0.00; offline enabled, Bounds (2946,0)[1 x 1], Rotation 0, Resolution 1
Mar 27 18:21:03 Mikos-iMac diagnosticd[122]: error evaluating process info - pid: 253, puniqueid: 253
Mar 27 18:21:03 Mikos-iMac com.apple.xpc.launchd[1] (com.apple.WindowServer[253]): Service exited due to signal: Abort trap: 6
Mar 27 18:21:03 Mikos-iMac com.apple.xpc.launchd[1] (com.apple.WindowServer): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Mar 27 18:21:04 Mikos-iMac ReportCrash[252]: Saved crash report for WindowServer[253] version 1 to /Library/Logs/DiagnosticReports/WindowServer_2016-03-27-182104_Mikos-iMac.crash
Mar 27 18:21:04 Mikos-iMac ReportCrash[252]: Saved crash report for WindowServer[190] version 1 to /Library/Logs/DiagnosticReports/WindowServer_2016-03-27-182104-1_Mikos-iMac.crash
Mar 27 18:21:04 Mikos-iMac ReportCrash[252]: Removing excessive log: file:///Library/Logs/DiagnosticReports/WindowServer_2016-03-27-173846_Mikos-iMac.crash
Mar 27 18:21:04 --- last message repeated 1 time ---
Mar 27 18:21:04 Mikos-iMac ReportCrash[252]: Removing excessive log: file:///Library/Logs/DiagnosticReports/WindowServer_2016-03-27-173857_Mikos-iMac.crash
Mar 27 18:21:07 Mikos-iMac DMProxy[254]: AMBD Services serviceSendMessageWithReplyAndTimeout:204: Semaphore timeout when waiting for reply to message ID 1
Mar 27 18:21:12 Mikos-iMac DMProxy[254]: AMBD Services serviceSendMessageWithReplyAndTimeout:204: Semaphore timeout when waiting for reply to message ID 2

and this is repeating over and over in the log file. 

Link to comment
Share on other sites

I've been struggling with HD530 mobile as well. To the best of my knowledge, AGPM.kext isn't working properly for that specific card.

 

Basically, the Graphics kexts detect it and load properly, problem is that once AppleSKLGraphicsGLDriver is being loaded, it crashes WindowServer every time it tries to initialize using QE. I believe the key lies with AGPM.kext, get it to do its thing and the problem might go away.

 

Anyway, for anyone wanting to be able to reach the desktop, just remove AppleIntelSKLGraphicsGLDriver and you will be able to.

 

Update: I've finished analyzing the SKL kexts binaries, they lack (full) support for mobile SKL graphics. We must wait for the 10.11.5 and hope they're present there.

 

As a side note, BDW kexts are similar to SKL ones, did anyone try faking a mobile broadwell ID and see if it works?

Link to comment
Share on other sites

Update: I've finished analyzing the SKL kexts binaries, they lack (full) support for mobile SKL graphics. We must wait for the 10.11.5 and hope they're present there.

 

Yeah thats what i thought. The driver is not fully ready yet. We need to wait. 

Link to comment
Share on other sites

Updated to 10.11.5 Beta 1. Nothing, same problems. I'll disassemble the drivers later, as it is, based on their size, only the version number has changed.

Link to comment
Share on other sites

I've managed to patch AppleIntelSKLGraphicsGLDriver.bundle to stop the WindowServer crash/hang. It's patched for mobile HD 530 (191b), feel free to try it. Issues I've found so far: graphic artifacts on the left side of the menubar,

 

https://dl.dropboxusercontent.com/u/16173714/AppleIntelSKLGraphicsGLDriver.bundle_v3.zip

 

__________________________________

 

LE: I recommend using FakePCIID.kext and the injector attached below. It does the same thing the above kext does, but it's update proof and it eliminates possible conflicts that the patch may have with other kexts.

 

This is the non altered GLDriver file: https://www.dropbox.com/s/duasv3t8ue9zdgz/AppleIntelSKLGraphicsGLDriver.bundle.zip?dl=0

 

FakePCIID_Intel_SKL_Graphics.kext.zip

 

If for some reason using the FakePCIID method actually causes problems, please report.

Edited by DoiX
Link to comment
Share on other sites

Interesting...you actually did it mate. It's working :) When are you experiencing the artifacts? I was playing with it for 30+ minutes and no artifacts at all! (youtube, flash sites, google, safari, settings, finder, system animations)


even the damn logic pro x is working :D

Link to comment
Share on other sites

Interesting...you actually did it mate. It's working :) When are you experiencing the artifacts? I was playing with it for 30+ minutes and no artifacts at all! (youtube, flash sites, google, safari, settings, finder, system animations)

even the damn logic pro x is working :D

 

The artifacts seem to be caused by something else loading post-boot. Depending on how it initializes the artifacts are present. Either way, i've set the menubar to dark so they don't bother me anymore.

 

I'm glad it's working. But something still isn't right, at least for me, benchmarks are showing halved scores for the HD 530* but it reports it as Intel Iris Pro 580, the binaries show that 191b is defined as such. Besides this, I tried playing Hearthstone, FPS is around 10-15, basically what i'd get with no GPU.

 

Right now i'm suspecting another kext to be at fault for that, maybe MTLDriver (the new OpenGL replacement from Apple).

 

I'm curious, could you try this benchmark http://www.maxon.net/products/cinebench/overview.htmland report what the OpenGL score is?

 

* Compared to windows, compared to OS X they are in the range of other bench results i found for HD 530. So, assume the current OpenGL implementation for Skylake needs improvement on macs?

 

I tried benching using gfxbench Metal, didn't work. The crash suggests MTLDriver needs to be patched as well...

Edited by DoiX
Link to comment
Share on other sites

Very cool. Well done. I assume this same fix works for all skylake laptops featuring this same exact 'mobile' HD530 graphics as found in the 6700HQ. Intel ARK just says 'HD530', nothing special about it, other than having lower min. clock.

 

But then what about the other iGPs? For example mobile HD520, HD510. They are pretty similar. So maybe someone will try your patched kexts for those other ones. I've seen HD520 thread discussion elsewhere. Then after that there is also Iris (Pro) / GT4(e) part. Which would just be interesting to know for example, if kext still not exist yet (of 10.11.5 build).

Link to comment
Share on other sites

Very cool. Well done. I assume this same fix works for all skylake laptops featuring this same exact 'mobile' HD530 graphics as found in the 6700HQ. Intel ARK just says 'HD530', nothing special about it, other than having lower min. clock.

 

But then what about the other iGPs? For example mobile HD520, HD510. They are pretty similar. So maybe someone will try your patched kexts for those other ones. I've seen HD520 thread discussion elsewhere. Then after that there is also Iris (Pro) / GT4(e) part. Which would just be interesting to know for example, if kext still not exist yet (of 10.11.5 build).

 

 

Based on the check i've patched, Intel HD 515 (191e) cards should be working out of the box, no need for this kext, same goes for HD 520 (though i'm not exactly sure of this). The binary is large and (obviously) obfuscated, i can only learn so much from it, especially with my limited knowledge in assembly code. However, if someone can confirm or infirm that they don't have working QE/CI for HD 515/520 and the above kext does nothing, i'll patch one for their specific cards. As for the HD 510 one, no idea.

 

I've look a bit at the linux drivers for skylake graphics, there are some differences between mobile and desktop GPU, but don't quote me on this as I didn't really document myself much.

Link to comment
Share on other sites

I've managed to patch AppleIntelSKLGraphicsGLDriver.bundle to stop the WindowServer crash/hang. It's patched for mobile HD 530 (191b), feel free to try it. Issues I've found so far: graphic artifacts on the left side of the menubar,

 

 

 

https://dl.dropboxusercontent.com/u/16173714/AppleIntelSKLGraphicsGLDriver.bundle_v3.zip

Thank you so much for this, it works great!

Link to comment
Share on other sites

 

I'm curious, could you try this benchmark http://www.maxon.net/products/cinebench/overview.htmland report what the OpenGL score is?

 

 

 

Thanks. On windows the score is around 45-50. I see you have battle.net installed, do you by chance also have hearthstone installed as well? If so, are you experiencing low fps no matter the quality settings?

Link to comment
Share on other sites

Hearthstone is unplayable. I have like 0.1 FPS

Maybe this has something to do with Graphics power management?

 

I can see some errors in log file. Same for hearthstone as for cinebench

 

Apr 12 23:18:07 Mikos-iMac kernel[0]: process CINEBENCH OSX[623] caught causing excessive wakeups. Observed wakeups rate (per sec): 581; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 45098

Apr 12 23:18:07 Mikos-iMac com.apple.xpc.launchd[1] (com.apple.ReportCrash[626]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash

Apr 12 23:18:07 Mikos-iMac ReportCrash[626]: Invoking spindump for pid=623 wakeups_rate=581 duration=78 because of excessive wakeups

Apr 12 23:18:08 Mikos-iMac mdworker[627]: code validation failed in the process of getting signing information: Error Domain=NSOSStatusErrorDomain Code=-67062 "(null)" UserInfo={SecCSArchitecture=x86_64}

Apr 12 23:18:09 Mikos-iMac spindump[594]: Saved wakeups_resource.diag report for CINEBENCH OSX version 15.0 (15.0) to /Library/Logs/DiagnosticReports/CINEBENCH OSX_2016-04-12-231809_Mikos-iMac.wakeups_resource.diag

Link to comment
Share on other sites

I found online some references to the fact that battlenet games use Metal instead of OpenGL on 10.11 by default. And right now, MTLDriver isn't working, I'm still digging in the code to see what happens, but unfortunately the crash information i get when running GfxBench Metal is minimal and not enough to understand what is going on. But at least i managed to get a skylake desktop user to test if MTL is working on their machine....

 

So, although we have QE/CI, considering Apple's aggressive movement towards their proprietary Metal API, we need to get this working as well... For example, i can't use Safari or anything that uses the safari webkit engine to display data (App Store to name one - the html display section of the window is just black) not sure if its MTL related or something else.

 

 

Oh, funny thing though, Heroes of the Storm works perfectly (dare i say i have more FPS on OS X with iGPU than on Windows - which is strange to say the least).

 

Edit: Use the method described in this post http://www.insanelymac.com/forum/topic/310013-hp-envy-17-6700hq-intel-hd-530-partially-working/page-2?do=findComment&comment=2231753instead of the patched binary.

Edited by DoiX
Link to comment
Share on other sites

Hi all.

i have a Envy 17 N101nt. Now its over install El Capitan and both of Win10.

 

Working :

 

Intel Hd 520 1536Mb Qe/CI Full Hd With  HDMI

Intel Bluetooth

Usb 3.0

Camera

Sound Alc290 With VoodooHda V2.8.8

Battery Mangmnt

Lan Realtek 8111Gb

 

Not Work :

 

Intel Wireless (Using Usb Dongle)

Nvidia Gt 950 (installed nvidia web driver but no working)

Card Reader 

Finger Print Reader

 

Sorry about my badly english.

 

at the attachments included my config.plist and kexts.

 

 

I hope to help. 

 

Thank you all

Envy.zip

Link to comment
Share on other sites

 Share

×
×
  • Create New...