Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PortWINE-old
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vladislav
PortWINE-old
Commits
42786978
Commit
42786978
authored
Apr 19, 2024
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor fixing PW_MESA_GL_VERSION_OVERRIDE
parent
c606ef85
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
6 deletions
+13
-6
functions_helper
data_from_portwine/scripts/functions_helper
+9
-4
start.sh
data_from_portwine/scripts/start.sh
+3
-2
var
data_from_portwine/scripts/var
+1
-0
No files found.
data_from_portwine/scripts/functions_helper
View file @
42786978
...
...
@@ -2003,6 +2003,10 @@ start_portwine () {
export
WINE_CPU_TOPOLOGY
=
"
${
PW_WINE_CPU_TOPOLOGY
}
"
fi
if
[[
"
${
PW_MESA_GL_VERSION_OVERRIDE
}
"
!=
"disabled"
]]
;
then
export
MESA_GL_VERSION_OVERRIDE
=
"
${
PW_MESA_GL_VERSION_OVERRIDE
}
"
fi
#run_winetricks_from_db
if
[[
!
-z
"
${
PW_MUST_HAVE_DLL
}
"
]]
then
export
PW_DLL_INSTALL
=
"
$(
echo
"
${
PW_MUST_HAVE_DLL
}
${
PW_DLL_INSTALL
}
"
|
awk
'{ for(i=1;i<=NF;i++){a[$i]++} }END{ for(i in a){printf("%s ",i)} }'
)
"
...
...
@@ -2538,9 +2542,10 @@ pw_gui_for_edit_db () {
--field
=
"
${
loc_gui_cpu_limit
}
!
${
loc_gui_cpu_limit_help
}
:CB"
"
${
CPU_LIMIT_VAR
}
!disabled!
${
GET_LOGICAL_CORE
}
"
\
--field
=
"
${
loc_gui_gpu_select
}
!
${
loc_gui_gpu_select_help
}
:CB"
"
${
GPU_VAR
}
!disabled!
${
GET_GPU_NAMES
}
"
\
--field
=
"
${
loc_gui_arg_gamescope
}
!
${
loc_gui_arg_gamescope_help
}
:CBE"
"
\\
${
GAMESCOPE_ARGS
}
!-r 60 -F fsr!"
\
--field
=
"
${
loc_gui_opengl_version
}
!
${
loc_gui_opengl_version_help
}
:CBE"
"
${
MESA_GL_VERSION_OVERRIDE
}
!4.6COMPAT!4.6!4.5COMPAT!4.5!3.3COMPAT!3.3"
2>/dev/null 1>
"
${
PORT_WINE_TMP_PATH
}
/tmp_output_yad_fps_limit"
2>/dev/null &
--field
=
"
${
loc_gui_opengl_version
}
!
${
loc_gui_opengl_version_help
}
:CB"
"
${
PW_MESA_GL_VERSION_OVERRIDE
}
!disabled!4.6COMPAT!4.6!4.5COMPAT!4.5!3.3COMPAT!3.3"
\
2>/dev/null 1>
"
${
PORT_WINE_TMP_PATH
}
/tmp_output_yad_fps_limit"
2>/dev/null &
"
${
pw_yad_v13_0
}
"
--paned
--key
=
"
$KEY_EDIT_DB_GUI
"
--title
"EDIT_DB"
--text-align
=
center
--height
=
"7
0
0"
\
"
${
pw_yad_v13_0
}
"
--paned
--key
=
"
$KEY_EDIT_DB_GUI
"
--title
"EDIT_DB"
--text-align
=
center
--height
=
"7
5
0"
\
--text
"
${
loc_gui_edit_db
}
<b>
${
PORTWINE_DB
}
</b>
\n
${
loc_gui_edit_db_help
}
"
--separator
=
" "
\
--window-icon
=
"
$PW_GUI_ICON_PATH
/portproton.svg"
\
--button
=
"
${
loc_gui_cancel
}
"
!
"
$PW_GUI_ICON_PATH
/
$BUTTON_SIZE
.png"
!
"
${
loc_gui_cancel_help
}
"
:1
\
...
...
@@ -2583,7 +2588,7 @@ pw_gui_for_edit_db () {
CPU_LIMIT
=
"
$(
cat
"
${
PORT_WINE_TMP_PATH
}
/tmp_output_yad_fps_limit"
|
awk
-F
"%"
'{print $7}'
)
"
PW_GPU_USE
=
"
$(
cat
"
${
PORT_WINE_TMP_PATH
}
/tmp_output_yad_fps_limit"
|
awk
-F
"%"
'{print $8}'
)
"
GAMESCOPE_ARGS
=
"
$(
cat
"
${
PORT_WINE_TMP_PATH
}
/tmp_output_yad_fps_limit"
|
awk
-F
"%"
'{print $9}'
)
"
MESA_GL_VERSION_OVERRIDE
=
"
$(
cat
"
${
PORT_WINE_TMP_PATH
}
/tmp_output_yad_fps_limit"
|
awk
-F
"%"
'{print $10}'
)
"
PW_
MESA_GL_VERSION_OVERRIDE
=
"
$(
cat
"
${
PORT_WINE_TMP_PATH
}
/tmp_output_yad_fps_limit"
|
awk
-F
"%"
'{print $10}'
)
"
# PW_AMD_VULKAN_USE="`cat "${PORT_WINE_TMP_PATH}/tmp_output_yad_fps_limit" | awk -F"%" '{print $10}'`"
if
[[
"
${
CPU_LIMIT
}
"
!=
"disabled"
]]
;
then
...
...
@@ -2592,7 +2597,7 @@ pw_gui_for_edit_db () {
export
PW_WINE_CPU_TOPOLOGY
=
"disabled"
fi
echo
"pw_gui_for_edit_db PORTWINE_DB_FILE=
$PORTWINE_DB_FILE
"
edit_db_from_gui
$@
LAUNCH_PARAMETERS PW_WINDOWS_VER PW_DLL_INSTALL WINEDLLOVERRIDES PW_WINE_CPU_TOPOLOGY GAMESCOPE_ARGS MESA_GL_VERSION_OVERRIDE
edit_db_from_gui
$@
LAUNCH_PARAMETERS PW_WINDOWS_VER PW_DLL_INSTALL WINEDLLOVERRIDES PW_WINE_CPU_TOPOLOGY GAMESCOPE_ARGS
PW_
MESA_GL_VERSION_OVERRIDE
if
[[
-z
"
$MANGOHUD_CONFIG
"
]]
;
then
MONITOR_HEIGHT
=
"
$(
echo
$PW_SCREEN_RESOLUTION
|
awk
-F
'x'
'{print $2}'
)
"
MH_FONT_SIZE
=
"font_size=
$((
MONITOR_HEIGHT
/
45
))
"
...
...
data_from_portwine/scripts/start.sh
View file @
42786978
...
...
@@ -52,12 +52,13 @@ if [[ "${PW_SILENT_RESTART}" == 1 ]] || [[ "${START_FROM_STEAM}" == 1 ]] ; then
else
unset
PW_GUI_DISABLED_CS
fi
unset
MANGOHUD MANGOHUD_DLSYM PW_NO_ESYNC PW_NO_FSYNC PW_VULKAN_USE WINEDLLOVERRIDES PW_NO_WRITE_WATCH PW_YAD_SET PW_ICON_FOR_YAD
unset
PW_CHECK_AUTOINSTAL PW_VKBASALT_EFFECTS PW_VKBASALT_FFX_CAS PORTWINE_DB PORTWINE_DB_FILE PW_DISABLED_CREATE_DB RADV_PERFTEST
unset
CHK_SYMLINK_FILE
MESA_GL_VERSION_OVERRIDE PATH_TO_GAME PW_START_DEBUG PORTPROTON_NAME PORTWINE_CREATE_SHORTCUT
_NAME FLATPAK_IN_USE
unset
CHK_SYMLINK_FILE
PW_MESA_GL_VERSION_OVERRIDE MESA_GL_VERSION_OVERRIDE PATH_TO_GAME PW_START_DEBUG PORTPROTON
_NAME FLATPAK_IN_USE
unset
PW_PREFIX_NAME WINEPREFIX VULKAN_MOD PW_WINE_VER PW_ADD_TO_ARGS_IN_RUNTIME PW_GAMEMODERUN_SLR AMD_VULKAN_ICD PW_WINE_CPU_TOPOLOGY
unset
PW_NAME_D_NAME PW_NAME_D_ICON PW_NAME_D_EXEC PW_EXEC_FROM_DESKTOP PW_ALL_DF PW_GENERATE_BUTTONS PW_NAME_D_ICON PW_NAME_D_ICON_48
unset
MANGOHUD_CONFIG PW_WINE_USE WINEDLLPATH WINE WINEDIR WINELOADER WINESERVER PW_USE_RUNTIME
unset
MANGOHUD_CONFIG PW_WINE_USE WINEDLLPATH WINE WINEDIR WINELOADER WINESERVER PW_USE_RUNTIME
PORTWINE_CREATE_SHORTCUT_NAME
export
PORT_WINE_TMP_PATH
=
"
${
PORT_WINE_PATH
}
/data/tmp"
rm
-f
$PORT_WINE_TMP_PATH
/
*
{
exe,msi,tar
}
*
...
...
data_from_portwine/scripts/var
View file @
42786978
...
...
@@ -27,6 +27,7 @@ export WINE_ALLOW_XIM="0"
export
PW_USE_SHADER_CACHE
=
"1"
export
PW_WINE_CPU_TOPOLOGY
=
"disabled"
export
STAGING_SHARED_MEMORY
=
"1"
export
PW_MESA_GL_VERSION_OVERRIDE
=
"disabled"
export
PW_FORCE_LARGE_ADDRESS_AWARE
=
"1"
export
PW_USE_EAC_AND_BE
=
"1"
export
PW_USE_US_LAYOUT
=
"0"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment