Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PortWINE-old
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-old
Commits
7a449662
Commit
7a449662
authored
Oct 12, 2023
by
Boria138
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Optimized the code a tiny bit
parent
1b3831f0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
zen_yad_gui
data_from_portwine/scripts/zen_yad_gui
+2
-2
No files found.
data_from_portwine/scripts/zen_yad_gui
View file @
7a449662
...
...
@@ -252,14 +252,14 @@ pw_gui_for_edit_db () {
fi
if
[[
"
${
AMD_VULKAN
}
"
==
"amdvlk"
]]
;
then
export
DISABLE_LAYER_AMD_SWITCHABLE_GRAPHICS_1
=
1
if
[[
$(
cat
/etc/os-release |
grep
-
oP
'PRETTY_NAME="\K[^"]+'
)
==
"Nobara"
]]
;
then
if
[[
$(
cat
/etc/os-release |
grep
-
i
nobara
)
]]
;
then
export
VK_ICD_FILENAMES
=
"/opt/amdgpu/etc/vulkan/icd.d/amd_icd32.json:/opt/amdgpu/etc/vulkan/icd.d/amd_icd64.json"
else
export
VK_ICD_FILENAMES
=
"/usr/share/vulkan/icd.d/amd_icd32.json:/usr/share/vulkan/icd.d/amd_icd64.json"
fi
elif
[[
"
${
AMD_VULKAN
}
"
==
"amdgpupro"
]]
;
then
export
DISABLE_LAYER_AMD_SWITCHABLE_GRAPHICS_1
=
1
if
[[
$(
cat
/etc/os-release |
grep
-
oP
'PRETTY_NAME="\K[^"]+'
)
==
"Nobara"
]]
;
then
if
[[
$(
cat
/etc/os-release |
grep
-
i
nobara
)
]]
;
then
export
VK_ICD_FILENAMES
=
"/opt/amdgpu-pro/etc/vulkan/icd.d/amd_icd32.json:/opt/amdgpu-pro/etc/vulkan/icd.d/amd_icd64.json"
export
LD_LIBRARY_PATH
=
"/opt/amdgpu/libdrm/lib64:/opt/amdgpu/libdrm/lib32:
$LD_LIBRARY_PATH
"
else
...
...
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