-
-
Notifications
You must be signed in to change notification settings - Fork 163
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
drmModeGetResources failed: Invalid argument #13
Comments
did you activate the v3d OpenGL driver in raspi-config? If you have activated the v3d driver, or it already was activated, and the error still ocurrs, could you please tell me what files there are inside There's actually not much that is leading up to drmModeGetResources, flutter-pi just opens |
Yes, I did enabled I do see |
The v3d driver is the open source OpenGL driver for the VideoCore 4 made by Eric Anholt, that's the GL driver you're activating when choosing full-kms or fake-kms. If it's set to legacy, the broadcom one is used. Ah, so you're using a Pi 4! I actually don't have a Pi 4, I'm testing on a Pi 3A+. In that case, the fix is simple. . . . = open("/dev/dri/card0", O_RDWR); and change the path to I really thought the drm device would be the same on the 4, but I was wrong as it seems. I'm currently working on an update where flutter-pi will automatically choose it's devices, seems like I need to add capability for automatically selecting the correct DRM device too. |
Yes, I do have Pi 4. Changing card to Now I'm having different problem with flutter binary format :| Will open another issue for it. |
Hi,
I'm trying to get
flutter-pi
running on Raspbian Buster Lite image using engine files from your other github repository. I've modifiedflutter_gallery
app, build assets on my Linux desktop, then transferred them to raspberry-pi. Display with touchscreen is connected to HDMI0 port. I've also installed lib packages you have listed in the README.md. But still can't run the flutter app because of DRM related issue.Here is console output from
flutter-pi
:Here are the installed packages version:
2.4.99-1~bpo10~1
19.2.0~rc1-1~bpo10+1~rpt2
19.2.0~rc1-1~bpo10+1~rpt2
19.2.0~rc1-1~bpo10+1~rpt2
19.2.0~rc1-1~bpo10+1~rpt2
Any hint what could cause
drmModeGetResources failed
?The text was updated successfully, but these errors were encountered: