Contribute
Register

Fix for failure NVIDIA Web Driver on High Sierra, black screen, panics.

Status
Not open for further replies.
hey guys I've followed this guide to the letter! I'm running 10.13.6 I uninstalled re-installed I've gotten the drivers installed and when I boot up I get a black screen then the login screen and once I move my mouse its flashes like it keeps reloading over and over endlessly.

I have a dual monitor setup I've tried booting with one monitor same thing I've tried different ports no go either. GPU is GTX 1060 6GB only way I can get in is setting the boot flag to nv_disable=1. I'm attaching my EFI folder. I would really appreciate the help. I've been at this for a week and I can't figure it out!
 

Attachments

  • EFI.zip
    17.7 MB · Views: 108
hey guys I've followed this guide to the letter! I'm running 10.13.6 I uninstalled re-installed I've gotten the drivers installed and when I boot up I get a black screen then the login screen and once I move my mouse its flashes like it keeps reloading over and over endlessly.

I have a dual monitor setup I've tried booting with one monitor same thing I've tried different ports no go either. GPU is GTX 1060 6GB only way I can get in is setting the boot flag to nv_disable=1. I'm attaching my EFI folder. I would really appreciate the help. I've been at this for a week and I can't figure it out!
Not enough information to help you.
 
i attached my EFI. please tell me what else you need to know.
did you follow the guide ? could be the order of your actions?
you need to remove any unwanted drivers, then you need to change the cert settings under clover configurator,
and then you need to install Lilu, and then installing whatevergreen, and only then the web driver,
I am booting with dart flag. thats it, no other flags ( in the aspect of the gpu I mean ).
 
just a small question, do I need Cuda?
It depends at software and video card, which you are using for GPU acceleration. For example latest Adobe Media Encoder supports Metal, CUDA and OpenCL. Interestingly on my NVIDIA video card Metal gives better results than CUDA.

190416-0001.jpg
 
This post addresses very specific issue which seems to be common problem world-wide - black screen or infinite reboot loop after installing NVIDIA Web Drivers.

View attachment 284837

You have installed High Sierra on your comp or upgraded Sierra into High Sierra and everything looks nice expect you month have proper graphics with your NVIDIA graphics card. So your next step is to install NVIDIA Web drivers and instead of having nice and smooth picture you got black screen or infinite reboot loop. If you upgraded from Sierra and have updated Sierra several times you might scratch your head, what has happened now, why previous methods doesn't work.

I assume that you read this topic because you already got into trouble and doesn't know how to solve your problem with NVIDIA web drivers.

How to get back access to the High Sierra GUI?

This is your primary goal once you lost access to your Desktop. According to various web recourses an easiest option is to remove NVDAStartupWeb.kext from /Library/Extension. If you have installed High Sierra properly you should have access to the Recovery Mode. So reboot you comp into Recovery mode and launch Termina and remove NVDAStartupWeb.kext from /Library/Extension. Make sure your primary disk is High Sierra startup disk, otherwise add /Volumes/Your Disk Name (for example /Volumes/HighSierra) at the beginning of path names given below.

Code:
rm -R /Library/Extensions/NVDAStartupWeb.kext
touch /Library/Extensions/
reboot

or commands below to clean completely NVIDIA Web Drivers.
Code:
cd /System/Library/Extensions/
rm -R GeForce*.bundle
touch /System/Library/Extensions/
cd /Library/Extensions/
rm -R GeForce*.* NVDA*.*
touch /Library/Extensions/
reboot

Do some cleanup once you gain access to your Desktop

Once you got access back to your Desktop you have to do some cleanup. Mount your EFI partition and remove all these kexts:
  • Lilu.kext
  • NVWebDriverLibValFix.kext
  • NvidiaGraphicsFixup.kext
