Skip to content

Android: Improve Oboe and Vulkan robustness on S23 Ultra - #138

Merged
winnerspiros merged 2 commits into
masterfrom
fix/android-oboe-vulkan-robustness-7037210485410256682
Apr 2, 2026
Merged

Android: Improve Oboe and Vulkan robustness on S23 Ultra#138
winnerspiros merged 2 commits into
masterfrom
fix/android-oboe-vulkan-robustness-7037210485410256682

Conversation

@google-labs-jules

Copy link
Copy Markdown

This PR addresses issues where Oboe audio was not engaging and Vulkan was flickering on the S23 Ultra.

Key changes:

  1. Native Library Loading: Added a fallback mechanism to try standard library loading if the initial 'safe' load fails. This ensures osu_native is loaded even on devices with restrictive search path policies.
  2. Oboe Resilience: Modified the native C++ bridge to fallback to Shared sharing mode if Exclusive mode is unavailable, and added format/channel explicit settings for better compatibility.
  3. Vulkan Flickering: Added a device-specific check for the Adreno 740 (S23 Ultra) to disable extensions (present_id/wait) that are known to cause flickering on current drivers.
  4. UI Visibility: Fixed the FPS counter missing Oboe information by correctly overriding properties in the Android game host class and ensuring synchronization with the native bridge manager.

PR created automatically by Jules for task 7037210485410256682 started by @winnerspiros

- Enhanced native library loading in OboeAudioBridge and VulkanProbe with fallbacks for Samsung device security policies.
- Implemented resilient Oboe stream initialization in oboe_bridge.cpp with SharingMode::Shared fallback.
- Added targeted Vulkan workaround for Adreno 740 (S23 Ultra) to disable present_id/wait extensions causing flickering.
- Fixed Oboe status visibility in FPS counter by ensuring properties are correctly overridden in OsuGameAndroid.
- Added comprehensive native bridge logging to diagnose startup initialization failures.
@google-labs-jules

Copy link
Copy Markdown
Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

- Enhanced native library loading in OboeAudioBridge and VulkanProbe with fallbacks for Samsung device security policies.
- Implemented resilient Oboe stream initialization in oboe_bridge.cpp with SharingMode::Shared fallback.
- Added targeted Vulkan workaround for Adreno 740 (S23 Ultra) to disable present_id/wait extensions causing flickering.
- Fixed Oboe status visibility in FPS counter by ensuring properties are correctly overridden in OsuGameAndroid.
- Added comprehensive native bridge logging to diagnose startup initialization failures.
- Fixed NullReferenceException in PlaylistItem constructor and improved robustness in MultiplayerClient.
- Simplified null checks in SongPreview to satisfy code style rules.
/// </remarks>
public PlaylistItem(MultiplayerPlaylistItem item)
: this(new APIBeatmap { OnlineID = item.BeatmapID, StarRating = item.StarRating, Checksum = item.BeatmapChecksum })
: this(item == null ? new APIBeatmap() : new APIBeatmap { OnlineID = item.BeatmapID, StarRating = item.StarRating, Checksum = item.BeatmapChecksum })
@winnerspiros
winnerspiros merged commit 446f045 into master Apr 2, 2026
6 of 15 checks passed
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.

2 participants