- Joined
- Dec 14, 2011
- Messages
- 7
- Motherboard
- Gigabyte Aourus Z-390
- CPU
- Intel i9-9900K
- Graphics
- AMD 5700XT
- Mac
- Mobile Phone
I read the FAQ, Laptop clover guide, HD4200/HD4400/HD4600/HD5600 on 10.11+, and several other UHD laptop topics. This Yosemite topic http://www.tonymacx86.com/laptop-co...-ux501jw-fi218h-installation-clover-help.html is the closest to my case, but it also has the same conclusion where I'm at now.
I'm trying to install El Capitan 11.3 on my ASUS ZenBook Pro UX501JW. The laptop is equipped with an i7-4720HQ processor with Intel HD4600 graphics. The screen's resolution is UHD (3840 * 2160) and there is also a GeForce GTX960m dedicated GPU in the system. When trying to get the graphical acceleration working I got graphical glitches, screen flickering which persisted after reboot and were visible in BIOS and even on the desktop of the live linux I booted!
The OSX desktop with the default El Capitan wallpaper somehow stuck in the memory and was strobing very fast even when in the BIOS. I unplugged my OSX installer stick and booted a live linux usb and this ghost image of the OSX desktop was still there, like if every n-th frame rendered was the OSX desktop.
After I let the linux run for an hour or two the flickering was gone, so I tough time for a second try, reinstalled OSX and tried a different IOKit patch, still no luck and the flickering returned. I wanted to hasten up the process, so I unscrewed the bottom of the laptop and disconnected the battery power (and dc in) and let the laptop sit there for a few minutes without power. I thought this would clear anything stuck in the memory so I reassembled the laptop and turned it on. I was wrong, the flickering still remained and only a few more hours of linux desktop staring fixed it (maybe power wasn't disconnected long enough?).
This is where I'm at now, unsure what to do next, maybe you guys could help. Here is what I did in order:
1. Installer stick creation
I created an installer stick, with Clover v2.3_r3346 installed in the EFI, configuration based on RehabMan's laptop repo https://github.com/RehabMan/OS-X-Clover-Laptop-Config/blob/master/config_HD4600_4400_4200.plist.
I used the following kexts:
2. BIOS Settings
Turned off VT-d, Intel Virtualisation, Intel AES-NI, Secure boot, Fast boot, CSM and set DVMT Pre-Allocated to 128M (possible values are 64, 128, 256, 512)
3. Installation
Following the advices on the forum, first I installed OSX without graphical acceleration (Inject intel=false). It wen't pretty smoothly.
4. IOKit patch
After that I patched the IOKit using this patch from The Darkvoid's repo:
(When this didn't worked I also tried these, on a clean install and IOKit):
https://github.com/Floris497/mac-pixel-clock-patch
https://github.com/Floris497/mac-pixel-clock-patch-V2
5. Enabled the Intel injection
I used Graphics/ig-platform-id/0xa2e0008, FakeID/IntelGFX/0x04128086 and the 128MB DVMT-prealloc patch for the 0a2e0008 and enabled Intel injection. The acceleration seemed to be working, the HD4600 with 1.5GB recognised by the system but the previously mentioned glitches and flickering was there. If I wasn't moving the mouse it somewhat slowed down, even stopped if there was no change on the displayed content. Also attaching an external monitor changed it's behaviour.
To fix this issue I tried a bunch of combination of patches (96mb for 0x0a2e0008, 128/34/34, etc) to no avail. I also tried different platforms (with their respective patches) like 0x0a260006.
The main problem with experimenting was that the glitches remained even after rebooting or booting into a completely different os (not with clover), so it's really hard to see if there is any difference when the whole screen is still flickering.
Does anyone have any idea how to stop these glitches (and ultimately how to have graphical acceleration)? I guess somehow It's related to some data being stuck in the memory, but disassembling the laptop every time doesn't seems like a practical solution (and haven't worked for the first time). I thought maybe the issue is with backlight control, but the flickering contains the OSX desktop image, not just random strobes of light.
I'm also attaching my EFI/CLOVER folder if it helps.
I'm trying to install El Capitan 11.3 on my ASUS ZenBook Pro UX501JW. The laptop is equipped with an i7-4720HQ processor with Intel HD4600 graphics. The screen's resolution is UHD (3840 * 2160) and there is also a GeForce GTX960m dedicated GPU in the system. When trying to get the graphical acceleration working I got graphical glitches, screen flickering which persisted after reboot and were visible in BIOS and even on the desktop of the live linux I booted!
The OSX desktop with the default El Capitan wallpaper somehow stuck in the memory and was strobing very fast even when in the BIOS. I unplugged my OSX installer stick and booted a live linux usb and this ghost image of the OSX desktop was still there, like if every n-th frame rendered was the OSX desktop.
After I let the linux run for an hour or two the flickering was gone, so I tough time for a second try, reinstalled OSX and tried a different IOKit patch, still no luck and the flickering returned. I wanted to hasten up the process, so I unscrewed the bottom of the laptop and disconnected the battery power (and dc in) and let the laptop sit there for a few minutes without power. I thought this would clear anything stuck in the memory so I reassembled the laptop and turned it on. I was wrong, the flickering still remained and only a few more hours of linux desktop staring fixed it (maybe power wasn't disconnected long enough?).
This is where I'm at now, unsure what to do next, maybe you guys could help. Here is what I did in order:
1. Installer stick creation
I created an installer stick, with Clover v2.3_r3346 installed in the EFI, configuration based on RehabMan's laptop repo https://github.com/RehabMan/OS-X-Clover-Laptop-Config/blob/master/config_HD4600_4400_4200.plist.
I used the following kexts:
- RehabMan's FakeSMC
- FakePCIID + FakePCIID_Intel_HD_Graphics
- VoodooPS2Controller
- BCM5722D + WifiInjector (I'm not sure if both are really needed, I carried them over from a previous build with a compatible wifi card, for now wifi seems to be working)
2. BIOS Settings
Turned off VT-d, Intel Virtualisation, Intel AES-NI, Secure boot, Fast boot, CSM and set DVMT Pre-Allocated to 128M (possible values are 64, 128, 256, 512)
3. Installation
Following the advices on the forum, first I installed OSX without graphical acceleration (Inject intel=false). It wen't pretty smoothly.
4. IOKit patch
After that I patched the IOKit using this patch from The Darkvoid's repo:
Code:
sudo perl -i.bak -pe 's|\xB8\x01\x00\x00\x00\xF6\xC1\x01\x0F\x85|\x33\xC0\x90\x90\x90\x90\x90\x90\x90\xE9|sg' /System/Library/Frameworks/IOKit.framework/Versions/Current/IOKit
sudo codesign -f -s - /System/Library/Frameworks/IOKit.framework/Versions/Current/IOKit
(When this didn't worked I also tried these, on a clean install and IOKit):
https://github.com/Floris497/mac-pixel-clock-patch
https://github.com/Floris497/mac-pixel-clock-patch-V2
5. Enabled the Intel injection
I used Graphics/ig-platform-id/0xa2e0008, FakeID/IntelGFX/0x04128086 and the 128MB DVMT-prealloc patch for the 0a2e0008 and enabled Intel injection. The acceleration seemed to be working, the HD4600 with 1.5GB recognised by the system but the previously mentioned glitches and flickering was there. If I wasn't moving the mouse it somewhat slowed down, even stopped if there was no change on the displayed content. Also attaching an external monitor changed it's behaviour.
To fix this issue I tried a bunch of combination of patches (96mb for 0x0a2e0008, 128/34/34, etc) to no avail. I also tried different platforms (with their respective patches) like 0x0a260006.
The main problem with experimenting was that the glitches remained even after rebooting or booting into a completely different os (not with clover), so it's really hard to see if there is any difference when the whole screen is still flickering.
Does anyone have any idea how to stop these glitches (and ultimately how to have graphical acceleration)? I guess somehow It's related to some data being stuck in the memory, but disassembling the laptop every time doesn't seems like a practical solution (and haven't worked for the first time). I thought maybe the issue is with backlight control, but the flickering contains the OSX desktop image, not just random strobes of light.
I'm also attaching my EFI/CLOVER folder if it helps.