Contribute
Register

CVMComplier crashing 10.10.1 HD4400

Status
Not open for further replies.
Joined
May 23, 2011
Messages
248
Motherboard
Lenovo T440S / Toshiba X205-SLI6 / Toshiba C850 / Dell T110 / Lenovo T410 / MP3,1 / MBP4,1
CPU
i5 4300U / T9300 / i3 3110M / 8x 2.8Ghz Xeon / i5 560m / 8x 3.2Ghz X5482 / T9300
Graphics
HD4400 / 2x 8600M GT / Intel HD4000 / Intel IronLake / HD5770 / 8800GT & GTX650 / 8600M GT
Mac
  1. MacBook Pro
  2. Mac Pro
Classic Mac
  1. eMac
Mobile Phone
  1. iOS
So I tried to use PhotoBooth and Preview and now I'm seeing CVMCompiler crashing constantly and these apps don't work.

This is on the T440s with the HD4400 graphics.
Booting with UEFI Only + CSM enabled.
"Clover rev 3021 on Lenovo EFI"
Code:
0:111  0:008  KextsToPatch: 4 requested
0:115  0:003  KextToPatch 0: IOGraphicsFamily (Second Stage Patch 1) Kext bin patch, data len: 5
0:127  0:012  KextToPatch 1: AppleIntelFramebufferAzul (0x0a260006 9MB cursor bytes patch) Kext bin patch, data len: 20
0:140  0:013  KextToPatch 2: IOGraphicsFamily (Second Stage Patch 2) Kext bin patch, data len: 5
0:152  0:011  KextToPatch 3: IOAHCIBlockStorage (Enable TRIM for SSD) Kext bin patch, data len: 11

Patched:
Code:
Eriks-MacBook-Air:~ erikweiman$ md5 /System/Library/Frameworks/OpenCL.framework/Libraries/libCLVMIGILPlugin.dylib
MD5 (/System/Library/Frameworks/OpenCL.framework/Libraries/libCLVMIGILPlugin.dylib) = 788b91f0bb13c2114133175d980b47ab

Original:
Code:
Eriks-MacBook-Air:Libraries erikweiman$ md5 libCLVMIGILPlugin.dylib.bak
MD5 (libCLVMIGILPlugin.dylib.bak) = 6d325a0b3785e82b8074fb8f64005fdd

While compiling the data for this thread I noticed that the patch may be invalid... the "x" isn't being escaped in the perl command for the HD4400 like it is for the HD4600:

Intel HD4400 Mobile

For Intel HD4400 (8086:0a16) execute the following command (Credits vbo):
Code:
# Patch libCLVMIGILPlugin for HD4400 OpenCL / OpenGL
sudo perl -i.bak -pe 's|([xFFxFCx3D])x86x80x12x04|$1x86x80x16x0A|sg' /System/Library/Frameworks/OpenCL.framework/Libraries/libCLVMIGILPlugin.dylib

sudo codesign -f -s - /System/Library/Frameworks/OpenCL.framework/Libraries/libCLVMIGILPlugin.dylib

Intel HD4600 Mobile

For Intel HD4600 (8086:0416) execute the following command:
Code:
# Patch libCLVMIGILPlugin for HD4600 OpenCL / OpenGL
sudo perl -i.bak -pe 's|([\xFF\xFC\x3D])\x86\x80\x12\x04|$1\x86\x80\x16\x04|sg' /System/Library/Frameworks/OpenCL.framework/Libraries/libCLVMIGILPlugin.dylib

sudo codesign -f -s - /System/Library/Frameworks/OpenCL.framework/Libraries/libCLVMIGILPlugin.dylib

So I'm going to try running this after I restore the original dylib file and report back:

Code:
# Patch libCLVMIGILPlugin for HD4400 OpenCL / OpenGL
sudo perl -i.bak -pe 's|([\xFF\xFC\x3D])\x86\x80\x12\x04|$1\x86\x80\x16\x0A|sg' /System/Library/Frameworks/OpenCL.framework/Libraries/libCLVMIGILPlugin.dylib

sudo codesign -f -s - /System/Library/Frameworks/OpenCL.framework/Libraries/libCLVMIGILPlugin.dylib
 

Attachments

  • Erik’s MacBook Air.ioreg
    1.5 MB · Views: 116
  • config.plist
    5.6 KB · Views: 213
  • SSDT.aml
    1.6 KB · Views: 152
  • DSDT.aml
    71.8 KB · Views: 123
That seems to have fixed it...

I guess this thread could have been inside the HD4400/HD4600 issues thread instead ...

The Perl patch isn't correct and if you've used it already you have to restore to the backup file and then properly re-patch it.
 
Somehow the guide thread 1st post got corrupted. I am sure the hex escaping was there before.

Its fixed now.
 
Status
Not open for further replies.
Back
Top