An attempt to build WINE's NvAPI implementation outside a WINE source tree. Original source: https://github.com/pchome/wine-playground/tree/master/nvapi
Requires nVidia proprietary driver version 440.x or newer
Some custom mods for driver version++
./package-release.sh destdir
Setup script will be located in:
destdir/setup_nvapi.sh
eg.
WINEPREFIX=/your/wine/prefix ./setup_nvapi.sh install
OBS! Recommend a x86_64 WINEPREFIX as installscript may have unpredictible result in a 32-bit only wineprefix!
This creates symlinks in the wineprefix + creates dll-override that ENABLE nvapi.
The aim is to provide some more functions to NvAPI so that it will fake nVidia cards as best it can.
The "fakedll" folders have the fake dll's used by wine incase one wants to use the winelib created
dll.so files directly with a custom wine. You need to copy the dll.so files in their respective
lib/lib64 folders in your custom wine binary folder. Same with the fakedll's. (Recommended only with
wine-staging binaries!).
Loads of reference info here:
https://docs.nvidia.com/gameworks/content/gameworkslibrary/coresdk/nvapi/annotated.html
https://1vwjbxf1wko0yhnr.wordpress.com/2015/08/10/overclocking-tools-for-nvidia-gpus-suck-i-made-my-own/
https://github.com/verybigbadboy/NVAPI-example
Tool to check various GPU options:
http://www.ozone3d.net/gpu_caps_viewer/