doitsujin / dxvk

Vulkan-based implementation of D3D9, D3D10 and D3D11 for Linux / Wine
zlib License
12.25k stars 783 forks source link

[util] Add dxvk.maxChunkSize 1 for Origin Web Helper Service and Ubisoft Connect (UPlay) #4047

Closed Tiagoquix closed 1 month ago

Tiagoquix commented 1 month ago

A follow-up to #4037.

Tested by exiting Steam completely, then launching with DXVK_CONFIG="dxvk.maxChunkSize = 1" steam and playing Watch Dogs 1 for about 5 minutes. Haven't experienced any problems.

Below are the processes that stay open with the game in the background: ubisoft

UbisoftConnect.exe is the main process, which doesn't stay open, but I'm adding it for extra safety. upc.exe seems to be what really matters here (I guess it means "UPlay Core").

We also have these ones in the Ubisoft Game Launcher installation folder:

Feel free to add maxchunksize for any process mentioned before that I haven't added if you have a better reasoning.

To be clear, Ubisoft does not support its legacy launcher anymore, and forces the new one onto its users, so there's no point to add UPlay-exclusive-related process names here.

Thank you for your attention.

Tiagoquix commented 1 month ago

I also added the Origin Web Helper service (it's basically Chromium overlay for Origin) and corrected(?) the Rockstar-related names.

Not sure if my syntax is correct. The spaces seem wrong, but I'm not 100% sure if they really are wrong.

Tiagoquix commented 1 month ago

@Blisto91 Many thanks for your help. The PR is what I initially wanted now.

For extra safety, I kept the folders.

Tiagoquix commented 1 month ago

Please consider a squash merge to avoid unnecessary commits.

doitsujin commented 1 month ago

This band-aid is getting annoying and we really need to find a way to make this the default behaviour for all apps, but well, guess the band-aid fixes will do for now.

Tiagoquix commented 1 month ago

Nothing is more permanent than a temporary solution. 🍷