-
-
Notifications
You must be signed in to change notification settings - Fork 172
Can't run flutter-pi app after shutting down flutter-pi app #139
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
(This sequence used to work a few weeks ago.) |
There can only be one process (the DRM master) at a time on the whole system that is allowed to control the video output. So either the first process somehow still exists and is still DRM master on the 2nd invocation of flutter-pi, or the kernel somehow thinks there's still a DRM master even after the first process has finished.
Do you call these commands in a script? POSIX signals have no concept of "completion", so |
Waiting doesn't seem to help. It seems that killing the process started by |
Isn't that the same thing? If you kill Btw I just invoked |
My process structure looks like this:
If I kill |
For me, the process tree looks like this when launching
So for me, no child process is created, there's only one process and that is |
I'm not able to reproduce this. I have no idea what was going on. |
Weird, okay, closing this now |
I'm getting the above errors
|
Same issue here, on Raspberry pi 3, Raspberry pi OS 32 bits. |
There can only be one process reminds me, so I reboot my pi and rerun My case is:
|
I was able to reproduce this issue and fix is quite simple. Do you use some kind of compositor for wayland or X11? Try to disable it first :) DRI cannot be used by two compositors. DIsabling ex. weston fixes the issue |
Killing
flutter-pi
prevents the app from working again, due to "permission denied" errors.Steps to reproduce:
flutter-pi --release .
in the relevant directory.killall flutter-pi
.Admittedly this doesn't seem like a great way to stop the app, but I'm not sure what the right way to stop it so I can restart it is. :-)
The text was updated successfully, but these errors were encountered: