-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Vulkan: AMD devices not using threading #10643
Comments
We no longer have a way to disable threading, do we really need to keep this open? |
This issue is specifically about these lines of code in Vulkan: ppsspp/ext/native/thin3d/VulkanRenderManager.cpp Lines 138 to 141 in f2244f7
It's still using the threaded "method", but not threading the same way all other vendors do. -[Unknown] |
Oh right, I forgot that flag still existed. |
We really should re-test this... |
I have AMD anything i can do? |
If you can compile, please remove the "useThread_ = false" line in ppsspp/ext/native/thin3d/VulkanRenderManager.cpp , compile, and see if things work as they should. |
not sure how to do that no appvoyer? can you provide a binary? |
Is this windows specific ? // Temporary AMD hack for issue #10097
if (vulkan_->GetPhysicalDeviceProperties().properties.vendorID == VULKAN_VENDOR_AMD) {
useThread_ = false;
} ... and it still worked fine for me. |
Define "works fine". |
No, it was actually disabled because early Windows Vulkan drivers indeed had problems. Since then we've just left it as it is. |
I recall it being disabled after my own report it doesn't benefit AMD gpu back when I had one, it always worked, it just never had any benefit of "working". But not sitting in anyone elses mind to know other reasons. |
Let's experimentally turn it back on after the 1.11 release. In the meantime, most machines with an AMD gpu are gonna be "fast enough" anyway, so... |
@hrydgard ok, but following that issue it was more of a problem with windows update, either way even back then it ran on amd GPU, just without benefits. |
If there are no performance benefits on some Windows devices, but no longer any driver bugs - I'd still say we should enable this everywhere. There's definitely benefit to all GPUs running the same way. I'm sure we could have special annoying double free issues in this alternate codepath, and there's no reason to maintain it if it has no upside. -[Unknown] |
Fixes hrydgard#10643. Assumes affected drivers only supported 1.0 due to year 1.1 supporting drivers started coming out.
Fixes hrydgard#10643. Assumes affected drivers only supported 1.0 due to year 1.1 supporting drivers started coming out.
In #10097 we saw issues with AMD drivers and had to disable by default.
On recent drivers (in that bug), enabling the thread worked, but gained no performance. We've so far left it disabled.
There's still a possibility that it could gain performance (OpenGL gains performance with the thread, after all) in the future. It may be a bug (perhaps we're handling fences in a way that doesn't work great on AMD), or it may be something AMD fixes in a driver update.
Opening this so we can track that.
-[Unknown]
The text was updated successfully, but these errors were encountered: