flutter-pi icon indicating copy to clipboard operation
flutter-pi copied to clipboard

"could not commit frame request"

Open erikms61 opened this issue 1 year ago • 3 comments

Hi Ardera, First of all, you have done an amazing job at making Flutter available on the Raspberry Pi. Platform is Raspberry Pi 2 Model B Rev 1.1, with 2 GB of RAM uname -a output is Linux raspberrypi 6.1.21-v7+ #1642 SMP Mon Apr 3 17:20:52 BST 2023 armv7l GNU/Linux However... I run into the error messages modesetting.c: commit requested, bt drmdev is paused right now followed by window.c: Could not commit frame request

Building on debian PC, flutterpi_tool build --release produces the build/flutter_assets folder, no errors copy it over to the RPi try to run it with flutter-pi --release ./flutter_assets and run into the above-mentioned errors. Is the Pi2 simply not capable of running this, or am I missing something? BTW, this is using the Raspberry Pi 7" touchscreen, no HDMI

erikms61 avatar Jan 30 '24 15:01 erikms61

Hello, ~~same here 😢 with uname "Linux rpi 6.1.0-rpi7-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) aarch64 GNU/Linux"~~

Edit: After set to "boot to console with autologin", it's working

danielpayetdev avatar Feb 05 '24 20:02 danielpayetdev

Hey, yes you need to boot into console: https://github.com/ardera/flutter-pi#configuring-your-raspberry-pi

Only one application can grab the display output at a time. So if a desktop environment is running, flutter-pi can't grab it.

ardera avatar Feb 06 '24 15:02 ardera