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

Failed to set Nvidia threaded optimizations #30546

Closed
Theighlin opened this issue Nov 8, 2024 · 5 comments · Fixed by #30560
Closed

Failed to set Nvidia threaded optimizations #30546

Theighlin opened this issue Nov 8, 2024 · 5 comments · Fixed by #30560

Comments

@Theighlin
Copy link

Type

Game behaviour

Bug description

Lazer has been failing to set threaded optimizations for some time on my machine, regardless of the current option of the setting, though i remember it working when it was added.
I reinstalled windows before making this post (for reasons unrelated to osu), installed the official nvidia driver, but the issue persists.

Screenshots or videos

No response

Version

2024.1009.1

Logs

1731054362.network.log
1731054362.performance.log
1731054362.runtime.log
1731054362.auth.log
1731054362.input.log
1731054362.nauth.log

bdach added a commit to bdach/osu that referenced this issue Nov 8, 2024
bdach added a commit to bdach/osu that referenced this issue Nov 8, 2024
@bdach
Copy link
Collaborator

bdach commented Nov 8, 2024

Extra logging shows

[runtime] 2024-11-08 09:28:08 [verbose]: [NVAPI] GetProfileInfo call failed with status code INCOMPATIBLE_STRUCT_VERSION

but I don't see why that would be the case. The only struct involved is this one and things look to check out to me. I wanted to try gpuview again but that tooling is apparently cobbled together using dreams and duct tape and I can't get it to work again.

@smoogipoo you're the most likely the one that will know most / best person to ask; is there some secret pathway to nvidia people that we could use to debug this or something?

@smoogipoo
Copy link
Contributor

smoogipoo commented Nov 8, 2024

Unfortunately I have nothing to help with here, can't see anything wrong in the code. Also don't have inroads to nvidia 😛

@Joehuu
Copy link
Member

Joehuu commented Nov 8, 2024

After bisecting, dda691b seems to be the culprit.

@bdach
Copy link
Collaborator

bdach commented Nov 9, 2024

I'm dumbfounded that bisecting did anything here, and that apparently it's that commit (haven't checked myself yet). For all intents and purposes, I'd expect that size spec to be correct as per https://docs.nvidia.com/gameworks/content/gameworkslibrary/coresdk/nvapi/struct__NVDRS__GPU__SUPPORT.html...?

@smoogipoo
Copy link
Contributor

smoogipoo commented Nov 9, 2024

Nah, it's incorrect. Those are actually 1-bit fields 🙃, meaning this is a 32-bit flags enum.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants