From 50defa1f238f21419c9f1f083dfdbb85e4b32c01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jari=20H=C3=A4m=C3=A4l=C3=A4inen?= Date: Sun, 5 Jan 2020 00:31:05 +0200 Subject: [PATCH] Disable render thread in RK3399 (RockPro64) target for smoother graphics (#573) RK3399 / RockPro64 had a bit stuttering in scrolling (really noticeable for example in Pinball Fantasies) and status line seems to be flickering. At least for me disabling render thread improvent scrolling considerably and fixed the flickering in status line. --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 128b249c..50eb1b53 100644 --- a/Makefile +++ b/Makefile @@ -136,7 +136,7 @@ else ifneq (,$(findstring AMLG,$(PLATFORM))) # Rockchip RK3288 e.g. Asus Tinker Board / RK3328 e.g. PINE64 Rock64 / RK3399 e.g. PINE64 RockPro64 - 32-bit userspace else ifneq (,$(findstring RK,$(PLATFORM))) - CPPFLAGS += -DARMV6_ASSEMBLY -D_FILE_OFFSET_BITS=64 -DARMV6T2 -DUSE_ARMNEON -DARM_HAS_DIV -DFASTERCYCLES -DUSE_RENDER_THREAD -DSOFTWARE_CURSOR + CPPFLAGS += -DARMV6_ASSEMBLY -D_FILE_OFFSET_BITS=64 -DARMV6T2 -DUSE_ARMNEON -DARM_HAS_DIV -DFASTERCYCLES -DSOFTWARE_CURSOR HAVE_NEON = 1 ifneq (,$(findstring RK33,$(PLATFORM))) @@ -145,9 +145,11 @@ else ifneq (,$(findstring RK,$(PLATFORM))) CPUFLAGS += -mcpu=cortex-a72 else ifneq (,$(findstring RK3328,$(PLATFORM))) CPUFLAGS += -mcpu=cortex-a53 + CPPFLAGS += -DUSE_RENDER_THREAD endif else ifneq (,$(findstring RK3288,$(PLATFORM))) CPUFLAGS += -mcpu=cortex-a17 -mfloat-abi=hard -mfpu=neon-vfpv4 + CPPFLAGS += -DUSE_RENDER_THREAD endif # sun8i Allwinner H2+ / H3 like Orange PI, Nano PI, Banana PI, Tritium, AlphaCore2, MPCORE-HUB