Jump to content

Clover General discussion


ErmaC
30,171 posts in this topic

Recommended Posts

hello clover team.

i always thank your full support for operating os x.

 

i'm a skylake laptop user.

 

but skylake laptop have some issue.

 

that is dvmt issue. dvmt issue can be solved by to change dvmt value in bios or mod bios.

 

but the most of news laptops cant set dmvt value. bios is lock. for example, insydeh20.

 

there is me in case.

 

 

 

can clover bootloader deal with dvmt value?

 

dvmt issue is blow

graphic artifacts in menubar

cursor icon artifact in login window

 

osx need dmvt value 96mb to fix artifacts

but many laptops have dmvt value 32mb.(my case)

 

 

we have to boot window first. then reboot laptop, boot osx. dmvt issue is solved.

 

thanks in advanced

Link to comment
Share on other sites

Hi sherlocks, not sure will work for Skylake too (apparently no reasons for this to not work), but you can try to drop the DMAR table in config.plist:

 

 

post-674334-0-50678900-1464197301_thumb.png

post-674334-0-71360900-1464197312_thumb.png

 

 

Also the dart=0 flag under "Arguments" can be of help.

BTW all that disable DMA support for VM in OSX, otherwise you need to patch the DMAR table (I never seen anyone do it), or a modded IOPCIFamily can help (vtd.c), but this is more difficult I guess ..at least for me  .

 

EDIT 
sorry for my 
misread :P , dvmt has nothing to do with vt-d,looks here:http://www.insanelymac.com/forum/topic/311494-os-x-el-capitan-10114-skylake-intel-hd-graphics-general-discussion/

  • Like 1
Link to comment
Share on other sites

Hi sherlocks, not sure will work for Skylake too (apparently no reasons for this to not work), but you can try to drop the DMAR table in config.plist:

 

 

Also the dart=0 flag under "Arguments" can be of help.

BTW all that disable DMA support for VM in OSX, otherwise you need to patch the DMAR table (I never seen anyone do it), or a modded IOPCIFamily can help (vtd.c), but this is more difficult I guess ..at least for me .

 

EDIT

sorry for my misread , dvmt has nothing to do with vt-d,looks here:http://www.insanelymac.com/forum/topic/311494-os-x-el-capitan-10114-skylake-intel-hd-graphics-general-discussion/

DMAR and dart=0 already i use.

 

I also found something.

 

There is no artifact if i'm in recovery mode

 

나의 LG-F410S 의 Tapatalk에서 보냄

  • Like 1
Link to comment
Share on other sites

DMAR and dart=0 already i use.

 

I also found something.

 

There is no artifact if i'm in recovery mode

 

나의 LG-F410S 의 Tapatalk에서 보냄

The recovery/installer environment doesn't have full QE/CI, only partial (which explains why you aren't getting artifacts).

  • Like 1
Link to comment
Share on other sites

The recovery/installer environment doesn't have full QE/CI, only partial (which explains why you aren't getting artifacts).

Specifically, recovery/install has CI, but not QE.

Link to comment
Share on other sites

Since clover is able to read values from bios and inject modified ones in order to boot Mac OS. Would't it be possible to read that DVMT value, change it and inject the correct value?

Best regards.

Link to comment
Share on other sites

hello clover team.

 

i found bug Asus AICPUPM not work in Snow leopard 10.6.8 on latest clover

i check Asus AICPUPM and boot snow leopard. but AICPUPM panic.

 

Asus AICPUPM is no problem in 10.7~10.11

 

 

/System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement

 

arch: x86_64

 

delta: 11

000000000000846d movw $0x00e2,%cx

000000000000848e wrmsr

 

delta: 4

00000000000088b2 movl $0x000000e2,%ecx

00000000000088c1 wrmsr

 

delta: 4

000000000000896f movl $0x000000e2,%ecx

000000000000897e wrmsr

 

delta: 4

00000000000089dc movl $0x000000e2,%ecx

00000000000089eb wrmsr

 

delta: 4

0000000000008a9f movl $0x000000e2,%ecx

0000000000008aae wrmsr

 

delta: 4

0000000000009949 movl $0x000000e2,%ecx

0000000000009958 wrmsr

 

delta: 4

0000000000009bf0 movl $0x000000e2,%ecx

0000000000009bff wrmsr

 

delta: 11

0000000000009c72 movl $0x000000e2,%ecx

0000000000009c96 wrmsr

 

