Scripts version 2229

This commit is contained in:
Mikhail Tergoev
2023-11-08 20:00:23 +03:00
parent 8a43b768bc
commit 89ebaeabe4
4 changed files with 26 additions and 9 deletions

View File

@ -157,13 +157,13 @@ start_portwine () {
export DXVK_ENABLE_NVAPI=0
var_winedlloverride_update "nvngx,_nvngx="
fi
if [[ "${PW_USE_GALLIUM_ZINK}" == 1 ]] ; then
if [[ "${PW_USE_GALLIUM_ZINK}" == 1 ]] ; then
export PW_VULKAN_USE=5
fi
if [[ "${PW_PRIME_RENDER_OFFLOAD}" == 1 ]] ; then
if ${PW_WINELIB}/portable/bin/inxi -Gc0 | grep "renderer" | grep -i "nvidia" ;
then
if ${PW_WINELIB}/portable/bin/inxi -Gc0 | grep "renderer" | grep -i "nvidia" ; then
print_debug "Nvidia used by default. Force disabled PRIME_RENDER_OFFLOAD"
export __NV_PRIME_RENDER_OFFLOAD=0
unset __GLX_VENDOR_LIBRARY_NAME __VK_LAYER_NV_optimus