Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Alpha Support for Nvidia Web Drivers #993

Merged
merged 36 commits into from
May 30, 2022
Merged

Conversation

khronokernel
Copy link
Member

@khronokernel khronokernel commented May 25, 2022

This PR's goal is to implement basic Nvidia Web Driver support for Big Sur and Monterey. These patches are highly experimental, and do not support many features expected of the Web Drivers from High Sierra

This build's main draw back is relying on the non-Metal stack, thus having the same issues as non-Metal graphics cards we see today. See issue 108 for more information.


To use this build, you'll need the following:

  • GPU Device ID listed in pci_ids.py under Maxwell or Pascal
  • WhateverGreen.kext installed
  • Library Validation Disabled
  • Forced Compatibility via WhateverGreen
    • One of:
      • Boot-arg: ngfxcompat=1
      • DeviceProperty: force-compat | Data | 01000000
  • Forced OpenGL rendering
    • One of:
      • Boot-arg: ngfxgl=1
      • DeviceProperty: disable-metal | Data | 01000000
  • Enable Web Drivers
    • Boot-arg: nvda_drv_vrl=1
  • SIP Lowered to 0xa03
    • CSR_ALLOW_UNTRUSTED_KEXTS
    • CSR_ALLOW_UNRESTRICTED_FS
    • CSR_ALLOW_UNAPPROVED_KEXTS
    • CSR_ALLOW_UNAUTHENTICATED_ROOT

As warned before, drivers are highly experimental. This PR should only be used by developers and not the general public.

Tested configurations:

Graphics Card Architecture OS(es) Tested Tester
GTX 680 Kepler - GK104 12.1 dosdude1
GT 710 Kepler - GK107 12.5 Beta 1 khronokernel
GTX 650 Ti BOOST Kepler - GK106 12.4 Flagers
Quadro K620 Maxwell - GM107 10.14.3, 12.5 Beta 1 khronokernel
GTX 860M Maxwell - GM107 11.4, 12.3.1 IronApple
GT 1030 Pascal - GP107 12.3.1 Jazzzny
GTX 1050Ti Pascal - GP107 12.3.1 Jazzzny

Patch set running on macOS 12.5 Beta 1 with a Nvidia Quadro K620:
Screen Shot 2022-05-25 at 3 47 30 PM

@khronokernel khronokernel marked this pull request as draft May 25, 2022 23:14
@khronokernel khronokernel marked this pull request as ready for review May 30, 2022 17:48
@khronokernel khronokernel merged commit 6826b54 into main May 30, 2022
@khronokernel khronokernel deleted the web-driver-alpha branch May 30, 2022 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants