Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proton: Add forcenvapi and enable for Tony Hawk's Pro Skater 1 + 2 #7344

Closed
wants to merge 255 commits into from

Conversation

misyltoad
Copy link
Contributor

To allow titles like Tony Hawk's Pro Skater 1+2 to support HDR on SteamOS by default.

These games use statically linked AMD AGS.

ivyl and others added 30 commits September 12, 2023 14:55
CW-Bug-Id: #22757
rbernon and others added 25 commits November 16, 2023 22:23
CW-Bug-Id: #22729
CW-Bug-Id: #23000
ShellExecuteW ignores any extra information passed as part of lpFile
resulting in arguments being ignored.

Link: ValveSoftware#6555
To allow titles like Tony Hawk's Pro Skater 1+2 to support HDR on
SteamOS by default.

These games use statically linked AMD AGS.
@misyltoad misyltoad changed the title proton: Add forcenvapi proton: Add forcenvapi and enable for Tony Hawk's Pro Skater 1 + 2 Dec 14, 2023
@misyltoad
Copy link
Contributor Author

Depends on the relevant Proton Wine commit here: ValveSoftware/wine#209

self.env["WINE_HIDE_AMD_GPU"] = "1"
if "DXVK_CONFIG" not in self.env:
self.env["DXVK_CONFIG"] = ";"
self.env["DXVK_CONFIG"] = "dxgi.hideAmdGpu = True"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't we append ; if DXVK_CONFIG is in env and if not set it to empty string and then append the hideAmdGpu bit or am I misreading this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants