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
996fbfdd
Commit
996fbfdd
authored
Dec 12, 2023
by
Boria138
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor fix
parent
3b7656e2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
runlib
data_from_portwine/scripts/runlib
+1
-1
start.sh
data_from_portwine/scripts/start.sh
+5
-6
No files found.
data_from_portwine/scripts/runlib
View file @
996fbfdd
...
...
@@ -773,7 +773,7 @@ create_new_dir "${PORT_WINE_TMP_PATH}"/mono
export
PW_VULKAN_DIR
=
"
${
PORT_WINE_TMP_PATH
}
/VULKAN"
create_new_dir
"
${
PW_VULKAN_DIR
}
"
export
VULKAN_API_DRIVER_VERSION
=
"
$(
vulkaninfo 2>/dev/null |
grep
"api"
|
head
-n
1 |
awk
'{print $3}'
)
"
export
VULKAN_API_DRIVER_VERSION
=
"
$(
vulkaninfo
--summary
2>/dev/null |
grep
"api"
|
head
-n
1 |
awk
'{print $3}'
)
"
export
VULKAN_DRIVER_NAME
=
"
$(
vulkaninfo
--summary
2>/dev/null |
grep
driverName |
awk
'{print$3}'
|
head
-1
)
"
export
LSPCI_VGA
=
"
$(
lspci
-k
|
grep
-E
'VGA|3D'
|
tr
-d
'\n'
)
"
...
...
data_from_portwine/scripts/start.sh
View file @
996fbfdd
...
...
@@ -28,9 +28,8 @@ if [[ "${XDG_SESSION_TYPE}" = "wayland" ]] && [[ ! -f "${PORT_WINE_TMP_PATH}/che
echo
"1"
>
"
${
PORT_WINE_TMP_PATH
}
/check_wayland"
fi
if
[[
-z
"
$VULKAN_DRIVER_NAME
"
]]
||
[[
"
$VULKAN_DRIVER_NAME
"
=
~
"llvmpipe"
]]
||
[[
!
-f
"
${
PORT_WINE_TMP_PATH
}
/check_vulkan
"
]]
;
then
if
[[
-z
"
$VULKAN_DRIVER_NAME
"
]]
||
[[
"
$VULKAN_DRIVER_NAME
"
=
=
"llvmpipe
"
]]
;
then
zenity_info
"Attention working version of vulkan not detected!
\n
It is recommended to run games in OpenGL (low performance possible)!"
echo
"1"
>
"
${
PORT_WINE_TMP_PATH
}
/check_vulkan"
fi
if
[[
-f
"
${
PORT_WINE_TMP_PATH
}
/tmp_main_gui_size"
]]
&&
[[
!
-z
"
$(
cat
${
PORT_WINE_TMP_PATH
}
/tmp_main_gui_size
)
"
]]
;
then
...
...
@@ -563,10 +562,10 @@ do
export
DIST_ADD_TO_GUI
=
"
${
DIST_ADD_TO_GUI
}
!
${
DAIG
}
"
done
if
[[
$VULKAN_API_DRIVER_VERSION
==
1.[1-2].
*
]]
then
check_variables PW_VULKAN_USE
"1"
else
check_variables PW_VULKAN_USE
"2"
fi
#
if [[ $VULKAN_API_DRIVER_VERSION == 1.[1-2].* ]]
#
then check_variables PW_VULKAN_USE "1"
#
else check_variables PW_VULKAN_USE "2"
#
fi
check_nvidia_rtx
&&
check_variables PW_VULKAN_USE
"2"
case
"
${
PW_VULKAN_USE
}
"
in
...
...
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