Open resilem opened 6 months ago
- Checked out the
Flutter-demo
branch
HI @resilem, to help me try replicating the problem, would you confirm whether you mean 22/Flutter-demo
or 20/Flutter-demo
?
I mean 22/Flutter-demo
.
I've just followed the same instructions and they work on 22.04 and 24.04. So there must be some other difference in our environments.
Are you running a Wayland based DE such as GNOME? If so, could you try running iot-example-graphical-snap
without frame-it
?
I am running GNOME DE.
If I attempt to run without frame-it
, using the command snap run iot-example-graphical-snap
I get the following 2 lines printed out and then nothing more happens.
Setting up watches.
Watches established.
:(
That suggests GNOME is running in X11 mode. (BTW I said iot-example-graphical-snap
, not snap run iot-example-graphical-snap
, but that shouldn't make a difference)
Are you, perhaps, using Nvidia graphics?
Hello,
I am following the instructions for Packaging a Flutter application (Demo) as an IoT GUI on an x86-64 Ubuntu Desktop 22.04 host and running into an issue when running the snap. I followed the directions exactly:
Flutter-demo
branchsnapcraft
commandsetup.sh
scriptframe-it
A window is briefly displayed on the screen before being closed almost immediately. The output is as follows:
I have no issue when I run a snap created from another branch, such as the mastermind game.