Nvidia Graphic Card Injection

Guide moved to new site:

http://www.rampagedev.com/?page_id=276

132 Responses to Nvidia Graphic Card Injection

  1. Pingback: How To Inject Your Nvidia Fermi And Quadro Graphic Card Into A DSDT (Updated 10-1-2012) | rampagedev

  2. Angelo_Nero says:

    This is valid for Notebook with Optimus+Cuda graphics card? I have Intel HD/nVidia GT 540M with 2GB of memory.

  3. Angelo_Nero says:

    Not, i’m not able to switch the Intel GPU off, but i can switch off the nVidia GPU by modded bios. I have setted all and configured all and now i’m able to open dvd player, photoshop and other big programs bro.

  4. Shoxxii says:

    The problem is that i have no PCI1 only PCI0

  5. Pingback: HP EliteBook 8740w - 2 Screens

  6. Mednag says:

    Works great on ga-ex58-ud5 and gtx580-3gb! Any way to modify code to allow PCIe 2.0 speed on Mountain Lion (10.8.2)? Stuck at 1.0 speed.

  7. RickyRoma says:

    I’m about to start this for my GA-Z77X-UP5 TH so that I can use GraphicsEnabler=no with my GTX570. Currently the motherboard doesn’t need a DSDT to run but I figured I’d extract one using the code on your other post. Can you see any potential problems doing this? Might the addition of the DSDT break some things that previously worked?

    Many thanks in advance.

    Rick

      • RickyRoma says:

        I tried, but was a bit unsure what to do with the errors in compile, the resulting DSDT made a KP on reboot.
        I managed to get it working however by using a plist someone had made for a 560ti and created a device-properties string for the org.chameleon.Boot.plist
        Everything was fully working after that… Until I tried the 10.8.3 combo update…
        Have you had any success with the 5xx in 10.8.3?

        thanks

      • rampagedev says:

        All cards work… EFI stings are bad idea…

      • rickyroma says:

        hmm .. couldn’t reply at the bottom for some reason.
        Thanks for the advice about the efi strings, I’ll persevere with the DSDT. I presume errors in compile should not happen and if they do I’ve made an error in the editing? Is that correct?

        Do all cards work fully in 10.8.3? eg, opencl, cuda, and opengl in photoshop / after effects?
        Thanks

      • rampagedev says:

        You are doing something wrong with the edit and to your other question they do work fine.

  8. Goroth says:

    I am running ML with the AsRock Extreme 6 DSDT from your site and when I went to edit the DSDT for PCI0 it had a lot of extra devices such as something with USB anyway I added (copy / pasted) the text required from above and after a reboot I get “System uptime in nanoseconds” hangs. I have tried -x GraphicsEnabler=Yes but it still hangs. I’m going to reinstall but do you have any suggestions why it died?

    • rampagedev says:

      You did not place the edit where the addressing for it was. Follow the IOreg.

      DSDT=No should get you back in.

      • Goroth says:

        I must be missing something here. I open IORegistryEplorer and go to /AppleACPIPlatformExport/PCI… and on my screen there is only one PCIx@x which is PIC0@0. I then open DSDT Editor and look for Device PCI0 on the list to the left. Once I find “Device (PCI0)” I find the last } for “Device (PCI0)” and past the text just before the last }. but if I expand the Device PCI0 on the left I get about 50 other devices under it. Such as PEX0, PEX1, PEX2, SAT0… my guess is that the PEXn are the PCI express ports on my mother board.
        Am I missing a step? Also thanks for the “DSDT=No” tip.

      • rampagedev says:

        PCI0@0 is not PCI0

        Your device is not present in the DSDT so you need to make it. Device (PEGP)
        {
        ADR….

  9. Goroth says:

    Well I think I know when I am in over my head… and I’m in over my head. Based on several forums it looks like I would have to know the address and other information about the video card.. not to mention that I don’t even know where to paste the information even if I had it. Like would it go under Device PCI0 or is it at the same level as the Device (PCI0) in the list? I think I’m going to search the Internet to see if someone already has a DSDT with my Nvidia 570 inside it so I can see the overall layout. Anyway I do thank you for the help and your vanilla DSDT for the AsRock Extreme 6 is working fine for now.

  10. Kosta says:

    Hi,
    I am just trying this guide, but for me it fails at looking up the card. Some help please? Even when searching for GFX, Nvidia, GTX or 580, no results.
    The hardware is a GTX 580 + ASUS P8Z77-V PRO.
    Do I need to install a GFX driver or something for this to work?

  11. Kosta says:

    And now also the shot, forgot it, sorry:

    • rampagedev says:

      Start clean. Change in the DSDT Prior to any edits:

      GFX0 = IGPU
      PEGP = GFX0
      PEG0 = PEGP

      Once you changed the names then the Edit will make sense. Your PEGP really is your GFX0. Common with your brand on MB.

      • Kosta says:

        Sorry, don’t quite get it. Should I physically change ALL the GFX0 to IGPU? And ALL PEGP to GFX0… etc?
        Sorry if this is a stupid question… I’m quite new at DSDT editing, and not a programmer.

      • rampagedev says:

        Yes, Change the names prior to editing the DSDT for the Nvidia card. I do this all the time and I know it will work.

      • Kosta says:

        Ok, to be clear, in my original DSDT.aml, I should find all GFX0 and change them to IGPU. Correct? And then also the rest two.
        I guess the worst thing that can happen is a KP 😉

      • Kosta says:

        Ok did what you said. Replaced all, did the edit, exactly as on the page and still no go, black screen at boot.

      • Kosta says:

        Should I now reboot before making an edit, so the IOReg displays it correctly? Without doing the edit, because right now, I have no idea where really to put the edit in…?

  12. Kosta says:

    Is this how it’s now supposed to be?

    • rampagedev says:

      You need to remove the other GFX0 under PEGP. Thats blocking the code from loading.

      ________________________________

      • Kosta says:

        Alright, thought that might be the issue, however, when I remove it, it says _ADR already exists in the scope.
        I guess the right thing would be to remove the Zero one, and leave the one with Name (_ADR, 0xFFFF)?

        So in the end it looks like this:
        Device (PEGP)
        {
        Name (_ADR, 0x00010000)
        Method (_PRT, 0, NotSerialized)
        {
        If (PICM)
        {
        Return (AR02 ())
        }
        Return (PR02 ())
        }
        Device (GFX0)
        {
        Name (_ADR, 0xFFFF)
        Name (_SUN, One)
        Method (_DSM, 4, NotSerialized)
        {
        Store (Package (0x1E)
        {
        “AAPL,slot-name”,
        “PCI x16”,

  13. Kosta says:

    And success! Thanks for helping me out, much appreciated 😉

  14. hendrikvisage says:

    Thank you

  15. Nathan Tindle says:

    Hello rampagedev

    First of all I would like to say a big thank you for all of you informative info every where on the net. I have been trying for some time to solve an issue with my graphics card not being recognised as being in slot 1 instead of J6B1. I have followed this DSDT edit and now my GTX 560Ti is working without graphics injection from Clover v1888. I have try’d DSDT edit to set PCI root to UID 0
    Device (PCI0)
    {
    Name (_HID, EisaId (“PNP0A08”))
    Name (_CID, EisaId (“PNP0A03”))
    Name (_ADR, Zero)
    Name (_UID, Zero)
    Name (_BBN, Zero)
    But this had no effect, I have try’d using the set PCI root UID 0 in clover but I just can’t seem to get it to work can you help?

  16. Nathan Tindle says:

    Thank you rampage dev and sorry for my slow response have been away and then really busy with work is all working now as I want thanks again

  17. regnaD kciN says:

    going to install a Quadro K-5000 soon. it would rock if both the K-5000 AND Titan will work together.

    • rampagedev says:

      With the K5000 you might be disappointed. Both cards will work side by side. No need for DSDT injection unless you want HDMI audio.

      • regnaD kciN says:

        vendor allowed return of Titan…didn’t want to do it but it wouldn’t work with Adobe AE RayTracing…K5000 isn’t as sexy but it’s compatible.

  18. Hello Rampagedev. I have the GA-Z77-DS3H board, no DSDT required, however, I have a GTX 550ti and would very much like to use the cards HDMI audio output. Using the premade patches on the Gigabyte patch repository I get hdmi audio working great, however it doesnt wake the card properly on sleep. So applying your patch works great to fix the wake from sleep, however, when I use your patch, I dont get HDMI audio output in system preferences. Any help would be fantastic.

  19. I am attempting to do this with a Quadro 4000 (for Mac) but the Displayport does not seem to be working with this edit. Only the DVI is working.

    Should the “@0, Connector-type” be changed to reflect that one of them is a Displayport, not a DVI? Is that even what that portion does?

    Thanks!

    • rampagedev says:

      This code was generated from a Quadro 4000 and works with that card… Only 2 ports on the card work. Thats it and its not a user choice which 2 do.

  20. I am using the Quadro 4000 for Mac from PNY, so it only has two ports. A DVI and a Displayport.

    I take it this was generated from a Quadro 4000 for PC then?

  21. rohit says:

    I have nvidia GT 330 and 10.8.5. before i had 10.7.4 and DSTD for working graphics.
    Now I forgot what changes i made to dsdt.aml with 10.7, it was few years back.
    I upgarded to 10.8 using ur method but i am not getting the graphics acceleration.
    My graphics enabler is No and have no kext with NV in my S/L/E.
    Plz can u guide how to begin with..

  22. Tung says:

    Does it work with Geforce G310M on Sony Vaio VPCS135FG running Marvericks?
    I think this method same at Inject Nvidia from clover bootloader

  23. gabi says:

    hi rampage what method can i use to get full working nvidia gts 450 1 gb in mavericks?¿ thanks good job your wordpress

  24. Matt says:

    Hello Rampage, I have a newly buit system using a Gigabyte Z77X-UP7 core i7 3770k w/ Quadro fx5800 (4gb), as well as a Tesla c1060 (4gb). While my sytemis up, running and functional; the Tesla does not seem to be detected at all, and the Quadro is questionable as to it truly being detected correctly. It says 0mb for graphics memory. These are somewhat older (though still very good) cards; so I thought I would ask if this solution you have shown would work with these cards.

  25. Matt says:

    I tried, I don’t know what your email address is other than generically replying to the wordpress emails.

  26. Matt says:

    Got it. Thank You.

  27. rampagedev says:

    Your trying to do something that is not supported by DSDT editing…

  28. Omar Mostafa says:

    I’ve been trying now for half a day of rebooting and DSDT edits to enable my MSI GTX 560 Ti Hawk edition 1GB to work without GraphicsEnabler=Yes.

    So I have my own edited DSDT for my build which works completely with every component I have and all the features like sleep, wake on ethernet..etc are working too!

    Down here is a copy of my current IOReg and DSDT. In IOReg you’ll see that my edits are visible, that’s why I don’t know what else am I missing or doing wrong!

    IOReg: http://www.mediafire.com/download/7uo9u7n370zd26q/Omar's%20iMac%20IOReg.zip
    DSDT: http://www.mediafire.com/download/uim5jj2051s2sns/DSDT.zip

  29. Omar Mostafa says:

    Disregard my last comment, already got it sorted out, thanks for your awesome guide

  30. Omar Mostafa says:

    What I can’t seem to get sorted out is the Fermi Freeze, I’ve tried all there is everywhere but nothing works for me! Already edited AGPM.kext and I’m on MacPro5,1 and using freezefix app but to no avail!

  31. Sheylan says:

    Hey. I’ve been using your guides to put together my first system. Thanks for all your hard work! I’m trying get my GTS 250 working with DSDT edits. I was sent here by another forum. Would this method also work for my graphics card?

  32. Sheylan says:

    Hey, so much like someone else who commented (Goroth), In my IOregistry it my NVIDIA stuff is located under PCI0x0 and in the DSDT i see what he was reporting under Device (PCI0) which you say means my device is not in the DSDT. My question is would this have anything to do with the fact that my card is reported as unrecognized in the system info? Also, is there anyway to get the device recognized as in another pci slot to avoid programming and coding/ do you have any info on how to do that?

    thanks,
    Sheylan

  33. Juan says:

    Hello, this method works with a gtx760 and Mavericks?. Excellent guide.

  34. Sheylan says:

    Hello, after following your steps my card is reported as “Display 3 MB” in system information. As well it doesn’t seem like QE/CI is enabled either. What would you recommend?

    Thanks

      • Sheylan says:

        I have my ioreg saved, how do I post it here? I saw your post about emailing it too. Would you prefer I email it (if so what email address)?

        Thanks

      • Sheylan says:

        Hello. So I redid everything and now the right information is showing up in the “About This Mac” and “System information” (Your tutorial is awesome). Unfortunately, it still does not seem like the graphics card is fully functional. I still cannot change the resolution of the monitor nor do i see that QE/CI is enabled. What would you recommend from here?

        Thanks!

      • Sheylan says:

        So while I can get this info to show up in system info, would the fact that I’m not getting QE/CI or the ability to change my resolution be related to the fact that I do not have NVDAResman or NVDAResmanTesla kext installed? I can’t boot or install maverick if they’re installed.

  35. Twiebie says:

    Hi,

    I got my GTX580 working with your fix without having to boot with GraphicsEnabler=Yes!
    However wake from sleep isn’t working, the fans and everything spin up but the display stays black and after a few minutes the system reboots itself.

    Did I miss something?

    Thanks for your awesome work!

  36. Melvin Pereira says:

    does tho method work with chimera? my mobo is asus maximus vi extreme. gnu nvidia quadro -600. cpu has intel hd-4000 inbuilt graphics.

  37. mhm says:

    I have a 560ti and lost hdmi video trying to get audio. I had video using GE=Yes before, Used GE=No after this method. Nothing.

  38. mhm says:

    Maybe but I’m only using one dvi and the one hdmi… It’s weird. When I use GE=y even if my second monitor is off, OSX recognizes it, I have to physically unplug it to keep the mouse from going to the turned off screen. Hoping GE=no will help.

  39. Melvin Pereira says:

    sir, my gpu is quadro 600. it has a dual link dvi port and a DP port. DP port is not working with mac but works fine on windows. during mac installation DP port works. but when installation is done and desktop loads DP port goes blank and only dvi port works after that… tried, chimera, clover and chameleon. all give same result. sir do you have any idea what i might be doing wrong or what is actually causing my DP to go off after installation?? im using a distro of mountain lion 10.8.5. is there any way i could get my gpu fully functional coz i neeed dual display or should i opt another gpu?
    my specs are, mobo- asus maximus vi extreme, i7 4770k, quadro 600gpu, antec 550w psu, gskill 20gb ram…
    also i created a dsdt using the script you have provided in your guide to follow with this nv inject guide. but with dsdt editor it gives compilation error…

  40. ginco95 says:

    Can this method fix the nVidia fermi freeze?

  41. dank0 says:

    I have stupid question. I did follow this tutorial. My specs:OS X10.9.1, Asus Rampage Extreme III with two Nvidia GTX 580 (EVGA and ASUS). I added your lines to NPE3 and NPE7 section and change the memory to x60 (both cards have 1.5GB RAM). I compiled the DSDT, get some warnings but no errors. Disabled the g-enabler, put the DSDT.aml to Extras, rebooted and get black screens. What i’m trying to get is that second card showing only 1mb Vram. Is there something else I have to do?

    thanks,
    -D

  42. Joao says:

    rampagedev , I’m using the your tutorial to inject my GTX 590 in my DSDT , But when I try to boot with patched DSDT I get a KP . If you can help me I will make a donation

    My ioreg,DSDT :https://dl.dropboxusercontent.com/u/28558174/Arquivo%20Comprimido.zip

  43. crushers1982 says:

    Why don’t answer me.Whether you want a put DSDT for HD 4000.
    Thanks!!!@rampagedev

  44. Asrul says:

    Please Help Me, I had KP after try your tips. this my DSDT n Ioreg. I have Toshiba Qosmio F60 with CPU i7, GPU Nvidia GT 330M.
    http://www.jilc-makassar.com/wp-content/uploads/2014/03/dsdtioreg.zip

    Thanks before.

  45. Craig Cooper says:

    Will this edit work with a GTX660? Should be working, but using ALC892 patched kext from Toleda, and HDAEnabler1.kext – the only way I can get any sound. Will this patch above work with this card (and my custom DSDT)?

    PS. DSDT may not be being used at this point, need to know the possibility of this working before trying such an edit. Computer works perfectly fine without DSDT (except HDMI).

  46. dmv says:

    Hi there,
    I’m wondering if this workflow might work for my Dell Precision M4600 laptop which has both the Intel HD3000 graphics plus a discrete Nvidia Quadro 1000M (uses optimus switching). The only option in bios is to turn off all optimus functionality, which to my understanding on Dell systems disables the integrated graphics. I have that scenario running and am able to use the Nvidia card (GraphicsEnabler=Yes, Enable Backlight=Yes). However, even though everything seems to work almost perfect in 10.9.4, I am getting some graphic glitchiness (especially when clicking the Launchpad, using Safari, and sometimes just scrolling in windows).

    So I guess my 2 questions are would this possibly work for my system and would it yield any better benefits than what I’m currently seeing?

    Thanks in advance for any assistance!

  47. sonhuynh says:

    Hi, I have an HP Elitebook 8770w with only an Nvidia Quadro K5000M. Been trying to get graphics acceleration to work, but I’m getting nowhere here. I’m using Clover, with Inject NVIDIA and Inject EDID = True. Whenever it loads the NVIDIA kexts, about 3 seconds after that it reboots. With nv_disable=1 I was able to boot into it with no QE/CI. The Nvidia GPU is located at PCI0.PEGP.DGFX of an SSDT. The original GPU’s SSDT.AML file is very buggy ( 26 errors with MacIASL, ACPI 5.0 ). Also tried the Nvidia Web Driver, it glitched and stuck after loading the Nvidia kexts. Can you give me a hint on this ?

  48. Stephen Mengis says:

    So I finally got my second Nvidia GTX 780 card recognized using GraphicsEnabler=yes. however this totally disables HDMI. Now my problem is that I have one monitor on DVI input but the second monitor is not recognized at all (HDMI or DVI). The card in PCI slot 1 is recognized but If I hook anything up to it, the card doesn’t find any monitor. Any suggestions.

  49. javalava1 says:

    Hello Rampagedev

    I am helping to a friend mine for built his first hackintosh with this configuration

    CPU: Intel core 2 Quad 8300
    Motherboard: Asus P5QC with the BIOS updated to last version available
    Graphics Card: XFX nVidia GT 8400 Gs DDR2 512 Mb
    Bootloader: Clover last version
    SMBIOS: Configured as a MacPro 3,1
    O.S.: Mac OS X 10.8.5

    My question is if exists the possibility of get a better performance on the graphic card

    Actually I am using the nVidia injection way Clover

    Thanks in advanced

  50. Jerry says:

    Hi ramapagedev and comunity, I want to connect 2 monitors, work at full capacity but only 1 monitor, when i connect the second monitor via displayport to vga the system crash . (In windows work fine) u think is possible work with Quadro FX 580, osx 10.7.3 with customize DSDT? thank you

Comments are closed.