Contribute
Register

[Help] High Sierra and Nvidia webdriver error: gIOScreenLockState 3 ...

Status
Not open for further replies.
Thanks a lot.
I had also issue with that. Instructons suggested by BreBo are very useful.

What I did to solve the problem?

1. Boot into recovery mode and clean up as instructed below:

Code:
cd /Volumes/HDD/System/Library/Extensions/
rm -R GeF*.*
touch /Volumes/HDD/System/Library/Extensions/
cd /Volumes/HDD/Library/Extensions/
rm -R GeF*.* NVDA*.*
touch /Volumes/HDD/Library/Extensions/
reboot
(Replace HDD with proper name)

2. Boot into High Sierra
3. Mount EFI partition and open Clover configuration file and set CsrActiveConfig to 0x0
4. Remove temporarily extra kexts, leave only minimal needed (FakeSMC.kext etc)
5. Add the most latest Lilu.kext with NvidiaGraphicsFixup.kext
6. Reboot
7. Mount EFI partition and open Clover configuration file and set CsrActiveConfig to 0x67
8. Install Nvidia WebDriver and reboot.

You should have proper drivers loaded now.

If you already installed correct version of Web drivers, you can try to remove bad kexts in recovery mode, but if terminal isn’t your friend, follow steps above.

UPDATE

Do not use NVWebDriverLibValFix.kext. Instead use latest:
Read more here: #543
 
I had also issue with that. Instructons suggested by BreBo are very useful.

What I did to solve the problem?

1. Boot into recovery mode and clean up as instructed below:

Code:
cd /Volumes/HDD/System/Library/Extensions/
rm -R GeF*.*
touch /Volumes/HDD/System/Library/Extensions/
cd /Volumes/HDD/Library/Extensions/
rm -R GeF*.* NVDA*.*
touch /Volumes/HDD/Library/Extensions/
reboot
(Replace HDD with proper name)

2. Boot into High Sierra
3. Mount EFI partition and open Clover configuration file and set CsrActiveConfig to 0x0
4. Remove temporarily extra kexts, leave only minimal needed (FakeSMC.kext etc)
5. Add the most latest Lilu.kext with NvidiaGraphicsFixup.kext
6. Reboot
7. Mount EFI partition and open Clover configuration file and set CsrActiveConfig to 0x67
8. Install Nvidia WebDriver and reboot.

You should have proper drivers loaded now.

If you already installed correct version of Web drivers, you can try to remove bad kexts in recovery mode, but if terminal isn’t your friend, follow steps above.

UPDATE

Do not use NVWebDriverLibValFix.kext. Instead use latest:
Read more here: #543

I suppose this is not working with AMD Graphic Cards, is it?
I have this issue using a AMD R9 280.
Don't know how to handle it...
 
I had also issue with that. Instructons suggested by BreBo are very useful.

What I did to solve the problem?

1. Boot into recovery mode and clean up as instructed below:

Code:
cd /Volumes/HDD/System/Library/Extensions/
rm -R GeF*.*
touch /Volumes/HDD/System/Library/Extensions/
cd /Volumes/HDD/Library/Extensions/
rm -R GeF*.* NVDA*.*
touch /Volumes/HDD/Library/Extensions/
reboot
(Replace HDD with proper name)

2. Boot into High Sierra
3. Mount EFI partition and open Clover configuration file and set CsrActiveConfig to 0x0
4. Remove temporarily extra kexts, leave only minimal needed (FakeSMC.kext etc)
5. Add the most latest Lilu.kext with NvidiaGraphicsFixup.kext
6. Reboot
7. Mount EFI partition and open Clover configuration file and set CsrActiveConfig to 0x67
8. Install Nvidia WebDriver and reboot.

You should have proper drivers loaded now.

If you already installed correct version of Web drivers, you can try to remove bad kexts in recovery mode, but if terminal isn’t your friend, follow steps above.

UPDATE

Do not use NVWebDriverLibValFix.kext. Instead use latest:
Read more here: #543

Honestly, I can't thank you enough! This problem was driving me crazy and now my High Sierra is working perfectly with Nvidia.
 
I had also issue with that. Instructons suggested by BreBo are very useful.

What I did to solve the problem?

1. Boot into recovery mode and clean up as instructed below:

Code:
cd /Volumes/HDD/System/Library/Extensions/
rm -R GeF*.*
touch /Volumes/HDD/System/Library/Extensions/
cd /Volumes/HDD/Library/Extensions/
rm -R GeF*.* NVDA*.*
touch /Volumes/HDD/Library/Extensions/
reboot
(Replace HDD with proper name)

