Page MenuHome

[WIP] GHOST/Wayland: support for reconnecting to the wayland server
AbandonedPublic

Authored by Campbell Barton (campbellbarton) on Nov 14 2022, 9:37 AM.

Details

Reviewers
None
Summary

Support reconnecting to the wayland server after a fatal error.


This patch was written as part of investigating a mitigation for T100855, however as it's not possible to keep the EGL context active, it's not all that practical to keep Blender's state valid once all shaders and loaded textures have been lost.

It's also not possible to use a different connection to the wayland server for the EGL context (which might allow the EGL context to remain active even if the windows closed), as API use such as creating EGL windows fails when the same connection for the ContextEGL and the EGL-windows are different.

Submitted diff for reference.

Diff Detail

Repository
rB Blender
Branch
TEMP-WAYLAND-RECONNECT-TO-SERVER (branched from master)
Build Status
Buildable 24629
Build 24629: arc lint + arc unit