diff --git a/winehelper b/winehelper index 16ecb4d..5800989 100755 --- a/winehelper +++ b/winehelper @@ -948,6 +948,10 @@ init_wineprefix () { # хак для XRDP сессии if [[ $DISPLAY == *:10.0 ]] ; then + if ! lspci | grep -i nvidia > /dev/null ; then + export MESA_GL_VERSION_OVERRIDE="3.3" + export MESA_GLSL_VERSION_OVERRIDE="330" + fi print_warning "Обнаружена сессия XRDP, настраиваем реестр:" get_and_set_reg_file --add 'Software\Wine\X11 Driver' 'UseXRandR' 'REG_SZ' "N" "user" get_and_set_reg_file --add 'Software\Wine\X11 Driver' 'UseXVidMode' 'REG_SZ' "N" "user"