delta: 4

0000000000010cff movl $0x000000e2,%ecx

0000000000010d0e wrmsr

 

delta: 11

0000000000010d9e movl $0x000000e2,%ecx

0000000000010dc2 wrmsr

 

found wrmsr at 948e, patched

found wrmsr at 98c1, patched

found wrmsr at 997e, patched

found wrmsr at 99eb, patched

found wrmsr at 9aae, patched

found wrmsr at a958, patched

found wrmsr at abff, patched

found wrmsr at ac96, patched

found wrmsr at 11d0e, patched

found wrmsr at 11dc2, patched

wrmsr found: 10

wrmsr ignored: 0

 

arch: i386

 

delta: 3

00008749 movw $0x00e2,%cx

00008752 wrmsr

 

delta: 4

00008a3c movw $0x00e2,%cx

00008a4a wrmsr

 

delta: 4

00008a5d movw $0x00e2,%cx

00008a6b wrmsr

 

delta: 3

00008c06 movl $0x000000e2,%ecx

00008c0f wrmsr

 

delta: 3

00008ca5 movl $0x000000e2,%ecx

00008cae wrmsr

 

delta: 6

00009c1c movl $0x000000e2,%ecx

00009c33 wrmsr

 

delta: 4

00009e79 movl $0x000000e2,%ecx

00009e88 wrmsr

 

delta: 5

00009ecc movl $0x000000e2,%ecx

00009eda wrmsr

 

delta: 4

00011317 movl $0x000000e2,%ecx

00011326 wrmsr

 

delta: 5

00011375 movl $0x000000e2,%ecx

00011383 wrmsr

 

found wrmsr at 34a46, patched

found wrmsr at 34d3e, patched

found wrmsr at 34d5f, patched

found wrmsr at 34f03, patched

found wrmsr at 34fa2, patched

found wrmsr at 35f27, patched

found wrmsr at 3617c, patched

found wrmsr at 361ce, patched

found wrmsr at 3d61a, patched

found wrmsr at 3d677, patched

wrmsr found: 10

wrmsr ignored: 0

 

 

 

 

here is original 10.6.8 AICPUM and patched log

 

then i can boot without AICPUM panic

 

i use this tool

http://olarila.com/forum/viewtopic.php?f=9&t=1003

 

i attached AICPUM file with original and mod

 

 

thanks in advanced

AICPM BUG.zip

Edited by Allan
Spoiler tag - added
Link to comment
Share on other sites

hello clover team.

 

i found bug Asus AICPUPM not work in Snow leopard 10.6.8 on latest clover

I find the patch in Clover works. But you must make sure AppleIntelCPUPowerManagement is in cache. If it loads out-of-cache, Clover can't patch it.

 

Boot without caches, then rebuild cache, then reboot.

Link to comment
Share on other sites

I find the patch in Clover works. But you must make sure AppleIntelCPUPowerManagement is in cache. If it loads out-of-cache, Clover can't patch it.

 

Boot without caches, then rebuild cache, then reboot.

I tested original now.

Its not work for me.

 

I sure that kext utility make cache aicpm.kext

 

But have kp

 

나의 LG-F410S 의 Tapatalk에서 보냄

Link to comment
Share on other sites

use kextcache... Clover can't patch the Extensions.mkext....

I try to without cache and normal boot.

 

Both have kernel panic.

 

I test all options. But have kp

 

You're running 10.6.8 on what CPU?

I5 2450m

 

I can boot with patched AICPM.kext.

 

But vanilla cant boot

 

 

 

나의 LG-F410S 의 Tapatalk에서 보냄

Link to comment
Share on other sites

Try this one:AppleIntelCPUPowerManagement.kext.zip

patched using Clover code ported to a command line, nr 20 Wrmsr found and patched (not only 10).. Is a test, so be sure to boot w/o cache.

 

EDIT

Only 10 occurrences found means probably that Clover has anyway found it in the cache where there is only the load command code for only one arch i.e 32bit or 64bit but not both?

  • Like 1
Link to comment
Share on other sites

Try this one:attachicon.gifAppleIntelCPUPowerManagement.kext.zip

patched using Clover code ported to a command line, nr 20 Wrmsr found and patched (not only 10).. Is a test, so be sure to boot w/o cache.

 

EDIT

Only 10 occurrences found means probably that Clover has anyway found it in the cache where there is only the load command code for only one arch i.e 32bit or 64bit but not both?

 

