Xwayland crashes after upgrade to RK3588

I recently installed the RK3588 into my Reform. (It’s so much faster!).

I used reform-emmc-bootstrap to set the root to the encrypted NVME I had working before the upgrade, running debian trixie (from reform.debian.net). Since the upgrade, I’m having issues with Xwayland. It crashes and dumps core whenever it runs.

I installed emacs-pgtk, so I have a working emacs, but emacs-gtk doesn´t open a window, and audacius music player fails to start. I figure any program that tries to open an X display crashes.

I’m going to reboot into the SD card to see if that Xwayland works.

Yeah, the version in unstable (on the SD card) works.

SD card image (unstable)

$ Xwayland -version
The X.Org Foundation Xwayland Version 24.1.9 (12401009)
X Protocol Version 11, Revision 0
xwayland 24.1.9 ( Debian -- User Support )

NVME (trixie)

$ Xwayland -version
The X.Org Foundation Xwayland Version 24.1.6 (12401006)
X Protocol Version 11, Revision 0

Xwayland runs on login, but the first client that tries to open the display causes it to crash and dump core.

Something weird is going on. I compiled the unstable sources and installed the resulting 24.1.9 .deb in trixie, but it still crashes.

Remember that rk3588 is very, very new and trixie is already too old. Do you have backports enabled? You definitely need those with rk3588. Try pulling mesa from backports as well. Lots of stuff for rk3588 only got merged after the trixie release.

I do have trixie-backports, and I think mesa is installed from backports:

$ dpkg -l mesa*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                      Version                                         Architecture Description
+++-=========================-===============================================-============-============================================>
ii  mesa-common-dev:arm64     25.0.7-2                                        arm64        Developer documentation for Mesa
un  mesa-glide2-dev           <none>                                          <none>       (no description available)
ii  mesa-libgallium:arm64     25.2.6-1~bpo13+1+reform20260114T163746Z~bpo13+1 arm64        shared infrastructure for Mesa drivers
un  mesa-opencl-icd           <none>                                          <none>       (no description available)
ii  mesa-utils                9.0.0-2+b2                                      arm64        Miscellaneous Mesa utilities -- symlinks
ii  mesa-utils-bin:arm64      9.0.0-2+b2                                      arm64        Miscellaneous Mesa utilities -- native appli>
un  mesa-utils-extra          <none>                                          <none>       (no description available)
ii  mesa-vulkan-drivers:arm64 25.2.6-1~bpo13+1+reform20260114T163746Z~bpo13+1 arm64        Mesa Vulkan graphics drivers
un  mesag-dev                 <none>                                          <none>       (no description available)
un  mesag3                    <none>                                          <none>       (no description available)
un  mesag3+ggi-dev            <none>                                          <none>       (no description available)