Commit 7ce09003 authored by Mikhail Tergoev's avatar Mikhail Tergoev

ACO=0 as default

parent 168822ed
...@@ -107,19 +107,17 @@ if [ -x "`which nvidia-settings 2>/dev/null`" ]; then ...@@ -107,19 +107,17 @@ if [ -x "`which nvidia-settings 2>/dev/null`" ]; then
export __GL_SHADER_DISK_CACHE=1 export __GL_SHADER_DISK_CACHE=1
export __GL_SHADER_DISK_CACHE_SIZE=1000000000 export __GL_SHADER_DISK_CACHE_SIZE=1000000000
export __GL_THREADED_OPTIMIZATIONS=1 export __GL_THREADED_OPTIMIZATIONS=1
nvidia-settings -a [gpu:0]/GPUPowerMizerMode=1 > /dev/null
export DXVK_CONFIG_FILE="${PORT_WINE_PATH}/data/dxvk_nvidia.conf" export DXVK_CONFIG_FILE="${PORT_WINE_PATH}/data/dxvk_nvidia.conf"
if [ ! -z "${WINEDLLOVERRIDES}" ]; then if [ ! -z "${WINEDLLOVERRIDES}" ]; then
export WINEDLLOVERRIDES="nvapi,nvapi64=;${WINEDLLOVERRIDES}" export WINEDLLOVERRIDES="nvapi,nvapi64=;${WINEDLLOVERRIDES}"
else else
export WINEDLLOVERRIDES="nvapi,nvapi64=" export WINEDLLOVERRIDES="nvapi,nvapi64="
fi fi
echo "runtime libs is disabled"
else else
export DRI_PRIME=1 export DRI_PRIME=1
export vblank_mode=0 export vblank_mode=0
export mesa_glthread=true export mesa_glthread=true
local AMD_ATI="$(lspci | grep AMD/ATI)" export AMD_ATI="$(lspci | grep AMD/ATI)"
if [ ! -z "${AMD_ATI}" ]; then if [ ! -z "${AMD_ATI}" ]; then
# export DXVK_CONFIG_FILE="${PORT_WINE_PATH}/data/dxvk_amd.conf" # export DXVK_CONFIG_FILE="${PORT_WINE_PATH}/data/dxvk_amd.conf"
if [ "${PORTWINE_ACO}" -eq "1" ]; then if [ "${PORTWINE_ACO}" -eq "1" ]; then
......
...@@ -15,7 +15,7 @@ export PROTON_FORCE_LARGE_ADDRESS_AWARE=1 ...@@ -15,7 +15,7 @@ export PROTON_FORCE_LARGE_ADDRESS_AWARE=1
export PROTON_USE_SECCOMP=0 export PROTON_USE_SECCOMP=0
export WINEDLLOVERRIDES="winemenubuilder.exe=d" export WINEDLLOVERRIDES="winemenubuilder.exe=d"
export WINEDEBUG="-all" export WINEDEBUG="-all"
export PORTWINE_ACO=1 export PORTWINE_ACO=0
######################################################################## ########################################################################
ADD_IN_START_PORTWINE () ADD_IN_START_PORTWINE ()
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment