diff --git a/data_from_portwine/scripts/runlib b/data_from_portwine/scripts/runlib index 9fde74ae..01560181 100755 --- a/data_from_portwine/scripts/runlib +++ b/data_from_portwine/scripts/runlib @@ -326,8 +326,9 @@ start_portwine () { fi if ! "${PW_WINELIB}/portable/bin/vkcube" --c 50; then - print_info "Vulkan cube test error use OpenGL" + print_info "Vulkan cube test error, force use OpenGL" export PW_VULKAN_USE=0 + export PW_VULKAN_SUPPORT=0 fi @@ -376,7 +377,9 @@ start_portwine () { PATH_TO_VKD3D_FILES="${PW_VULKAN_DIR}/opengl" if [[ "${PW_VULKAN_USE}" == "0" ]] ; then - print_info "Use OpenGL" + if [[ "${PW_VULKAN_SUPPORT}" != "0" ]] ; then + print_info "Use OpenGL" + fi export GL_YIELD="NOTHING" export mesa_glthread=true var_winedlloverride_update "d3d11,d3d10,d3d10core,d3d10_1,d3d9,wined3d9,dxgi=b;d3d12,d3d12core="