This reverts commit a880f221f.
The window that is black with the page shifted into its lower left is a
Flutter 3.50.0 engine bug in the compositor (flutter/flutter 195885): the
layer offset is wrong whenever the driver's blit is not used, as with the
NVIDIA driver. The X11 renderer and the Wayland renderer both draw through
that compositor, and the same window is reported on X11, so preferring X11
did not reach the cause while it cost Wayland users native scaling. The
engine fix is on the stable branch for 3.50.1.
Refs mornyeapp/Mornye-Desktop#38
The Flutter engine exports ten entry points of an unwinder of its own.
Libraries loaded after it bound those to the engine and the rest, such as
_Unwind_GetCFA, to libgcc_s, and the two do not share a context. The first
Lua error in the system libmpv's LuaJIT ended the app with a segmentation
fault (at start, on a song change, on repeat), and a C++ exception in a
system library ended it with an abort.
The runner now lists libgcc_s ahead of the engine, so later libraries find
it first. As a check behind that, main() looks up which library answers
for _Unwind_RaiseException and, if it is still the engine, starts the app
once more with libgcc_s preloaded, then gives programs it starts the
environment it was given.
Not compiled or run on Linux yet.
Refs mornyeapp/Mornye-Desktop#37, mornyeapp/Mornye-Desktop#40
Flutter 3.50 presents frames on a Wayland subsurface. On some compositors
the window stays black or shows a misplaced part of the page. Through X11
(XWayland on a Wayland session) GTK draws the frame as it did before.
Wayland is still used when no X server answers, and GDK_BACKEND=wayland
asks for it first. Not compiled or run on Linux.
Refs #925