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

BGFX Shutdown Freezes on Direct3D12 with Intel GPU #3381

Open
CDevJoud opened this issue Nov 25, 2024 · 0 comments
Open

BGFX Shutdown Freezes on Direct3D12 with Intel GPU #3381

CDevJoud opened this issue Nov 25, 2024 · 0 comments

Comments

@CDevJoud
Copy link

CDevJoud commented Nov 25, 2024

Description

While learning BGFX, I encountered a bug where the application freezes when calling bgfx::shutdown() after initializing BGFX with the following settings:

init.resolution.width = vm.width;
init.resolution.height = vm.height;
init.resolution.reset = BGFX_RESET_VSYNC | BGFX_RESET_MSAA_X8;
init.type = bgfx::RendererType::Direct3D12;
init.vendorId = BGFX_PCI_ID_INTEL;

The application stops responding, and the output debugger shows the following message:

Expected Behavior

The application should exit cleanly after freeing all allocated resources.

Steps to Reproduce

  1. Initialize BGFX with the settings above.
  2. Call bgfx::init(init) to initialize.
  3. Run the application and then call bgfx::shutdown() to clean up.
  4. Observe that the application freezes or gets stuck.

Environment

  • OS: Windows 11
  • GPU: Intel Integrated Graphics, Intel UHD

Additional Context

  • I tested the same code with other renderer types (bgfx::RendererType::OpenGL, bgfx::RendererType::Direct3D11), and they exited fine.
  • Testing on another GPU (NVIDIA RTX) with RendererType::Direct3D12 also worked without issues.
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

1 participant