Skip to content

Add Warudo to proton disablenvapi#9588

Open
madalee-com wants to merge 2 commits intoValveSoftware:proton_10.0from
madalee-com:disablenvapi-warudo
Open

Add Warudo to proton disablenvapi#9588
madalee-com wants to merge 2 commits intoValveSoftware:proton_10.0from
madalee-com:disablenvapi-warudo

Conversation

@madalee-com
Copy link
Copy Markdown

On Proton 9 and up Warudo will crash on launch with NVIDIA cards unless NVAPI is disabled.

This adds Warudo to the list of exceptions for disablenvapi

@madalee-com
Copy link
Copy Markdown
Author

Also added Warudo to the hidenvgpu section. This prevents a "slow" memory leak, around 360MB an hour.

@hoshinolina
Copy link
Copy Markdown

Can confirm this is needed.

@ivyl
Copy link
Copy Markdown
Collaborator

ivyl commented Apr 2, 2026

@Saancreed and @jp7677 - they may want to have a look at the nvapi crash first before we add a hack. The leak may be related to it.

@Saancreed
Copy link
Copy Markdown
Contributor

Saancreed commented Apr 2, 2026

From what I see in logs attached to #8896, NVAPI dll isn't even loaded at all by the application. I suspect this isn't something caused by NVAPI itself, but the application doing something when it sees Nvidia VendorId.

It does, however, attempt to load nvcuda.dll, except Proton's default implementation of that library is just a stub that will crash on any attempt to actually use it. I believe Divinity Original Sin 2 suffers from the same issue. Perhaps it would work with a more proper implementation, like SveSop's one from his nvidia-libs project (older version that still supported 32-bit applications).

But for now I'm mostly curious if just WINEDLLOVERRIDES='nvcuda=' or DXVK_CONFIG='dxgi.customVendorId=1002' would be enough for a viable workaround, because it really looks like something out of scope of our little project, even if disabling NVAPI accidentally fixes it.

@hoshinolina hoshinolina mentioned this pull request Apr 2, 2026
2 tasks
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.

4 participants