Emulations slow Pi Zero 2
-
Hi,
i just finished my Switch Lite Retropie build.
Pi Model or other hardware: Raspberry Pi Zero 2 W
Power Supply used: Boost from Lion Battery (capable of delivering 2A)
RetroPie Version Used 4.8 Pre-build
USB Devices connected: Teensy as input device
Display: 5.5" OLED 1080x1920#The display resolution is 1080 x 1920 not the opposite. i configured in the config.txt:
max_framebuffer_height=1920 hdmi_group=2 hdmi_force_hotplug=1 hdmi_mode=87 hdmi_timings=1080 1 100 40 90 1920 1 8 2 4 0 0 0 60 0 152000000 3 display_rotate=1 #dtoverlay=vc4-fkms-v3d
As you can see it is running fine. But Amiberry is running very slow with at least 5fps. Top shows:
while running a game demo.
My guess is that the Pi Zero is not capable to render 1080x1920 via gpu. at this moment it is difficult to connect an other display with a lower resolution to check. this will be my last option. But do you have any hints?
PS1 Emu runs better, but not smooth. SNES is ok, but i can see some screen tearing.i would like to give the D3 option (pixel doubling) a chance, but i can not activate it in raspi-config cause of missing screen dimensions.
Markus
-
Amiberry Display config:
-
@mash-m said in Emulations slow Pi Zero 2:
The display resolution is 1080 x 1920 not the opposite. i configured in the config.txt:
max_framebuffer_height=1920 display_rotate=1
?!?
Wouldn't it be 1920x1080 if you changed the option to readdisplay_rotate=0
?hdmi_mode=87
This mode is listed as 2560x720 @ 25Hz on the raspberry documentation. I think you would want
hdmi_mode=82
for 1920x1080 resolution.Also it looks like the documentation mentions hdmi timings as such:
hdmi_timings
This allows setting of raw HDMI timing values for a custom mode, selected using hdmi_group=2 and hdmi_mode=87.
If you don't use mode 87, then your config line with all those custom timing settings shouldn't be active/necessary
https://www.raspberrypi.com/documentation/computers/config_txt.html
. -
No, pixel orientation is 1080 x 1920, custom timing is needet:
HDMI Mode 87 on Group 2 is for custom timing.
Mode 87 on group 1 is
87
2560x720
25Hz
64:27
Pi 4
-
@mash-m
Ok yeah I mixed up the CEA and DMT tables a bit there. -
Hi,
screen tearing is almost gone with some extra buffer in config.txt
extra_transponse_buffer=2
What i found is that this extra buffer will help while dispaly rotating.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.