-
-
Notifications
You must be signed in to change notification settings - Fork 172
flutter-pi doesn't run on stm32mp15x-ev1, drmModeAtomicCommit errors out #147
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
Comments
The logs are pretty small, maybe enabling DRM debugging at runtime doesn't work that good in your case. Can you try the following:
I guess you're using a Raydium RM68200 LCD Controller, right? If that's the case, the drivers are mainline and should be printing some more debugging information. Just for comparison, I once forgot to disable DRM debugging on my Pi, had some flutter app running for an hour and the syslog files in If that doesn't work, you can also try using dynamic debugging (if that's possible with your kernel) and enable some of the logging inside If we can't find out the reason |
Sorry about that, I cleared the dmesg logs to remove the spew from some other things I had tried right before I ran flutter-pi to make it obvious exactly what output corresponded to the lifetime of the program. I'm attaching a full syslog (journalctl --system) for each (clean boot before each one, I Also, I don't know what display controller it has, and I'm not sure how to check. |
It seems flutter-pi tries to present "nothing" on the screen which results in the The only case that can be happening is when flutter somehow tries to present nothing. Which is also weird because I tested that (with a flutter app that doesn't call What flutter app are you using? Can you try a standard one like flutter-gallery? (Instructions in the readme) If the flutter app is fine, I'll add some logging to the present function & you can run your app again, so I can see what's going on there
I just assumed it was that one because I looked at the wiki a bit to find out the relevant kernel drivers. The wiki had example configs for two display controllers, one being the Raydium RM68200 which has a 720x1280p50 display mode and DSI, so it matches the display mode printed out by flutter-pi. |
I have determined that it was a problem with the flutter engine I had cross-compiled. Using the prebuilt one from the engine-binaries branch seems to work fine. |
Thanks for your help, the error messages coming from flutter-pi left me certain there was a problem interfacing with the gpu, but that wasn't the case at all. |
It's an edge case, theoretically the |
An assert would be great, but even if you do nothing, it's at least documented via this issue. |
I'm trying to bring up a flutter app on an STM32MP1 (eval board) on the etnaviv mesa driver, using flutter-pi (current tip of master branch).
kmscube -a runs fine, but flutter-pi is throwing this error:
I see some similarities to issue #86.
Attached is the program output (with a little bit of extra output added by me), as well as the dmesg logs from running
flutter-pi
andkmscube -a
underdrm.debug=0xff
:The text was updated successfully, but these errors were encountered: