I notice flickering when updating my display. Is there a way to partially update the screen, or can the screen be updated faster? I noticed that the clock frequency is 10 MHz. Is that the fastest clock avaliable?
See your display’s datasheet but it is usually around 30mhz
try to 30000
But I don’t think it will help.
look at something in code. To me, slow usually happened from application to memory, not memory to the display.
What screen size are you trying?
var configuration = new FBDisplay.Configuration()
{
Clock = 10000, // 10MHz
Width = 480,
Hsync_start = 480 + 2,
Hsync_end = 480 + 2 + 41,
Htotal = 480 + 2 + 41 + 2,
Height = 272,
Vsync_start = 272 + 2,
Vsync_end = 272 + 2 + 10,
Vtotal = 272 + 2 + 10 + 2,
};
Screen size is 800 by 480
var screenWidth = 800;
var screenHeight = 480;
var configuration = new FBDisplay.Configuration()
{
Clock = 10000,
Width = screenWidth,
Hsync_start = screenWidth + 2,
Hsync_end = screenWidth + 2 + 41,
Htotal = screenWidth + 2 + 41 + 2,
Height = screenHeight,
Vsync_start = screenHeight + 2,
Vsync_end = screenHeight + 2 + 10,
Vtotal = screenHeight + 2 + 10 + 2,
};
yes, try 20_000 or 30_000 to see if any different
Clock = 30000,
SkiaSharp has a function (decode something, I don’t remember exactly) that is very slow, you may need to test just flush current bitmap to the screen first, if it is fast then problem is SkiaSharp and you need to optimize it.
Looks a lot better. So for larger screens a higher clock is required. And no the datasheet didn’t specify a clock.
Good to know.
The display datasheet may not give the max clock but will give the min clock width.