-
Notifications
You must be signed in to change notification settings - Fork 1k
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
dxvk-nvapi: Add to Proton #4877
dxvk-nvapi: Add to Proton #4877
Conversation
For FH4.
CW-Bug-Id: 18905
Add https://github.com/jp7677/dxvk-nvapi as a submodule. dxvk-nvapi will not be copied into Proton prefixes by default, but instead will be controlled via the environment variable PROTON_ENABLE_NVAPI. This is done to avoid any potential adverse effects of the nvapi DLL existing in cases where an application may require a function that is not implemented by dxvk-nvapi. This new functionality can be enabled by setting the following environment variable to a value of `1`: `PROTON_ENABLE_NVAPI` Additionally the `PROTON_NO_NVAPI_CLEANUP` environment variable has been added for development/debugging purposes. This functionality is needed in order to support DLSS within Proton. Reviewed-by: Adam Moss <amoss@nvidia.com>
Looks good. I added a fixup commit to your branch with a couple small changes. Some other thoughts:
|
I can create a release for dxvk-nvapi if that makes things a bit more convinient. |
I had it in for local testing so that I could easily drop-in a custom
I'm fine with simplifying the
I'll confirm this later today and comment here once I've verified. From inspection I don't think there should be any issues with that. |
Another thought I had was that when |
Yeah, that's something to ask the DXVK folks how they want to handle (disable the nvapi hack if loading nvapi.dll succeeds or something). We can then duplicate that logic in Wine's DXGI. |
I've pushed a couple more changes. This drops the I'm planning to release this in Experimental today if no one objects. |
Putting this in Experimental is good with me. I'll follow up with the DXVK maintainers separately regarding the future of their nvapiHack option. |
I have tagged current master of |
Let's go with |
v0.3 it is. Thanks! |
This is included in experimental-6.3-20210602 as 0503dde. |
Add https://github.com/jp7677/dxvk-nvapi as a submodule. dxvk-nvapi will
not be copied into Proton prefixes by default, but instead will be
controlled via the environment variable PROTON_ENABLE_NVAPI. This is
done to avoid any potential adverse effects of the nvapi DLL existing
in cases where an application may require a function that is not
implemented by dxvk-nvapi.
This new functionality can be enabled by setting the following environment
variable to a value of
1
:PROTON_ENABLE_NVAPI
Additionally the
PROTON_NO_NVAPI_CLEANUP
environment variable has beenadded for development/debugging purposes.
This functionality is needed in order to support DLSS within Proton.