booted.

 

i setted boot flag arch=x86_64 for x64 boot.

 

rebuild cache and normal boot success

without cache success.

 

also i found new bug.

KextsToPatch patch bug in snow leopard

 

only option"without cache" is apply kext patch.

 

rebuild cache and normal boot cant apply KextsToPatch.

 

i use ssd trim patch.

 

rebuild cache then normal boot. not apply ssd trim patch

post-980913-0-70612300-1464283050_thumb.png

 

 

without cache

post-980913-0-25658500-1464283512_thumb.png

 

add 1// i use latest clover bootloader

Link to comment
Share on other sites

booted.

 

i setted boot flag arch=x86_64 for x64 boot.

 

rebuild cache and normal boot success

without cache success.

 

also i found new bug.

KextsToPatch patch bug in snow leopard

 

only option"without cache" is apply kext patch.

 

rebuild cache and normal boot cant apply KextsToPatch.

 

i use ssd trim patch.

 

rebuild cache then normal boot. not apply ssd trim patch

attachicon.gif1.png

 

 

without cache

attachicon.gif2.png

Your kernel cache is probably not being built correctly... eg not without errors.

 

Make sure you examine the output from kextcache to verify correct/error free cache rebuild.

Link to comment
Share on other sites

Your kernel cache is probably not being built correctly... eg not without errors.

 

Make sure you examine the output from kextcache to verify correct/error free cache rebuild.

I just use kext utility for rebuild cache. Then just reboot.

 

Also when install 10.6.3, have kp like 10.6.8.

 

I use very well osx 10.7~10.11. Everything work except 10.6

 

I5 2450m

Hd3000

Sandisk SSD

ALC270

 

I can use 10.6~10.11

Only problem 10.6

 

 

나의 LG-F410S 의 Tapatalk에서 보냄

Link to comment
Share on other sites

The kext you tried is patched using Clover code, so this patch is working for Snow too.
Repair all permissions using Disk Utility and then "sudo touch /System/Library/Extensions" in Terminal should be enough. I used Snow only few times and as far I remembar Kext Utility also build the Extensions.mkext, if I'm not mistaken not very usefull with Clover because use the one at "/System/Library/Caches/com.apple.kext.caches/Startup/", but this should be up-to-date to be loaded and patched... containing the vanilla AICPM (otherwise if the kext is not linked or is bad.. cannot be patched)

you have to ensure that (also checking the timestamp of it).

Link to comment
Share on other sites

The kext you tried is patched using Clover code, so this patch is working for Snow too.

Repair all permissions using Disk Utility and then "sudo touch /System/Library/Extensions" in Terminal should be enough. I used Snow only few times and as far I remembar Kext Utility also build the Extensions.mkext, if I'm not mistaken not very usefull with Clover because use the one at "/System/Library/Caches/com.apple.kext.caches/Startup/", but this should be up-to-date to be loaded and patched... containing the vanilla AICPM (otherwise if the kext is not linked or is bad.. cannot be patched)

you have to ensure that (also checking the timestamp).

 

i follow your reply. no lucky.

 

same.

  • Like 1
Link to comment
Share on other sites

Something is wrong somewere, but what's the output of 'sudo kextcache -system-prelinked-kernel'   and 'ls -a /System/Library/Extensions' ? 

 

 

 

 

Sherlocks-MacBook-Pro:~ Sherlocks$ sudo kextcache -system-prelinked-kernel
Password:
/System/Library/Extensions/IO80211Family.kext/Contents/PlugIns/AirPortAtheros.kext doesn't support architecture x86_64; omitting from prelinked kernel.
/System/Library/Extensions/IOSerialFamily.kext/Contents/PlugIns/InternalModemSupport.kext doesn't support architecture x86_64; omitting from prelinked kernel.
Sherlocks-MacBook-Pro:~ Sherlocks$ 

