forked from CastroFidel/PortWINE
Scripts version 2229
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user