Thank you SO much, this works PERFECTLY on my MacBook Pro (13-inch, Mid 2009, NVIDIA 9400M) that is running Monterey 12.7.4 through OpenCore Legacy Patcher.
Here is my LCD panel ID BTW: LTN133AT09 (You can get the panel ID on some Intel Macs by running ioreg -lw0 | grep IODisplayEDID | sed "/[^<]*</s///" | xxd -p -r 👀 )
This is the only working 64-bit macOS NVIDIA temporal dithering disable method that I've been able to find on the entire Internet, so I am extremely grateful for this. If this link ever goes down I will be sure to mirror this — will even set reminders to check so I don't forget!
After installing the kext, temporal dithering is 100% disabled. Graphics are reduced to 6-bit. Banding is fully visible.
(The only pixel flicker that remains is a very subtle, predictable LCD pixel inversion pattern. Fortunately, unlike the chaotic dithering that made everything feel unstable — I am fine with the pixel inversion because it does NOT affect the screen stability to my eyes!)
The only thing I had to change for this to work on my OCLP macOS Monterey install was instead of using the kext installer utility, I needed to install it manually:
sudo mv NVInject.kext /Library/Extensions/NVInject.kext
sudo chown -R 0:0 /Library/Extensions/NVInject.kext
sudo kmutil load -p /Library/Extensions/NVinject.kext
Allow the kext in System Preferences -> Security & Privacy
Before rebooting, reinstall the OpenCore Root Patches again through the OpenCore app (this ensures that the new kext doesn't interfere with the other patches — possibly not needed but good to stay on the safe side)
Reboot
꩜
BTW, if you want to run Linux on an old NVIDIA MacBook instead of macOS, the dither disable method is even easier — just run xrandr --output LVDS-2 --set "dithering mode" "off" in the Linux terminal — tested & working on Ubuntu MATE 18.04 LTS. Some MacBooks require a different number next to LVDS (e.g. LVDS-1 on the Late 2008 15" MacBook Pro). On Linux, the change will register immediately without requiring a reboot 😉
Also, for some reason the Mid 2009 13" is much better than the Late 2008 15", even when booting off the same Ubuntu and macOS hard drives. The 2008 has a (mild, but noticeable) version of the infamous false 3D effect and dries out my eyes, even when dithering is disabled — but the 2009 looks so much flatter and is 100% usable for me. Given this happens across all OSes on the 2008, it's probably caused by the panel. Both laptops use PWM.
So if you're trying to find an old usable MacBook and you're OK with "older kinds" of PWM, I heavily reccomend the 2009 13" — if you get one, definitely check if the panel matches the one at the top of this post 🙂