- NVIDIA Web Drivers Mojave Workaround
- A few Important Notes
- Set it on BIOS
- Install the Web Drivers and CUDA
- Discussion about How to make Nvidia web driver works in MacOs 10.14 Mojave
- aerror
- Attachments
- aerror
- Download Install & Configure Nvidia Web Driver for Mac
- How to enable Nvidia Web Driver
- Clover Bootloader
- Chameleon Bootloader
- Troubleshooting
- Nvidia web driver mac os mojave
NVIDIA Web Drivers Mojave Workaround
It is still uncertain when will NVIDIA release any Web Drivers for macOS Mojave, but we can try a workaround.
A few Important Notes
- This may not work for everyone.
- What this will do is force the system to install the High Sierra official NVIDIA Web Drivers and patch them so both the Web Drivers and CUDA drivers recognize your graphics card.
- This does NOT enable hardware acceleration. Although there have been a few successful reports for older graphic cards, cards like my 1050-ti simply do not work well in Mojave without the Metal acceleration. The only way to resolve that, is to get the official Web Drivers.
- I honestly don’t recommend this route if you use your computer for video editing. You need the Metal or CUDA acceleration, and so far, any attempt to do that has failed.
Set it on BIOS
- Press F12 upon startup and select Enter Setup from the Boot Menu.
- Navigate to the Peripherals tab.
- At Initial Display Output, select PCIe 1 Slot.
- Navigate to the Chipset tab.
- At Internal Graphics, set it to Auto or Disabled.
- Navigate to the Save & Exit tab.
- Select Save & Exit and click Yes.
- Reboot and then shut down your computer. Turn off your display too.
- Disconnect the HDMI / DisplayPort cable from your mainboard (integrated graphics) and plug it in to your NVIDIA Card now.
- Turn your monitor back on. Then turn your computer back on and let it boot to MacOS.
Install the Web Drivers and CUDA
- Download the Web Driver Manager app from here.
- Run the WebDriver All Versions app and click on Reinstall Driver and then Download Webdriver.
- After it’s done, quit the WebDriver All Versions app and open it again. Click on Existing Webdriver Patching. This requires the Terminal, so give access to it when prompted.
- Open the Terminal.
- Copy and paste this command: sudo chmod -R 755 /Library/Extensions/NVDAStartupWeb.kext and press Enter. Enter your password if necessary.
- Then copy and paste this command: sudo chown -R root:wheel /Library/Extensions/NVDAStartupWeb.kext and press Enter.
- Then copy and paste this command: sudo touch /System/Library/Extensions/ && sudo kextcache -u / and press Enter.
- And the last command to copy and paste: sudo touch /Library/Extensions && sudo kextcache -u / and press Enter.
- Restart your computer.
- Download and install the latest CUDA drivers from here. You might need to restart again.
On our next tutorial, we see how to enable and install the IGFX Intel HD 630 in macOS Mojave.
All credits go to the Tonymacx86.com community.
Источник
Discussion about How to make Nvidia web driver works in MacOs 10.14 Mojave
aerror
Everything seems fine except the linking problem. I have dug into it more deeply and found there are some very slight changes for those 16 API’s; 15 of the new API have only a const decoration keyword added. There is no difference when we build the codes to machine codes, according to my experience. And the last one have a integer parameter added. Here is the details:
I checked it with disassembly tools. Everything seem fine.
So, I reboot the system. But the system reboots every time a few second after NVDAStartup loaded.
The Geforce execute is attached. You can just copy it to t /Library/Extensions/GeForceWeb.kext/Contents/MacOS/GeForceWeb
Yes , it need add rsp, 0x10 to recover the stack.
A HOOKING is necessary to make it call it in the right way.
Patching is made , but reboot is not fixed. Hmmm, maybe there is another problem making it reboot. The question is what and where.
I am should the patching is correctly and verified it with macOS 13.6. I got the correct message, and everything works fine and smoothly.
My Pathing codes:
The Mojave has all the log logged if it reboots in the process. and with arguement -v. I can not see any log about it.
I am completely stuck. Anyone may kindly help ? @RehabMan, Would you please help? I think it help a lot of people who has the nvidia card.
Source codes and project are attached.
Attachments
aerror
I am trying to debug it in two machine, I downloaded the KDK, Follow the readme.html
Two Machine Debugging In macOS Sierra
Finding Symbols Automatically
lldb will search /Library/Developer/KDKs/ as well as any local directories indexed by Spotlight.
You invoke lldb by the simple command:
Alternatively, you can specify the kernel file on the command line.
lldb /Library/Developer/KDKs/ /System/Library/Kernels/kernel
To attach, you either use kdp-remote for a live connection, or file -c for a coredump.
Two machine debugging is not supported via USB Ethernet.
Two machine debugging is not supported via wireless.
The default setting for two machine debugging is as follows:
sudo nvram boot-args=»debug=0x146″
sudo reboot
Unluckily , It can not stop when MacOS boot up and wait for debugger even after I tried debug=0x147 or debug=0x1 according to the documentation.
So I have the do manual interrupt of debug to make it wait for debug to connect. I just wrote kext to raise int3 at the time GeforceWeb.kext loading. It worked. But another error comes:
the debugger printed the ip and Mac address of the interface of Nic, but complaint that:
kdp_poll: no debugger device
I download the open source of apple of xnu, and I figure out that because no one call the kdp_register_send_receive to set the send and receive handler.
And from the source code I have found that the IONetworkingFamily would do the job calling kdp_register_send_receive when you are using networking debug.
It is call in the the IOKernelDebugger: pen method, but my hackintosh did not call it and no IOKernelDebugger: pen calling surely. In one word, there is not IOKDP device found in my hackintosh.
I search the google, and found that many people the do the debugger by using the VMWare/Virtualbox. I follow their article the guide , and make two machine debugger works with VMware when I load a kext to raise int3 interrupt.
Источник
Download Install & Configure Nvidia Web Driver for Mac
Nvidia Mac driver is an additional macOS driver provided by Nvidia itself instead of Apple. Apple packs macOS with its own GPU Kexts, but when Nvidia web driver is installed, Apple’s native GPU Kexts becomes inactive.
Nvidia web-driver is required to make Maxwell, and latest Graphics cards work in macOS
Here are some nVidia GeForce Graphics cards which needs Webdriver to function properly in macOS
- GTX 750
- GTX 780
- GTX 950
- GTX 970
- GeForce GTX 980
- GTX 1070
- GTX 1080 GTX TITAN
- Titan X
You can download nVidia Web-driver from this page or Install with Automatic Nvidia web driver Installer.
How to enable Nvidia Web Driver
Clover Bootloader
- Mount EFI Partition / If you have installed legacy Clover look into /EFI folder for config.plist
- Open /Volumes/EFI/EFI/CLOVER/config.plist with text edit, Xcode, or Plist Editor Pro
- Edit Config.plist to resemble the changes below this works for Sierra 10.12.3 or above versions
However, for older system nvda_drv=1 is required still web driver installer inject nvda_drv=1 to NVRAM
Chameleon Bootloader
- Open /Extra/org.chameleon.Boot.plist with text edit, Xcode, or Plist Editor Pro.
- Edit Config.plist to resemble the changes below.
This is enough to get nVidia web-driver working in macOS.
Troubleshooting
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 overwritten after each OS X update. If you do it manually, you will have to make the edits after each update.
Method 1: The easy method
Install these two kext Lilu.kext and WhateverGreen.kext into your Library/Extensions folder.
NOTE: This method does not work with macOS Sierra 10.12, please use method 1 or 2 above.
Источник
Nvidia web driver mac os mojave
—>
Топовый постер
Группа: User
Сообщений: 12040
Регистрация: 2.5.2014
Поблагодарили: 0 раз
Репутация: 0
Владельцы видеокарт GeForce негодуют, по тому что Nvidia затянула с выпуском драйверов для Mac OS Mojave 10.14.
0.) Если на хаке, рекомендуется выключить встроенное в процессор видеоядро в биосе. [off]Обрати внимание, сделано в Германии.[/off]
2.) Запускаем утилиту, нажимаем Reinstall Driver, затем выбираем Download Webdriver и выбираем свежую версию. Когда закончит — закрываем утилиту.
3.) Еще раз запускаем программку и нажимаем Existing Webdriver Patching, предоставляем необходимые права.
4.) Открываем терминал, если видим выхлоп с «процесс завершен» в конце — значит прошлый шаг завершен. 6.) Свежайший Cuda драйвер, если нужен для вычислений (таких как майнинг) на энвидике, можно взять отсюда. 7.) Перезагружаемся и балдеем. Аппаратного ускорения не будет, но система становится более юзабельной (вся видеопамять используется). P.S: Энвидиа! Драва мне запили! Шишка горит новой системой пользоваться! :angry:
| |
Topic Starter —> Топовый постер
Группа: User
| Прикупил AMD RX 480 на 8 гигов. Заработало без всяких драйверов. Теперь Mojave нормально долбит.
|
Topic Starter —> Топовый постер
Группа: User
| Чтобы снести драйвера Nvidia (комплект состоящий из Cuda и WebDriver), выполняем. Как удалить Nvidia Cuda (вычислительные драйвера для всяких рендерингов, майнингов и искусственных интеллектов). Как удалить Nvidia WebDriver. sudo rm -rf /Library/Extensions/GeForceTeslaWeb.kext sudo rm -rf /System/Library/Extensions/GeForce.kext sudo rm -rf /System/Library/Extensions/NVDAGF100Hal.kext После выпиливания обновить кэш кексов и можно перезагружаться. Источник |