ocornut / imgui

Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies
MIT License
59.43k stars 10.13k forks source link

DX12 backend resizing crash #3463

Open malkia opened 4 years ago

malkia commented 4 years ago

Version/Branch of Dear ImGui:

Version: N/A Branch: e8447dea453fe11c4f7da6512b86f4e039f03261

Back-end/Renderer/Compiler/OS

Back-ends: imgui_impl_win32.cpp + imgui_impl_directx12.cpp Compiler: MSVC2019 Operating System: Windows Professional 2004 (10.0.19041.0)

My Issue/Question:

I have two monitors, with different resolution settings - left one bit old, and right one - High DPI. I've setup the demo to be half part of on one monitor, half on the other. Then started opening the Column Datatables demo, and after that started resizing the main window First it was hanging, or being very slow, then it crashed

Screenshots/Video

Video: https://www.youtube.com/watch?v=CgXTAwV1630 (better quality than what I posted first below) (This was posted first, but it's low quality: https://photos.app.goo.gl/YBJBeuVtk7uUfhWu9)

(sorry for the flash light that I forgot, coming from my phone)

Also this screenshot image

ocornut commented 4 years ago

Hello, thanks for reporting. I don't think it has anything to do with 2 monitors or with the demo window, as I seem to be able to repro a crash by just resizing the main OS window with the dx12 back-end. Needs to be investigated by someone more acquainted with DX12.

Xipiryon commented 3 years ago

I've tried to reproduce it by resizing the main window with either one screen or two with different resolutions, but without any success. Is there any chance it is a driver related issue ? My GPU is a Intel UHD Graphics 620, with driver version 26.20.100.7325.