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

Games using DXGI present mode crash when scenes are switched in OBS #10540

Open
baozholu opened this issue Apr 15, 2024 · 3 comments
Open

Games using DXGI present mode crash when scenes are switched in OBS #10540

baozholu opened this issue Apr 15, 2024 · 3 comments

Comments

@baozholu
Copy link

Operating System Info

Windows 10

Other OS

No response

OBS Studio Version

30.1.2

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/pHlwRMgCBEQLfl88

OBS Studio Crash Log URL

No response

Expected Behavior

Games should not crash

Current Behavior

Games (such as: "Cassette Beasts", "Dune:Spice Wars") crash when using dxgi present mode.

Steps to Reproduce

  1. GPU setting: Nvidia control Panel -> Manage 3D setting -> Vulkan/OpenGL present method -> Prefer layered on DXGI swapchain
  2. Start game (Test games: "Cassette Beasts")
  3. Create a second scene in OBS that you can switch to.
  4. In OBS, add a new game capture source in scene1. When setting it up, set the mode to Capture Specific Window, and choose "Cassette Beasts". OBS will start to capture normally.
  5. Switch to scene2, and then back to the scene1 with your Game Capture source.
  6. "Cassette Beasts" will crash when OBS switching from scene2 to scene1.

Anything else we should know?

OBS is not driven by opengl, so running OBS will theoretically not affect the behaviors of opengl, but games (driven by opengl: such as "Cassette Beasts" and "Dune:Spice Wars" ) will crash when OBS execute special operations, combined with nvidia tests, it should be an issue related to DXGI in OBS.

@evieveevee
Copy link
Collaborator

Confirming this issue also occurs on AMD cards (tested on a 7900 XT w/ Cassette Beasts). AMD did investigate this as well and concluded it was a DXGI issue.

@evieveevee
Copy link
Collaborator

Issue also affects Balatro on AMD as a point of reference

@JuZi233
Copy link

JuZi233 commented May 20, 2024

can i use this project shot picture in a full screen game(dxgi) ?

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

No branches or pull requests

3 participants