Contribute
Register

Solving NVIDIA Driver Install & Loading Problems

so i had problem #4, where after boot, my video card (GT630) would not output a video signal. i edited the .kext for a 6,1 system profile and upon rebooting, got:

boot0: GPT
boot0: test
boot0: test
boot0: done
boot1: error

what does this mean? is there any hope for me?

sincerely, someone without a clue

There is zero reason for you to use MacPro6,1. For your build I would just use iMac14,2.

Now, that error you are seeing is the 4K sector boot error.
 
I was having the same problem but I totally forgot about repairing permissions for the modified kexts.
Run the following commands in the Terminal after modifying the kext(s):

chmod -R 755 /System/Library/Extensions/*
chown -R root:wheel /System/Library/Extensions/*
chown root:admin /
kextcache -system-prelinked-kernel
kextcache -system-caches

And restart your system.


Hi, After changing my Mac profile back to 6,1 I tried running the first chmod command and I get a long string of errors which say:
chmod: Unable to change file mode on /System/Library/Extensions/webdav_fs.kext/Contents/version.plist: Operation not permitted
for all the kexts. What can I do to enable write permissions to the kexts? Thank you.
 
Hi, After changing my Mac profile back to 6,1 I tried running the first chmod command and I get a long string of errors which say:
chmod: Unable to change file mode on /System/Library/Extensions/webdav_fs.kext/Contents/version.plist: Operation not permitted
for all the kexts. What can I do to enable write permissions to the kexts? Thank you.

In El Capitan you have to disable SIP.
 
Do you think changing the graphics card for a Gt 740 would help at all?
Honestly not sure. I don't have a Skylake system or a GT 740 to test with. Some GT 740s do require the web drivers though. Typically those with GDDR5 memory. You might be better off with a 760 but no guarantees.
 
----------------------------
NEWS: As of the 10.10.5 driver there are no longer the checks in the distribution file for system profile and if the hardware is installed. It only checks for the OS X build number. This makes problems 1 and 3 obsolete.
----------------------------

This is a guide to help solve issues when trying to install the NVIDIA web drivers for the first time. There are various reasons why they won't install due to checks in the package file. This also covers a few issues where the drivers won't load after an OS update or the boot results in a black screen.

Misconceptions:

You must use a MacPro3,1/4,1/5,1 profile to use the drivers - While the package does a check for those three systems, the drivers will run just fine on any system definition (iMac15,1 iMac17, and MacPro6,1 are a special case, see problem #4). iMac14,2 is generally the most compatible with modern systems.

CUDA is the same as the Web Driver - CUDA and the Web Driver are not the same thing and have very different functions. CUDA is a graphics library to enable computation or rendering in certain software using the GPU. Installing CUDA will not make a Maxwell card work, you must install the Web Driver to make it work. CUDA can be installed and used on ANY mac with an NVIDIA GPU even if the Web Drivers are not installed.​

----------------------------

Problem 1: Computer not supported error
This is caused by the system definition not being MacPro3,1/4,1/5,1.


Fix: Edit the "Distribution" file within the package using the Flat Package Editor.

  1. Download the Flat Package Editor (FPE) from Apple: https://developer.apple.com/downloads/index.action
  2. Login and search for "Auxillary Tools"
  3. Download the "Late July 2012" dmg
  4. Mount the dmg and right click Package Maker to show the package contents
  5. Browse to /Contents/Resources and copy the FPE to your Applications or Utilities folder
  6. Open the NVIDIA Web Driver package using the Flat Package Editor
  7. Drag the Distribution file to your desktop
  8. Open the Distribution file using TextEdit
  9. Scroll down to the line: var system_models = ["MacPro3,1", "MacPro4,1", "MacPro5,1"];
  10. Add your system ID.
  11. Make sure that you don't use smart quotes which look like italicized quotation marks.
  12. Save the Distribution file
  13. Go back to FPE and delete the Distribution file from that window
  14. Drag the edited Distribution file to the FPE window and save the package, command+S
  15. Run the package and you shouldn't get the error.
NOTE: Once the drivers are installed this doesn't matter anymore and you can use any system definition you like and it will update fine.​

----------------------------

Problem 2: This version OS X is not supported
This is caused by having the wrong driver for your installed build of OS X.


Fix: Find out your build number and then get the right driver.

  1. Open up About This Mac
  2. Click where it says 10.10.2 or 10.10.1, etc.
  3. This will display your build number
  4. Download the right driver for your build:


----------------------------

Problem 3: Have to install the web drivers without the NVIDIA GPU installed
Sometimes the system won't boot when the GPU is installed but there aren't any drivers so you have to use the integrated graphics. The problem is the drivers won't install when there isn't a NVIDIA GPU installed.

Fix: Modify the package to remove the GPU hardware check

  1. Obtain the Flat Package Editor (FPE) as described in Problem 1 fix steps 1-5
  2. Open the driver package using FPE
  3. Drag the Distribution file from FPE to your desktop
  4. Open the Distribution file using TextEdit
  5. Find this line and change the 0 to a 1
    View attachment 133181
  6. Save the Distribution file
  7. In the FPE window, delete the Distribution file inside the package
  8. Drag the modified Distribution file from the desktop to the FPE window
  9. Save the package
  10. Launch the package and it should let you install the driver without the GPU installed

----------------------------

Problem 4: Monitor goes to sleep at the end of the boot sequence when using iMac15,1 or iMac17,1 or MacPro 6,1 system definition

Fix: modify the AppleGraphicsDevicePolicy.kext as pointed out by PikeRAlpha here. We have two options, using Clover's built in kext patching (preferred) or manually editing the kext. Using Clover to patch the kext on the fly is preferred because it does not get over written after each OS X update. If you do it manually you will have to make the edits after each update.

Method 1:

  1. Open your Clover config.plist using text edit and scroll till you see <key>KernelAndKextPatches</key>
  2. In that section you will want to add the following:

    <key>KextsToPatch</key>
    <array>
    <dict>
    <key>Comment</key>
    <string>(c)Pike R. Alpha</string>
    <key>Find</key>
    <data>
    Ym9hcmQtaWQ=
    </data>
    <key>Name</key>
    <string>AppleGraphicsDevicePolicy</string>
    <key>Replace</key>
    <data>
    Ym9hcmQtaXg=
    </data>
    </dict>
  3. Save your config and now your kext will be patched when you boot by changing board-id to board-ix.

Method 2:


Use Shilohh's AGDPfix found here: http://www.tonymacx86.com/threads/b...-imac-15-or-imac-17-system-definition.183113/


Method 3:


  1. Open Terminal
  2. Enter this command (it is one line)

    sudo nano /System/Library/Extensions/AppleGraphicsControl.kext/Contents/PlugIns/AppleGraphicsDevicePolicy.kext/Contents/Info.plist
  3. Arrow down to where you see <key>ConfigMap</key>
  4. For the iMac15,1 locate the board-id "Mac-42FD25EABCABB274" and change string below it from "Config2" to "none". For the MacPro6,1 you will do the same thing but for the board-id "Mac-F60DEB81FF30ACF6". For the iMac17,1 you'll have to see which board-id is declared in your config.plist SMBIOS: "Mac-B809C3757DA9BB8D" or "Mac-65CE76090165799A" or "Mac-DB15BD556843C820" and change the appropriate entry to "none".
  5. Save the file by pressing Ctrl+O, then enter.
  6. Exit by pressing Ctrl+X
  7. Rebuild the kernel cache using the following two commands in terminal:


    sudo kextcache -system-prelinked-kernel
    sudo kextcache -system-caches
  8. Reboot


NOTE:
you may need to use kext-dev-mode=1 if not already using it to allow the modified kext. For El Capitan you will need to at least partially disable SIP to allow the now unsigned kext.​

----------------------------

Problem 5: You accidentally updated OS X and now your unsupported Nvidia card won't work because the drivers won't load.

Fix: modify the NVDAStartup.kext to force the older drivers to load.

  1. Open up terminal and enter the following command:

    sudo nano /System/Library/Extensions/NVDAStartupWeb.kext/Contents/Info.plist
  2. Enter your password and scroll down to where it says NVDARequiredOS
  3. Change the build number below that to your current build number
  4. Rebuild kernel cache suing the two commands from Problem #4
  5. Reboot

----------------------------

Please let me know of any other errors you are encountering and I will update this post with solutions.

Change log:


  • 4/7/15: initial post
  • 4/8/15: added problem 3
  • 4/22/15: added screenshots
  • 4/23/15: added 10.10.3 driver links
  • 4/27/15: added driver update process
  • 5/5/15: added black screen fix for certain system profiles
  • 5/11/15: added additional steps and notes to #4
  • 5/24/15: added driver download links for f03 & f04
  • 7/1/15: added 10.10.4 driver link
  • 7/30/15: added new driver link for 10.10.4
  • 8/13/15: added link for 10.10.5 beta driver
  • 8/14/15: added link for 10.10.5 final release driver
  • 8/15/15: added news about 10.10.5 driver
  • 10/5/15: updated problem 4 to use sudo nano
  • 10/26/15: added links for El Capitan drivers
  • 12/9/15: added link for 10.11.2 driver.
  • 12/9/15: added problem #5 to help with Yosemite security patches
  • 3/2/16: added Clover patching for AppleGraphicsDevicePolicy.kext in problem #4
  • 4/6/16: updated driver list
The Nvidia drivers does not works in my PC, and the Dock is White, there is no transition, and in the lock screen, the wallpaper is totally grey. What Can I Do?
 
The Nvidia drivers does not works in my PC, and the Dock is White, there is no transition, and in the lock screen, the wallpaper is totally grey. What Can I Do?

Since you are running a GTX 960 you must get the web drivers working in order to have graphics acceleration. I need more info about why they won't work.
 
In El Capitan you have to disable SIP.
Thanks. I managed to disable SIP using clover configurator plus tapping CSRUTIL STATUS in terminal confirms it is disabled.

However...
when trying commands:
chown root:admin /
Terminal responds: Operation not permitted.
then:
kextcache -system-prelinked-kernel

You must be running as root to update system kext caches.
So I can't get further than these. Will look for how to 'root' the device as I don't understand what this is.
Thanks
 
Back
Top