Jump to content

Clover General discussion


ErmaC
30,171 posts in this topic

Recommended Posts

So when I boot Clover, OS 10.13.2

No kext injection

SIP disabled

chosen/memory-map contains 3 entries

name/FailedCLUT/FailedImage

I get the 3 messages in log show kernel: "FailedCLUT" not a kext, etc...

 

In VMWare - no such messages even with 5 Driver- entries and SIP enabled.

 

Is it Clover's fault even if the messages show up without injection?

Link to comment
Share on other sites

OsxAptioFixDrv-64.efi broken in Clover 4334 or an older version was packaged instead of the modified one from a while back does anyone have a working Clover PKG with a working AptioFixv1 driver?

Link to comment
Share on other sites

OsxAptioFixDrv-64.efi broken in Clover 4334 or an older version was packaged instead of the modified one from a while back does anyone have a working Clover PKG with a working AptioFixv1 driver?

 

https://sourceforge.net/projects/cloverefiboot/files/Installer/

today, i found SetIntelMaxBacklight bug.

always get black screen after check it. both sandy and skylake.

i will fix it with exact backlight level according to framebuffer.

 

Actually for my sandy, HD3000 injection is broken. I have to turn it off but then I don't get acceleration.

Link to comment
Share on other sites

It's 8086-0112. It used to work without any settings.

 

EDIT: It's an i5-2500K.

Can you tell me for success info?

Device id and snb-platform-id from ioreg

 

I'm gathering information. Some intel cpu platform have done. But still lack info.

 

Thanks in advance.

 

나의 LG-F800S 의 Tapatalk에서 보냄

 

EDIT1

long time ago, i checked i5 2500k's hd3000 with ricoc90

here

http://www.insanelymac.com/forum/topic/325283-desktop-intel-hd-3000-graphics/?p=2464439

Link to comment
Share on other sites

https://sourceforge.net/projects/cloverefiboot/files/Installer/

 

Actually for my sandy, HD3000 injection is broken. I have to turn it off but then I don't get acceleration.

 

 

Is there a newer version other than v4334?  V4334 was packed with a non working AptioDrvFixV1.   The one from v4297 works fine.

Link to comment
Share on other sites

Can you tell me for success info?

Device id and snb-platform-id from ioreg

 

I'm gathering information. Some intel cpu platform have done. But still lack info.

 

Thanks in advance.

 

나의 LG-F800S 의 Tapatalk에서 보냄

 

EDIT1

long time ago, i checked i5 2500k's hd3000 with ricoc90

here

http://www.insanelymac.com/forum/topic/325283-desktop-intel-hd-3000-graphics/?p=2464439

 

It doesn't work though. I get black screen unless I explicitly set Graphics/Inject(/Intel)=false. I have no idea what was ioreg before, don't have time to run a bunch of tests to figure it out... I also don't see where ricoc90's problem was resolved... I used to be able to boot with iMac12,1 or 12,2 and MacMini5,1 but now I can only boot as iMac. Since the MacMini5,1 is the only model that has HD3000 graphics, I'm guessing that the device id or snb-platform-id is injected wrong for my CPU....

Is there a newer version other than v4334?  V4334 was packed with a non working AptioDrvFixV1.   The one from v4297 works fine.

 

Built, no. But you asked for an older package and I linked you every package ever released, lol. Grab it out of r4297, if that works, but the last change to AptioFix was 4270... So I'm guessing that it's something else, maybe EDK2 sync, did you build it yourself or get from sf.net?

  • Like 2
Link to comment
Share on other sites

It doesn't work though. I get black screen unless I explicitly set Graphics/Inject(/Intel)=false. I have no idea what was ioreg before, don't have time to run a bunch of tests to figure it out... I also don't see where ricoc90's problem was resolved... I used to be able to boot with iMac12,1 or 12,2 and MacMini5,1 but now I can only boot as iMac. Since the MacMini5,1 is the only model that has HD3000 graphics, I'm guessing that the device id or snb-platform-id is injected wrong for my CPU....

 

