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

Override bundled DXVK #165

Open
emansom opened this issue Aug 4, 2024 · 4 comments
Open

Override bundled DXVK #165

emansom opened this issue Aug 4, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@emansom
Copy link

emansom commented Aug 4, 2024

Is there any method to override the bundled DXVK for testing etc?

@R1kaB3rN
Copy link
Member

R1kaB3rN commented Aug 4, 2024

One method to override the bundled DXVK is to modify the wine prefix, which comes with the advantage of maintaining the integrity of the Proton build. Since #109, winetricks support has been implemented, requiring either GE-Proton or UMU-Proton to use. See the man page for an example.

Also, please note that the DXVK version reported from DXVK_HUD=version should be reported inaccurately as I believe DXVK uses its read-only version file to report its version.

@R1kaB3rN R1kaB3rN added the question Further information is requested label Aug 4, 2024
@emansom
Copy link
Author

emansom commented Aug 5, 2024

When installing DXVK to the regular Wine prefix, it gets overriden by the DXVK bundled with UMU-Proton.

./.local/share/Steam/compatibilitytools.d/UMU-Proton-9.0-2/files/lib64/wine/x86_64-windows/d3d11.dll
./.local/share/Steam/compatibilitytools.d/UMU-Proton-9.0-2/files/lib64/wine/dxvk/d3d11.dll
./.local/share/Steam/compatibilitytools.d/UMU-Proton-9.0-2/files/share/default_pfx/drive_c/windows/syswow64/d3d11.dll
./.local/share/Steam/compatibilitytools.d/UMU-Proton-9.0-2/files/share/default_pfx/drive_c/windows/system32/d3d11.dll
./.local/share/Steam/compatibilitytools.d/UMU-Proton-9.0-2/files/lib/wine/i386-windows/d3d11.dll
./.local/share/Steam/compatibilitytools.d/UMU-Proton-9.0-2/files/lib/wine/dxvk/d3d11.dll

The paths they are located within have read only bits as well, so someone doesn't like me replacing them I figure.

For context, i'm using the latest stable Lutris (arch repo, 0.5.17-5) with UMU-Proton and have set the version of DXVK to "Manual" in Lutris' Runner options and this doesn't do much.

@R1kaB3rN
Copy link
Member

R1kaB3rN commented Aug 5, 2024

When installing DXVK to the regular Wine prefix, it gets overriden by the DXVK bundled with UMU-Proton.

Indeed. If the verb for Proton isn't runinprefix, the relevant DLLs will be copied again. To avoid this, PROTON_VERB=runinprefix must be set after applying the DXVK verb.

However, even if that problem is solved, I suppose this isn't your use case -- I'm guessing you want to use a bleeding edge or your own customized DXVK build?

@emansom
Copy link
Author

emansom commented Aug 6, 2024

I'm guessing you want to use a bleeding edge or your own customized DXVK build?

Yes.

@R1kaB3rN R1kaB3rN added enhancement New feature or request and removed question Further information is requested labels Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants