Skip to content

Mixar 4.5.2

Latest

Choose a tag to compare

@mixar-ci-bot mixar-ci-bot released this 20 Nov 12:37
· 626 commits to main since this release

Mixar 4.5.2

Patch release: a Windows-only fix for a graphics driver crash when the Agent island and pill windows are created.

Window Manager (C++)

  • Windows: skip the eager first present on agent bubble windows (#2158). wm_window_ghostwindow_add (src/source/blender/windowmanager/intern/wm_window.cc) clears and presents every new window once in the theme color before its screens draw. Under NVIDIA's "Prefer layered on DXGI swapchain" Vulkan present (the Optimus laptop path), that first present of an owned popup window crashed nvoglv64.dll.
    • Under #ifdef _WIN32, windows for which Mixar_window_has_agent_bubble(win) is true (the island and the pill) now skip the acquire/clear/release. They still call WM_window_dpi_set_userdef(win) and GPU_render_end(), then return, because the DPI must be set before anything reads UserDef.
    • Bisection points at the pill's first present followed by its resize. Not opening the pill also avoided the crash, so both windows skip the eager present.
    • The first real draw, normally in the same main-loop pass, is now the first present. Until then the HWND shows the class background (dark gray).
    • macOS, Linux and every non-bubble window keep the upstream clear.
  • Regression coverage: tests/test_bubble_window_eager_present.py pins that the skip is Windows-only, precedes the eager acquire, keeps the DPI and GPU_render_end() calls, and leaves the upstream clear path intact for other windows.

Docs

  • docs/modules/agent-bubble.md: added "Window creation: no eager first present on Windows".

Build

  • Version bumped to 4.5.2 (VERSION, MIXAR_VERSION_PATCH in BKE_blender_version.h).

⚠️ Notes

  • The fix affects Windows only. Agent island and pill windows may briefly show the window class background (dark gray) before their first draw.