-
-
Notifications
You must be signed in to change notification settings - Fork 172
Running flutter-pi on PiTFT 2.8" doesn't work #112
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
Also, can you give me the complete output of I have the suspicion that with "OpenGL", they implicitly meant "OpenGL using the legacy driver". The FYI: The legacy driver is unsupported since it's even buggier than the fake-KMS one. Both I and some other dude failed to get it working (textures disappearing, etc), there's a thread on the raspberry pi forums about this. |
Good guess! I ran the setup script for the TFT multiple times with different settings. One (or all) of these runs must have turned it back.
The resolution is set to 1280x240, but my PiTFT has a resolution of 320x240. |
Can you try adding the following lines to your
See also this reference on the Btw, do you have a HDMI monitor connected to the Pi (to use the mirroring)? It may work without a HDMI monitor with I also recommend invoking |
Most of the options were already set. I only had to add I've started experimenting with the line
As the displayed vertical resolution has been correct from the start, I'm guessing there is something wrong with the interpretation of the horizontal resolution.
Currently not.
Thanks. I will do that. |
The additional parameters are not necessary. If they're not specified, they are initialized to their default values (which is
Though, if you actually connect a HDMI monitor to the HDMI port, it won't show anything since the Pi doesn't work with pixel clocks as low as 4MHz. (The 2nd-last parameter of hdmi_timings). |
I have to admit, I don't know what you did here, but it works! 🤣 I guess I will dig into the specifics of these settings, later. As I don't want to connect a monitor to the HDMI port, that's a perfectly suitable solution for me. Thanks a lot. |
I'm trying to show Flutter apps on my PiTFT 2.8" capacitive display. I've connected the PiTFT to a Raspberry Pi 3 Model B and have followed this guide to set it up in HDMI mirror mode. I chose this mode as it is mentioned in the guide that only this mode supports OpenGL and flutter-pi seems to be dependent on OpenGL.
Trying to start the flutter gallery app with flutter-pi results in the following error:
I'm guessing it tries to list /dev/dri, but this directory does not exist in my current setup.
Is it theoretically possible to run Flutter apps on this PiTFT and if so, what can I do to help find the cause of the problem? I've attached the output of raspinfo.
raspinfo.txt
The text was updated successfully, but these errors were encountered: