christianhaitian / arkos

Another rockchip Operating System
MIT License
1.37k stars 81 forks source link

kms/drm double buffering verification #1073

Closed foxflyy closed 1 month ago

foxflyy commented 1 month ago

Hi Christianhaitian,

I'm optimizing input lag on my RGB30. I have a set to test input lag which can detect one frame (16ms) difference. Whit that I can clear see the 1 frame reduction by the run-ahead option.

But for the option max swapchain images, it makes no difference for "2" or "3". In my understanding it tells the video driver the max buffer number. I'm aware there was a update of kms driver double buffering. So it could mean video driver was stick to 2 frame buffer all the time. Is there any log output to confirm this setting? Thank you!

christianhaitian commented 1 month ago

Hi,

Unfortunately, I"m not sure how this can be accomplished. To get logging from retroarch, you can manually launch it by including -v in the command and maybe there it will give you the feedback you're looking for.

Thanks,