-
-
Notifications
You must be signed in to change notification settings - Fork 173
Resolution problems (resolution too low in Flutter) #51
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
I attached the Pi to my gaming monitor with:
And there everything looks as it should on a 1080p screen. So I'm guessing the culprit is the pixel_ratio that is not 1 on the WaveShare display. Can I change the pixel ratio somehow to 1, or is it a firmware / hardware thing that's not editable? |
I think so too.
Actually the correct pixel ratio for your screen is 1.553. Right now, there are two ways you can fix this:
I think it'd be a good idea to add a commandline option for specifying a custom screen size. |
Changing the pixel ratio fixed it, thanks! Custom screen size would be really useful, yes. I could imagine the need to downscale if you have a very high res screen. This is ok to close by me, if you don't want to keep it open to remind for the commandline option. |
I'm not so sure about that specific case though, the sole purpose of the pixel ratio is to compensate for high / low resolutions I'll close this for now |
Hi again, flutter-pi is working great, still loving it.
Just one issue, thought to post here before I dig deeper myself to figure out what's going on. I'm still using the same touchscreen I used earlier in #38 - a WaveShare 1280x800 screen. Starting flutter-pi, everything seems to be fine and in the startup logs it says:
But the resolution in Flutter is most definitely not 1280x800, it looks to be closer to 640x400, everything looking very different than when running the app on my 1280x800 emulator. Any ideas what might be the issue? I know the panel is capable of 1280x800, but I'm wondering whether the panel has some issues again as we had the vsync problem as well.
I have a superior screen on its way that I want to switch to anyways, but it would be good to understand why the resolution is so low when starting flutter-pi and whether I can somehow force it to 1280x800.
The text was updated successfully, but these errors were encountered: