Contribute
Register

nvidia-update - Simple way to install nVidia web drivers

Joined
Feb 5, 2019
Messages
13
Motherboard
HP Z2 Mini G3 System Board ID 82C0
CPU
i7-7700
Graphics
Quadro M620 & HD 530
Mac
MacBook Pro, Mac mini
Mobile Phone
iOS
I'm always booting into Default Graphics Driver despite choosing Web Drivers, no matter how many times I uninstall/reinstall the nVidia Driver manager, check kexts, set and unset graphics flags in my config file, etc. Tried the fixes on this thread. Did several clean, fresh installs of Sierra and High Sierra. And then it occured to me something so obvious I've not seen it discussed:

I use Unibeast to install MacOS on an internal SATA HDD. Windows 10 is on the boot disk, an internal NVMe SSD. (I intend to dual boot both on the SSD once I get my Mac OS install sorted out.) After install, I never use Multibeast to put Clover on the EFI partition of either the drives. I just boot into the Clover on my USB installation stick and then select the Mac partition on the internal HDD. I'm doing this because I'm still in "testing" stage and don't want to potentially wreck my Windows install as well.

Is booting from the USB stick what's causing problems? In one of my installation scenarios, I did use Multibeast after a fresh install, but wrote the EFI partition to the same drive as the MacOS. I probably should have written it to the boot drive (Windows SSD), but it did not show up as an option.

After Multibeast made the partition, I mounted it with Clover Configurator and copied the config.plist, UEFI drivers and kexts from the USB stick, since I know that combination will boot successfully. So once again, I had to boot to from the USB stick, and then chose the HFS partition with the MacOS on it. It started booting like it always does, but then I got the circle/slash "no" icon. Wasn't expecting that since that same config always works on the USB stick.

So should I just have Mulibeast write Clover to the EFI partition of my Windows boot drive and see what happens? I'm kind of running out of options.
 
Joined
Jun 1, 2018
Messages
1
Motherboard
Asrock B450 Pro4
CPU
Ryzen 7 2700x
Graphics
GTX 1070 8GB
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:

Great work! I first installed the nVidia Web Driver 387.10.10.10.25.156 and i couldn't select 144hz refresh rate because that selection caused UI freeze. With this script now I am able to run my 144Hz G Sync monitor flawlessly with my GTX 1070.
Thank you so much!
 
Joined
Nov 11, 2012
Messages
34
Motherboard
Gigabyte GA-Z77X-UP5TH
CPU
i7-3770K
Graphics
RX 590
Mac
iMac, Mac Pro
Classic Mac
512K, iMac, Power Mac
Mobile Phone
Android
Four days ago I finally got HighSiera to boot, after a day it all went dark. I can load uptown Clover select the boot disk then into darkness. How do I fix this??
 
Joined
Feb 17, 2019
Messages
1
Motherboard
MSI Z390 a-pro
CPU
I7-8700
Graphics
GTX 1060
Mac
iMac
I ran the script but it gets hung up at "installer: Installing at base path /"

Is this a common occurrence? and is there a way to fix this?
 
Joined
Apr 2, 2015
Messages
25
Motherboard
Gigabyte GA-Z97X-UD7-TH
CPU
i5-4690K
Graphics
GTX 970
Mac
MacBook Pro
Mobile Phone
iOS
I'm stuck in a bootloop when I instal my Nvidia GTX970.
All work fine without it.

High Sierra

Can you help me plz ?

Thx!!
 

Attachments

Last edited:
Joined
Apr 2, 2015
Messages
25
Motherboard
Gigabyte GA-Z97X-UD7-TH
CPU
i5-4690K
Graphics
GTX 970
Mac
MacBook Pro
Mobile Phone
iOS
ok I boot with -x
but my 970GTX is very slow and the webdriver dont work
 

Attachments

Last edited:

P1LGRIM

Moderator
Joined
Mar 2, 2012
Messages
23,435
Motherboard
Lenovo ThinkStation p300 ⌘
CPU
i7-4790K
Graphics
HD 4600
Mac
MacBook Pro, Mac mini
Classic Mac
Power Mac
Mobile Phone
iOS
Can you help me plz ?
NvidiaGraphicsFixup.kext is deprecated - Now part of WhatEverGreen.kext - Remove it.
389149



Lilu.kext should be updated.
389150



NullCPUPowerManagement.kext defeats power management.
 
Joined
Apr 2, 2015
Messages
25
Motherboard
Gigabyte GA-Z97X-UD7-TH
CPU
i5-4690K
Graphics
GTX 970
Mac
MacBook Pro
Mobile Phone
iOS
Thank you for reply!

I removed NvidiaGraphicsFixup.kext and NullCPUPowerManagement.kext
I updated Lilu.kext

But same problem, reboot loop...
 
Joined
Oct 13, 2015
Messages
100
Motherboard
GA-Z97X-UD3H-BK
CPU
i7 4.0Ghz 4790K
Graphics
Gigabyte Geforce GTX 980 Ti Gaming
I get this... Doesn't seem like it worked for me.


Code:
Downloading driver blacklist...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   140  100   140    0     0    611      0 --:--:-- --:--:-- --:--:--   614

Downloading driver list...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (60) SSL certificate problem: self signed certificate
More details here: https://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.
HTTPS-proxy has similar options --proxy-cacert and --proxy-insecure.
 
Top