Contribute
Register

SSDT GPU (Graphics Card) Injection

Status
Not open for further replies.
Hi @shilohh,

I have a build as follow:

GA Z170X Gaming 5 (BIOS F5)
i7-6700K
Nvidia GTX 950 (GA)
Nvme M.2 Samsung 950 Pro

Sysdef is 17,1 . I've followed what you wrote in post #1 and now my GPU is correctly named as GFX1. But still I have a number of problems:

  • Nvidia Drivers are not correctly displayed as loaded
As you can see here:
Screenshot 2016-06-20 14.49.55.png
and every time I reboot I still have that condition, even if I believe that it's only cosmetic because if I make a grep:
Code:
Elektra:~ luca$ kextstat | grep -v com.apple
Index Refs Address            Size       Wired      Name (Version) UUID <Linked Against>
   21    0 0xffffff7f832e0000 0x19000    0x19000    org.netkas.driver.FakeSMC (1406) AC1EC7FF-124C-3D5F-BA3E-E308E73CC39F <11 7 5 4 3 1>
   22    0 0xffffff7f832f9000 0x4000     0x4000     com.rehabman.driver.USBInjectAll (0.5.11) 2D0847A1-02BF-3EA9-8486-9945D4A90979 <12 11 4 3>
   44    0 0xffffff7f832fe000 0x14000    0x14000    com.insanelymac.IntelMausiEthernet (2.1.0) D65691B8-4EB1-3B22-B1B5-5CA5C566935E <43 12 5 4 3 1>
   48    0 0xffffff7f83312000 0xf000     0xf000     com.insanelymac.AtherosE2200Ethernet (2.1.0d1) 23382A11-2CC8-3AB1-8CEA-BE655573C129 <43 12 5 4 3 1>
   54    0 0xffffff7f83321000 0xd000     0xd000     com.MinnowStor.NVMeGeneric (1) 27312503-CF2F-3E2B-8D8D-6E79177410C9 <16 12 5 4 3 1>
   69    0 0xffffff7f80c4e000 0x4000     0x4000     com.intel.driver.EnergyDriver (2.0) 4E0262A2-B79C-3386-8824-C106A5DFAF94 <7 5 4 3>
   90    0 0xffffff7f82958000 0x8000     0x8000     org.tw.CodecCommander (2.6.1) 16263E34-C677-3089-8616-208362A32A86 <77 12 11 4 3 1>
   94    2 0xffffff7f81023000 0x2e0000   0x2e0000   com.nvidia.web.NVDAResmanWeb (10.1.1) 5C094812-86E1-35B5-9B9F-AFD29D97CEC3 <93 89 79 12 7 5 4 3 1>
   96    0 0xffffff7f82773000 0x90000    0x90000    com.nvidia.web.GeForceWeb (10.1.1) 6F661334-6CE9-37F7-B9FD-588B92A022B6 <95 94 89 79 12 7 5 4 3 1>
   97    0 0xffffff7f81312000 0x1fd000   0x1fd000   com.nvidia.web.NVDAGM100HalWeb (10.1.1) 34E2BDF6-C6F1-3C19-A67A-D14DEB85C42B <94 12 4 3>
  106    0 0xffffff7f80ebf000 0x6000     0x6000     com.Cycling74.driver.Soundflower (1.6.7) 3579CD1C-ADE2-32EE-87C0-B8DD7E3A4CBB <77 5 4 3>
  118    0 0xffffff7f80a21000 0x32000    0x32000    com.paragon-software.filesystems.ntfs (187.1.14) E3FE64A5-1590-39BB-9481-A548DC8762F0 <7 5 4 1>
  130    0 0xffffff7f82853000 0x2000     0x2000     com.nvidia.CUDA (1.1.0) 5AFE550D-6361-3897-912D-897C13FF6983 <4 1>

but I still don't understand why it happens and how I can resolve.​
  • Piker's patch for avoiding black screen still needed:
