withgallantry / RetropieFE

Retropie Image for the Pocket Pi FE
11 stars 0 forks source link

Screen tearing and refresh rate #4

Open Superpuissant opened 5 years ago

Superpuissant commented 5 years ago

Hi,

the refresh rate screen tearing is very bad with the current screen drivers implementation. Any plan to improve this?

I've tried compiling juj drivers, it greatly improve things but didn't managed to get it working properly with battery and other icons display. Any way to merge it with OneForAll??

cheers

KonnorJ commented 5 years ago

What emulator/games are you expericing this on so the issue could be reproduced?

Superpuissant commented 5 years ago

Basically all of them. It seems the refresh rate of the screen is stuck at 30hz, which is the common refresh rate with nitro/fbtft drivers (which I assumed is used here).

You can find infos here: https://github.com/juj/fbcp-ili9341/blob/master/README.md

I'm using this with some other projects, it's day and night compared to this

withgallantry commented 5 years ago

The driver created will have some tearing as it's a compromise to make sure the emulators runs as fast as possible. The juj driver is brilliant but on some more taxing emulators, it causes the emulator to lag. It also requires interlacing to get the best performance and personally I think that's worse than a little tearing.

What I will be doing is creating a script to add the option of using either driver for those that prefer the Juj. That said, if your tearing is very bad there might be something deeper going on, it should be pretty much unnoticeable unless you're really scrutinising it. Feel free to message me on Discord and we can discuss this further and I can help you get the Juj driver working with the battery monitor software, they should just work to be honest, it uses the framebuffer the Juj driver copies from.