-
-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
KMSDRM video regression #1294
Comments
Are you only seeing flickering in the GUI? In that case, that's normal. If you turn on the status line, what kind of FPS do you get? |
The flickering is not in the GUI, I just start directly
I'll try to add that to the |
Can you also show all un-commented lines from config.txt? |
Here is the amiberry.confQuickstart=1
read_config_descriptions=yes
write_logfile=yes
default_line_mode=0
rctrl_as_ramiga=no
gui_joystick_control=yes
input_default_mouse_speed=100
input_keyboard_as_joystick_stop_keypresses=no
default_open_gui_key=F12
default_quit_key=
default_ar_key=Pause
default_fullscreen_toggle_key=
rotation_angle=0
default_horizontal_centering=no
default_vertical_centering=no
default_scaling_method=-1
default_frameskip=no
default_correct_aspect_ratio=yes
default_auto_crop=no
default_width=720
default_height=568
default_fullscreen_mode=1
default_stereo_separation=7
default_sound_buffer=8192
default_sound_pull=yes
default_joystick_deadzone=33
default_retroarch_quit=yes
default_retroarch_menu=yes
default_retroarch_reset=no
default_retroarch_vkbd=no
default_controller1=joy1
default_controller2=joy2
default_controller3=
default_controller4=
default_mouse1=mouse
default_mouse2=joy0
default_whd_buttonwait=no
default_whd_showsplash=yes
default_whd_configdelay=0
default_whd_writecache=no
default_whd_quit_on_exit=no
disable_shutdown_button=no
allow_display_settings_from_xml=yes
default_soundcard=0
default_vkbd_enabled=no
default_vkbd_hires=no
default_vkbd_exit=no
default_vkbd_language=US
default_vkbd_style=Original
default_vkbd_transparency=0
default_vkbd_toggle=guide
path=/opt/retropie/emulators/amiberry
config_path=/opt/retropie/emulators/amiberry/conf/
controllers_path=/opt/retropie/emulators/amiberry/controllers/
retroarch_config=/opt/retropie/emulators/amiberry/conf/retroarch.cfg
whdboot_path=/opt/retropie/emulators/amiberry/whdboot/
rom_path=/opt/retropie/emulators/amiberry/kickstarts/
rp9_path=/opt/retropie/emulators/amiberry/rp9/
floppy_sounds_dir=/opt/retropie/emulators/amiberry/data/floppy_sounds/
data_dir=/opt/retropie/emulators/amiberry/data/
saveimage_dir=/opt/retropie/emulators/amiberry/savestates/
savestate_dir=/opt/retropie/emulators/amiberry/savestates/
ripper_dir=/opt/retropie/emulators/amiberry/ripper/
inputrecordings_dir=/opt/retropie/emulators/amiberry/inputrecordings/
screenshot_dir=/opt/retropie/emulators/amiberry/screenshots/
nvram_dir=/opt/retropie/emulators/amiberry/nvram/
ROMs=5
ROMName=Freezer: Action Replay Mk III v3.17 (256k)
ROMPath=/opt/retropie/emulators/amiberry/kickstarts/Action Replay Mk III v3.17 (1991)(Datel Electronics).rom
ROMType=524290
ROMName=CDTV/A570 extended ROM v2.30 (256k) [391298-01]
ROMPath=/opt/retropie/emulators/amiberry/kickstarts/CDTV Extended-ROM v2.3 (1992)(Commodore)(CDTV).rom
ROMType=2048
ROMName=KS ROM v1.2 (A500,A1000,A2000) rev 33.180 (256k) [315093-01]
ROMPath=/opt/retropie/emulators/amiberry/kickstarts/Kickstart v1.2 rev 33.180 (1986)(Commodore)(A500-A1000-A2000).rom
ROMType=256
ROMName=Freezer: HRTMon v2.37 (built-in)
ROMPath=:HRTMon
ROMType=524291
ROMName=AROS KS ROM (built-in) (1024k)
ROMPath=:AROS
ROMType=256
MRUDiskList=0
MRUCDList=0
MRUWHDLoadList=0
Interestingly, if I toggle the GUI via F12, there is no slowdown. Also, if I toggle Show Line native and save the configuration for the |
I can recreate it, it only happens if you skip loading the GUI on startup. |
When KMSDRM was detected, the currprefs were set to Full-Window. However, changed_prefs was not updated also, triggering a detection loop since the prefs were different.
Thank you @midwan for the fix. |
Describe the bug
Using
v5.7.0
and KMSDRM (current RaspiOS (bookworm), Pi4/64bit), the video output is very slow and basically unusable. Booting the very simple AmigaTestKit results in a flickering mouse cursor and the start 'page' of the kit is shown in about 1 min.Looking at the log, I see Amiberry is looping while re-creating the SDL2 window (newlines added by me):
To Reproduce
Compile Amiberry for Pi4, (
PLATFORM=rpi4-64-sdl2
) and make sure the installed SDL2 has KMSDRM video support, then start Amiberry outside a desktop env.Expected behavior
Video output to not be choppy/slow.
Desktop (please complete the following information):
Additional context
KMSDRM SDL2 video driver used, no desktop (X11/Wayland) involved.
Maybe caused by 2428b30 ?
The text was updated successfully, but these errors were encountered: