Skip to content

sharedgpures.sys: Request less permissions to duplicate handles#308

Open
xzn wants to merge 1 commit intoValveSoftware:bleeding-edgefrom
xzn:sharedgpuperm
Open

sharedgpures.sys: Request less permissions to duplicate handles#308
xzn wants to merge 1 commit intoValveSoftware:bleeding-edgefrom
xzn:sharedgpuperm

Conversation

@xzn
Copy link

@xzn xzn commented Jan 6, 2026

From issue ValveSoftware/Proton#580 (comment)

Upstream wine bug: N/A. sharedgpures.sys and SharedGpuResource is Valve's wine only.

Summary:

PROCESS_ALL_ACCESS is not needed to duplicate handles for the purpose of sharing gpu resources. Requesting it causes OptiScaler's dx11ondx12 to fail on FFXIV (where PROCESS_VM_WRITE is not allowed). Quick tests with OptiScaler in various games seem ok with this change.

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.

1 participant