Sherlocks-MacBook-Pro:~ Sherlocks$ ls -a /System/Library/Extensions
.
..
ACard6280ATA.kext
ACard62xxM.kext
ACard67162.kext
ACard671xSCSI.kext
ACard6885M.kext
ACard68xxM.kext
ALF.kext
ATI1300Controller.kext
ATI1600Controller.kext
ATI1900Controller.kext
ATI2400Controller.kext
ATI2600Controller.kext
ATI3800Controller.kext
ATI4600Controller.kext
ATI4800Controller.kext
ATI5000Controller.kext
ATI6000Controller.kext
ATIFramebuffer.kext
ATIRadeonX1000.kext
ATIRadeonX1000GA.plugin
ATIRadeonX1000GLDriver.bundle
ATIRadeonX1000VADriver.bundle
ATIRadeonX2000.kext
ATIRadeonX2000GA.plugin
ATIRadeonX2000GLDriver.bundle
ATIRadeonX2000VADriver.bundle
ATIRadeonX3000.kext
ATIRadeonX3000GA.plugin
ATIRadeonX3000GLDriver.bundle
ATIRadeonX3000VADriver.bundle
ATISupport.kext
ATTOCelerityFC.kext
ATTOCelerityFC8.kext
ATTOExpressPCI4.kext
ATTOExpressSASHBA.kext
ATTOExpressSASHBA2.kext
ATTOExpressSASRAID.kext
Accusys6xxxx.kext
Apple16X50Serial.kext
AppleACPIPlatform.kext
AppleAHCIPort.kext
AppleAPIC.kext
AppleBMC.kext
AppleBacklight.kext
AppleBacklightExpert.kext
AppleBluetoothMultitouch.kext
AppleEFIRuntime.kext
AppleFSCompressionTypeZlib.kext
AppleFWAudio.kext
AppleFileSystemDriver.kext
AppleGraphicsControl.kext
AppleGraphicsPowerManagement.kext
AppleHDA270.kext
AppleHIDKeyboard.kext
AppleHIDMouse.kext
AppleHPET.kext
AppleHWSensor.kext
AppleIRController.kext
AppleIntelCPUPowerManagement.kext
AppleIntelCPUPowerManagement.kext.bak
AppleIntelCPUPowerManagementClient.kext
AppleIntelGMA950.kext
AppleIntelGMA950GA.plugin
AppleIntelGMA950GLDriver.bundle
AppleIntelGMA950VADriver.bundle
AppleIntelGMAX3100.kext
AppleIntelGMAX3100FB.kext
AppleIntelGMAX3100GA.plugin
AppleIntelGMAX3100GLDriver.bundle
AppleIntelGMAX3100VADriver.bundle
AppleIntelHDGraphics.kext
AppleIntelHDGraphicsFB.kext
AppleIntelHDGraphicsGA.plugin
AppleIntelHDGraphicsGLDriver.bundle
AppleIntelHDGraphicsVADriver.bundle
AppleIntelIntegratedFramebuffer.kext
AppleIntelSNBGraphicsFB.kext
AppleIntelSNBVA.bundle
AppleKeyswitch.kext
AppleLPC.kext
AppleLSIFusionMPT.kext
AppleMCCSControl.kext
AppleMCEDriver.kext
AppleMCP89RootPortPM.kext
AppleMIDIFWDriver.plugin
AppleMIDIIACDriver.plugin
AppleMIDIRTPDriver.plugin
AppleMIDIUSBDriver.plugin
AppleMatch.kext
AppleMikeyHIDDriver.kext
AppleMobileDevice.kext
AppleMultitouchDriver.kext
AppleOnboardDisplay.kext
ApplePlatformEnabler.kext
AppleProfileFamily.kext
AppleRAID.kext
AppleRAIDCard.kext
AppleRTC.kext
AppleSDXC.kext
AppleSEP.kext
AppleSMBIOS.kext
AppleSMBusController.kext
AppleSMBusPCI.kext
AppleSMC.kext
AppleSMCLMU.kext
AppleSmartBatteryManager.kext
AppleStorageDrivers.kext
AppleThunderboltDPAdapters.kext
AppleThunderboltEDMService.kext
AppleThunderboltNHI.kext
AppleThunderboltPCIAdapters.kext
AppleThunderboltUTDM.kext
AppleTyMCEDriver.kext
AppleUSBAudio.kext
AppleUSBDisplays.kext
AppleUSBEthernetHost.kext
AppleUSBMultitouch.kext
AppleUSBTopCase.kext
AppleUpstreamUserClient.kext
AppleVADriver.bundle
AppleXsanFilter.kext
Apple_iSight.kext
ArcMSR.kext
AudioAUUC.kext
AudioIPCDriver.kext
BJUSBLoad.kext
BootCache.kext
CalDigitHDProDrv.kext
CellPhoneHelper.kext
DSACL.ppp
DSAuth.ppp
DVFamily.bundle
Dont Steal Mac OS X.kext
EAP-KRB.ppp
EAP-RSA.ppp
EAP-TLS.ppp
EPSONUSBPrintClass.kext
GeForce.kext
GeForce7xxxGLDriver.bundle
GeForceGA.plugin
GeForceGLDriver.bundle
GeForceVADriver.bundle
HighPointIOP.kext
HighPointRR.kext
ICAFWKodakProDriver.kext
IO80211Family.kext
IOACPIFamily.kext
IOAHCIFamily.kext
IOATAFamily.kext
IOAudioFamily.kext
IOBDStorageFamily.kext
IOBluetoothFamily.kext
IOBluetoothHIDDriver.kext
IOCDStorageFamily.kext
IODVDStorageFamily.kext
IOFireWireAVC.kext
IOFireWireFamily.kext
IOFireWireIP.kext
IOFireWireSBP2.kext
IOFireWireSerialBusProtocolTransport.kext
IOGraphicsFamily.kext
IOHDIXController.kext
IOHIDFamily.kext
IONDRVSupport.kext
IONetworkingFamily.kext
IOPCIFamily.kext
IOPlatformPluginFamily.kext
IOSCSIArchitectureModelFamily.kext
IOSCSIParallelFamily.kext
IOSMBusFamily.kext
IOSerialFamily.kext
IOStorageFamily.kext
IOStreamFamily.kext
IOSurface.kext
IOThunderboltFamily.kext
IOUSBFamily.kext
IOUSBMassStorageClass.kext
IOVideoFamily.kext
IOath3kfrmwr.kext
ImmersionForceFeedback.kext
JMicronATA.kext
L2TP.ppp
LexmarkUSBMerge.kext
LogitechForceFeedback.kext
NVDANV40Hal.kext
NVDANV50Hal.kext
NVDAResman.kext
NVSMU.kext
OSvKernDSPLib.kext
PPP.kext
PPPSerial.ppp
PPPoE.ppp
PPTP.ppp
PromiseSTEX.kext
Quarantine.kext
Radius.ppp
SM56KUSBAudioFamily.kext
SMARTLib.plugin
SMCMotionSensor.kext
Sandbox.kext
SoftRAID.kext
System.kext
TMSafetyNet.kext
VoodooHDA.kext
autofs.kext
cd9660.kext
cddafs.kext
exfat.kext
hp_Deskjet_io_enabler.kext
hp_Inkjet1_io_enabler.kext
hp_Inkjet3_io_enabler.kext
hp_Inkjet4_io_enabler.kext
hp_Inkjet5_io_enabler.kext
hp_Inkjet8_io_enabler.kext
hp_Inkjet_io_enabler.kext
hp_Laserjet_io_enabler.kext
hp_Officejet_io_enabler.kext
hp_PhotosmartPro_io_enabler.kext
hp_Photosmart_io_enabler.kext
hp_designjet_series.kext
hp_io_printerclassdriver_enabler.kext
hp_qc_io_enabler.kext
iPodDriver.kext
iTunesPhoneDriver.kext
mcxalr.kext
msdosfs.kext
ntfs.kext
smbfs.kext
udf.kext
ufs.kext
webcontentfilter.kext
webdav_fs.kext
Sherlocks-MacBook-Pro:~ Sherlocks$ 

 

 

 

normal boot with clover inject.

 

file://localhost/Volumes/EFI/EFI/CLOVER/kexts/10.6/ACPIBacklight.kext/
file://localhost/Volumes/EFI/EFI/CLOVER/kexts/10.6/ACPIBatteryManager.kext/
file://localhost/Volumes/EFI/EFI/CLOVER/kexts/10.6/FakeSMC.kext/
file://localhost/Volumes/EFI/EFI/CLOVER/kexts/10.6/RealtekRTL8111.kext/
file://localhost/Volumes/EFI/EFI/CLOVER/kexts/10.6/VoodooPS2Controller.kext/
Edited by Micky1979
added spoiler
Link to comment
Share on other sites

Something is wrong somewere, but what's the output of 'sudo kextcache -system-prelinked-kernel[/size]'   and 'ls -a /System/Library/Extensions[/size]' ?

+1

 

@sherlocks,

 

I use Kext Wizard on SL to rebuild cache. Maybe it does something extra. Monitor result in system.log.

 

SL and Clover AsusAICPUPM is working just fine on my Sandy Bridge ProBook 4530s.

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...