From 252ed89e4e7224d9319c26d4d10619a65c66b607 Mon Sep 17 00:00:00 2001 From: Mikhail Tergoev Date: Thu, 24 Jul 2025 17:15:33 +0300 Subject: [PATCH] Ooops. Hotfix for run pw_check_glxinfo again. --- data_from_portwine/scripts/functions_helper | 5 +---- data_from_portwine/scripts/start.sh | 3 ++- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index 5f15023e..129484f7 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -2818,10 +2818,7 @@ pw_check_vulkan () { pw_check_glxinfo () { if [[ ! -f "${PW_TMPFS_PATH}/glxinfo.tmp" ]] ; then TIMEOUT_CMD="5" - if pw_check_command glxinfo -B - then return 0 - else return 1 - fi + pw_check_command glxinfo -B fi } diff --git a/data_from_portwine/scripts/start.sh b/data_from_portwine/scripts/start.sh index 37162a4a..effe9267 100755 --- a/data_from_portwine/scripts/start.sh +++ b/data_from_portwine/scripts/start.sh @@ -535,8 +535,9 @@ SORT_NEWEST="${translations[DXVK, VKD3D (Newest) (Vulkan v1.3+)]}" if [[ -z $PW_VULKAN_USE ]] \ || [[ $PW_VULKAN_USE == [3-5] ]] then + pw_check_glxinfo if [[ -e "/sys/module/nvidia/version" && $( 550.54.13 ]] \ - || [[ $(pw_check_glxinfo) && $(grep "Version:" "$PW_TMPFS_PATH/glxinfo.tmp" | awk '{print $2}') > 25 ]] + || [[ $(grep "Version:" "$PW_TMPFS_PATH/glxinfo.tmp" | awk '{print $2}') > 25 ]] then export PW_VULKAN_USE="6" else export PW_VULKAN_USE="2" fi