Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PortWINE
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
Commits
671bace4
Commit
671bace4
authored
Jun 02, 2020
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FSYNC ON and vertical synchronization disabled from DX to OpenGL
parent
e1929234
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
18 deletions
+14
-18
proton
data_from_portwine/proton
+1
-4
runlib
data_from_portwine/scripts/runlib
+8
-7
start
data_from_portwine/scripts/start
+2
-2
vars
data_from_portwine/scripts/vars
+3
-5
No files found.
data_from_portwine/proton
View file @
671bace4
...
...
@@ -15,10 +15,7 @@ import tarfile
from
filelock
import
FileLock
#To enable debug logging, copy "user_settings.sample.py" to "user_settings.py"
#and edit it if needed.
CURRENT_PREFIX_VERSION
=
"5.6-GE-2"
CURRENT_PREFIX_VERSION
=
"5.8"
PFX
=
"Proton: "
ld_path_var
=
"LD_LIBRARY_PATH"
...
...
data_from_portwine/scripts/runlib
View file @
671bace4
...
...
@@ -67,9 +67,6 @@ export PATH="${WINEDIR}/bin:${PATH}"
export
WINESTART
=
"C:
\\
windows
\\
command
\\
start.exe"
export
STEAM_COMPAT_DATA_PATH
=
"
${
PORT_WINE_PATH
}
/data/"
########################################################################
export
DXVK_STATE_CACHE_PATH
=
"
${
PATH_TO_GAME
}
"
export
DXVK_STATE_CACHE
=
1
export
urlg
=
"http://portwine-linux.ru/donate"
########################################################################
START_PORTWINE
()
...
...
@@ -104,7 +101,7 @@ if [ -x "`which nvidia-settings 2>/dev/null`" ]; then
fi
export
__NV_PRIME_RENDER_OFFLOAD
=
1
export
__GLX_VENDOR_LIBRARY_NAME
=
nvidia
# export __GL_SYNC_TO_VBLANK=1
export
__GL_SYNC_TO_VBLANK
=
0
export
__GL_SHADER_DISK_CACHE_PATH
=
"
${
PATH_TO_GAME
}
"
export
__GL_SHADER_DISK_CACHE
=
1
export
__GL_SHADER_DISK_CACHE_SIZE
=
1000000000
...
...
@@ -119,9 +116,8 @@ if [ -x "`which nvidia-settings 2>/dev/null`" ]; then
echo
"runtime libs is disabled"
else
export
DRI_PRIME
=
1
# export vblank_mode=1
export
vblank_mode
=
0
export
mesa_glthread
=
true
# export RADV_DEBUG=nocache,nomemorycache
local
AMD_ATI
=
"
$(
lspci |
grep
AMD/ATI
)
"
if
[
!
-z
"
${
AMD_ATI
}
"
]
;
then
# export DXVK_CONFIG_FILE="${PORT_WINE_PATH}/data/dxvk_amd.conf"
...
...
@@ -133,7 +129,11 @@ else
fi
fi
fi
if
[
"
${
var_dxvk_on
}
"
-eq
"1"
]
;
then
export
DXVK_STATE_CACHE_PATH
=
"
${
PATH_TO_GAME
}
"
export
DXVK_STATE_CACHE
=
1
if
[
"
${
var_dxvk_on
}
"
-eq
"0"
]
;
then
export
DXVK_STATE_CACHE
=
0
elif
[
"
${
var_dxvk_on
}
"
-eq
"1"
]
;
then
export
DXVK_HUD
=
0
elif
[
"
${
var_dxvk_on
}
"
-eq
"2"
]
;
then
export
DXVK_HUD
=
"fps,devinfo,version"
...
...
@@ -142,6 +142,7 @@ export def_pfx="${PORT_WINE_PATH}/data/dist/share/default_pfx/"
if
[
!
-d
"
${
def_pfx
}
"
]
;
then
"
${
PROTONRUN
}
"
"run"
| pwzen
fi
export
PROTON_NO_FSYNC
=
0
if
[
"
$(
ulimit
-n
)
"
-lt
50000
]
;
then
export
PROTON_NO_ESYNC
=
1
echo
"ESYNC is disabled"
...
...
data_from_portwine/scripts/start
View file @
671bace4
...
...
@@ -4,8 +4,8 @@
"
${
WINESERVER
}
"
-k
START_PORTWINE
if
[
!
-z
${
optirun_on
}
]
;
then
${
optirun_on
}
"
${
PROTONRUN
}
"
"run"
"
${
gamestart
}
"
${
launch_parameters
}
${
optirun_on
}
"
${
PROTONRUN
}
"
"run"
"
${
gamestart
}
"
${
launch_parameters
}
&>/dev/null
else
"
${
PROTONRUN
}
"
"run"
"
${
gamestart
}
"
${
launch_parameters
}
"
${
PROTONRUN
}
"
"run"
"
${
gamestart
}
"
${
launch_parameters
}
&>/dev/null
fi
STOP_PORTWINE
data_from_portwine/scripts/vars
View file @
671bace4
...
...
@@ -9,14 +9,12 @@ export porturl="http://portwine-linux.ru/"
export
PATH_TO_GAME
=
"
${
PORT_WINE_PATH
}
/data/pfx/drive_c/Program Files (x86)/
${
gamedir
}
"
export
gamestart
=
"
${
PATH_TO_GAME
}
/.exe"
########################################################################
export
MESA_GL_VERSION_OVERRIDE
=
4.4COMPAT
#
export MESA_GL_VERSION_OVERRIDE=4.4COMPAT
export
STAGING_SHARED_MEMORY
=
1
export
PROTON_FORCE_LARGE_ADDRESS_AWARE
=
0
export
PROTON_FORCE_LARGE_ADDRESS_AWARE
=
1
export
PROTON_USE_SECCOMP
=
0
export
WINEDLLOVERRIDES
=
"winemenubuilder.exe=d"
export
WINEDEBUG
=
"-all"
export
kill_winedevice
=
0
export
kill_explorer
=
0
export
PORTWINE_ACO
=
1
########################################################################
ADD_IN_START_PORTWINE
()
...
...
@@ -31,7 +29,7 @@ then ###OPENGL###
export
PROTON_OLD_GL_STRING
=
0
else
###DXVK###
export
PROTON_USE_WINED3D
=
0
export
PW_DXGI_FOR_VKD3D
=
1
export
PW_DXGI_FOR_VKD3D
=
0
export
PROTON_NO_D9VK
=
0
export
PROTON_NO_D3D11
=
0
export
PROTON_NO_D3D10
=
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