2. Boot into High Sierra
3. Mount EFI partition and open Clover configuration file and set CsrActiveConfig to 0x0
4. Remove temporarily extra kexts, leave only minimal needed (FakeSMC.kext etc)
5. Add the most latest Lilu.kext with NvidiaGraphicsFixup.kext
6. Reboot
7. Mount EFI partition and open Clover configuration file and set CsrActiveConfig to 0x67
8. Install Nvidia WebDriver and reboot.

You should have proper drivers loaded now.

If you already installed correct version of Web drivers, you can try to remove bad kexts in recovery mode, but if terminal isn’t your friend, follow steps above.

UPDATE

Do not use NVWebDriverLibValFix.kext. Instead use latest:
Read more here: #543

Hi Bro,

Can you help me with this, I follow your guide and it does not solve the issue. the nvidia driver was installed but it will not stick with the nvidia web driver. I try to inject nvidia in the clover setting but it doensnt boot up. really drive me crazy.

My built:
High sierra 10.13.3
Z370 Auros gaming 5
Gigabyte GTX 1050 Ti
 
Hello,

Please lend me your wisdom.
I am trying to build iMac Pro with X99 system / High Sierra.
Thankfully, since the EFI folder is provided by KGP, ESP is used as it is.
The start of 10.13.6 also works without any problem, and I customized it to start with only the minimum number of drivers and kext.

However, I asked where I put the NVIDIA driver.
If I check Nvidia's Web Drive in System Parameters in config.plist, the following message will be displayed and the boot will stop.

IOConsoleUsers: gIOScreenLockState 3, hs 0, bs 0, now 0, sm 0x0

A lot of this error messages have been posted on the forum of this site, but in my case the case seems to be different. (This is because the OS boots without problems unless I check Use Web Driver.)
As EFI folder is attached, please guide to use WEB DRIVER. Thank you.

macOS High Sierra 10.13.6 (17G4015)
Nvidia Web Driver 387.10.10.10.40.113


EDIT(05/13/2019) :

I tried it troubleshooting.

case 1:
Boot arguments -v dart=0
-> stuck gIOScreenLockState 3, hs 0, bs 0, now 0, sm 0x0

case 2:
Boot arguments -v npci=0x2000
-> success booting but web driver is disabled.

case 3:
adding EmuVariableUefi-64.efi driver
-> freeze [PCI Configlation Begin]

case 3a:
adding EmuVariableUefi-64.efi driver and Boot arguments -v npci=0x3000
-> same result case 2.

case 4:
deleteing Lilu.kext
-> same result case 2.

case 5:
Finally KGP's EFI folder all of them into /EFI/.
-> same result case 2.
 

Attachments

  • EFI.zip
    17.1 MB · Views: 137
Last edited:
EDIT(05/15/2019) :

Then I reviewed some items in config.plist.

Boot:
It turned out that the minimum necessary argument for starting is only "npci=0x2000".
I understand that the other arguments "-v keepsyms=1 debug=0x100" are present to aid debugging and may eventually be removed.

drivers64UEFI:
This section was also unrelated to Web Driver enablement. If there are 5 below, OS will boot for successed.
  • ApfsDriverLoader-64.efi
  • AptioMemoryFix-64.efi
  • FSInject-64.efi
  • SMCHelpoer-64.efi
  • VBoxHfs-64.efi
"EmuVariableUefi-64.efi" is required for mobo without NVRAM.
However, my motherboard is equipped with NVRAM, so it is unnecessary.

Kext:
This item is also simplified. Only one is required.
  • FakeSMC.kext
If you want to connect to the internet, just add the following kext.
  • IntelMausiEthernet.kext
Neither Lilu.kext nor Whatevergreen.kext was a mandatory kext for startup.

Possible causes for not loading the Webdriver:
It is a view of "me" to the last. Please point out if you are wrong.

From the above verification, the reason to stack with "gIOScreenLockState 3 ..." seems NOT to be the boot arguments, drivers64UEFI and kext.

OS startup fails because "nvda_drv = 1" is not written to NVRAM.

I built an ESP using Clover Configurator.
After completing config.plist, I forgot to generate an rcscripts using Clover. Maybe that's the cause.

After work and return to home, deploy the rcscripts provided by Clover in the following directory, and make sure that the above verification is correct.
  • /Volumes/EFI/nvram.plist
  • /etc/rc.clover.lib
  • /etc/rc.boot.d/10.save_and_rotate_boot_log.local
  • /etc/rc.boot.d/20.mount_ESP.local
  • /etc/rc.boot.d/70.disable_sleep_proxy_client.local.disabled
  • /etc/rc.shutdown.d/80.save_nvram_plist.local
I will report again in a few hours. Thank you to everyone who saw this thread.
 
Last edited:
Please let me know if there is another way to try it.
 
Status
Not open for further replies.
Back
Top