If Vulkan Cube test is not passed then use OpenGL
This commit is contained in:
parent
89566ea1ef
commit
f409d7f5d5
@ -325,6 +325,12 @@ start_portwine () {
|
||||
setxkbmap -model pc101 us -print | xkbcomp - $DISPLAY
|
||||
fi
|
||||
|
||||
if ! "${PW_WINELIB}/portable/bin/vkcube" --c 50; then
|
||||
print_info "Vulkan cube test error use OpenGL"
|
||||
export PW_VULKAN_USE=0
|
||||
fi
|
||||
|
||||
|
||||
if [[ "${PW_USE_D3D_EXTRAS}" == 1 ]] ; then
|
||||
if [[ -z "`grep d3dx9 "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/winetricks.log"`" ]] ; then
|
||||
echo "d3dx9" >> "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/winetricks.log"
|
||||
|
@ -153,7 +153,7 @@ portwine_start_debug () {
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "Vulkan cube test passed successfully" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
else
|
||||
echo "Vkcube test completed with error" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "Vulkan cube test completed with error" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
fi
|
||||
if [ ! -x "$(command -v gamemoderun 2>/dev/null)" ]
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user