Skip to content

drmModeAtomicCommit permission denied #185

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

Closed
goncalo-almeida-mc opened this issue Jul 5, 2021 · 2 comments
Closed

drmModeAtomicCommit permission denied #185

goncalo-almeida-mc opened this issue Jul 5, 2021 · 2 comments

Comments

@goncalo-almeida-mc
Copy link

Flutter-pi stops here:

detected VideoCore IV as underlying graphics chip, and VC4 as the driver.
Reporting modified GL_EXTENSIONS string that doesn't contain non-working extensions.
flutter: Observatory listening on http://127.0.0.1:44135/AxKHeu4r10g=/
[modesetting] Could not commit atomic request. drmModeAtomicCommit: Permission denied
[compositor] Could not present frame. drmModeAtomicCommit: Permission denied
[modesetting] Could not commit atomic request. drmModeAtomicCommit: Permission denied
[compositor] Could not present frame. drmModeAtomicCommit: Permission denied

Flutter version is matching engine-binaries (2.2.2 both). Also tried to run flutter-pi with sudo and got the same output.
Any advice to advance past this?

@ardera
Copy link
Owner

ardera commented Jul 5, 2021

  1. make sure no desktop environment (X.org, wayland) is running. Select boot into console in raspi-config (see the readme)
  2. make sure no other instance of flutter-pi is running. It's possible flutter-pi is running even though you see the console on your display. To make sure no instance is running execute killall flutter-pi

@goncalo-almeida-mc
Copy link
Author

Fixed, thanks!

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

2 participants