https://kotlinlang.org logo
#compose-desktop
Title
# compose-desktop
s

Sebastian Kürten

01/21/2023, 5:13 PM
Is anyone running compose desktop apps successfully on ARM64 Linux? Just gave it a try on a virtual machine (macOS M1 running a Debian ARM virtual machine via Parallels). It segfaults immediately after launch. Same issue when running a simple skiko example. Now I'm wondering if it works on a "normal" non-virtual machine, but I don't have any.
a

Arjan van Wieringen

01/21/2023, 5:23 PM
Did you compile it on this machine as well?
s

Sebastian Kürten

01/21/2023, 6:02 PM
yes
just got a report from a tester on a Raspberry Pie where things look similar
a

Arjan van Wieringen

01/21/2023, 8:10 PM
Can you isolate it is Skia or is it Kotlin related? Segfaults imply something in the native bindings
s

Sebastian Kürten

01/22/2023, 11:43 AM
not sure how to debug that to find out about that.
I have setup another virtualization method on the macbook (qemu via UTM) and there the app and also the skiko sample works. However it depends on the graphics device emulated. Only
virtio-gpu-gl-pci
works, all other emulated graphics devices produce the bug too. Looks like maybe on ARM some details of the runtime platform are not taken into account properly in skiko?
Another user tried things on the Librem 5 and there things work well. Really curious what the problems are. I hope to get access to a device that does not work to start debugging this.
46 Views