Skip to content

Android: Improve Vulkan stability and Oboe diagnostics - #135

Merged
winnerspiros merged 3 commits into
masterfrom
fix/android-vulkan-oboe-perf-7832751681472622993
Apr 2, 2026
Merged

Android: Improve Vulkan stability and Oboe diagnostics#135
winnerspiros merged 3 commits into
masterfrom
fix/android-vulkan-oboe-perf-7832751681472622993

Conversation

@google-labs-jules

Copy link
Copy Markdown

This PR addresses performance and stability issues with Vulkan and Oboe on high-end Android devices like the S23 Ultra.

Key Improvements:

  • Fixed Vulkan mailbox detection in the native probe to ensure smoother frame pacing and reduced flickering.
  • Updated Vulkan 'IsRecommended' logic to include Graphics Pipeline Library and Shader Object extensions, ensuring optimal driver paths.
  • Enhanced Oboe auto-offset calibration to apply suggestions more proactively, regardless of existing manual offsets.
  • Added a diagnostic display in the FPSCounter overlay showing the active renderer and Oboe stream details (API, MMAP mode, and real-time latency).
  • Cleaned up manual ADPF reporting in favor of Oboe's internal implementation, reducing overhead and aligning with current library standards.
  • Refined native Oboe stream initialization to favor the lowest-latency MMAP and Exclusive paths.

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

This PR addresses performance and stability issues with Vulkan and Oboe on high-end Android devices like the S23 Ultra.

Key Improvements:
- Fixed Vulkan mailbox detection in the native probe to ensure smoother frame pacing and reduced flickering.
- Updated Vulkan 'IsRecommended' logic to include Graphics Pipeline Library and Shader Object extensions, ensuring optimal driver paths.
- Enhanced Oboe auto-offset calibration to apply suggestions more proactively, regardless of existing manual offsets.
- Added a diagnostic display in the FPSCounter overlay showing the active renderer and Oboe stream details (API, MMAP mode, and real-time latency).
- Cleaned up manual ADPF reporting in favor of Oboe's internal implementation, reducing overhead and aligning with current library standards.
- Refined native Oboe stream initialization to favor the lowest-latency MMAP and Exclusive paths.
@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.

- Fixed Vulkan mailbox detection in native probe.
- Updated Vulkan recommendation logic for S23 Ultra.
- Added Oboe status and active renderer to FPS display.
- Improved Oboe auto-offset calibration.
- Cleaned up redundant manual ADPF reporting.
- Fixed CI build error in FPSCounter.cs by using GameHost for ResolvedRenderer.
- Fixed Vulkan mailbox detection in native probe to improve frame pacing.
- Updated Vulkan recommendation logic to require Graphics Pipeline Library and Shader Objects.
- Added Oboe status (API, MMAP mode, latency) and active renderer to the FPS display.
- Enhanced Oboe auto-offset calibration to always suggest the hardware-detected offset on startup.
- Removed redundant manual ADPF duration reporting.
- Fixed build errors by using ScheduledDelegate and cleaning up obsolete ADPF variables in OsuGameAndroid.cs.
@winnerspiros
winnerspiros merged commit 231e999 into master Apr 2, 2026
7 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.

1 participant