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
5eb82457
Commit
5eb82457
authored
Dec 22, 2024
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated AMD_VULKAN_DRIVER_LIST
parent
0d9ee584
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
37 deletions
+37
-37
functions_helper
data_from_portwine/scripts/functions_helper
+37
-37
No files found.
data_from_portwine/scripts/functions_helper
View file @
5eb82457
...
@@ -2799,45 +2799,45 @@ pw_skip_get_info () {
...
@@ -2799,45 +2799,45 @@ pw_skip_get_info () {
GET_AMD_VULKAN_DRIVER_LIST
=
"amdvlk amdgpupro radv"
GET_AMD_VULKAN_DRIVER_LIST
=
"amdvlk amdgpupro radv"
unset
AMD_VULKAN_DRIVER_LIST
unset
AMD_VULKAN_DRIVER_LIST
for
DRIVER
in
$GET_AMD_VULKAN_DRIVER_LIST
;
do
if
!
check_flatpak
\
case
"
$DRIVER
"
in
&&
[[
$(
check_vendor_gpu
)
=
~ amd
]]
"amdvlk"
)
then
for
file
in
/opt/amdgpu/etc/vulkan/icd.d/amd_icd
*
.json
\
for
DRIVER
in
$GET_AMD_VULKAN_DRIVER_LIST
;
do
/etc/vulkan/icd.d/amd_icd
*
.json
\
case
"
$DRIVER
"
in
/usr/share/vulkan/icd.d/amd_icd
*
.json
;
do
"amdvlk"
)
if
[
-f
"
$file
"
]
;
then
for
file
in
/opt/amdgpu/etc/vulkan/icd.d/amd_icd
*
.json
\
AMD_VULKAN_DRIVER_LIST+
=
"amdvlk"
/etc/vulkan/icd.d/amd_icd
*
.json
\
break
/usr/share/vulkan/icd.d/amd_icd
*
.json
;
do
fi
if
[
-f
"
$file
"
]
;
then
done
AMD_VULKAN_DRIVER_LIST+
=
"amdvlk"
;;
break
"amdgpupro"
)
fi
for
file
in
/opt/amdgpu-pro/etc/vulkan/icd.d/amd_icd
*
.json
\
done
/usr/share/vulkan/icd.d/amd_pro_icd
*
.json
;
do
;;
if
[
-f
"
$file
"
]
;
then
"amdgpupro"
)
AMD_VULKAN_DRIVER_LIST+
=
"!amdgpupro"
for
file
in
/opt/amdgpu-pro/etc/vulkan/icd.d/amd_icd
*
.json
\
break
/usr/share/vulkan/icd.d/amd_pro_icd
*
.json
;
do
fi
if
[
-f
"
$file
"
]
;
then
done
AMD_VULKAN_DRIVER_LIST+
=
"!amdgpupro"
;;
break
"radv"
)
fi
for
file
in
/usr/share/vulkan/icd.d/radeon_icd.
*
.json
;
do
done
if
[
-f
"
$file
"
]
;
then
;;
AMD_VULKAN_DRIVER_LIST+
=
"!radv"
"radv"
)
break
for
file
in
/usr/share/vulkan/icd.d/radeon_icd.
*
.json
;
do
fi
if
[
-f
"
$file
"
]
;
then
done
AMD_VULKAN_DRIVER_LIST+
=
"!radv"
;;
break
esac
fi
done
done
export
AMD_VULKAN_DRIVER_LIST
;;
esac
if
[[
-z
"
$AMD_VULKAN_DRIVER_LIST
"
]]
||
check_flatpak
;
then
done
AMD_VULKAN_CB
=
":DCB"
export
AMD_VULKAN_DRIVER_LIST
export
AMD_VULKAN_CB
=
":CB"
else
else
AMD_VULKAN_CB
=
":
CB"
export
AMD_VULKAN_CB
=
":D
CB"
fi
fi
export
AMD_VULKAN_CB
logical_cores
=
$(
grep
-c
^
"processor"
/proc/cpuinfo
)
logical_cores
=
$(
grep
-c
^
"processor"
/proc/cpuinfo
)
if
[[
"
${
logical_cores
}
"
-le
"4"
]]
;
then
if
[[
"
${
logical_cores
}
"
-le
"4"
]]
;
then
...
...
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