microsoft / XboxGameBarSamples

Sample code for Xbox Game Bar Widgets
https://developer.microsoft.com/games/products/game-bar/
MIT License
145 stars 28 forks source link

Vulkan API Support #103

Closed jurkog closed 3 years ago

jurkog commented 3 years ago

Is your feature request related to a problem? Please describe. Customers have expressed frustration to us that our Game bar widget does not work in games running with Vulkan API instead of DirectX. Red Dead Redemption 2 is a good example.

Describe the solution you'd like Ideally, seamless Vulkan API support for Game Bar widgets.

Describe alternatives you've considered I direct all customer support inquiries to run their game in DirectX 11/12 instead of Vulkan if they have the option. Many times they've explicitly asked for Vulkan support and I know that's not in my control.

vidager commented 3 years ago

Unfortunately Game Bar as a platform is unable to run over Vulkan or OpenGL Full Screen. Because Game Bar doesn't use dll injection into the game's process, it needs to rely on Windows tech to display over the game. Vulkan or OpenGL Full Screen bypasses much of the windows graphics stack, including the portion Game Bar operates in.

Running in full screen windowed mode should work.

We have a note here in the SDK docs: https://docs.microsoft.com/en-us/gaming/game-bar/known-issues#vulkan-and-opengl-support

Thanks, Ben

jurkog commented 3 years ago

Thank you Ben! That makes sense, I really appreciate the detailed response.