If I don't have this in my config.plist:

Screenshot 2016-06-20 15.17.02.png

I'll get a black screen at booting.
  • I cannot use a multi display configuration:
    • no matter what, if CSM is enable in BIOS, and I attach two monitors at Nvidia card I'll got black screen. I can still attach two of them if I already booted with my main display (warm attach).
    • even if, since El Cap 11.4, HD530 is correctly configured (and I have hw graphic acceleration) when I enable it in BIOS and leave Nvidia as primary display card, I got black screen. Hence I cannot a multi display configuration even using my HD530 put a monitor attached to it.


Here you can find all the files needed for an analysis :

  1. IoReg before and after GPU's injection.
  2. Clover config.
  3. Origin ACPI files including DSDT.
  4. patched SSDTs.
Any help will be very much appreciated. Thank you! :)
 

Attachments

  • Lucas.zip
    5 MB · Views: 143
I've gone through all of the steps properly (I think) in this solution after trying some of the other solutions out there, like running a script and terminal commands from other threads about the black screen at login issue. I managed to change the name to GFX1, but I'm still getting no video out of my EVGA 980ti sc via display port (or other ports)
Kind of lost as to where I'm messing up, so any advice would be greatly appreciated. The card is working in Premiere with CUDA, and for now I did a band aid solution of putting in an older 7970 into the system to drive 2 of my 3 displays (the third is via the built in GPU

I've attached a screenshot from IORegistry explorer, my patched SSDT files (the other is for USB)
My congfig.plist file, DDST & IoReg file. (happy to post anything else that might be helpful as well)

Seems like I'm almost there, but am missing something obvious. Thanks for reading :)

System def- 17,1
Gigabyte z170x ud5-th
Skylake 6600k
EVGA 980ti sc
Up to date nvidia web driver, that stays on web driver on reboots
OSX 10.11.5

Screenshot 2016-07-09 21.01.54.png
Screenshot 2016-07-09 20.53.48.png
Screenshot 2016-07-09 21.01.54.png Screenshot 2016-07-09 20.53.48.png Screenshot 2016-07-09 21.01.54.png
Screenshot 2016-07-09 23.07.54.png
 

Attachments

  • config.plist
    5.8 KB · Views: 181
  • SSDT-1.aml
    375 bytes · Views: 180
  • SSDT-2.aml
    966 bytes · Views: 146
  • Joe’s iMac.ioreg
    17.5 MB · Views: 137
  • DSDT.aml
    138.9 KB · Views: 165
