Repository navigation
frontend: Name the D3D11 adapter on WARP-only machines (Fixes #1225) - #1226
Merged
Merged
Conversation
…RP) (Fixes #1225) libobs-d3d11's device_enum_adapters skips Microsoft's Basic Render Driver, so on a WARP-only machine (hosted Windows runners) the adapter lookup came back empty and the GPU status reported the API name 'Direct3D 11'. The packaged-startup release-gate check (RED in scheduled release run 38911188146) rejects that. Use the adapter libobs logged on device start. Refs #926
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.
RED: scheduled release run 38911188146, Windows Launch packaged x64/arm64:
gpuAcceleration.adapter is a graphics API name, not an adapter: 'Direct3D 11'.Cause: libobs-d3d11
EnumD3DAdaptersskips Microsoft Basic Render Driver (WARP, 0x1414/0x8c), the only adapter on hosted runners, soActiveAdapterName()fell back togs_get_device_name(). Fix: remember the adapter from libobs' "Loading up D3D11 on adapter ()" log line and use it when enumeration misses.Fixes #1225. Unblocks the daily beta for #926.