Jump to content
arsradu

[HOW TO] Fix Quick Look and Preview issues in Mojave Beta

125 posts in this topic

Recommended Posts

Posted (edited)

Hi guys,

 

So, this little tutorial is meant to help people fix a new issue with Mojave: opening jpg files (looks like it happens with larger files, not so much with smaller ones) using Quick Look (on spacebar key pressed) or Preview app using the dedicated GPUs.

The issue is that, when trying to open jpg files (for some reason, it doesn't occur with pngs), the pop-up window would remain in an endless loop. And from that point forward, any other app trying to open the same file, will either become unresponsive (in the case of the Preview app) or just stay in endless loop (in case of Quick Look)

 

As a workaround, in case the tutorial below doesn't work for you, you can use Grab (built-in app in MacOS) to open said files.

 

This issues DOES NOT occur using the iGPU. So...if you're comfortable using the iGPU, just switch to that and you should be good to go. You don't need this tutorial.

 

This tutorial is based on @Cyberdevs' research and testing on this topic (especially useful if you're using an RX series AMD video card), and my own very limited time testing this on my rig. I just thought it would be useful to create a new thread for it so that people can discuss this particular issue here.


 

With that being said, I'll just move on to the actual tutorial.

 

New (probably better) method.

 

Switch your SMBIOS in Clover config in regards to the dedicated GPU you're using, instead of the CPU. Take a look here and choose the corresponding SMBIOS closest to your hardware.

Yeah, that's it.

 

In case you lose CPU PM with this method, there are multiple ways to fix that, and they do not make the object of this thread. :) It worked perfectly fine for me though and I didn't need to change anything else.

 

In case you wanna try alternative medicine :) ...

 

The main thing we need to do is actually very simple: we need to enable the iGPU (integrated GPU) by default, in BIOS, while actually being connected to the dedicated GPU.

 

For ATI GPUs (curtesy of @Cyberdevs' post here).

 

The discreet GPU should be set as primary in BIOS and your displays should be connected to your discreet GPU

The iGD/iGPU/iGFX must be enabled in BIOS/UEFI as the secondary GPU.

 

  1. I removed the DSDT
  2. Reconfigured the config.plist to and removed some flags which weren't needed because of the DSDT
  3. added the InjectATI + Ornioco Framebuffer (I removed the Orinoco framebuffer because of some weird glitches but it might be useful for other AMD GPUs if you inject the correct framebuffer according to your GPU. No need to inject anything for nVidia GPUs unless your GPU needs it)
  4. Added the InjectIntel + ig-platform-id for my intel HD530 (for intel HD 530 I use the 0x19120001 ig-platform-id)
  5. Removed com.apple.finder.plist
  6. Removed com.apple.QuickLookDaemon.plist
  7. rebuild the kextcache and reset the nvram

 

Steps 5 to 7 might not be necessary I just did them anyway, if anyone succeeded to get quicklook working without those steps let me know so I can exclude those steps.

     Also confirmed to work with AMD R9 270
X on a SandyBridge rig (without an iGPU) using WhateverGreen + Lilu kexts, which also helped to solve the transparency issue along with the Quick Look problem, it also resolved the buggy Screen 
Capture (Command+Shift+5) issue as well. 

 

    Also, do:

  1. nvram cleanup
  2. kextcache & prelinked kernel rebuild
  3. reboot 

More info on that here.

 

 

For NVIDIA GPUs

 

This is what I needed for my NVIDIA rig and the MSI motherboard in the signature. Your milage may vary, depending on your hardware. But, the idea should be the same regardless.

 

   For MSi motherboads (check out my motherboard details in the signature)

 

  1. Set your BIOS to use PEG (dedicated GPU) so you can boot.
    Since you're reading this, chances are that you're already connected to the dedicated GPU and the BIOS is set to PEG. So just go into BIOS and see if you're using the iGPU or the dedicated (PEG) graphics device by default.
    If you're already using this, skip to Step 3 (the part AFTER Reboot).
  2. Reboot (I think you don't necessarily need to boot into the OS...but you do need to reboot at least until Clover UI)
  3. Reboot back into BIOS and set it from PEG to IGD (integrated graphics) WITHOUT removing the cable.
  4. Save
  5. Reboot again.

 

   The result should be that the OS is tricked into thinking you're booting with the IGPU when in fact you're using the dedicated GPU.

 

   For Gigabyte motherboards

 

   Set:

  1. Peripherals -> Initial Display Output -> iGFX
  2. Chipset -> Internal Graphics -> Enabled
         DVMT Pre-Allocation -> default 64M.
         DVMT Total Gfx Mem -> default 256M
  3. Save
  4. Reboot

 

   You should do this with the cable connected to the dedicated GPU.

 

You will also need to patch the iGPU from Clover config.

1. Graphics -> Inject Intel (UNCHECK Inject Nvidia or ATI if it's checked).

2. ig-platform-id (in my case for Intel HD 4600 Desktop) it was: 0x0d220003

 

And use IntelGraphicsFixup.kext in Clover/kexts/Other. In my particular case, without the kext, I would get freezes in Safari.

 

This might be a bug with Mojave and it could be fixed by Apple in the future. but in the meantime, feel free to use this if it helps you fix the issue.

 

For HP motherboards (including laptops), so far no solution, unless the BIOS somehow allows to switch from eGPU to iGPU and vice-versa.

 

Cheers!

Edited by arsradu

Share this post


Link to post
Share on other sites
Advertisement
Posted (edited)

@arsradu

Thanks man for the nice and thorough guide :)

To add to your precious topic I have tested my AMD R9 270X on a SandyBrdige rig which has no iGPU but using WhateverGreen.kext + Lilu also helped to solve the transparency issue along with the Quick Look problem, it also resolved the buggy Screen Capture (Command+Shift+5) issue as well.

 

I needed to do a nvram cleanup, kextcache and prelikbedkernel rebuild after a reboot everything worked just fine.

So the conclusion is if the freamebuffer is load correctly none of those issues will happen.

 

Cheers :)

Edited by Cyberdevs

Share this post


Link to post
Share on other sites

any fix for those who cant enable from the bios their onboard graphics when a card is plugged in?

Share this post


Link to post
Share on other sites
Posted (edited)
2 hours ago, ricktm said:

any fix for those who cant enable from the bios their onboard graphics when a card is plugged in?

Any details on that? What happens when you try to enable it?

 

Also, some hardware information (preferably added to your signature) would greatly help in this case. :)

Edited by arsradu

Share this post


Link to post
Share on other sites
Posted (edited)
21 hours ago, arsradu said:

Any details on that? What happens when you try to enable it?

 

Also, some hardware information (preferably added to your signature) would greatly help in this case. :)

Oh, it just cant be done. my bios doesnt have that option, and i found this to be common with other HP boards. Sorry about the lack of hardware info, i thought adding it to my bio would have place it in my signature automatically. I'll look into adding it after this reply.

 

but its a HP 570-p010 w a i3-7100 kaby lake w/ Radeon RX 560 so i could get 4k with dual monitors 

 

edit: I want to add I have acceleration working, including dynamic backgrounds w/ dark theme. Everything works great except preview and quicklook.

 

 

Edited by ricktm

Share this post


Link to post
Share on other sites
Posted (edited)
16 minutes ago, ricktm said:

Oh, it just cant be done. my bios doesnt have that option, and i found this to be common with other HP boards. Sorry about the lack of hardware info, i thought adding it to my bio would have place it in my signature automatically. I'll look into adding it after this reply.

 

but its a HP 570-p010 w a i3-7100 kaby lake w/ Radeon RX 560 so i could get 4k with dual monitors 

 

 

Lol, are you serious? Well, remind me never to buy anything HP then. How the hell do you build a tower PC with no basic options like switching from Integrated (in your case Intel Graphics HD 630) to the dedicated GPU? What kind of BIOS is that? And what kind of motherboard is that? Sad, very sad.

 

Anyway, if they don't support that...sorry, no idea how to fix it. Since the entire fix is for you to be able to switch to iGPU while connected to the eGPU. If you can't do that...then it won't work.

Edited by arsradu

Share this post


Link to post
Share on other sites

alright, that was my feeling too, and its good to have that confirmation so i dont waste endless more hours trying.

Share this post


Link to post
Share on other sites
Posted (edited)

In the team of my firm everything works with Mojave, screenshot in video, preview jpeg large files and the only change made is the graph that I now use RX 560, in Bios I have disabled the integrated one because it is an i5 2400 (HD2500) not supported, sorry for the English use Google translator

 

Edit:

upppps, you were right, I did the test with another image format, thanks for the trick, although out of the preview the rest is perfect

Edited by surfcaster

Share this post


Link to post
Share on other sites

Thanks for this, I thought it was just a bug :lol:

On 7/15/2018 at 1:48 PM, arsradu said:

 

Steps 5 to 7 might not be necessary I just did them anyway, if anyone succeeded to get quicklook working without those steps let me know so I can exclude those steps.

I skipped those steps, everything seems to be working fine here

Share this post


Link to post
Share on other sites
On 7/16/2018 at 9:08 AM, arsradu said:

 

Lol, are you serious? Well, remind me never to buy anything HP then. How the hell do you build a tower PC with no basic options like switching from Integrated (in your case Intel Graphics HD 630) to the dedicated GPU? What kind of BIOS is that? And what kind of motherboard is that? Sad, very sad.

 

Anyway, if they don't support that...sorry, no idea how to fix it. Since the entire fix is for you to be able to switch to iGPU while connected to the eGPU. If you can't do that...then it won't work.

 

 

thanks for the motivation, just ordered a new mobo and case. 

 

Share this post


Link to post
Share on other sites
Posted (edited)

I am still having problems  with jpg images in preview and Quicklook using today’s Public Beta update.

 

 

Gigabyte Z370XP SLI, bios version F7

I5-8400

 

Bios settings:

DVMT Memory 64M, Total available: 256M

Primary graphics: IGPU

Internal Graphics Enabled

 

Gigabyte Aorus RX580 8GB

 

macOS 10.14 Public Beta Three: (18A336e), Clover version 4586

 

With the new update, Quicklook and Preview gained the ability to view TIFFs and play .mov files. Various kinds of camera raw images are NOT viewable in Quicklook or Preview, while the finder has always shown the thumbnails correctly for every kind of image filetype I have tried so far.

 

The QuickLook slideshow (select a bunch of images in the finder, then press the Option key - Spacebar combination) will not display jpgs in slideshow mode, but will display them at various large sizes in index sheet mode. Once an image is chosen though, the slideshow module crashes of course. Selecting a bunch of TIFFs only for the slideshow results in the slideshow module operating correctly, but it crashes in index mode once an individual image is chosen.

 