Last edited:
...
for now I did a band aid solution of putting in an older 7970 into the system to drive 2 of my 3 displays (the third is via the built in GPU
...

System def- 17,1
Gigabyte z170x ud5-th
Skylake 6600k
EVGA 980ti sc
Up to date nvidia web driver, that stays on web driver on reboots
OSX 10.11.5
What did you do to get the NVIDIA control panel to show web driver on reboots? I had to use the Clover installer:
#907

Also, interesting that you have AMD and Intel graphics working simultaneously. I have yet to be able to do that with NVIDIA.
 
What did you do to get the NVIDIA control panel to show web driver on reboots? I had to use the Clover installer:
#907

Also, interesting that you have AMD and Intel graphics working simultaneously. I have yet to be able to do that with NVIDIA.

Some boards natively support NVRAM in OS X and you do not need to do anything. MSI Z97 boards are an example of that. Some boards do not support it natively and you must install EmuVariableUefi-64, sometimes the rc scripts as well. Gigabyte 100 series boards are an example of that.

Type this in terminal: sudo nvram boot-args="nvda_drv=1". Then reboot, and type this in: sudo nvram boot-args. If it returns an error, NVRAM is not working and it will always show the OS X Default drivers as being active in the driver manager.

For Nvidia and Intel graphics working at the same time you must inject Intel, set the proper ig-platform-id, and set IGP as primary in bios. If only using one monitor, you have to plug it into your board.
 
Last edited:
What did you do to get the NVIDIA control panel to show web driver on reboots? I had to use the Clover installer:
#907

Also, interesting that you have AMD and Intel graphics working simultaneously. I have yet to be able to do that with NVIDIA.
As slim jim noted, I used Clover installer to install EmuVariableUefi-64 and the rc scripts to get NVRAM going. Very appreciative of this community.

In so far as getting AMD 7970, Intel 530 and Nvidia 980ti (almost) working- I'm injecting Intel, setting IGPU to primary in Bios. I have the 980ti in pci slot 1, and 7970 in slot 4. If I can sort out the video coming out of the 980ti then my system will be complete for now. I am successfully running to three displays, one from the IGPU via hdmi @ 1080p/60hz, one from the 7970 @ 2160p/60hz via display port and the active dp to hdmi2 adapter from club 3d (that I had to update the firmware on in windows to get it to output 60hz/UHD) and the third monitor via DVI from the 7970 at 1080p/60hz. UHD/60hz has a slight stutter to it with the 7970, that I'm hoping won't be there when I manage to get the 980ti to output video if I'm lucky.
 
Last edited:
How can I find the GPU location with a black screen?
the computer is active, I can acces to the files but not the Sharing screen!
I have 3 GTX 980 ti, only the 5th Pci is working with 1 Gpu! If I connect the three cards, its always black.
 
How can I find the GPU location with a black screen?
the computer is active, I can acces to the files but not the Sharing screen!
I have 3 GTX 980 ti, only the 5th Pci is working with 1 Gpu! If I connect the three cards, its always black.

You have to enable Screen Sharing. It's probably the first thing you should do after installing Mac OS X on a Hackintosh. Boot so the Hackintosh does not give a black screen (use internal graphics or one GPU or whatever), enable Screen Sharing in Sharing preferences panel. Then boot with the setup you want.

If you can't get the Hackintosh to boot with a working screen at all, then maybe there's a way to enable screen sharing by editing files with file sharing, but I don't know how.

As a last resort, you can press Command-Shift-3 to take a screen shot, view the screen shot on another computer to see where you're at. If you're not in the Finder, then press Command-Tab until you are. In the Finder, type Command-Shift-A to go to the Apps folder. Type System to select System Preferences.app. Type Command-Down Arrow to open the app. Press Tab to move the cursor to the Search check box. Type Sharing to select Sharing. Press Return to open Sharing. Use the mouse to click the Screen Sharing check box. For each step, press Command-Shift-3 to make sure you're where you expect to be.
 
the screen sharing is active but, I can't get access with an another mac, I suspect an issue with the PCI than a simple black screen.
It's a very complicated MB!
ASUS Z9PE-D8 WS
2X Xeon E5 2670 v1
3X GTX 980 ti


My idea is connected the 3 GPUs and get the location of them with the IOService file.
BUt I don't know how I can do that with a black screen without screen sharing.
Edit: It's not responsive, I can not create folder nor screenshots! :/
 
Last edited:
the screen sharing is active but, I can't get access with an another mac, I suspect an issue with the PCI than a simple black screen.
It's a very complicated MB!
ASUS Z9PE-D8 WS
2X Xeon E5 2670 v1
3X GTX 980 ti


My idea is connected the 3 GPUs and get the location of them with the IOService file.
BUt I don't know how I can do that with a black screen without screen sharing.
Edit: It's not responsive, I can not create folder nor screenshots! :/
Does the keyboard capslock key light up when you press it? Move the keyboard to a different USB port until it does?
If file sharing works, then at least the computer is not hanged.
 
It's not working, but with the argument nv_disable=true, I can acces to the desktop and I made a discovery, it change the name of the display, before was NPX3 now is NPE7.
With the patch, it rename GFX1, but still black screen not responsive...
 
Status
Not open for further replies.
Back
Top