-
-
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
reimplement legacy modesetting #99
Conversation
Thank you ardera, I have checkout this branch and test on my board. It says: root@nanopi3:~/flutter-pi# ./out/flutter-pi ../flutter_assets/ |
fix drmdev_new_from_fd failing for legacy modeset devices
Should work now and performance should be acceptable |
Thank you ardera! I tested your latest code, Looks the app read incorrect screen info. ===================================
|
Okay, I understand where the incorrect refresh rate may come from. But I have no idea why the resolution is wrong. I added some logging, can you try it out and send me the output? The Thanks for the modetest log btw, that was really helpful |
Hi ardera, |
dont create display mode property blob if not using atomic modesetting
Okay, can you try again with this commit? I fixed one thing that could've been the cause |
HI ardera, Though my device has some issue when displaying complicated UI, looks like something didn't redraw, but this existed on the older build as well. Overall, your latest code is better in every aspect compared with the old commit I used. BR, |
That's probably a driver issue. There are a lot of driver issues with these niche GPUs. Driver issues is actually where this project started, the original chinmaygarde/flutter_from_scratch project used the legacy OpenGL driver on the Raspberry Pi, which was completely unusable. (A lot of textures disappearing and reappearing) So I switched it over to using DRM/KMS and Mesa |
Thank you ardera. Appreciate you generous help. I will check my driver. |
Thanks, I'm glad I could help! |
This is pretty ugly right now, and I'm not sure the performance is as good as with atomic modesetting