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
e09c3ee2
Commit
e09c3ee2
authored
Dec 16, 2023
by
vanomj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix gamescope on multiply nvidia gpu devices
parent
aa010091
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
runlib
data_from_portwine/scripts/runlib
+2
-2
No files found.
data_from_portwine/scripts/runlib
View file @
e09c3ee2
...
...
@@ -125,8 +125,8 @@ start_portwine () {
export
INTEL_DEBUG
=
norbc
fi
if
[[
"
${
PW_GPU_USE
}
"
!=
"disabled"
]]
;
then
PW_vendorID
=
"
$(
vulkaninfo
--summary
2>/dev/null |
grep
-B3
"
${
PW_GPU_USE
}
"
|
grep
vendorID |
awk
-F
'0x'
'{print $2}'
)
"
PW_deviceID
=
"
$(
vulkaninfo
--summary
2>/dev/null |
grep
-B3
"
${
PW_GPU_USE
}
"
|
grep
deviceID |
awk
-F
'0x'
'{print $2}'
)
"
PW_vendorID
=
"
$(
vulkaninfo
--summary
2>/dev/null |
grep
-B3
"
${
PW_GPU_USE
}
"
|
grep
vendorID |
sort
-u
|
awk
-F
'0x'
'{print $2}'
)
"
PW_deviceID
=
"
$(
vulkaninfo
--summary
2>/dev/null |
grep
-B3
"
${
PW_GPU_USE
}
"
|
grep
deviceID |
sort
-u
|
awk
-F
'0x'
'{print $2}'
)
"
PW_ID_VIDEO
=
"--prefer-vk-device
${
PW_vendorID
}
:
${
PW_deviceID
}
"
else
unset
PW_ID_VIDEO
...
...
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