Skip to content
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

"could not commit frame request" #384

Open
erikms61 opened this issue Jan 30, 2024 · 3 comments
Open

"could not commit frame request" #384

erikms61 opened this issue Jan 30, 2024 · 3 comments

Comments

@erikms61
Copy link

erikms61 commented Jan 30, 2024

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

@danielpayetdev
Copy link

danielpayetdev commented Feb 5, 2024

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

@ardera
Copy link
Owner

ardera commented Feb 6, 2024

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.

@galets
Copy link

galets commented Sep 1, 2024

is it possible to crash when such condition occurs? I understand that a console is required, but the issue is: process reports an error, but never crashes. If it exited with an error, that would be a correct behavior, because then it could be restarted. But (at least in my case) the app never crashes, just stays running without showing anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants