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

Spoof Pascal for non-NVIDIA propietary driver #146

Merged
merged 2 commits into from
Oct 7, 2023

Conversation

jp7677
Copy link
Owner

@jp7677 jp7677 commented Oct 7, 2023

Not that cool to do this, but seems to help to use LatencyFlex on AMD GPUs with Streamline because NvAPI_GPU_GetArchInfo no longer fails.

There shouldn't be any side effects since DLSS requires at least Turing.

Prevents unexpected behavior when GetMonitorInfo is called
with nullptr, like in the tests.
Copy link
Collaborator

@Saancreed Saancreed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There shouldn't be any side effects since DLSS requires at least Turing.

I'd still spoof those GPUs as Pascal for two reasons:

  1. To reduce the likelyhood of some games suddenly starting to pop some annoying "This is an ancient and totally unsupported GPU!" warnings.
  2. Because of https://github.com/NVIDIAGameWorks/Streamline/blob/main/source/plugins/sl.reflex/reflexEntry.cpp#L170-L182

This helps to use LatencyFlex on AMD GPUs with Streamline.
DLSS requires at least Turing, so no side effects with that.
@jp7677 jp7677 changed the title Spoof Kepler for non-NVIDIA propietary driver Spoof Pascal for non-NVIDIA propietary driver Oct 7, 2023
@jp7677 jp7677 marked this pull request as ready for review October 7, 2023 16:52
@FakeMichau
Copy link

Works as expected - allows the usage of latencyflex2 so latencyflex should also work.

@jp7677 jp7677 merged commit ed4338f into master Oct 7, 2023
1 check passed
@jp7677 jp7677 deleted the spoof-pascal-for-non-nv branch October 8, 2023 04:48
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.

Witcher 3: Wild Hunt LatencyFlex isn't working on AMD GPU
3 participants