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
Mikhail Tergoev
PortWINE
Commits
94e64da1
Commit
94e64da1
authored
Jun 24, 2025
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added DXVK_HDR support for Wayland
parent
5f3c969e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
functions_helper
data_from_portwine/scripts/functions_helper
+12
-5
No files found.
data_from_portwine/scripts/functions_helper
View file @
94e64da1
...
@@ -4225,11 +4225,15 @@ start_portwine () {
...
@@ -4225,11 +4225,15 @@ start_portwine () {
fi
fi
fi
fi
if
[[
$PW_USE_NATIVE_WAYLAND
==
"1"
]]
;
then
if
check_wayland_session
\
&&
[[
$PW_USE_NATIVE_WAYLAND
==
"1"
||
$PW_USE_DXVK_HDR
==
"1"
]]
then
[[
$PW_USE_DXVK_HDR
==
"1"
]]
&&
export
DXVK_HDR
=
"1"
export
WINE_WAYLAND_HACKS
=
"1"
export
WINE_WAYLAND_HACKS
=
"1"
var_winedlloverride_update
"winex11.drv=d;winewayland.drv=b"
var_winedlloverride_update
"winex11.drv=d;winewayland.drv=b"
get_and_set_reg_file
--add
'Software\Wine\Drivers'
'Graphics'
'REG_SZ'
"x11,wayland"
"user"
get_and_set_reg_file
--add
'Software\Wine\Drivers'
'Graphics'
'REG_SZ'
"x11,wayland"
"user"
else
else
unset
WINE_WAYLAND_HACKS DXVK_HDR
get_and_set_reg_file
--delete
'Software\Wine\Drivers'
'Graphics'
get_and_set_reg_file
--delete
'Software\Wine\Drivers'
'Graphics'
fi
fi
...
@@ -5185,13 +5189,15 @@ gui_edit_db () {
...
@@ -5185,13 +5189,15 @@ gui_edit_db () {
PW_WINE_FULLSCREEN_FSR PW_HIDE_NVIDIA_GPU PW_VIRTUAL_DESKTOP PW_USE_TERMINAL PW_GUI_DISABLED_CS PW_USE_GAMEMODE
PW_WINE_FULLSCREEN_FSR PW_HIDE_NVIDIA_GPU PW_VIRTUAL_DESKTOP PW_USE_TERMINAL PW_GUI_DISABLED_CS PW_USE_GAMEMODE
PW_USE_D3D_EXTRAS PW_FIX_VIDEO_IN_GAME PW_REDUCE_PULSE_LATENCY PW_USE_US_LAYOUT PW_USE_GSTREAMER
PW_USE_D3D_EXTRAS PW_FIX_VIDEO_IN_GAME PW_REDUCE_PULSE_LATENCY PW_USE_US_LAYOUT PW_USE_GSTREAMER
PW_USE_SHADER_CACHE PW_USE_WINE_DXGI PW_USE_EAC_AND_BE PW_USE_SYSTEM_VK_LAYERS PW_USE_OBS_VKCAPTURE
PW_USE_SHADER_CACHE PW_USE_WINE_DXGI PW_USE_EAC_AND_BE PW_USE_SYSTEM_VK_LAYERS PW_USE_OBS_VKCAPTURE
PW_DISABLE_COMPOSITING PW_USE_RUNTIME PW_DINPUT_PROTOCOL PW_USE_
NATIVE_WAYLAND PW_USE_GALLIUM_ZINK
PW_DISABLE_COMPOSITING PW_USE_RUNTIME PW_DINPUT_PROTOCOL PW_USE_
GALLIUM_ZINK PW_USE_GALLIUM_NINE
PW_USE_
GALLIUM_NINE PW_USE_WINED3D_VULKAN PW_USE_SUPPLIED_DXVK_VKD3D
PW_USE_
WINED3D_VULKAN PW_USE_SUPPLIED_DXVK_VKD3D PW_USE_NATIVE_WAYLAND PW_USE_DXVK_HDR
)
)
if
check_wayland_session
if
check_wayland_session
then
rm_from_array
"PW_EDIT_DB_LIST"
PW_USE_US_LAYOUT
then
rm_from_array
"PW_EDIT_DB_LIST"
PW_USE_US_LAYOUT
else
rm_from_array
"PW_EDIT_DB_LIST"
PW_USE_NATIVE_WAYLAND
else
rm_from_array
"PW_EDIT_DB_LIST"
PW_USE_NATIVE_WAYLAND
rm_from_array
"PW_EDIT_DB_LIST"
PW_USE_DXVK_HDR
fi
fi
check_flatpak
&&
rm_from_array
"PW_EDIT_DB_LIST"
PW_USE_RUNTIME
check_flatpak
&&
rm_from_array
"PW_EDIT_DB_LIST"
PW_USE_RUNTIME
...
@@ -5238,7 +5244,8 @@ gui_edit_db () {
...
@@ -5238,7 +5244,8 @@ gui_edit_db () {
PW_DISABLE_COMPOSITING_INFO=${translations[Disable desktop compositing (effects). It often improves performance.]}
PW_DISABLE_COMPOSITING_INFO=${translations[Disable desktop compositing (effects). It often improves performance.]}
PW_USE_RUNTIME_INFO=${translations[Use container launch mode (It is recommended not to change the value)]}
PW_USE_RUNTIME_INFO=${translations[Use container launch mode (It is recommended not to change the value)]}
PW_DINPUT_PROTOCOL_INFO=${translations[Force use DirectInput protocol instead of XInput]}
PW_DINPUT_PROTOCOL_INFO=${translations[Force use DirectInput protocol instead of XInput]}
PW_USE_NATIVE_WAYLAND_INFO=${translations[Enable experemental native Wayland support (need special wine build to work)]}
PW_USE_NATIVE_WAYLAND_INFO=${translations[Enable experemental native Wayland support]}
PW_USE_DXVK_HDR_INFO=${translations[Enable HDR settings in games with native Wayland]}
PW_USE_GALLIUM_ZINK_INFO=${translations[Use Gallium Zink (OpenGL driver is implemented via Vulkan)]}
PW_USE_GALLIUM_ZINK_INFO=${translations[Use Gallium Zink (OpenGL driver is implemented via Vulkan)]}
PW_USE_GALLIUM_NINE_INFO=${translations[Use Gallium Nine (native DirectX 9 for MESA)]}
PW_USE_GALLIUM_NINE_INFO=${translations[Use Gallium Nine (native DirectX 9 for MESA)]}
PW_USE_WINED3D_VULKAN_INFO=${translations[Instead of DXVK, use WineD3D vulkan (Damavand). Experimental function.]}
PW_USE_WINED3D_VULKAN_INFO=${translations[Instead of DXVK, use WineD3D vulkan (Damavand). Experimental function.]}
...
...
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