Jump to content



Member Since 05 Dec 2005
Offline Last Active Today, 12:35 AM

Posts I've Made

In Topic: Opcode Emulator (OPEMU) Plug-in Project

16 November 2017 - 10:18 PM

What opcodes does it emulate? Missing ones from modern CPUs?


I want to make AVX / AVX2 128/256-bit emulator
But I don't know how to add 256bit ymm register

In Topic: Lilu — kext and process patcher

11 November 2017 - 11:55 PM


These are separate issues, and I am not positive GLD bundle actually uses those instructions if they are unavailable.

However, you should be able to write a plugin that wraps (check KernelPatcher::routeFunction) kernel_trap/user_trap functions and handles the invalid opcode exceptions in a similar way it is done in a custom kernel. While there is no way to patch it up for early boot and several kexts, most of userspace and kexts will be just fine.

I believe such a plugin would be a very clever and reasonable use of Lilu abilities, and am definitely looking forward to see it. Hopefully the speed won't be too bad.



If use a binary patch
How to patch "Intel GPU acceleration DRM key / certificate handling code" ?

In Topic: Lilu — kext and process patcher

11 November 2017 - 10:10 PM

The crash is caused by a memory corruption in Intel GPU acceleration DRM key/certificate handling code. Therefore, only Ivy+ GPUs are affected.


Intel Haswell Celeron Pentium too
At 10.12.x / 10.13.x I found that Intel GLDriver (AppleIntelHD5000GraphicsGLDriver.bundle) contains a large number of VEX BMI2 Instruction Set 128-bit Version
The Intel Celeron Pentium does not support the AVX/AVX2/BMI2 instruction set 
Although I've probably done OPEMU AVX addressing mode, But I do not want to recompile Kernel, Because Intel needs XCPM.
Hope this OPEMU can be achieved in Lilu above.

In Topic: AMD High Sierra Kernel Release and Testing

09 November 2017 - 01:10 AM

MetalDevice for accelerator(0x325f): 0x7fb18fc27fe8 (MTLDevice: 0x0)
Assertion failed: (0 && "Attempting to get MTLTexture with no MTLDevice"), function GetMTLTexture, file /BuildRoot/Library/Caches/com.apple.xbs/Sources/CoreDisplay/CoreDisplay-81.5/CoreDisplay/Display/DisplaySurface.mm, line 498.

Your graphics card simply can not be driven on OS X 10.13
OS X 10.13 does not support your video card
The new version of OS X will continue to eliminate the old graphics support
You may need reference nvidia driver development document And nvidia driver binary patch

In Topic: AMD High Sierra Kernel Release and Testing

08 November 2017 - 09:36 PM

Yeah but what does it mean? I see that symbol inside loginwindow but where isn't it found? Would it be possible to declare it in the kernel?


You are using the old Version OS X nvidia kext driver?

© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy