[video_core] Improve DMA logic and add an option to sync memory operations #276

Merged
crueter merged 13 commits from enable-accurate-barrier into master 2025-08-20 00:21:26 +02:00
Member

This improves DMA logic and add an option to sync memory operations.

Thanks to Higgs for the new DMA logic.

This improves DMA logic and add an option to sync memory operations. Thanks to Higgs for the new DMA logic.
MaranBr changed title from [video_core] Add checkbox to enable accurate barrier between compute and memory operations to [video_core] Add an option to enable accurate barrier between compute and memory operations 2025-08-18 14:31:58 +02:00
MaranBr force-pushed enable-accurate-barrier from fc5892e453
All checks were successful
eden-license / license-header (pull_request) Successful in 18s
to b5a6afde0a
All checks were successful
eden-license / license-header (pull_request) Successful in 23s
2025-08-18 20:38:00 +02:00
Compare
translations
All checks were successful
eden-license / license-header (pull_request) Successful in 28s
eb93b35892
Update title and description
All checks were successful
eden-license / license-header (pull_request) Successful in 30s
d24ac954f6
MaranBr changed title from [video_core] Add an option to enable accurate barrier between compute and memory operations to [video_core] Add an option to sync memory operations 2025-08-19 05:01:57 +02:00
MaranBr force-pushed enable-accurate-barrier from d24ac954f6
All checks were successful
eden-license / license-header (pull_request) Successful in 30s
to 5358d6c93f
All checks were successful
eden-license / license-header (pull_request) Successful in 24s
2025-08-19 13:19:29 +02:00
Compare
Increase accuracy of memory operations on High a bit more
All checks were successful
eden-license / license-header (pull_request) Successful in 22s
f13c6e8b59
MaranBr changed title from [video_core] Add an option to sync memory operations to [video_core] Improve DMA logic and add an option to sync memory operations 2025-08-19 16:02:30 +02:00
crueter requested changes 2025-08-19 21:15:56 +02:00
Dismissed
@ -93,2 +93,4 @@
<string name="renderer_early_release_fences">Release Fences Early</string>
<string name="renderer_early_release_fences_description">Helps fix 0 FPS in games like DKCR:HD, Subnautica Below Zero and Ori 2, but may break loading or performance in Unreal Engine games.</string>
<string name="sync_memory_operations">Sync Memory Operations</string>
<string name="sync_memory_operations_description">Ensures data consistency between compute and memory operations.\nThis option should fix issues in some games, but may also reduce performance in some cases.\nThe games with Unreal Engine 4 seem to be the most affected.</string>
Owner

Do not use \n on android (also it should just be "Games with...")

Do not use \n on android (also it should just be "Games with...")
MaranBr marked this conversation as resolved
@ -467,3 +467,3 @@
true};
#endif
SwitchableSetting<bool> sync_memory_operations{linkage, false, "sync_memory_operations", Category::RendererAdvanced};
Owner

Technically this could probably be changed at runtime

Technically this could probably be changed at runtime
crueter marked this conversation as resolved
@ -270,2 +270,4 @@
// Renderer (Advanced Graphics)
INSERT(Settings, sync_memory_operations, tr("Sync Memory Operations"),
tr("Ensures data consistency between compute and memory operations.\nThis option should fix issues in some games, but may also reduce performance in some cases.\nThe games with Unreal Engine 4 seem to be the most affected."));
Owner

same here as first comment

same here as first comment
MaranBr marked this conversation as resolved
crueter force-pushed enable-accurate-barrier from edb3e0eafd
All checks were successful
eden-license / license-header (pull_request) Successful in 23s
to 13b8f559a6
All checks were successful
eden-license / license-header (pull_request) Successful in 24s
2025-08-19 21:42:27 +02:00
Compare
crueter approved these changes 2025-08-19 21:42:51 +02:00
crueter merged commit 7bfa2404a6 into master 2025-08-20 00:21:26 +02:00
crueter deleted branch enable-accurate-barrier 2025-08-20 00:21:27 +02:00
Sign in to join this conversation.
No description provided.