Skip to content
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

Extend GPU context with data for Unreal Engine crash reports #3144

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

slonopotamus
Copy link
Contributor

  1. This commit replaces primary GPU with the one that is actually used for rendering. These two may be different for laptops. Fixes Unreal Crash Report: Incorrect graphics card. sentry#27498
  2. This commit adds other available data:
  • Numeric DeviceID
  • Used feature level (SM5, SM6, etc)
  • GPU vendor name
  • GPU driver version
  • RHI type that is used (Metal, Vulkan, DX11, etc)

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

@slonopotamus slonopotamus requested a review from a team as a code owner February 20, 2024 08:25
@slonopotamus slonopotamus force-pushed the extend-unreal-gpu-context branch 3 times, most recently from c52fdc5 to 76653be Compare February 20, 2024 08:46
@slonopotamus
Copy link
Contributor Author

Updated PR to include a changelog entry

@slonopotamus slonopotamus force-pushed the extend-unreal-gpu-context branch 3 times, most recently from b4af5c3 to eddd7c8 Compare February 20, 2024 08:53
Copy link
Member

@Dav1dde Dav1dde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some tiny nits.

Thanks for looking into this!

@slonopotamus slonopotamus force-pushed the extend-unreal-gpu-context branch 2 times, most recently from 73fa50a to 3f6bf2b Compare February 20, 2024 08:59
@Dav1dde Dav1dde enabled auto-merge (squash) February 20, 2024 09:16
@Dav1dde
Copy link
Member

Dav1dde commented Feb 20, 2024

Thanks for the contribution, changes should go out to SaaS today or latest tomorrow, the next Relay release will be next month!

1. This commit replaces primary GPU with the one that is actually used for rendering. These two may be different for laptops. Fixes getsentry/sentry#27498
2. This commit adds other available data:
  * Numeric DeviceID
  * Used feature level (SM5, SM6, etc)
  * GPU vendor name
  * GPU driver version
  * RHI type that is used (Metal, Vulkan, DX11, etc)

Signed-off-by: Marat Radchenko <[email protected]>
auto-merge was automatically disabled February 20, 2024 09:19

Head branch was pushed to by a user without write access

@slonopotamus slonopotamus force-pushed the extend-unreal-gpu-context branch from 3f6bf2b to 174dbdc Compare February 20, 2024 09:19
@slonopotamus
Copy link
Contributor Author

Fixed tests.

@Dav1dde Dav1dde enabled auto-merge (squash) February 20, 2024 09:21
@Dav1dde Dav1dde merged commit b57af5c into getsentry:master Feb 20, 2024
19 checks passed
@slonopotamus slonopotamus deleted the extend-unreal-gpu-context branch February 20, 2024 09:44
@slonopotamus
Copy link
Contributor Author

That was fast, thanks.

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.

Unreal Crash Report: Incorrect graphics card.
2 participants