feat: Implement the GPU Info gathering within the Native SDK#1336
Open
feat: Implement the GPU Info gathering within the Native SDK#1336
Conversation
|
Member
bruno-garcia
left a comment
There was a problem hiding this comment.
Just skimmed things but seems great so far!
883b465 to
d743b13
Compare
960eb4f to
0c22332
Compare
Member
|
@sentry review |
supervacuus
reviewed
Oct 7, 2025
supervacuus
requested changes
Oct 7, 2025
Collaborator
supervacuus
left a comment
There was a problem hiding this comment.
Somehow my review message got lost... this looks great. Only minor topics that can be "fixed" or clarified.
supervacuus
approved these changes
Oct 9, 2025
f7eef2b to
06e0f7c
Compare
Co-authored-by: Mischan Toosarani-Hausberger <mischan@abovevacant.com>
Co-authored-by: Mischan Toosarani-Hausberger <mischan@abovevacant.com>
Co-authored-by: Mischan Toosarani-Hausberger <mischan@abovevacant.com>
Co-authored-by: Mischan Toosarani-Hausberger <mischan@abovevacant.com>
Co-authored-by: Mischan Toosarani-Hausberger <mischan@abovevacant.com>
- Use RTLD_NOW instead of RTLD_LAZY for immediate symbol validation - Add dlerror() logging on Unix when Vulkan library fails to load - Add macOS fallback when MoltenVK portability extensions unavailable - Guard against UINT64_MAX overflow when summing GPU memory heaps - Handle string allocation failures in create_gpu_info_from_device - Log when a GPU device is skipped during enumeration - Increase context_key buffer from 16 to 32 bytes - Add ARM (0x13B5) and Samsung (0x144D) vendor IDs - Improve thread safety documentation with specific lock references - Document Vulkan API version requirement and driver version encoding - Disable SENTRY_WITH_GPU_INFO by default (enable with -DSENTRY_WITH_GPU_INFO=ON) - Update CHANGELOG and README to reflect opt-in behavior Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
06e0f7c to
3e996d9
Compare
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Accept VK_INCOMPLETE from vkEnumeratePhysicalDevices as valid (buffer contains data for written entries; also works around Windows loader bugs) - Use a separate context_index counter for GPU context keys so they are contiguous (gpu, gpu2, gpu3) even when some devices fail info creation - Fix clang-format style issues Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Use unload_vulkan_library() instead of manual cleanup to ensure all pfn_* statics are reset to NULL when some Vulkan functions fail to load. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The previous commit called unload_vulkan_library() before its definition, causing an implicit declaration error on CI. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Uh oh!
There was an error while loading. Please reload this page.