Closed 0xkelvin closed 2 weeks ago
Looks like a GL driver issue. Bit mysterious that it works the first time but doesn't work the second time though.
One thing flutter does different on second launch is that it loads precompiled GL shaders from disk that were stored there in the first run, instead of compiling from scratch. Maybe the Vivante driver doesn't like that. Can you try launching with --purge-persistent-cache
?
hi @ardera it works, thanks i will close this issue.
hi @ardera
We are using Yocto to build-up an custom linux image for our nxp im8x board. And using flutter-pi to run our UI app which developed by flutter version 3.22.2
After compiling linux image successfully, we flash the image and power on the board, the flutter UI comes up and work well.
Then stop the UI app ( press Control + C), power off the board, then turn on again. At this stage, we expect the flutter UI shows up and works normally, but we got segment fault issue :
if we flash the image again, it can start normally at first time.
we are really appreciate for any help or advices
thanks