oldnapalm Posted June 15, 2011 Share Posted June 15, 2011 Many people ask about kexts for nVidia video cards, the answer is they are already there, they're part of Mac OS X. The problem is they were not loaded because the card was not recognized. In order for it to be recognized, we have to inject some properties in the device tree. The Chameleon bootloader does that automatically for many cards, you just have to enable the GraphicsEnabler option and configure the PciRoot (only if it's not zero). In the file org.chameleon.Boot.plist <key>GraphicsEnabler</key> <string>Yes</string> <key>PciRoot</key> <string>1</string>  To find the correct PciRoot value, run in terminal ioreg -l | grep -15 "AppleACPIPCI\ " | grep UID  You can use the app Chameleon Wizard http://Olarila.com/forum/viewtopic.php?f=9&t=398 There are kexts for that (NVenabler, NVinject, EvoEnabler, among others) but they do exactly the same thing, inject properties, they are not the drivers themselves. http://www.projectosx.com/forum/index.php?showtopic=370 It's also possible to pass the properties manually to Chameleon. In the file org.chameleon.Boot.plist <key>device-properties</key> <string>[hexadecimal EFI string]</string>  To get the currently injected properties you can use the command ioreg -lw0 -p IODeviceTree -n efi -r -x | grep device-properties | sed 's/.*<//;s/>.*//;' > device-properties.hex  To convert the file device-properties.hex (hexadecimal EFI string) to plist (property list file) you can use GFXUtil (http://forum.netkas.org/index.php?topic=64.0) gfxutil -s -n -i hex -o xml device-properties.hex device-properties.plist  You can also use OSX86Tools (http://code.google.com/p/osx86tools/). OSX86Tools can be also used to generate an EFI string. Another way to inject the properties is by DSDT, check this topic http://Olarila.com/forum/viewtopic.php?f=19&t=609 For some cards it may be necessary to insert its device ID into the file Info.plist of kexts NVDAResman, NVDANV40Hal (series 6xxx and 7xxx), NVDANV50Hal (series 8xxx and up) and NVDAGF100Hal (series 4xx and up). Edit the file Info.plist and insert the ID of your card (0xDeviceIDVendorID) into key IOPCIPrimaryMatch or IOPCIMatch IOPCIPrimaryMatch 0x[color=#FF0000]06e4[/color][color=#008000]10de[/color]  How to find the device ID http://Olarila.com/forum/viewtopic.php?f=18&t=63 How to edit Info.plist http://Olarila.com/forum/viewtopic.php?f=18&t=1704 Quote Link to comment Share on other sites More sharing options...
Happy Hackintosh Posted August 19, 2012 Share Posted August 19, 2012 Perhaps there is hope for non nVidia configurations with Mountain Lion BLACK SCREEN DISEASE? Hope you have some suggestions. For my GA-P55a-UD3 V2/ i5-650/OCZ Agility 3 240GB SSD/8GB RAM/MSI r5770 video card connected to a Dell 2311H monitor via DVI After installing 10.8 on my SSD, rebooting and going to my SSD using Chameleon Screen [Lion also installed on same PC] I have the old "black screen" problem. I have tried: pcirootuid=0 -x and graphicsenabler=no flags. I have also tried connecting to another lower res monitor via VGA. Among the error messages is the "mach 0 file has bad magic number" string display. [see detail below in code section] I get an automatic return to Chameleon screen then. Verbose hasn't helped. I get the rapidly scrolling white on green BG text. Never get to the white on black text scrolls. [an new idea - maybe I can make movie of it for analysis] Â Series of reads of HFS+ files ... hd91,20/Lbrary/Preferences/System Configurations/com. rest of line cut off hd91,20/system/Library/Core Services/SystemVersion/ rest of line cut off Loading Darwin 10.8 Loading Kernel mach_kernel Read HFS+ [hd(1,2)/mach_kernel] ... mach 0 file has bad magic number Quote GA-P55a-UD3 V2, intel i5-650, 8GB OCZ3G1333LV2G DDR3 memory, Radeon MSI-r5770, OCZ 700w PSU, OSX 10.7.4 on 1TB HDD, Dell DELL U2311H via DVI. Trying to install 10.8 on OCZ Agility 3-240GB SSD using same setup Link to comment Share on other sites More sharing options...
oldnapalm Posted August 20, 2012 Author Share Posted August 20, 2012 There's a topic about ATI graphics, please post there http://Olarila.com/forum/viewtopic.php?f=18&t=736 Â Among the error messages is the "mach 0 file has bad magic number" string display. This is usually caused by corrupted files. Quote Link to comment Share on other sites More sharing options...
Happy Hackintosh Posted August 22, 2012 Share Posted August 22, 2012 This is usually caused by corrupted files. The install is on a 240GB SSD that has just been formatted to GUID, Mac OS Extended (Journaled) Disk Utility says SMART has been "VERIFIED". Any thoughts about alternate cause of magic number violation or any fix? Is there any sw that I can check for corruption and believe the answer? I'll study the info on ATI cards. Thanks very much for pointing me there. Quote GA-P55a-UD3 V2, intel i5-650, 8GB OCZ3G1333LV2G DDR3 memory, Radeon MSI-r5770, OCZ 700w PSU, OSX 10.7.4 on 1TB HDD, Dell DELL U2311H via DVI. Trying to install 10.8 on OCZ Agility 3-240GB SSD using same setup Link to comment Share on other sites More sharing options...
mavvert Posted September 5, 2012 Share Posted September 5, 2012 When I removed arch=i386 from my org.chameleon.boot.plist the "mach 0 file has bad magic number" error no longer appeared. Quote Link to comment Share on other sites More sharing options...
jl4c Posted March 25, 2013 Share Posted March 25, 2013 Hi guys, To install ML on my laptop, i had to remove all nvidia kext from the installer and system, now i have only one resolution (1024x768) and no QE/CI. If i restore them, i get blank screen. I think patch some kext but i dont know how. What can i do? Gracias DSDT.zip DarwinDumper_2.6.9_Chameleon_2.2_ML_roxana.7z Quote Link to comment Share on other sites More sharing options...
artur-pt Posted March 25, 2013 Share Posted March 25, 2013 hello how to you are in the guide.. must read and apply good hack Quote PB Easy Note TM 86 - i5 430 M - H55M - Ram - 6 GB - Alc272 - Radeon HD 5470 512 QE/CI Lenovo G500 - i5 3230m - HM77 - Ram - 8 GB - Conexant audio - HD 4000 My OS X Files Link to comment Share on other sites More sharing options...
jl4c Posted March 26, 2013 Share Posted March 26, 2013 Hi artur, well, i made a new installation on this laptop. Let me explain the new situation; after the new install i have full resolution with QE/CI but ONLY on an external display (HDMI). The internal display is always black I read a lot about this but i haven't found nothing. Do you know some solution for this? Muchas gracias artur Quote Link to comment Share on other sites More sharing options...
artur-pt Posted March 26, 2013 Share Posted March 26, 2013 hello use system info and post a picture of the result u intel hd is not reconized by the system ? http://Olarila.com/forum/viewtopic.php?f=18&t=63 if it works in external the signal is send to external port... and send again darwin dumper with working external display to see what kext are loaded update in u profile signature u hardware.. sony so many problems in hack... good hack Quote PB Easy Note TM 86 - i5 430 M - H55M - Ram - 6 GB - Alc272 - Radeon HD 5470 512 QE/CI Lenovo G500 - i5 3230m - HM77 - Ram - 8 GB - Conexant audio - HD 4000 My OS X Files Link to comment Share on other sites More sharing options...
jl4c Posted March 27, 2013 Share Posted March 27, 2013 (edited) artur, this is the info: Gracias DarwinDumperReports.7z jl4c.7z Edited March 27, 2013 by Guest Quote Link to comment Share on other sites More sharing options...
jl4c Posted March 27, 2013 Share Posted March 27, 2013 Here is the internal EDID extracted with windows EDID-Internal_Display.7z Quote Link to comment Share on other sites More sharing options...
artur-pt Posted March 28, 2013 Share Posted March 28, 2013 hello about u problem .. maybe a sony problem.. several sony have problems with graphics... it can be also a edid problem, what is injected to mac os x from u display , he don't understand... that is my problem with my graphics.. only when injected the correct edid ... voila graphics works... if u can try my forced edid is in my signature myosxfiles we only can show some ways to get the graphics working... nvidia generally editing the kext ... and it work... like u say it's working in external display... is not a grateful work ... but only with that particularly note ... can have any advances.. must test , googling about the problem and never give up... my graphics take 6 months to work... good hack Quote PB Easy Note TM 86 - i5 430 M - H55M - Ram - 6 GB - Alc272 - Radeon HD 5470 512 QE/CI Lenovo G500 - i5 3230m - HM77 - Ram - 8 GB - Conexant audio - HD 4000 My OS X Files Link to comment Share on other sites More sharing options...
jl4c Posted March 28, 2013 Share Posted March 28, 2013 Thanks artur, how can i inject my EDID. i've extracted from windows but i don't know how to do it. Quote Link to comment Share on other sites More sharing options...
pernacabeluda Posted March 28, 2013 Share Posted March 28, 2013 Check this topic, I guess the procedure for EDID injection is the same http://Olarila.com/forum/viewtopic.php?f=28&t=736 Quote -Donations- PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3 PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com Premium Users HERE - Problems with Paypal HERE Link to comment Share on other sites More sharing options...
jl4c Posted March 28, 2013 Share Posted March 28, 2013 Check this topic, I guess the procedure for EDID injection is the same http://Olarila.com/forum/viewtopic.php?f=28&t=736 Thanks, but doesn't work. The internal display isn't detected (you can check this in IOReg). I don't know what to do Thanks you all guys. Quote Link to comment Share on other sites More sharing options...
grml4d Posted November 4, 2015 Share Posted November 4, 2015 i installed the os x 10.11 without any problem nor special parameter , but with reboot the display stays black.... my card is a nvidia gt230 . Quote Link to comment Share on other sites More sharing options...
pernacabeluda Posted November 4, 2015 Share Posted November 4, 2015 What SMBIOS are you using? Try using a Board-ID listed in /System/Library/Extensions/AppleGraphicsControl.kext/Contents/PlugIns/AppleGraphicsDevicePolicy.kext/Contents/Info.plist Quote -Donations- PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3 PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com Premium Users HERE - Problems with Paypal HERE Link to comment Share on other sites More sharing options...
grml4d Posted November 4, 2015 Share Posted November 4, 2015 how should i use it with chameleon ? anther question is about boot settings that are already applied : -v -npci=0x2000....... that i read , what file has them in the raw image ? your image for image is cool but tailored for an average pc...and in my case does not work..so i ll try to edit it a little i read a lot of forum today , i understood few things , the first being that i need a working "HackingTosh" ["8 to create the usb for install for others computers . i started to get "Niresh Mavericks 10.9" that should install well . then will try "unishit + multishit" with files coming from http://www.rampagedev.com is it the right path ? Quote Link to comment Share on other sites More sharing options...
RobertMoon1211 Posted July 19, 2016 Share Posted July 19, 2016 Thanks a lot for sharing this great information, really I needed something like this, you have really helped me out a great deal, may God reward you for helping out others in need. Quote http://www.dojobsonline.com/ Link to comment Share on other sites More sharing options...