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
Remove special treatment for Android in video settings #11095
Conversation
|
You need to update the default value of the setting here too: Line 200 in 299aef9
|
|
Did you notice the flush helping with anything? We should already do it after encoding a download in the vertex manager:
|
No, the vertex manager flushes at specific points before the draw calls that are just before a readback in previous frames.
It didn't really. For some reason, syncing on EFB copies and peeks is still quite a bit slower with Vulkan than GL. |
With deferred readbacks on, it should flush after each readback unless there's a bunch in a row |
|
I dropped the flush commit. |
|
11090 was merged, can this be rebased? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code wise LGTM. Someone needs to test though, I don't have any Android devices.
GitHub says it doesn't need a rebase. It also doesn't touch the same parts as that PR. |
|
It work fine on my poco X3 pro. I have not had any regression. except that Vulkan is no longer that far behind OpenGL. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #7739 for when this was originally added. It looks like there's still an outdated comment from that PR:
| <string name="backend_multithreading">Backend Multithreading</string> <!--Backend Multithreading is only disabled by default on Android --> |
|
Code looks fine to me now, but the commit/PR message should probably use "special cases" instead of "exceptions" to avoid confusion with C++ exceptions or similar. Maybe "Remove Android special-cased default settings"? |
|
Just wanted to mention that, for the first time, Skyward Sword runs at full speed on a SD855 using the Vulkan Backend. Awesome job, folks! |
Having a submission thread with Vulkan is common practice and recommended basically everywhere. I'd expect most Vulkan apps on Android to have one, so I don't see why this is disabled on Android. The more frequent flushing is only done when there are CPU readbacks (for example EFB peeks) and giving the GPU a head start in those cases is definitely beneficial too.
This relies on #11090 to not slow things down.