-
-
Notifications
You must be signed in to change notification settings - Fork 173
[modesetting] Could not commit atomic request. #131
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
That's awesome! What games are you developing? Do you have a repo link?
That's not an uncommon problem. Someone else had the same problem before and I implemented a workaround (because the underlying issue most likely lies in the kernel). If
Is that message printed out in your case? Also, can you try running this program? If it fails to start, you can try invoking it with Furthermore, what Raspberry Pi model do you use and do you use a HDMI or DSI display? |
Thanks for the quick reply.
No public repo link as yet - I'll talk to the other devs about what they might want to put up on github. A bunch of us built these Picade kits for a team fun event. At the moment we're just making simple clones of some classic 70s arcade games and adding a little 'team flavor' to make them more interesting. The kit itself runs RetroPi. Somewhat surprisingly, running flutter-pi from the commandline on the device was much more successful in avoiding the problem than running flutter-pi from EmulationStation though still not 100% reliable.
Ah! I did read through most of the issues (open and closed) in the tracker to see what I could find but didn't see this exact same problem.
I don't see that one I'm afraid. Here are some of the other warnings I see: [modesetting] Could not set DRM client universal planes capable. drmSetClientCap: Operation not supported
Sure! Assuming I built it correctly (meson is new to me) I see a multicolored spinning cube. BTW - one of my teammates hardcoded use_atomic_modesetting to false and that worked around the problem.
It's a 2 gig Raspberry Pi 4. The Picade uses HDMI. |
Sounds interesting! Good luck.
The issue is kinda strange. I think in the future, I should switch to using syncobj synchronization instead, which is what SDL / Emulation Station and
You didn't miss it, I think it was reported to me via e-mail
Oops, that's my bad. I accidentally disabled the workaround. I'll fix it.
That works too. Actually, for most people it doesn't make a difference whether atomic modesetting is or is not used. It's really only necessary when you want to use the video player plugin. |
Thanks for the quick fix! |
Hi,
A few of us have been developing some simple Flutter games for the Pi and have run into an odd issue. More often than not, the game will render an initial screen but not show any further updates. The game appears to have frozen, but through adding logging statements etc we've confirmed that keyboard inputs are being received and processed - just no further updates to the screen are being made. There's a randomness to it - sometimes the game will work fine, sometimes not. By adding sleep statements or setState calls in different places (we're clutching at straws!) we can change the odds of the game working, but we haven't found a hack that reliably fixes the problem. The main clue we have so far is that when the game fails to work we see this error:
[modesetting] Could not commit atomic request. drmModeAtomicCommit: Device or resource busy
Any ideas?
John
PS There are a couple of other warnings in the logs that are probably red herrings since they occur whether or not the game works:
WARNING: display has non-square pixels
and
WARNING: Kernel didn't return a valid vblank timestamp. (timestamp == 0) VSync with be disabled.
The text was updated successfully, but these errors were encountered: