Skip to content

[FIX] Always call dxvk.getLatest #4434

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Etaash-mathamsetty
Copy link
Member

@Etaash-mathamsetty Etaash-mathamsetty commented Mar 22, 2025

should fix #4432

Use the following Checklist if you have changed something on the Backend or Frontend:

  • Tested the feature and it's working on a current and clean install.
  • Tested the main App features and they are still working on a current and clean install. (Login, Install, Play, Uninstall, Move games, etc.)
  • Created / Updated Tests (If necessary)
  • Created / Updated documentation (If necessary)

@casasfernando
Copy link
Contributor

casasfernando commented Mar 24, 2025

Thanks a lot for the quick response to the issue with this PR.

Out of curiosity, is the if really needed? Isn't the isOnline check already handled here:

On which scenario is this code path executed? Every time an application/game is launched that has the DXVK auto install/update setting turned on?
What was the problem with checking for DXVK updates once on HGL start up? Was it the online/offline status that created the annoying popup?

Thanks

@arielj
Copy link
Collaborator

arielj commented Mar 28, 2025

Thanks a lot for the quick response to the issue with this PR.

Out of curiosity, is the if really needed? Isn't the isOnline check already handled here:

On which scenario is this code path executed? Every time an application/game is launched that has the DXVK auto install/update setting turned on? What was the problem with checking for DXVK updates once on HGL start up? Was it the online/offline status that created the annoying popup?

Thanks

I think the issue with doing that at boot is that it doesn't need to be downloaded if you use proton (and it's now the recommended compatibility layer to use) and also on mac if you use crossover or gptk it's also not needed.

So instead of downloading it for everyone (even if never used), I understand it was changed to only download it when it's actually used (unless I'm missing something).

@casasfernando
Copy link
Contributor

I see. I’m wondering if it wouldn’t be better to have a global setting to turn dxvk updates on boot on/off (it could be off by default).
This way people that use it can turn it on and people that doesn’t is not affected.
I’m not really convinced to check for updates every time a game/app is launched.

Toughts?

@Etaash-mathamsetty
Copy link
Member Author

Etaash-mathamsetty commented Apr 25, 2025

I see. I’m wondering if it wouldn’t be better to have a global setting to turn dxvk updates on boot on/off (it could be off by default). This way people that use it can turn it on and people that doesn’t is not affected. I’m not really convinced to check for updates every time a game/app is launched.

Toughts?

i think it should be ok, it doesn't download anything, just checks that if what it the version of what it would be downloading is different than the version of that is currently installed. The code only runs if wine is used and not when proton/gptk/crossover is being used either

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.

DXVK auto update not working since HGL version 2.16.x
3 participants