Element Desktop broken on Linux arm64 with 16k pages starting with v1.11.92
Steps to reproduce
Open Element Desktop >= 1.11.92 on Linux arm64. v1.11.91 is fine.
Note: I'm on Debian Testing, but I think this may affect all arm64 distros because there were reports of other electron apps breaking on arm64 over the last few weeks (e.g. on the Fedora Asahi Remix), and v1.11.92 included an electron-builder major version update. My best guess would be that electron is causing this.
Outcome
What did you expect?
Element Desktop to work.
What happened instead?
Element Desktop opens normally, works for a few seconds, then blanks out and never recovers. If you restart it it opens normally again, then blanks out again.
Operating system
Linux arm64 (Debian Testing)
Application version
= 1.11.92, up to and including current (1.11.94)
How did you install the app?
packages.element.io Debian repository, default suite
Homeserver
Any
Will you send logs?
Yes, in attachment.
Without any logs there's nothing to look at here.
Works fine for me on ARM64/AARCH64 Linux
Logs attached in the description. I hadn't done so before because I see no differences between the working and not-working versions. Screenshot of non-working state below. Please disregard the squares in place of the window title, they've been like that since today and are not specific to element (I think fonts are being updated in Debian testing, or something like that).
Confirmed to affect all electron-based applications running on 16k-pages kernels, like those used on Apple Silicon and Raspberry Pi 5. See https://github.com/electron/electron/issues/45560.