Contribute
Register

nvidia-update - Simple way to install nVidia web drivers

Can I use your script to revert the drivers (to 104 for instance) for a vanilla (non-Hackintosh) machine?

You'll need to disable SIP, but otherwise, yes.

It's necessary to disable SIP because only the 387.10.10.10.25.156 kext will run on 10.13.3 without patching the macOS version requirement. Patching the kext is performed automatically, however once the kext it patched it's no longer signed. This means you can't install or run it unless you disable SIP.
 
You'll need to disable SIP, but otherwise, yes.

It's necessary to disable SIP because only the 387.10.10.10.25.156 kext will run on 10.13.3 without patching the macOS version requirement. Patching the kext is performed automatically, however once the kext it patched it's no longer signed. This means you can't install or run it unless you disable SIP.

That's great, thanks for the info!
 
@Nautipuss Actually, I've just pushed a new version. No need to disable SIP.

Tested on my Late 2013 15" MBPR, everything works nicely. Somewhat to my surprise, kext signing is not broken, because I've only modified Info.plist (a text file) and not the kext binaries.
 
@Nautipuss Actually, I've just pushed a new version. No need to disable SIP.

Tested on my Late 2013 15" MBPR, everything works nicely. Somewhat to my surprise, kext signing is not broken, because I've only modified Info.plist (a text file) and not the kext binaries.

Even better, I'll give it a go this afternoon. Thanks again!
 
Stutter / lag during the switching of spaces to a space containing Google Chrome.

I've never had this issue on Sierra. Could it be specific to High Sierra or maybe a GoogleChrome bug?

Anyone experiencing this?
 
Given the recent issues with official nVidia web driver releases (namely 387.10.10.10.25.156 and 387.10.10.10.25.157), I decided to put together a dead simple one-stop solution for updating to the latest reliable nVidia web drivers.

It's called nvidia-update and hopefully makes life easier for you guys.

https://github.com/Benjamin-Dobell/nvidia-update

The script is open-source (MIT licensed) and pull requests are welcome.

It does the following:

  • Checks for official driver updates for your version of macOS.
  • Cross-references against a list of blacklisted drivers, that it'll avoid installing (by default).
  • Properly uninstalls old drivers.
  • Downloads and installs the latest non-blacklisted drivers.
  • On-the-fly patches driver packages so they can be installed on your version of macOS (if necessary).
  • Patches drivers that you've already installed, if they no longer match your macOS version i.e. post macOS update.

The script has a fair few smarts to it, but is implemented more robustly/carefully than some of the alternatives out there. For example, instead of manually copying files to hard-coded paths, all installation and uninstallation takes place by running nVidia's package (.pkg) files; which install to the correct location and properly clean-up after themselves.

Execution

Simply paste the following line in a terminal:

bash <(curl -s https://raw.githubusercontent.com/Benjamin-Dobell/nvidia-update/master/nvidia-update.sh)

You can of course download/save the script to your computer if you prefer to, doing so gives you access to a couple of advanced options, but for normal use they're not required.

Clover / Boot Configuration

The script doesn't mess with any boot behaviour on your system, and Clover setup is left up to you. You'll likely want the following kernel extensions installed in your EFI Clover kext directory:



Thanks for the hard work. I ran your script but I'm still having lag issues, especially obvious outside of native GUI animations. Like when using a browser. I posted the details here. Agonising. Would love an opinion.
 
@Guillou How have you installed drivers in the past, just from the nVidia website and "NVIDIA Driver Manager" updates? Or have you used other third-party tools like webdriver.sh?

EDIT: Oh, and make sure you've got SIP disabled.

Sorry for the late response! I had to do a clean wipe of the SSD and it took some time. I've made the following:

- Fresh install of MacOS High Sierra 10.13.3.
- Multibeast
- Reboot with SIP deactivated
- Installation of nvidia web drivers with your script
- Rebooted with my card unrecognized and all my audio, ethernet not working (Also with a low resolution)
- Rebuild Kexts
- Stuck into Apple Logo

:(

Any idea of what's going on?
 
Any idea of what's going on?

Disable nvidia webdriver from Clover, it might start with low resolution. Be sure you have <key>CsrActiveConfig</key> <string>0x67</string> in config.plist. If not, set it and reboot. Run in terminal sudo kextcache -i /
You should have something like Kext with invalid signatured (-67030) allowed: URL = "file:///Library/Extensions/NVDAStartupWeb.kext/
 
I'm back to using my Nvidia 960 for now, was loving my AMD card but my system was experiencing random freezing once every 24hrs, so I am trying the Nvidia to rule out a graphics problem. My system is still a bit laggy even though I used the script to install the drivers this time and I am using the three required kexts. I wonder since I'm on an Ivy Bridge system there is anything I need to do in my config.plist to speed things up a bit, inject Nvidia maybe?

Annnd after five hours I can't take it anymore and I'm back to my AMD card, the slowdowns were killing me.
 
Last edited:
Back
Top