can you check this?

fakeid intelgfx 0x01128086

platformid 0x00030010

 

seems device id follow board-id. chris1111 and ricoc90 use each imac12,1/imac13,1.

you said I used to be able to boot with iMac12,1 or 12,2 and MacMini5,1 but now I can only boot as iMac

maybe seems we need to consider macmini case

Link to comment
Share on other sites

Again.

The question is wrong as it set.

For one CPU/GPU there are several ig-platform-id differrent in connectors. We can't say "MacBook has id bla-bla so I must set the same". 

Mac with the same hardware may have one connector set while your computer has different connectors set.

As well there is no sense to overload Clover with thousands possible configurations. Anyway user should set ig-platform-id manually.

  • Like 1
Link to comment
Share on other sites

Again.

 

@Slice

on your laptop, SetIntelMaxBacklight is working?

i tested it both sandy and skylake laptop, always get black screen.

legacy and uefi too on sandy laptop.

 

example

0x056c0000 this value is not working.

always get black screen.

but 0x056c is working with flicker screen with apple logo. after progress bar, get normal macos screen without flicker screen.

0x056c also is not perfect. i'm searching solution..

rehabman's PNLF is no problem. very strange.

 

i traced this option in clover general discussion.

now, this option is not perfectly working.

http://www.insanelymac.com/forum/topic/284656-clover-general-discussion/?p=2490668

 

EDIT1.

SetIntelBacklight is no problem

https://sourceforge.net/p/cloverefiboot/code/4347/tree/rEFIt_UEFI/Platform/Settings.c#l6779

 

seems &LevelMaxW value is not proper

https://sourceforge.net/p/cloverefiboot/code/4347/tree/rEFIt_UEFI/Platform/Settings.c#l6800

 

i don't know why we get black screen

here is rehabman's PNLF

https://github.com/RehabMan/OS-X-Clover-Laptop-Config/blob/master/hotpatch/SSDT-PNLF.dsl#L50

Link to comment
Share on other sites

can you check this?

fakeid intelgfx 0x01128086

platformid 0x00030010

 

seems device id follow board-id. chris1111 and ricoc90 use each imac12,1/imac13,1.

you said I used to be able to boot with iMac12,1 or 12,2 and MacMini5,1 but now I can only boot as iMac

maybe seems we need to consider macmini case

 

That's what the log says is injected. And it doesn't work. Plus, that is my device id, so why would I fake it to that? I'm pretty sure it used to inject 0x01268086 though, so maybe I should try that, I just don't have time to keep restarting a million times.... Appears that it's probably not injecting the correct device id. The only mac that has a HD3000 is a MacMini5,1, there are no others, so if it had anything to do with board-id then only MacMini5,1 would work. My point is that since MacMini5,1 is not working but was previously, something else happened. I can't boot MacMini5,1 with or without graphics injection.

Again.

 

The question is wrong as it set.

For one CPU/GPU there are several ig-platform-id differrent in connectors. We can't say "MacBook has id bla-bla so I must set the same". 

Mac with the same hardware may have one connector set while your computer has different connectors set.

As well there is no sense to overload Clover with thousands possible configurations. Anyway user should set ig-platform-id manually.

 

This is a sandy bridge, so it should be injected without having to do anything, ig-platform-id has no effect.

Link to comment
Share on other sites

 

 

This is a sandy bridge, so it should be injected without having to do anything, ig-platform-id has no effect.

For sandy it must be "snb-platform-id" so you see in Clover GUI as "*-platform-id" sharing one setting for two different keys.

 

@Sherlocks

I didn't check SetIntelMaxBacklight on my laptop because brightness keys F1/F2 and slider works fine here without any additional efforts. FixIntelGFX=YES, FixPNLF=YES, Inject->Intel=YES

ig-...=1660003 as default. Full folder EFI at link in my signature.

Link to comment
Share on other sites

That's what the log says is injected. And it doesn't work. Plus, that is my device id, so why would I fake it to that? I'm pretty sure it used to inject 0x01268086 though, so maybe I should try that, I just don't have time to keep restarting a million times.... Appears that it's probably not injecting the correct device id. The only mac that has a HD3000 is a MacMini5,1, there are no others, so if it had anything to do with board-id then only MacMini5,1 would work. My point is that since MacMini5,1 is not working but was previously, something else happened. I can't boot MacMini5,1 with or without graphics injection.

This is a sandy bridge, so it should be injected without having to do anything, ig-platform-id has no effect.

 

chris1111, ricoc90
CPU i5-2500k deviceid 0x0112
smbios imac12,1(rico)/imac13,1(chris)
clover default(fakeid 0x0126, platformid 0x10003000)
-result, no problem.
 
apianti
CPU i5-2500k deviceid 0x0112
smbios macmini5,1
clover default(fakeid 0x0126, platformid 0x10003000)
fakeid 0x0112, platformid 0x10003000
-result, problem.
 
 
realmac
CPU i5-2415M deviceid 0x116
smbios macmini5,1
AAPL,snb-platform-id" = <10000300>
"device-id" = <26010000>
 
realmac also use fake id 0x0126. it presents on ioreg
 
macmini5,2 too. but macmini5,2 has external graphic. there is no connector. i checked ioreg
 
macmini5,3(server). it has Core i7 (I7-2635QM)
device id 0x0116
 
i followed realmac and successful report of user.

 

now, remains

fakeid 0x01168086

platformid 0x10000300 on your case.

 

and consider IMEI according to mainboard chipset between 6series/7series

 

EDIT1.

i attached evidence file from realmac macmini5,1

 

For sandy it must be "snb-platform-id" so you see in Clover GUI as "*-platform-id" sharing one setting for two different keys.

 

@Sherlocks

I didn't check SetIntelMaxBacklight on my laptop because brightness keys F1/F2 and slider works fine here without any additional efforts. FixIntelGFX=YES, FixPNLF=YES, Inject->Intel=YES

ig-...=1660003 as default. Full folder EFI at link in my signature.

 

also i don't need this option. i'm using rehabman's PNLF. after i checked this option to check clover option, shown black screen.

i want to know it. on your laptop, disable nvidia gfx, only intel, then check SetIntelMaxBacklight, i wonder result of your laptop.

evidence.zip

Link to comment
Share on other sites

For sandy it must be "snb-platform-id" so you see in Clover GUI as "*-platform-id" sharing one setting for two different keys.

 

lol, slice, I know that. It's the device id that is incorrect or something, as it worked previously and now doesn't. Also, is snb-platform-id is really required? I don't think it was being injected for years and always had acceleration.

 

 

chris1111, ricoc90
CPU i5-2500k deviceid 0x0112
smbios imac12,1(rico)/imac13,1(chris)
clover default(fakeid 0x0126, platformid 0x10003000)
-result, no problem.
 
apianti
CPU i5-2500k deviceid 0x0112
smbios macmini5,1
clover default(fakeid 0x0126, platformid 0x10003000)
fakeid 0x0112, platformid 0x10003000
-result, problem.
 
 
realmac
CPU i5-2415M deviceid 0x116
smbios macmini5,1
AAPL,snb-platform-id" = <10000300>
"device-id" = <26010000>
 
realmac also use fake id 0x0126. it presents on ioreg
 
macmini5,2 too. but macmini5,2 has external graphic. there is no connector. i checked ioreg

 

No, I'm not using fake id, but appears it is not injecting 0126, it is injecting 0112. Which is my actual device id and does not work. So why is it not injecting 0126? Looking through the code looks like it is correct and should be injecting 0126. But if no injection, it's still the same device id, 0112, but it works with like 4MB of video memory. Also like I said, no MacMini5,1 at all, what happened to that?

  • Like 1
Link to comment
Share on other sites

