-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Runtime SIGSEGV thrown on Linux ARM64 (libskiko-linux-arm64.so) #838
Comments
Just to add to this issue I also get the same error on the Raspberry Pi when running the template Compose Multiplatform for Desktop app. |
Thanks for linking the other issue! I'll try this out on my MacBook Pro running Asahi Linux - this has been an issue holding me back from switching to Asahi for my dev work. I'll report back on my findings. |
After setting the environmental variable as specified in #649 I get a new error. This is probably an Asahi Linux issue, I'll have to dig a bit deeper I guess. For reference here is the error I'm getting. If anyone has a workaround I'm all ears. 👂
|
@Phaestion I do not know about Asahi Linux but from the error it looks like GLSL needs downgrading (or upgrading) to run this? |
@loukwn yeah I had a look at this at the time or your comment, but it seemed at the point that Asahi did not support GLSL ES 3.20. Just a few hours ago the the OpenGL used in Asahi was updated to 4.6, which includes ES 3.2! I tested it just a few minutes ago and can confirm that I can now compile and run Compose Multiplatform Desktop apps on Arm64, MacBook Pro running Asahi Linux. I'll be moving my dev environment over to Asahi pretty soon. :) |
Damn it all worked in the end! Good one! |
Same issue running on NVIDIA JETSON AGX ORIN :
|
@michalguspiel What Compose version are you using? |
I build my project using
And then I tried another build using
Should I try using older versions? I'll try to run hello world today. |
@michalguspiel |
@dima-avdeev-jb |
@dima-avdeev-jb should I also post this issue in |
@michalguspiel This Issue is enought. Thanks! So, on version 1.5.12 created by wizard https://kmp.jetbrains.com/ problem also occurs, correct? Can you please provide a minimal reproducible sample with Dockerfile? |
Hi, yes the problem occurs also on the project just generated by the wizard. The issue also occurs if I try to project on NVIDIA JETSON AGX ORIN using What do you mean minimal reproducible sample? Minimal reproducible sample is the project downloaded from Wizard. |
@michalguspiel did you try to add |
@Phaestion Hi, yes I mentioned it in my first post in this thread: #838 (comment) |
@michalguspiel ah sorry, I missed that part in your post. |
I mean Dockerfile |
@dima-avdeev-jb Anyways this is how we compile the project:
We execute it with a script:
|
I managed to avoid the crash by executing This will force the implementation to use software rendering instead of OpenGL on the Nvidia Orin, which will naturally come with a performance penalty, but it is a way to get around the app not launching properly until there is a fix on this either on the skia library, or skiko. I have also updated my Nvidia Orin to run R35.5, but it does not help with the OpenGL crash. |
Hi, I am trying to run a project with Compose Multiplaftorm but have a runtime failure when running it on arm64 Linux (Raspberry Pi).
It was tested on 0.7.85.0 and v0.7.89.1 with Java 17 and 18.
Stacktrace:
The text was updated successfully, but these errors were encountered: