Comments (4)
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. /dev/dri/card0
is not the device flutter-pi should use on the Pi 4. it's /dev/dri/card1
. For now, you could simply look for the line inside flutter-pi.c where it says
. . . = open("/dev/dri/card0", O_RDWR);
and change the path to /dev/dri/card1
.
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.
from flutter-pi.
did you activate the v3d OpenGL driver in raspi-config?
i.e.
sudo raspi-config --> Advanced --> GL Driver --> Fake-KMS
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 /dev/dri/
? flutter-pi by default uses /dev/dri/card0
as its DRM device.
There's actually not much that is leading up to drmModeGetResources, flutter-pi just opens /dev/dri/card0
and then calls drmModeGetResources on it.
from flutter-pi.
Yes, I did enabled Fake-KMS
as a GL driver.
I do see /dev/dri/card0
(card1 and renderD128). What is v3d
driver, I've just installed gldriver-test
and xinv3d
packages but they didn't fixed this issue. Any other hints?
from flutter-pi.
Yes, I do have Pi 4. Changing card to card1
did helped!! Thanks!
Now I'm having different problem with flutter binary format :| Will open another issue for it.
from flutter-pi.
Related Issues (20)
- error message on TI AM625
- How can I show a python plot? (Question) HOT 2
- No issue, just looking for some help: Can't load Kernel binary: Invalid kernel binary format version. HOT 1
- No mouse cursor on Ubuntu HOT 1
- I updated the flutter version and reported the following error.(3.19.3) HOT 3
- modesetting.c: Could not set DRM client universal planes capable. drmSetClientCap: Operation not supported HOT 1
- Pi goes back to console mode but the app is running
- Option --dimensions does not take effect HOT 1
- 🐛 throwing DRM and GBM errors w/ latest kernel HOT 5
- Does webview work?
- screen ratio not respected. HOT 2
- MissingPluginException - method setSourceBytes (audioplayers) HOT 2
- error: static assignment failed: Expressionevaluation to false HOT 2
- No output on Odroid M1S when using Vu5S MIPI-DSI display HOT 14
- error: Couldn't create GBM surface for rendering - Rasberry pi 5 with 7 inch DSI official display HOT 6
- Missing Depens in Readme ? HOT 2
- Different resolution in flutter-pi than that of the OS (DSI panel) HOT 4
- Installing on iMX6ULL HOT 6
- Audioplayers MissingPluginException HOT 1
- Orange Pi Zero 3 configuration HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter-pi.