Check folders /System/Library/Extensions/ and /Library/Extensions/ for these kexts and remove these. Also check /Volumes/EFI/EFI/CLOVER/kexts/Other etc for these kexts and remove these! Also remove FakeSMC_GPUSensors.kext etc.

Uninstall completely NVIDIA Web Drivers.

Choose proper location for your kexts

I recommend to install your hackintosh kexts into /Volumes/EFI/EFI/CLOVER/kexts/Other, which makes things a lot easier on High Sierra.

Install Clover driver EmuVariableUefi if not installed
Add EmuVariableUefi.efi into /EFI/CLOVER/Drivers64UEFI. With CLover Configuratior you can easily to do it from panel Install Drivers. On section "DRIVERS UEFI 64 BIT" should be button EmuVariableUefi grey. If not, then press it and EmuVariableUefi will be installed.

Download and install new NVIDIA Web Drivers fix kexts
Usage of Lilu.kext, NVWebDriverLibValFix.kext and NvidiaGraphicsFixup.kext together can cause your HS to loop reboot as the latest NvidiaGraphicsFixup.kext already has built in the NVWebDriverLibValFix.kext!

Use only the latest:
Do not use NVWebDriverLibValFix.kext with them!

Reboot

Important update!

NvidiaGraphicsFixup.kext is superseded by WhateverGreen.kext now, which distros are available here: WhateverGreen distros. Use WhateverGreen.kext. instead of NvidiaGraphicsFixup.kext.​

Enable SIP temporarily *
Update: Enabling SIP might not be necessary anymore. Seems that Nvidia has fixed issue with installation error, which occurred if SIP was disabled. At least installation of 378.10.10.10.25.102 on macOS 10.13.2 went fine with SIP disabled. But it depends which version of web Drivers you are going to install.

To avoid error during installation of NVIDIA Web Drivers you might choose to enable SIP temporarily. Edit Colver configuration file, set SIP related setting CsrActiveConfig to 0x00. Reboot.

Install NVIDIA Web driver

Download proper version of NVIIDA web drivers for your High Sierra.
Once you have got proper version of NVIDIA web drivers follow this procedure:
  • Mount EFI partition of your Clover
  • Edit Colver configuration file, set SIP related setting CsrActiveConfig to 0x67
  • Do not reboot yet!
  • Install Nvidia Web Driver and reboot as installer demands.

Polishing + installing CUDA
Install other kexts which might be relevant for your system.

UPDATE: New CYDA driver 9.0.214 avaialble. You can upgrade it easily from CUDA preference panel. Patch below not needed anymoe! Or download driver from here: CUDA driver 9.0.214

If you want to use CUDA you might need to patch it to work with current Nvidia drivers, as CUDA Framework is prepared to read only specific version of the GPU Drivers, and with the last update at the moment, it doesn't recognise the installed version.
  • Check the driver version from CUDA preference panel (for example GPU Driver Version: 10.25.28 378.10.10.10.15.117)
  • Go to /Library/Frameworks/CUDA.framework/Versions/A/Libraries
  • Find closest dylib match to your driver version, on my case for 378.10.10.10.15.117 and duplicate it. Rename duplicated file, on my case libcuda_378.05.05.25_mercury copy.dylib into libcuda_378.10.10.10_mercury.dylib.
  • Copy /Library/Frameworks/CUDA.framework/Versions/A/Resources/Info.plist on yourDdesktop
  • Add related lines at the end of NVDAResmanVersions section
Code:
<key>378.10.10.10</key>
<string>378.10.10.10</string>
  • Replace /Library/Frameworks/CUDA.framework/Versions/A/Resources/Info.plist with an updated file.
  • run these commands on terminal:
Code:
sudo kextunload -b com.nvidia.CUDA
sudo kextload -b com.nvidia.CUDA

Voila, you should have CUDA working now.

Hardware Acceleration Issues
If macOS High Sierra is logging you out while you’re using Chrome, try opening up the Chrome web browser and going to the settings. At the bottom of the screen click ‘Advanced’, then turn off hardware acceleration.

Install any drivers on High Sierra
NVIDIA doesn't allow to install drivers if your Mac version build doesn't match drivers versions. There is a workaround.

Please read more here:

Recommended readings


Was updating to High Sierra and ran in to problems with NVIDIA drivers... Thanks to your help it's up and working now!
 
This post addresses very specific issue which seems to be common problem world-wide - black screen or infinite reboot loop after installing NVIDIA Web Drivers.

View attachment 284837

You have installed High Sierra on your comp or upgraded Sierra into High Sierra and everything looks nice expect you month have proper graphics with your NVIDIA graphics card. So your next step is to install NVIDIA Web drivers and instead of having nice and smooth picture you got black screen or infinite reboot loop. If you upgraded from Sierra and have updated Sierra several times you might scratch your head, what has happened now, why previous methods doesn't work.

I assume that you read this topic because you already got into trouble and doesn't know how to solve your problem with NVIDIA web drivers.

How to get back access to the High Sierra GUI?

This is your primary goal once you lost access to your Desktop. According to various web recourses an easiest option is to remove NVDAStartupWeb.kext from /Library/Extension. If you have installed High Sierra properly you should have access to the Recovery Mode. So reboot you comp into Recovery mode and launch Termina and remove NVDAStartupWeb.kext from /Library/Extension. Make sure your primary disk is High Sierra startup disk, otherwise add /Volumes/Your Disk Name (for example /Volumes/HighSierra) at the beginning of path names given below.

Code:
rm -R /Library/Extensions/NVDAStartupWeb.kext
touch /Library/Extensions/
reboot

or commands below to clean completely NVIDIA Web Drivers.
Code:
cd /System/Library/Extensions/
rm -R GeForce*.bundle
touch /System/Library/Extensions/
cd /Library/Extensions/
rm -R GeForce*.* NVDA*.*
touch /Library/Extensions/
reboot

Do some cleanup once you gain access to your Desktop

Once you got access back to your Desktop you have to do some cleanup. Mount your EFI partition and remove all these kexts:
  • Lilu.kext
  • NVWebDriverLibValFix.kext
  • NvidiaGraphicsFixup.kext
Check folders /System/Library/Extensions/ and /Library/Extensions/ for these kexts and remove these. Also check /Volumes/EFI/EFI/CLOVER/kexts/Other etc for these kexts and remove these! Also remove FakeSMC_GPUSensors.kext etc.

Uninstall completely NVIDIA Web Drivers.

Choose proper location for your kexts

I recommend to install your hackintosh kexts into /Volumes/EFI/EFI/CLOVER/kexts/Other, which makes things a lot easier on High Sierra.

Install Clover driver EmuVariableUefi if not installed
Add EmuVariableUefi.efi into /EFI/CLOVER/Drivers64UEFI. With CLover Configuratior you can easily to do it from panel Install Drivers. On section "DRIVERS UEFI 64 BIT" should be button EmuVariableUefi grey. If not, then press it and EmuVariableUefi will be installed.

Download and install new NVIDIA Web Drivers fix kexts
Usage of Lilu.kext, NVWebDriverLibValFix.kext and NvidiaGraphicsFixup.kext together can cause your HS to loop reboot as the latest NvidiaGraphicsFixup.kext already has built in the NVWebDriverLibValFix.kext!

Use only the latest:
Do not use NVWebDriverLibValFix.kext with them!

Reboot

Important update!

NvidiaGraphicsFixup.kext is superseded by WhateverGreen.kext now, which distros are available here: WhateverGreen distros. Use WhateverGreen.kext. instead of NvidiaGraphicsFixup.kext.​

Enable SIP temporarily *
Update: Enabling SIP might not be necessary anymore. Seems that Nvidia has fixed issue with installation error, which occurred if SIP was disabled. At least installation of 378.10.10.10.25.102 on macOS 10.13.2 went fine with SIP disabled. But it depends which version of web Drivers you are going to install.

To avoid error during installation of NVIDIA Web Drivers you might choose to enable SIP temporarily. Edit Colver configuration file, set SIP related setting CsrActiveConfig to 0x00. Reboot.

Install NVIDIA Web driver

Download proper version of NVIIDA web drivers for your High Sierra.
Once you have got proper version of NVIDIA web drivers follow this procedure:
  • Mount EFI partition of your Clover
  • Edit Colver configuration file, set SIP related setting CsrActiveConfig to 0x67
  • Do not reboot yet!
  • Install Nvidia Web Driver and reboot as installer demands.

Polishing + installing CUDA
Install other kexts which might be relevant for your system.

UPDATE: New CYDA driver 9.0.214 avaialble. You can upgrade it easily from CUDA preference panel. Patch below not needed anymoe! Or download driver from here: CUDA driver 9.0.214

If you want to use CUDA you might need to patch it to work with current Nvidia drivers, as CUDA Framework is prepared to read only specific version of the GPU Drivers, and with the last update at the moment, it doesn't recognise the installed version.
  • Check the driver version from CUDA preference panel (for example GPU Driver Version: 10.25.28 378.10.10.10.15.117)
  • Go to /Library/Frameworks/CUDA.framework/Versions/A/Libraries
  • Find closest dylib match to your driver version, on my case for 378.10.10.10.15.117 and duplicate it. Rename duplicated file, on my case libcuda_378.05.05.25_mercury copy.dylib into libcuda_378.10.10.10_mercury.dylib.
  • Copy /Library/Frameworks/CUDA.framework/Versions/A/Resources/Info.plist on yourDdesktop
  • Add related lines at the end of NVDAResmanVersions section
Code:
<key>378.10.10.10</key>
<string>378.10.10.10</string>
  • Replace /Library/Frameworks/CUDA.framework/Versions/A/Resources/Info.plist with an updated file.
  • run these commands on terminal:
Code:
sudo kextunload -b com.nvidia.CUDA
sudo kextload -b com.nvidia.CUDA

Voila, you should have CUDA working now.

Hardware Acceleration Issues
If macOS High Sierra is logging you out while you’re using Chrome, try opening up the Chrome web browser and going to the settings. At the bottom of the screen click ‘Advanced’, then turn off hardware acceleration.

Install any drivers on High Sierra
NVIDIA doesn't allow to install drivers if your Mac version build doesn't match drivers versions. There is a workaround.

Please read more here:

Recommended readings
Dear community,
I followed the instructions to fix the black screen problem. But something must have gone wrong.
I did an update from El Capitan to High Sierra 10.13.16 (17G11023) following these instructions:

After doing a security update of the OS that changed the build number to 17G11023, I installed NVIDIA WebDriver-387.10.10.10.40.134. It appears as active and up to date in the System Preferences, but it doesn´t work. The only way I can boot is with nv_disable=1. Can you help me out of the darkness please?

Here attached is my EFI + screenshots of Syspref + "About this mac".

Here is the build :
INTEL Core i7 6700K 4Ghz
GIGABYTE Z170 UD5
GIGABYTE GEFORCE GTX 980 4Go VRAM
G.Skill Ripjaws DDR4 32 Go RAM
SSD 250 Go/ for OS install and Applications
HDD for Projects and files

Thank you for your help
 

Attachments

  • About this mac.png
    About this mac.png
    26.9 KB · Views: 128
  • EFI.zip
    21.3 MB · Views: 102
  • Syspref_Graphics_NVIDIA Web Driver.png
    Syspref_Graphics_NVIDIA Web Driver.png
    58.4 KB · Views: 135
  • Syspref_NVIDIA Web Driver_up to date.png
    Syspref_NVIDIA Web Driver_up to date.png
    66 KB · Views: 122
Status
Not open for further replies.
Back
Top