WickedEngine
WickedEngine copied to clipboard
Editor GUI not working after clicking fullscreen icon in vulkan
On windows LTSC 21H2, RTX 2060super, driver 526.98, vulkan.
GUI is working OK in window mode. After switching to fullscreen, GUI is probably still active(e.g. I can click exit icon to close editor) but without any visible changes(no gui redraw anymore). After restarting editor(still vulkan mode), screen is completely black(GUI is active, but not visible...e.g. I can click somewhere in top right corner to press exit icon) and I need to switch back to DX12 mode to disable fullscreen mode and be able to run vulkan window mode again.
Strange, I can't repro this.
Tomorrow I will record video. Let me know if you need also some additional info like logs or ...
https://user-images.githubusercontent.com/24566219/214238661-d4df88b7-9a21-4ab6-b4f2-34e7ca678854.mp4
Some update, maybe it helps. In fullscreen mode alt + tab to other windows and back to editor will cause GUI repaint. In fullscreen mode if editor is in foreground, GPU utilization rises almost to max.
https://user-images.githubusercontent.com/24566219/214504955-d93599d9-013d-4b0b-90dd-9b1c9ac77998.mp4
EDIT: tested also on Arch linux...no issue.
I couldn't repro the stuck rendering in Vulkan. Does it happen with default settings? (fresh install or delete config.ini) You could also attach your config.ini
It hapens also if I delete the config and let the editor to create the default one. Maybe it is something specific on my computer, I will let you know if I figure out what is causing that issue(e.g. some software/utility/...windows/driver setting..).
On Linux (GeForce RTX 4090 with NVIDIA 530.41.03) and Wicked https://github.com/turanszkij/WickedEngine/commit/10ca8ccd1288554b5f291120a4c3f6f29b9743d5, I can reproduce this if I resize the window after loading the Sponza scene, but not if I resize the editor while running the default empty scene.
This is something that happened to me rarely and I can't find a way to consistently repro it or to debug yet.