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
1341bc6a
Commit
1341bc6a
authored
Dec 08, 2023
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'Boria138-fix-intel'
parents
9e339aca
600f959a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
9 deletions
+7
-9
functions_helper
data_from_portwine/scripts/functions_helper
+0
-8
lang
data_from_portwine/scripts/lang
+0
-0
runlib
data_from_portwine/scripts/runlib
+5
-1
zen_yad_gui
data_from_portwine/scripts/zen_yad_gui
+2
-0
No files found.
data_from_portwine/scripts/functions_helper
View file @
1341bc6a
...
...
@@ -847,13 +847,6 @@ check_nvidia_rtx () {
return
1
}
check_hybrid_graphicks
()
{
if
[[
!
-z
"
$(
echo
"
$LSPCI_VGA
"
|
grep
-i
nvidia |
grep
-i
-E
'(intel|amd)'
)
"
]]
then return
0
else return
1
fi
}
pw_init_db
()
{
if
[[
-f
"
${
portwine_exe
}
"
]]
;
then
export
PORTWINE_DB
=
"
$(
basename
"
${
portwine_exe
}
"
.exe
)
"
...
...
@@ -921,7 +914,6 @@ pw_init_db () {
check_variables PW_USE_FAKE_DLSS
"0"
check_variables PW_USE_RAY_TRACING
"1"
fi
check_hybrid_graphicks
&&
check_variables PW_PRIME_RENDER_OFFLOAD
"1"
fi
[[
"
${
START_FROM_STEAM
}
"
==
1
]]
&&
export
PW_GUI_DISABLED_CS
=
1
...
...
data_from_portwine/scripts/lang
View file @
1341bc6a
This diff is collapsed.
Click to expand it.
data_from_portwine/scripts/runlib
View file @
1341bc6a
...
...
@@ -115,6 +115,10 @@ start_portwine () {
fi
if
[[
"
${
PW_USE_GAMESCOPE
}
"
==
1
]]
&&
command
-v
gamescope &>/dev/null
;
then
# Workaround for https://gitlab.freedesktop.org/mesa/mesa/-/issues/6029
if
grep
-q
"i915"
<<<
$(
lsmod
)
;
then
export
INTEL_DEBUG
=
norbc
fi
if
[[
!
-z
"
$GAMESCOPE_ARGS
"
]]
then
export
PW_RUN_GAMESCOPE
=
"gamescope -o 30
${
GAMESCOPE_ARGS
}
--"
else
export
PW_RUN_GAMESCOPE
=
"gamescope -o 30 --"
...
...
@@ -122,7 +126,7 @@ start_portwine () {
export
PW_WINE_FULLSCREEN_FSR
=
0
else
export
PW_USE_GAMESCOPE
=
0
unset
PW_RUN_GAMESCOPE
unset
PW_RUN_GAMESCOPE
INTEL_DEBUG
fi
enabled_fake_nvidia_videocard
()
...
...
data_from_portwine/scripts/zen_yad_gui
View file @
1341bc6a
...
...
@@ -166,6 +166,8 @@ pw_gui_for_edit_db () {
if
[[
!
-z
"
${
PW_GPU_USE
}
"
]]
&&
[[
"
${
PW_GPU_USE
}
"
!=
"disabled"
]]
;
then
GPU_VAR
=
"
${
PW_GPU_USE
}
"
elif
[[
!
-z
"
${
PW_USE_GAMESCOPE
}
"
]]
;
then
GPU_VAR
=
"disabled"
else
GPU_VAR
=
"disabled"
fi
...
...
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