No, I'm not using fake id, but appears it is not injecting 0126, it is injecting 0112. Which is my actual device id and does not work. So why is it not injecting 0126? Looking through the code looks like it is correct and should be injecting 0126. But if no injection, it's still the same device id, 0112, but it works with like 4MB of video memory. Also like I said, no MacMini5,1 at all, what happened to that?

 

So why is it not injecting 0126? Looking through the code looks like it is correct and should be injecting 0126

- yes it's important. you have to check clover log like this

 

4:006  0:000  Intel HD Graphics 520 [8086:1916] :: PciRoot(0x0)\Pci(0x2,0x0)

4:006  0:000    Found Full HD Display - 16:9 :: Width=1920 Height=1080
4:006  0:000    AAPL00,override-no-connect: added
4:006  0:000    Beginning DualLink auto-detection
4:006  0:000    High Resolution Display
4:006  0:000    AAPL00,DualLink = 1
4:006  0:000    FakeID Intel GFX: not set
4:006  0:000    ig-platform-id: not set
4:006  0:000    Beginning Intel GFX auto-detection with ACPI injection
4:006  0:000    Found FakeID Intel GFX = 0x19168086
4:006  0:000    Found ig-platform-id = 0x19160000
 
did you have SSDT injection? or something?
Link to comment
Share on other sites

lol, slice, I know that. It's the device id that is incorrect or something, as it worked previously and now doesn't. Also, is snb-platform-id is really required? I don't think it was being injected for years and always had acceleration.

 

 

No, I'm not using fake id, but appears it is not injecting 0126, it is injecting 0112. Which is my actual device id and does not work. So why is it not injecting 0126? Looking through the code looks like it is correct and should be injecting 0126. But if no injection, it's still the same device id, 0112, but it works with like 4MB of video memory. Also like I said, no MacMini5,1 at all, what happened to that?

 

chris1111, tested device id with macmini5,1

http://www.insanelymac.com/forum/topic/312656-guide-macos-sierra-1012-dell-optiplex-780-760-755-790-990/?p=2549222

 

he booted macmin5,1

device id 0x0116 0x0126

platformid 0x00030010

 

thanks to @chris1111 for testing

 

as result, clover now is no problem for hd 3000 with macmini5,1

clover default

fakeid 0x0126

platformid 0x00030010

  • Like 1
Link to comment
Share on other sites

lol, slice, I know that. It's the device id that is incorrect or something, as it worked previously and now doesn't. Also, is snb-platform-id is really required? I don't think it was being injected for years and always had acceleration.

 

 

I don't know. I had Sandy only desktop VGA devID=102 without any chance to make it working.

GMA950, GMAX3100, Ivy and Skylake worked for me.

 

 

 

as result, clover now is no problem for hd 3000 with macmini5,1

clover default

fakeid 0x0126

platformid 0x00030010

Default should be "no inject". This way Skylake works.

Link to comment
Share on other sites

I don't know. I had Sandy only desktop VGA devID=102 without any chance to make it working.

GMA950, GMAX3100, Ivy and Skylake worked for me.

 

 

Default should be "no inject". This way Skylake works.

Sorry my mistake. Yes. If user check inject intel.

 

 

나의 LG-F800S 의 Tapatalk에서 보냄

 

 

@Slice

i updated PWMMax

Still remains black screen if check SetIntelMaxBacklight. i will check if have a time

 

thanks

Link to comment
Share on other sites

i already had clover boot loader installed on my system but after doing a bios reset my UEFI bios is keep failing to detect my clover boot loader is  i already tried to reinstall my boot loader after booting to OSX using my installer usb stick but its still not showing up in my bios i am not able boot to OSX without the usb stick how can i solve this problem pls someone help me......... :(  :(

Link to comment
Share on other sites

chris1111, tested device id with macmini5,1

http://www.insanelymac.com/forum/topic/312656-guide-macos-sierra-1012-dell-optiplex-780-760-755-790-990/?p=2549222

 

he booted macmin5,1

device id 0x0116 0x0126

platformid 0x00030010

 

thanks to @chris1111 for testing

 

as result, clover now is no problem for hd 3000 with macmini5,1

clover default

fakeid 0x0126

platformid 0x00030010

 

I can't boot MacMini5,1 with or without injection.... My graphics only works in iMac12,1 or iMac12,2 without injection, no accerelation.

 

 

So why is it not injecting 0126? Looking through the code looks like it is correct and should be injecting 0126

- yes it's important. you have to check clover log like this

 

4:006  0:000  Intel HD Graphics 520 [8086:1916] :: PciRoot(0x0)\Pci(0x2,0x0)

4:006  0:000    Found Full HD Display - 16:9 :: Width=1920 Height=1080
4:006  0:000    AAPL00,override-no-connect: added
4:006  0:000    Beginning DualLink auto-detection
4:006  0:000    High Resolution Display
4:006  0:000    AAPL00,DualLink = 1
4:006  0:000    FakeID Intel GFX: not set
4:006  0:000    ig-platform-id: not set
4:006  0:000    Beginning Intel GFX auto-detection with ACPI injection
4:006  0:000    Found FakeID Intel GFX = 0x19168086
4:006  0:000    Found ig-platform-id = 0x19160000
 
did you have SSDT injection? or something?

 

 

Injecting SSDTs but nothing that should affect the graphics. As I said I see this in the log and it is choosing my device id, 0x01128086, not 0x01268086.... I can't see why. There's no obvious reason, the code looks fine. Probably just go back to my radeon....

 

I don't know. I had Sandy only desktop VGA devID=102 without any chance to make it working.

GMA950, GMAX3100, Ivy and Skylake worked for me.

 

Yes but the big difference being that the HD3000 desktop version is not used in any mac. Those probably all have GPUs that are present in a mac, I know the first two for sure, depends on the models of the ivy and skylake.

i already had clover boot loader installed on my system but after doing a bios reset my UEFI bios is keep failing to detect my clover boot loader is  i already tried to reinstall my boot loader after booting to OSX using my installer usb stick but its still not showing up in my bios i am not able boot to OSX without the usb stick how can i solve this problem pls someone help me......... :(  :(

 

You erased your NVRAM so you need to make sure that you are installing \EFI\BOOT\BOOTX64.efi on the ESP of the drive or add a boot entry either through the EFI shell or through linux efibootmgr.

Link to comment
Share on other sites

What are those "Driver-"s?  Something different from booter kexts?

If these entries are present in ioreg, then booter injection was not used.

XNU removes all the "Driver-"-prefixed entries as it loads them.

(I.e. VMware uses direct kext injection at least for modern OS like 10.10+, but probably leaves stuff in chosen for legacy reasons or older OS)

  • Like 1
Link to comment
Share on other sites

@Zenith432,

 

I get bad compiled boot6 and boot7 with gcc7 after your changes to tools_def.txt in commit r4350.  Build parameters:

Build with: [Args: -x64 -D NO_GRUB_DRIVERS_EMBEDDED -D CHECK_FLAGS -D USE_APPLE_HFSPLUS_DRIVER -t GCC53 | -D NO_GRUB_DRIVERS_EMBEDDED -D CHECK_FLAGS -D USE_LOW_EBDA -a X64 -b RELEASE -t GCC53 -n 5 | OS: 10.13.2]

On both my legacy boot machines, the system automatically reboots after "6" or "7" appears on the screen (doesn't even reach Clover GUI). 

 

If I replace boot6 or boot7 compiled with XCODE5, system will boot without issue (even keeping original CLOVERX64/BOOTX64.efi compiled with gcc).  Also r4351 boots normally if I revert to old tools_def.txt and used gcc compiled boot6 or boot7.

  • Like 1
Link to comment
Share on other sites

If these entries are present in ioreg, then booter injection was not used.

XNU removes all the "Driver-"-prefixed entries as it loads them.

(I.e. VMware uses direct kext injection at least for modern OS like 10.10+, but probably leaves stuff in chosen for legacy reasons or older OS)

 

So my memory did not fail me after all. :)

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...