forked from CastroFidel/PortWINE
Add nvapi,nvapi64=disabled for nvidia
This commit is contained in:
@ -123,6 +123,13 @@ then
|
||||
export __GL_SHADER_DISK_CACHE_SIZE=1000000000
|
||||
export __GL_THREADED_OPTIMIZATIONS=1
|
||||
nvidia-settings -a [gpu:0]/GPUPowerMizerMode=1 > /dev/null
|
||||
if [ ! -z "${WINEDLLOVERRIDES}" ]
|
||||
then
|
||||
export WINEDLLOVERRIDES="nvapi,nvapi64=";${WINEDLLOVERRIDES}
|
||||
else
|
||||
export WINEDLLOVERRIDES="nvapi,nvapi64="
|
||||
fi
|
||||
echo "runtime libs is disabled"
|
||||
else
|
||||
export DRI_PRIME=1
|
||||
export vblank_mode=1
|
||||
|
Reference in New Issue
Block a user