As far as transparency goes in Light Mode or Dark Mode, it seems to work,. The menu bar is slightly translucent in Light Mode, but it is there, the translucency is more apparent in Dark Mode. Safari now works with a bunch more media heavy websites than before.

 

At this point I am wondering if this issue is a problem with the frame buffer settings.

 

Using Inject Intel = true along with IntelGFX = 0x12345678, the hardware report shows I have Intel UHD Graphics 630, no kext loaded, no known vendor or device id

1689069897_InjectTrue0x12345678.thumb.png.808ccb6c58f88785374de3789a127281.png

 

Using Inject Intel = true along with IntelGFX = 0x0, the hardware report shows I have Intel UHD Graphics 630, Vendor: Intel, device id: 5912

1256849635_InjectTrue0x0.thumb.png.bd933b7b2362329a98b65f45af766cc3.png

 

Using Inject Intel = false along with IntelGFX = 0x0, the hardware report shows I have Intel HD Graphics CFL CRB, Vendor: Intel, device id: 3e92

225165487_InjectFalse0x0.thumb.png.7c8d449aff18978feb2a2f159e6859ed.png

 

 

I connected a monitor to the motherboard HDMI connector, and observed it though the boot process, it did not show the initial BIOS screen or the Clover screen, but did show the ‘wall of text’ — the list of complaints that apfs has about the superblock pointing to a jump place, but it was not started from there, then pauses until the main monitor screen attached to the GPU comes on with the login screen at which point the motherboard connected monitor goes to black screen. Which is why I think there may be a framebuffer issue going on.

 

Any ideas as to how to get Quicklook and Preview working?

 

Thank you for your help!

 

Edited by jerryy2
Added processor type

Share this post


Link to post
Share on other sites
Posted (edited)

Hmm... For AMD issues, I think @Cyberdevs might be able to help you better.

 

Intel 630 is Kabylake, right? Did you try to add the correct ig-platform-id? I think you might need iMac18,2/iMac18,3 SMBIOS and ig-platform-id 0x59120000.

 

Also, in case you don't already have that, I would also recommend using IntelGraphicsFixup kext in Clover/kexts/Other.

 

The thing is, for as far as I could tell from my limited time spent fiddling with this, you need to have the iGPU correctly set up first, before attempting this trick.

 

As I said, I'm not an expert in AMD cards. This might or might not help. But this is what I'd do first. Try to get the iGPU to work properly, boot properly and all that. After that, it should be only a matter of BIOS switch.

Edited by arsradu

Share this post


Link to post
Share on other sites
Posted (edited)

I have a Gigabyte board and it doesn't have a PEG switch. it only has PCIe 1. PCIe 2, PCI and iGFX. So I enabled PCI.

 

I enabled so that it uses iGFX in bios, dropped in the IntelGraphicsFixup kext and the .dSYM one. Enabled Inject Intel thingy in Clover I added ig-platform id of - 0x0D220003, because it's a Haswell processor with Intel 4600 on it. 

 

Still doesn't work :help:

 

Btw, the monitor I'm using on this older PC is not HDMI, but DVI.

 

Edited by iRipper

Share this post


Link to post
Share on other sites
Posted (edited)
29 minutes ago, iRipper said:

I have a Gigabyte board and it doesn't have a PEG switch. it only has PCIe 1. PCIe 2, PCI and iGFX. So I enabled PCI.

 

I enabled so that it uses iGFX in bios, dropped in the IntelGraphicsFixup kext and the .dSYM one. Enabled Inject Intel thingy in Clover I added ig-platform id of - 0x0D220003, because it's a Haswell processor with Intel 4600 on it. 

 

Still doesn't work :help:

 

 

1. please, add your complete hardware information to your signature. Believe me, it's worth it. We still don't know which dedicated GPU you're trying to use. And this issue does not occur with the integrated one.

2. PCIe IS your dedicated GPU. The point is to have the iGPU selected, while physically connected to the eGPU. So, I think you might want to enable iGFX instead.

3. you don't need any dSYM....anything.... Please, remove. You just need IntelGraphicsFixup.kext in Clover/kexts/Other

4. remove the serial numbers in your SMBIOS and RTvariables and upload your Clover folder for analysis.

 

Edited by arsradu

Share this post


Link to post
Share on other sites
Posted (edited)
Spoiler

 

The best choice is to switch the Primary GPU to your RX 580 rather than the iGPU.

Edited by Cyberdevs

Share this post


Link to post
Share on other sites
6 minutes ago, arsradu said:

 

1. please, add your complete hardware information to your signature. Believe me, it's worth it. We still don't know which dedicated GPU you're trying to use. And this issue does not occur with the integrated one.

2. PCIe IS your dedicated GPU. The point is to have the iGPU selected, while physically connected to the eGPU. So, I think you might want to enable iGFX instead.

3. you don't need any dSYM....anything.... Please, remove. You just need IntelGraphicsFixup.kext in Clover/kexts/Other

4. remove the serial numbers in your SMBIOS and RTvariables and upload your Clover folder for analysis.

 

 

Thanks for taking your time to help me. 

 

This is an old machine with a Haswell i5-4570 I think. The mobo is Gigabyte Z87M-D3H. And the graphics is Nvidia GTX660.

 

Here's my compressed Clover folder.  

CLOVER.zip

Share this post


Link to post
Share on other sites
Posted (edited)
12 minutes ago, iRipper said:

 

Thanks for taking your time to help me. 

 

This is an old machine with a Haswell i5-4570 I think. The mobo is Gigabyte Z87M-D3H. And the graphics is Nvidia GTX660.

 

Here's my compressed Clover folder.  

CLOVER.zip

 

The reason why I'm asking for your hardware is because, believe it or not, we have the same CPU, and apparently a very similar dedicated GPU, as well (I'm using the GTX 650).

 

As I said, please, remove the dSYM bullsh*t from Clover/kexts/10.14. By the way, just so you don't have to switch from one folder to another with every new update of the OS (like for example when switching from 10.13 to 10.14), and if you don't necessarily need your kexts to be separated for each OS, I would strongly recommend you to use the Other folder instead.

 

Overall, your config looks pretty good. You don't need MOST of the stuff over there. It could be cleaner, but let's see if the issue is actually the config or something else. 

 

What happens when you switch your BIOS from PCI to iGFX (while still being physically connected to the GTX 660)?

Edited by arsradu

Share this post


Link to post
Share on other sites

^ If I switch to iGFX I need to plug the cable into the motherboard to be able to see the screen. It boots and it works, but I need the dedicated GPU, because I also use Windows on the same machine and sometimes my GF plays games on it. 

Share this post


Link to post
Share on other sites
Posted (edited)
9 minutes ago, iRipper said:

^ If I switch to iGFX I need to plug the cable into the motherboard to be able to see the screen. It boots and it works, but I need the dedicated GPU, because I also use Windows on the same machine and sometimes my GF plays games on it. 

 

Ok, so that's the thing we're trying to accomplish here.

 

Ideally, you should do something like this (and I don't see how it will affect Windows...):

1. boot into bios with the cable connected to the GTX card (to be able to see something).

2. switch to PCI

3. reboot (no need to boot until you reach the OS, but at least until you reach Clover UI screen)

4. reboot back into BIOS

5. set to iGFX (without removing the cable)

6. reboot

 

In theory, when doing this, the iGPU should still be enabled, although you're physically connected to the dedicated GPU (your GTX 660). And you should still be able to see something on your monitor. At least I can. But it might be different for your board. One thing is for sure: your iGPU (aka iGFX) needs to be enabled in BIOS.

 

I think Gigabyte boards might have some other option for the iGFX.... I just don't know where. And since I'm using an MSi board, this will be different.

 

I feel like, in your case, the board might have one an option for enabling/disabling the iGP completely, and another one for choosing the priority. I could be wrong though.

 

I'm kinda flying blindly here, since my motherboard only has one option.

Edited by arsradu

Share this post


Link to post
Share on other sites
Posted (edited)

If I switch to iGFX (Intel graphics is enabled and has 64mb) I can't see anything with the cable connected to the dedicated chip. I have to unplug the DVI cable from the GTX660 and into the Mobo, then I see the screen and it boots up. Quick Look and Preview still don't work btw. 

 

I'm sorry if it's confusing :wallbash:

 

P.S. Okay, so I enabled iGPU, but disabled any memory to it and selected to boot from it, while the cable is connected to the GTX660. It boots and only detects the 660, but Preview and Quicklook are still broken. 

Edited by iRipper

Share this post


Link to post
Share on other sites
22 minutes ago, iRipper said:

If I switch to iGFX (Intel graphics is enabled and has 64mb) I can't see anything with the cable connected to the dedicated chip. I have to unplug the DVI cable from the GTX660 and into the Mobo, then I see the screen and it boots up. Quick Look and Preview still don't work btw. 

 

I'm sorry if it's confusing :wallbash:

 

P.S. Okay, so I enabled iGPU, but disabled any memory to it and selected to boot from it, while the cable is connected to the GTX660. It boots and only detects the 660, but Preview and Quicklook are still broken. 

 

Wait, are you saying this doesn't work even when booting off of the iGPU (meaning set to iGFX in BIOS and also connected to it with the DVI cable)?

 

Cause, this might be something else. And, before anything, as I said before, I think you need to fix booting from the iGPU first.

 

From what you're saying, it seems like you're on the right path. But, still, if your iGPU is not correctly configured, this won't work.

 

Try the attached config_test.plist in your Clover folder. Reboot and select it from Clover -> Options -> Configs -> config_test.plist (so that it doesn't affect your main config).
Also, try to boot with your iGPU first and tell me if you encounter any issues and which issues.

config_test.plist.zip

Share this post


Link to post
Share on other sites

What I'm saying is that if I connect the cable to the iGPU and give it some memory to boot from, it'll boot and work fine. But Quick Look will not open JPG files even with the IntelFixupKext and all the entries in Clover config. Same with the 660. 

 

I can select the iGPU too and not give it any memory, then it automatically picks up the 660 and boots from it. It works, but QL is broken. 

Share this post


Link to post
Share on other sites
28 minutes ago, iRipper said:

What I'm saying is that if I connect the cable to the iGPU and give it some memory to boot from, it'll boot and work fine. But Quick Look will not open JPG files even with the IntelFixupKext and all the entries in Clover config. Same with the 660. 

 

I can select the iGPU too and not give it any memory, then it automatically picks up the 660 and boots from it. It works, but QL is broken. 

 

This is weird... You shouldn't have any issues opening jpegs with the iGPU. Did you remove those dSYM files and try the config I uploaded above? Any change?

Share this post


Link to post
Share on other sites
Posted (edited)
1 hour ago, arsradu said:

 

This is weird... You shouldn't have any issues opening jpegs with the iGPU. Did you remove those dSYM files and try the config I uploaded above? Any change?

 

Yay! :thumbsup_anim: That fixed it. I got Preview and Quicklook back! Thanks so much for your time and help. I can use this oldie for a little bit more, while the other one is doing the heavy lifting :weight_lift:

 

Thanks again! 

Edited by iRipper

Share this post


Link to post
Share on other sites
2 minutes ago, iRipper said:

 

Yay! :thumbsup_anim: That fixed it. I got Preview and Quicklook back! Thanks so much for your time and help. I can use this oldie for a little bit more, while the other one is doing the heavy lifting :weight_lift:

 

Thanks again! 

 

Welcome! So...what did you do that fixed it? The config or...?

 

I managed to take a look at a Gigabyte board (Skylake Z170 board). And I'm thinking yours might be similar. Still, I'm not sure which settings should be used here. But once I know which combination works, I can add it to the main post.

 

So...what did you do? :D

 

IMG_0334.thumb.jpg.cf1a3ccbfce7bff2aa96275a9b52d42a.jpg

IMG_0336.thumb.jpg.b41a18368127daaf7c4269b94b2a719f.jpg

 

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   1 member

  • Similar Content

    • By MaLd0n
      Now have a Olarila app, just download app and clover folder for your Chipset! https://olarila.com/forum/viewtopic.php?f=81&t=6771     First... If you need DSDT edits for SkyLake, KabyLake or CoffeeLake... -Post your full Clover folder with original tables in Origin folder(Extract with F4 in Clover boot screen) -Post Ioreg, extract with Ioreg Explorer http://www.insanelymac.com/forum/index.php?app=core&module=attach&section=attach&attach_id=222606 -Run it, post files generated in your desktop http://www.insanelymac.com/forum/index.php?app=core&module=attach&section=attach&attach_id=222609  Installation   --Create a bootable copy of macOS Sierra Check out the link http://www.insanelymac.com/forum/files/file/559-flash-drive-maker/   --Create a bootable copy of macOS HighSierra Check out the link http://diskmakerx.com/   --Install Clover in USB stick https://sourceforge.net/projects/cloverefiboot/files/Installer/   --Replace with my Clover folder  CLOVER.zip   --Install Sierra/High Sierra and boot into system!   Post Installation   --Install Clover in HDD/SSD and replace with my folder CLOVER.zip   --Reboot and activate video!   -Nvidia WebDriver Sierra http://www.insanelymac.com/forum/topic/312525-nvidia-web-driver-updates-for-macos-sierra-update-07212017/ -Nvidia WebDriver High Sierra http://www.insanelymac.com/forum/topic/324195-nvidia-web-driver-updates-for-macos-high-sierra-update-10162017/ -Cuda http://www.insanelymac.com/forum/topic/302795-cuda-90214-is-out-update-10162017/   --DSDT My DSDT with Skylake patches DSDT.MaLd0n GA H110M-S2.zip Patches -FIX ERRORS AND WARNINGS -HPET -SATA -DMAC -SLPB -DARWIN -LPC -XHCI -PLUGIN TYPE -HDAS to HDEF -HDEF -RTC -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -USBX -PMCR -EC -PNLF -HDMI --FakeSMC https://bitbucket.org/RehabMan/os-x-fakesmc-kozlek --Audio https://github.com/vit9696/AppleALC --USB https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads --LAN http://www.insanelymac.com/forum/topic/287161-new-driver-for-realtek-rtl8111/   -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!   Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad and many, many, many others!   We're all here to have fun and learn from each other!   ENJOY!  
    • By MaLd0n
      Now have a Olarila app, just download app and clover folder for your Chipset! https://olarila.com/forum/viewtopic.php?f=81&t=6771   ***The topic is for Notebooks and Desktops***   Youtube MacOS Install Guide 2018 - Mojave - HighSierra - Sierra - ElCapitan -Mojave Full DSDT patch http://olarila.com/forum/viewtopic.php?f=59&t=6428 First... ***Update bios to last available version!***   If you need DSDT edits for SkyLake, KabyLake or CoffeeLake... -Extract tables with F4 key in Clover boot screen! -Run it and send me files! RunMe.app     Look at my Clover folders and understand what we really need, this is the best way to learn     1-Installation     --Create a bootable copy of macOS Sierra / High Sierra / Mojave   https://github.com/chris1111/Create-Install-Media/releases   --Install Clover in USB stick   https://sourceforge.net/projects/cloverefiboot/files/Installer/   --Replace with my Clover folder    https://olarila.com/files/Clover.Folder/CLOVER.SERIES.100.200.300.zip   --Install Sierra/High Sierra and boot into system! 2-Post Installation     --Install Clover in HDD/SSD and replace with my folder   https://olarila.com/files/Clover.Folder/CLOVER.SERIES.100.200.300.zip   --Reboot and activate video!   3-Video     -Nvidia WebDriver Sierra http://www.insanelymac.com/forum/topic/312525-nvidia-web-driver-updates-for-macos-sierra-update-07212017/   -Nvidia WebDriver High Sierra   http://www.insanelymac.com/forum/topic/324195-nvidia-web-driver-updates-for-macos-high-sierra-update-10162017/   -Cuda   http://www.insanelymac.com/forum/topic/302795-cuda-90214-is-out-update-10162017/   -Check it, easy way   nvidia-update.command.zip by Benjamin-Dobell   4-DSDT       Patches -FIX ERRORS AND WARNINGS -HPET -SATA -DMAC -SLPB -DARWIN -LPC* -XHCI -PLUGIN TYPE -HDAS to HDEF -HDEF -RTC -IRQs -SBUS* -BLC0 -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -USBX -PMCR -IMEI -EC -PNLF(Nvidia/AMD) -HDMI ---To avoid problems use some patches in config.plist, don't forget!--- GLAN to GIGE 474c 414e 4749 4745 GFX0 to IGPU 47465830 49475055 HDAS to HDEF 48444153 48444546 HECI to IMEI 48454349 494d4549 SAT0 to SATA 53415430 53415441 5-SSDT   Generate your SSDT for PM, use ssdtPRGen by Piker-Alpha https://github.com/Piker-Alpha ssdtPRGen.command.zip   or just use "plugin-type"=0x01 in DSDT, SSDT or Clover config.plist   for check Power, Frequency, Temperature and Utilization, use it Install Intel Power Gadget.pkg.zip   6-Brightness  
      Install .app, select the required permission and reboot. Work in F1 / F2 keys!
      NativeDisplayBrightness.app.zip


      https://github.com/Bensge/NativeDisplayBrightness/releases
      *in some cases .app don't work, check patches in config.plist inside Clover folder Post Install
        -Clover   https://sourceforge.net/projects/cloverefiboot/files/Installer/   -Lan driver by Mieze     -Atheros http://www.insanelymac.com/forum/files/file/313-atherose2200ethernet/   -Intel http://www.insanelymac.com/forum/files/file/396-intelmausiethernet/   -Realtek http://www.insanelymac.com/forum/files/file/88-realtekrtl8111-binary/   -Links     -FakeSmc https://bitbucket.org/RehabMan/os-x-fakesmc-kozlek   -Audio https://github.com/vit9696/AppleALC http://www.insanelymac.com/forum/topic/293863-applehda-patch-requests/   -USB https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads   if u like, Rate Topic     It's time to Rock -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!   Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad, badruzeus and many, many, many others!   We're all here to have fun and learn from each other!   ENJOY!  
    • By MaLd0n
      Now have a Olarila app, just download app and clover folder for your Chipset! https://olarila.com/forum/viewtopic.php?f=81&t=6771   Nehalem, SandyBridge, IvyBridge, Haswell, Broadwell     Skylake, Kabylake and Coffeelake is here http://www.insanelymac.com/forum/topic/321872-guide-sierra-on-gigabyte-mobos-serie-200-kabylake-dsdt/   Youtube MacOS Install Guide 2018 - Mojave - HighSierra - Sierra - ElCapitan Mojave Full DSDT patch http://olarila.com/forum/viewtopic.php?f=59&t=6428   First...   ***Update bios to last available version!***   If you need a full patched DSDT...  -Extract tables with F4 key in Clover boot screen! -Run it and send me files! RunMe.app   Installation   --Create a bootable copy of macOS Sierra / High Sierra / Mojave   https://github.com/chris1111/Create-Install-Media/releases   --Install Clover in USB stick   https://sourceforge.net/projects/cloverefiboot/files/Installer/   --Replace with my Clover folder https://olarila.com/files/Clover.Folder/CLOVER.SERIES.CHIPSET.zip   --Install Sierra/High Sierra and boot into system!   Post Installation --Install Clover and replace with my folder   https://olarila.com/files/Clover.Folder/CLOVER.SERIES.CHIPSET.zip   --Reboot and activate video!   Bingo!   Now you need a fine tune! DSDT time!   --DSDT   Patches -FIX ERRORS AND WARNINGS -HPET -SATA -DMAC -SLPB -DARWIN -LPC -XHCI -PLUGIN TYPE -XXXX to HDEF -HDEF -RTC -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -USBX -PMCR -EC -PNLF -HDMI
       
      --Power Management
      - 1 Generation Intel Processors, use Generate P and C States in config.plist
      - 2 and 3 Generations Intel Processors, Generate SSDT with Piker script and drop CpuPm and Cpu0Ist SSDTs
      ssdtPRGen.command.zip
      Credits-https://github.com/Piker-Alpha/ssdtPRGen.sh
      - 4 Generation+ Intel Processors, use PluginType=1 in DSDT, SSDT or Clover config.plist
       
      for check Power, Frequency, Temperature and Utilization, use it
       
      Install Intel Power Gadget.pkg.zip
       
      --Brightness
      Install .app, select the required permission and reboot. Work in F1 / F2 keys!
      NativeDisplayBrightness.app.zip


      https://github.com/Bensge/NativeDisplayBrightness/releases
      *in some cases .app don't work, check patches in config.plist inside Clover folder Post Install
       
      --Clover
       
      https://sourceforge.net/projects/cloverefiboot/files/Installer/
       
      --AUDIO
       
      Use DSDT + AppleAlc
       
      --install Lan driver by Mieze
        -Atheros   http://www.insanelymac.com/forum/files/file/313-atherose2200ethernet/   -Intel   http://www.insanelymac.com/forum/files/file/396-intelmausiethernet/   -Realtek   http://www.insanelymac.com/forum/files/file/88-realtekrtl8111-binary/   --Links   -FakeSMC   https://bitbucket.org/RehabMan/os-x-fakesmc-kozlek   -Audio   https://github.com/vit9696/AppleALC http://www.insanelymac.com/forum/topic/314406-voodoohda-289/   -USB   https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads   It's time to Rock   -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!   Apple, Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad and many, many, many others!   We're all here to have fun and learn from each other!  
    • By jackluke
      Those who use Mojave with an OpenGL (non-Metal) Video Card in "dark mode" have noticed that global transparencies are working fine, while in "light mode" encountered the "grey" Finder menu bar and sidebars issues, this patch is intended for those who want to use Mojave mainly in "light mode" saving some transparencies around, so here is my "hybrid reduce transparency" patch.
       
      It is totally safe, harmless and reversible, it has been deeply tested and will 100% work until restart or logout, even after sleep lock screen it will still work.
      To return with normal "transparency" you can also do that from Accessibility prefpane disabling the "reduce transparency" checkbox.
      To use this patch just double click on this attached shell "mojavehld.command" and it will launch through Terminal.

      [METHOD 1: Enable hybrid transparency]
      After launch the mojavehld.command just follow these steps:
      type 1
      type 4
      close Terminal (CMD+Q) and any other app previously opened.

      (The choice number 3 is not mandatory)

      [METHOD 2: Force hybrid transparency]
      If for some reason after that you will still get Dock and Notification Center without "transparencies" then relaunch the mojavehld.command:
      type 2
      type 1
      type 4
      close Terminal (CMD+Q) and any other app previously opened.
       
      Download attached here: mojavehld.zip
       





    • By headkaze
      Framebuffer patching in Mojave
      Binary patching framebuffers using KextsToPatch in Clover is no longer a viable method in Mojave for Skylake and above. Now you need to use Lilu + WhateverGreen.
       
      Not just for Mojave
      This method of framebuffer patching is not only required for Mojave we recommend it for all previous and future releases of macOS.
       
      Coffee Lake Users
      Please note that the new WhateverGreen will not work with fake Kaby Lake platform-id's. You will need to have either macOS 10.14 Beta 4 (18A336e) or macOS High Sierra 10.13.6 (17G2112). The latter is a special build only available to MacBookPro15,1 or MacBookPro15,2 board id's. You can create a macOS High Sierra 10.13.6 (17G2112) installer by running installinstallmacos.py. (Update: vit9696 added back ability to fake Kaby Lake platform-id's)
       
      Lilu + WhateverGreen
      WhateverGreen is going to replace all the other video patching plugins for Lilu (it currently has merged WhateverGreen, IntelGraphicsFixup, NvidiaGraphicsFixup, Shiki and CoreDisplayFixup). Others will likely follow (such as AppleALC, HibernationFixup and IntelGraphicsDVMTFixup). This is aiming to be the all-in-one solution for video.
       
      Beta Warning
      Please note that it is currently in a "beta" state so use it at your own risk. I am just documenting this here for those of you who want to get framebuffer patching now.
       
      Preliminary
      1. Remove:
      - FakePCIID_Intel_HD_Graphics
      - IntelGraphicsFixup
      - NvidiaGraphicsFixup
      - CoreDisplayFixup
      - Shiki
      2. Turn off all graphics injections in Clover:
      - config.plist/Graphics/Inject/ATI=NO
      - config.plist/Graphics/Inject/Intel=NO
      - config.plist/Graphics/Inject/NVidia=NO
      - config.plist/Graphics/ig-platform-id=
      - config.plist/Devices/FakeID/IntelGFX=

      3. Disable DSDT Clover fixes:
      - AddHDMI
      - FixDisplay
      - FixIntelGfx
      - AddIMEI
      4. Disable UseIntelHDMI
      5. Remove boot argument: -disablegfxfirmware
      6. Remove any IGPU and HDMI entries from:
      - config.plist/Devices/Arbitrary
      - config.plist/Devices/Properties
      - config.plist/Devices/AddProperties
      7. Remove any IGPU and HDMI related SSDT and DSDT from:
      - CLOVER/ACPI/patched
      8. Renaming GFX0 -> IGPU
      - WhateverGreen will do this automatically
      - You may need to include Clover GFX0 -> IGPU rename for other kexts or ACPI patching that require it
       
      Compile Lilu + WhateverGreen
      Download WhateverGreen. Make sure you place the debug version of Lilu into the root of WhateverGreen before you compile. Install Lilu and WhateverGreen kext's into the usual place. Compile WhateverGreen as debug if you want to view debug output.
       
      Having trouble compiling?
      If you're having trouble compiling you can wait for the official binaries or download my (unsupported) build_lilu.sh shell script and run it in a folder to download and build Lilu + WhateverGreen using Xcode automatically. I recommend you try the debug versions first (place them into Clover's EFI/Clover/kexts/Other folder).
       
      Get the device path of your IGPU:
      Download and use the gfxutil tool like so:
      $ ./gfxutil -f IGPU DevicePath = PciRoot(0x0)/Pci(0x2,0x0) ig-platform-id
      For the AAPL,ig-platform-id (AAPL,snb-platform-id for Sandy Bridge) entry Clover requires this value to be in Data format so you need to reverse the bytes. So if you want your platform-id to be 0x3EA50009 first reverse the bytes (0900A53E) then use Xcode's plist editor to add the values to Clover's config.plist.

       
      What ig-platform-id should I use for my system?
      You should choose one that is the closest match to your system. I recommend you do some research on this before choosing one. See post #2 for available options. More info can be found here.
       
      You can determine the generation of your CPU by the first digit after the hyphen.
      Examples:
      - Intel(R) Core(TM) i5-2760QM (Gen 2)
      - Intel(R) Core(TM) i7-5257U CPU @ 2.70GHz (Gen 5)
      - Intel(R) Core(TM) m3-6Y30 (Gen 6)
      - Intel(R) Core(TM) i5-8350U (Gen 8)
       
      Here are some recommended frames:
       
      Gen 2: Sandy Bridge (Intel HD Graphics 2000/3000)
      - Support started with OS X 10.7.x and ended with macOS 10.13.6
      - Metal support is not available
      - Desktop: 0x00030010 (default)
      - Laptop: 0x00010000 (default)
       
      Gen 3: Ivy Bridge (Intel HD Graphics 2500/4000)
      - Support started with OS X 10.8.x
      - Desktop: 0x0166000A (default), 0x01620005
      - Laptop: 0x01660003 (default), 0x01660009, 0x01660004
       
      Gen 4: Haswell (Intel HD Graphics 4200-5200)
      - Support started with OS X 10.9.x
      - Desktop: 0x0D220003 (default)
      - Laptop: 0x0A160000 (default), 0x0A260005 (recommended)
       
      Gen 5: Broadwell (Intel HD Graphics 5300-6300)
      - Support started with OS X 10.10.2
      - Desktop: 0x16220007 (default)
      - Laptop: 0x16260006 (default)
       
      Gen 6: Skylake (Intel HD Graphics 510-580)
      - Support started with OS X 10.11.4
      - Desktop: 0x19120000 (default)
      - Laptop: 0x19160000 (default)
       
      Gen 7: Kaby Lake (Intel HD Graphics 610-650)
      - Support started with macOS 10.12.6
      - Desktop: 0x59160000 (default)
      - Laptop: 0x591B0000 (default)
       
      Gen 8: Coffee Lake (Intel UHD Graphics 630)
      - Support started with macOS 10.13.6 (17G2112) / 10.14 beta 4 (18A336e)
      - Desktop: 0x3EA50000 (default), 0x3E9B0007 (recommended)
      - Laptop: 0x3EA50009 (default)
       
      Framebuffer Patching
      WhateverGreen does most of the work automatically for you and in most cases you do not need any extra Framebuffer Patching. At the minimum though you should choose an ig-platform-id suitable for your system and place it in config.plist/Devices/Properties like this:

      Here are some reasons why you might need extra Framebuffer Patching:
      - Setting DVMT for those who can't set it above 32 MB in BIOS (framebuffer-stolenmem / framebuffer-fbmem)
      - Setting higher VRAM (framebuffer-unifiedmem)
      - Disabling eGPU (disable-external-gpu)
      - Enable pixel clock patch for 4K support (enable-hdmi20)
      - Disabling connectors to enable sleep (framebuffer-pipecount / framebuffer-portcount / framebuffer-conX-type=-1)
      - Removing CNConnectorAlwaysConnected flag for eDP laptop screens on < 10.13.6 (framebuffer-con0-flags=0x00000090)
      - Changing connector types to match your systems ports (framebuffer-conX-type)
       
      Framebuffer Patching Types
      We have three different types of patches:
       
      1. Arbitrary (Recommended)
      framebuffer-patch-enable (required to enable below) framebuffer-framebufferid (optional; defaults to current platform-id) (all below are optional) framebuffer-mobile framebuffer-pipecount framebuffer-portcount framebuffer-memorycount framebuffer-stolenmem framebuffer-fbmem framebuffer-unifiedmem framebuffer-conX-enable (required to enable below) framebuffer-conX-index framebuffer-conX-busid framebuffer-conX-pipe framebuffer-conX-type framebuffer-conX-flags 2. All Data
      framebuffer-conX-enable (required to enable below) framebuffer-conX-alldata 3. Find / Replace
      framebuffer-patchX-enable (required to enable below) framebuffer-patchX-framebufferid (optional; defaults to current platform-id) framebuffer-patchX-find framebuffer-patchX-replace framebuffer-patchX-count (optional; defaults to 1) You should place your patches in config.plist/Devices/Properties in Clover config.plist.
       
      Here are some example patches:
      - 32MB BIOS, 19MB stolen (framebuffer) 9MB fbmem (cursor) 2048MB unifiedmem (vram)

       
      - Pipe / Port Count 3 to 2
      - Connector 1 DP to HDMI
      - Connector 2 Disable

       
      Here is an example of the All Data method:

       
      Here is an example of the Find / Replace method:

       
      Debugging
      If you need a dump of your framebuffers in binary use the boot flag -igfxdump. The output will be in /AppleIntelFramebuffer_GEN_KERNX_Y on your boot drive (Eg. AppleIntelFramebuffer_10_17.7). Intel FB-Patcher can File->Open this and generate a config.plist/Devices/Properties patch for Clover. 010 Editor can also parse this file using the IntelFramebuffer.bt template.
      To get debug output from Lilu use the -liludbgall flag and for WhateverGreen use the -wegdbg boot flag. You will need to compile Lilu and WhateverGreen as debug for both of these flags to work.
       
      To view debug paste the following into Terminal (weglog.txt will output to your home directory):
      log show --predicate 'process == "kernel" AND (eventMessage CONTAINS "WhateverGreen" OR eventMessage CONTAINS "Lilu")' --style syslog --source --last boot >weglog.txt
      Credits
      - vit9696 and lvs1974 for WhateverGreen (Full Credits) and Lilu (Full Credits)
      - Andrey1970 for his guide on applelife.ru
      - RehabMan for All Data patching method
       


×