-
-
Notifications
You must be signed in to change notification settings - Fork 350
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
perf: LVGL 8.3 #3279
perf: LVGL 8.3 #3279
Conversation
The tests for this failed as there has been a fractional colour shift (and I do mean fractional, I only noticed it when zooming in on the text - and text only, but the colour picker can see/quantify it)... any idea where that came from, and is it anything to be worried about? |
They did some changes to the font rendering with 8.3 |
Fair enough, I'll update the tests and continue on then :) |
This looks mostly good with two minor issues
|
Yup, that'll do for now... (just tried it cherry-picked into this PR) so you're fine with that being merged even though you still have it marked as draft? 😆 |
I change the status of the PR, let's use it first. |
Moved to 2.10, because it is waiting for libopenui changes |
And more importantly, it looks like there are still some kinks to be worked out. |
@gagarinlg @philmoz let's tackle this in September :-) It seems the |
I think this issue
is still present, and it could actually be out one row at the bottom, and on the right side (making it one pixel down and one pixel in, since the screen is flipped?). It's most noticeable for me with Offer's Model Flight Log viewer (https://github.com/offer-shmuely/edgetx-x10-scripts/tree/main/SCRIPTS/TOOLS/LogViewer), as I get a white line on at the bottom and right side when the splash screen is being shown, but I do get it other times also. |
Is it reproducible in the simulator? |
@pfeerick If you mean like the image below then this happens in the simulator on both 2.8.4 and 2.9.1 as well. The problem is the image itself has these lines at the bottom and right edge. |
Thanks for checking that... I hadn't tried on simulator, but now that I had what I thought was an easily reproducible test case I tried it on nightly and that was the same. I also just noticed the ELRS Lua has a thin border on the left right and bottom sides, and that is visible on this branch, so whatever caused this before is clearly gone. Now it's just a matter of any final changes to the LVGL 8.3 branch. |
There is something going wrong though. Does not happen with current main. Unfortunately as it's distributed pre-compiled it's not possible to see how the image is being displayed and debug the code. |
I've seen something exactly like that before, so that could have been what was happening before (it was a few months ago 🤭), or I've seen that same glitch elsewhere. 🤷 |
I did some investigation into the white bottom line issue with LVGL 8.3. It seems to be some timing issue or conflict with the DMA used to copy the standalone script bitmap and the DMA used to rotate the screen. The rotate screen code does a line at a time starting at the bottom row of the source and working up. If I change the direction so it works from the top row of the source and works down the problem goes away. |
Looks like the structure of |
Should be fixed now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TX16S and EL18 both seem ok now with this PR... no immediately visible issues after loading several themes, trawling through some images, running some widgets and standalone Lua like Offer's graphing log viewer...
Horus X10S Express: when I change the points of a curve the selection has tremendous lag. |
Summary of changes: switch to LVGL v8.3 which contains a number of bug fixes and faster the DMA2D usage has been improved