Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on closing content #189

Closed
5 of 11 tasks
MinecraHD opened this issue Mar 5, 2024 · 7 comments
Closed
5 of 11 tasks

Crash on closing content #189

MinecraHD opened this issue Mar 5, 2024 · 7 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists frontend This issue isn't directly solvable in melonDS DS, and is the responsibility of a libretro frontend.

Comments

@MinecraHD
Copy link

What version of melonDS DS are you using?

1.1.1

Does the problem happen in standalone melonDS?

No, it's a bug specific to melonDS DS.

What happened?

Launching Retroarch through either flatpak run or the flatpak generated .desktop file.
Crash happens core is loaded with either game or no game and content is closed.

Sometimes it even keeps running in the background after crash, like you can see in video.
The Video

[INFO] [Config]: Looking for config in: "/home/USERXXX/.var/app/org.libretro.RetroArch/config/retroarch/retroarch.cfg".
[INFO] RetroArch 1.17.0 (Git ad8975c)
[INFO] === Build =======================================
[INFO] CPU Model Name: AMD Ryzen 7 3700X 8-Core Processor
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE42 AES AVX AVX2
[INFO] Version: 1.17.0
[INFO] Git: ad8975c
[INFO] Built: Feb 12 2024
[INFO] =================================================
[INFO] [Input]: Found input driver: "x".
[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[INFO] [Core]: Version of libretro API: 1, Compiled against API: 1
[INFO] [Core]: Geometry: 320x240, Aspect: 1.333, FPS: 60.00, Sample rate: 48000.00 Hz.
[INFO] [Audio]: Set audio input rate to: 48000.00 Hz.
[INFO] [Video]: Set video size to: 960x720.
[DEBUG] [Wayland]: Add global 1, interface wl_compositor, version 5
[DEBUG] [Wayland]: Add global 3, interface zwp_tablet_manager_v2, version 1
[DEBUG] [Wayland]: Add global 4, interface zwp_keyboard_shortcuts_inhibit_manager_v1, version 1
[DEBUG] [Wayland]: Add global 6, interface xdg_wm_base, version 4
[DEBUG] [Wayland]: Add global 7, interface zwlr_layer_shell_v1, version 3
[DEBUG] [Wayland]: Add global 8, interface zxdg_decoration_manager_v1, version 1
[DEBUG] [Wayland]: Add global 9, interface wp_viewporter, version 1
[DEBUG] [Wayland]: Add global 10, interface wp_fractional_scale_manager_v1, version 1
[DEBUG] [Wayland]: Add global 11, interface wl_shm, version 1
[DEBUG] [Wayland]: Add global 12, interface wl_seat, version 8
[DEBUG] [Wayland]: Add global 13, interface zwp_pointer_gestures_v1, version 3
[DEBUG] [Wayland]: Add global 14, interface zwp_pointer_constraints_v1, version 1
[DEBUG] [Wayland]: Add global 15, interface zwp_relative_pointer_manager_v1, version 1
[DEBUG] [Wayland]: Add global 16, interface wl_data_device_manager, version 3
[DEBUG] [Wayland]: Add global 17, interface zwlr_data_control_manager_v1, version 2
[DEBUG] [Wayland]: Add global 18, interface zwp_primary_selection_device_manager_v1, version 1
[DEBUG] [Wayland]: Add global 19, interface org_kde_kwin_idle, version 1
[DEBUG] [Wayland]: Add global 20, interface zwp_idle_inhibit_manager_v1, version 1
[DEBUG] [Wayland]: Add global 21, interface ext_idle_notifier_v1, version 1
[DEBUG] [Wayland]: Add global 22, interface org_kde_plasma_shell, version 8
[DEBUG] [Wayland]: Add global 23, interface org_kde_kwin_appmenu_manager, version 1
[DEBUG] [Wayland]: Add global 24, interface org_kde_kwin_server_decoration_palette_manager, version 1
[DEBUG] [Wayland]: Add global 26, interface org_kde_plasma_virtual_desktop_management, version 2
[DEBUG] [Wayland]: Add global 28, interface org_kde_kwin_shadow_manager, version 2
[DEBUG] [Wayland]: Add global 29, interface org_kde_kwin_dpms_manager, version 1
[DEBUG] [Wayland]: Add global 30, interface org_kde_kwin_server_decoration_manager, version 1
[DEBUG] [Wayland]: Add global 31, interface kde_output_management_v2, version 3
[DEBUG] [Wayland]: Add global 32, interface zxdg_output_manager_v1, version 3
[DEBUG] [Wayland]: Add global 33, interface wl_subcompositor, version 1
[DEBUG] [Wayland]: Add global 34, interface zxdg_exporter_v2, version 1
[DEBUG] [Wayland]: Add global 35, interface zxdg_importer_v2, version 1
[DEBUG] [Wayland]: Add global 38, interface xdg_activation_v1, version 1
[DEBUG] [Wayland]: Add global 40, interface wp_content_type_manager_v1, version 1
[DEBUG] [Wayland]: Add global 41, interface wp_tearing_control_manager_v1, version 1
[DEBUG] [Wayland]: Add global 43, interface wl_drm, version 2
[DEBUG] [Wayland]: Add global 44, interface zwp_linux_dmabuf_v1, version 4
[DEBUG] [Wayland]: Add global 46, interface kde_output_device_v2, version 2
[DEBUG] [Wayland]: Add global 47, interface kde_output_device_v2, version 2
[DEBUG] [Wayland]: Add global 48, interface kde_output_device_v2, version 2
[DEBUG] [Wayland]: Add global 49, interface wl_output, version 4
[DEBUG] [Wayland]: Add global 50, interface wl_output, version 4
[DEBUG] [Wayland]: Add global 51, interface wl_output, version 4
[DEBUG] [Wayland]: Add global 52, interface wp_drm_lease_device_v1, version 1
[DEBUG] [Wayland]: Add global 53, interface kde_output_order_v1, version 1
[DEBUG] [Wayland]: Add global 54, interface zwp_text_input_manager_v1, version 1
[DEBUG] [Wayland]: Add global 55, interface zwp_text_input_manager_v2, version 1
[DEBUG] [Wayland]: Add global 56, interface zwp_text_input_manager_v3, version 1
[DEBUG] [Wayland]: Add global 58, interface org_kde_kwin_contrast_manager, version 2
[DEBUG] [Wayland]: Add global 59, interface org_kde_kwin_blur_manager, version 1
[DEBUG] [Wayland]: Add global 60, interface org_kde_kwin_slide_manager, version 1
[INFO] [Wayland]: fractional_scale_v1 enabled
[INFO] [EGL] Found EGL client version >= 1.5, trying eglGetPlatformDisplay
[INFO] [EGL]: EGL version: 1.5
[INFO] [GLCore]: Found GL context: "wayland".
[INFO] [GLCore]: Detecting screen resolution: 2560x1440.
[INFO] [EGL]: Current context: 0x55fbf30f5480.
[INFO] [GLCore]: Vendor: AMD, Renderer: AMD Radeon RX 7800 XT (radeonsi, navi32, LLVM 17.0.6, DRM 3.57, 6.7.7-amd64).
[INFO] [GLCore]: Version: 4.6 (Core Profile) Mesa 23.3.4 (git-27405fd573).
[INFO] [GLCore]: Using resolution 960x720.
[INFO] [Joypad]: Found joypad driver: "sdl2".
[INFO] [GLCore]: Loading stock shader.
[INFO] [slang]: Building pass #0 (N/A)
[INFO] [GLCore]: Not using frame history.
[INFO] [GLCore]: Not using framebuffer feedback.
[INFO] [Autoconf]: Generic X-Box pad (121/6355) not configured, using fallback.
[INFO] [Video]: Found display server: "null".
[DEBUG] [PulseAudio]: Sink detected: alsa_output.usb-Cooler_Master_Technology_Inc._MH752_00000000-00.analog-stereo
[DEBUG] [PulseAudio]: Sink detected: alsa_output.pci-0000_2f_00.4.analog-stereo
[INFO] [PulseAudio]: Requested 24576 bytes buffer, got 18432.
[INFO] [Audio]: Started synchronous audio driver.
[INFO] [ALSA] Using ALSA version 1.2.9
[INFO] [Microphone]: Initialized microphone driver.
[INFO] [Display]: Found display driver: "glcore".
[INFO] [Playlist]: Loading history file: "/home/userx/app/org.libretro.RetroArch/config/retroarch/content_history.lpl".
[INFO] [Playlist]: Loading history file: "/home/USERXXX/.var/app/org.libretro.RetroArch/config/retroarch/content_music_history.lpl".
[INFO] [Playlist]: Loading history file: "/home/USERXXX/.var/app/org.libretro.RetroArch/config/retroarch/content_video_history.lpl".
[INFO] [Playlist]: Loading history file: "/home/USERXXX/.var/app/org.libretro.RetroArch/config/retroarch/content_image_history.lpl".
[INFO] [Playlist]: Loading favorites file: "/home/USERXXX/.var/app/org.libretro.RetroArch/config/retroarch/content_favorites.lpl".
[INFO] [Autoconf]: Generic X-Box pad (121/6355) not configured, using fallback.
[INFO] [Environ]: SET_SUBSYSTEM_INFO.
[DEBUG] Subsystem ID: 0
Special game type: Slot 1 & 2 Boot
Ident: gba
ID: 1
Content:
[DEBUG] Nintendo DS (Slot 1) (required)
[DEBUG] GBA (Slot 2) (required)
[DEBUG] GBA Save Data (optional)
[DEBUG] Subsystem ID: 1
Special game type: Slot 1 & 2 Boot (No GBA Save Data)
Ident: gbanosav
ID: 2
Content:
[DEBUG] Nintendo DS (Slot 1) (required)
[DEBUG] GBA (Slot 2) (required)
[DEBUG] Subsystems: 2
[INFO] [Content]: Updating firmware status for: "/home/USERXXX/.var/app/org.libretro.RetroArch/config/retroarch/cores/melondsds_libretro.so" on "/games/RetroArch/BIOs".
[INFO] [Core]: No content, starting dummy core.
[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[INFO] [PulseAudio]: Pausing.
[DEBUG] [Audio]: Stopped audio driver "pulse"
[INFO] [Core]: Unloading core..
[INFO] [Core]: Unloading core symbols..
[INFO] [Autoconf]: Generic X-Box pad disconnected from port 1.
[INFO] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
[INFO] RetroArch 1.17.0 (Git ad8975c)
[INFO] === Build =======================================
[INFO] CPU Model Name: AMD Ryzen 7 3700X 8-Core Processor
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE42 AES AVX AVX2
[INFO] Version: 1.17.0
[INFO] Git: ad8975c
[INFO] Built: Feb 12 2024
[INFO] =================================================
[INFO] [Input]: Found input driver: "x".
[INFO] [Core]: Loading dynamic libretro core from: "/home/USERXXX/.var/app/org.libretro.RetroArch/config/retroarch/cores/melondsds_libretro.so"
[INFO] [Overrides]: Redirecting save file to "/home/USERXXX/.var/app/org.libretro.RetroArch/config/retroarch/saves/melonDS DS/melonDS DS.srm".
[INFO] [Overrides]: Redirecting save state to "/home/USERXXX/.var/app/org.libretro.RetroArch/config/retroarch/states/melonDS DS/melonDS DS.state".
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_UPDATE_DISPLAY_CALLBACK.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CONTENT_INFO_OVERRIDE.
[INFO] [Content Override]: File Extension: 'srm' - need_fullpath: TRUE, persistent_data: FALSE
[INFO] [Content Override]: File Extension: 'sav' - need_fullpath: TRUE, persistent_data: FALSE
[INFO] [Content Override]: File Extension: 'nds' - need_fullpath: FALSE, persistent_data: TRUE
[INFO] [Content Override]: File Extension: 'dsi' - need_fullpath: FALSE, persistent_data: TRUE
[INFO] [Content Override]: File Extension: 'ids' - need_fullpath: FALSE, persistent_data: TRUE
[INFO] [Content Override]: File Extension: 'gba' - need_fullpath: FALSE, persistent_data: TRUE
[INFO] [Environ]: SET_CONTROLLER_INFO.
[DEBUG] Port 1:
[DEBUG] "Nintendo DS" (1)
[INFO] [Environ]: SET_SUPPORT_ACHIEVEMENTS: yes.
[INFO] [Environ]: GET_LOG_INTERFACE.
[libretro DEBUG] retro_set_environment(0x55fbf03aad40)
[INFO] [Environ]: GET_MESSAGE_INTERFACE_VERSION.
[INFO] [Environ]: SAVE_DIRECTORY: "/home/USERXXX/.var/app/org.libretro.RetroArch/config/retroarch/saves/melonDS DS".
[libretro INFO] Save directory: "/home/USERXXX/.var/app/org.libretro.RetroArch/config/retroarch/saves/melonDS DS"
[libretro INFO] melonDS DS save subdirectory: "/home/USERXXX/.var/app/org.libretro.RetroArch/config/retroarch/saves/melonDS DS"
[INFO] [Environ]: SYSTEM_DIRECTORY: "/games/RetroArch/BIOs".
[libretro INFO] System directory: "/games/RetroArch/BIOs"
[libretro INFO] melonDS DS system subdirectory: "/games/RetroArch/BIOs/melonDS DS"
[DEBUG] [Environ]: SET_SUBSYSTEM_INFO.
[DEBUG] Special game type: Slot 1 & 2 Boot
Ident: gba
ID: 1
Content:
[DEBUG] Nintendo DS (Slot 1) (required)
[DEBUG] GBA (Slot 2) (required)
[DEBUG] GBA Save Data (optional)
[DEBUG] Special game type: Slot 1 & 2 Boot (No GBA Save Data)
Ident: gbanosav
ID: 2
Content:
[DEBUG] Nintendo DS (Slot 1) (required)
[DEBUG] GBA (Slot 2) (required)
[INFO] [Environ]: GET_VFS_INTERFACE. Core requested version >= V1, providing V3.
[INFO] [Environ]: SET_SUPPORT_NO_GAME: yes.
[INFO] [Remaps]: Core-specific remap found at "/home/USERXXX/.var/app/org.libretro.RetroArch/config/retroarch/config/remaps/melonDS DS/melonDS DS.rmp".
[libretro DEBUG] Frontend supports no-game mode.
[libretro DEBUG] Power state available
[libretro DEBUG] retro_init
[libretro INFO] melonDS DS 1.1.1
[INFO] [Environ]: RETRO_ENVIRONMENT_GET_MICROPHONE_INTERFACE.
[libretro DEBUG] Microphone support available (version 1)
[libretro DEBUG] retro_load_game()
[INFO] [Environ]: SET_PIXEL_FORMAT: XRGB8888.
[libretro DEBUG] /games/RetroArch/BIOs/bios7.bin is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /games/RetroArch/BIOs/firmware.bin.bak is a backup file, not counting it as firmware
[libretro DEBUG] /games/RetroArch/BIOs/bios9.bin is not a known firmware size (found 4096 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] Found a firmware image at "/games/RetroArch/BIOs/firmware.bin"
[libretro ERROR] [melonDS] PCap: init failed
[libretro WARN] Failed to enumerate Wi-fi adapters
[INFO] [Environ]: GET_CORE_OPTIONS_VERSION.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_V2.
[libretro DEBUG] V2 core options set successfully
[DEBUG] [Environ]: GET_VARIABLE: melonds_console_mode = "ds"
[DEBUG] [Environ]: GET_VARIABLE: melonds_boot_mode = "direct"
[DEBUG] [Environ]: GET_VARIABLE: melonds_sysfile_mode = "native"
[DEBUG] [Environ]: GET_VARIABLE: melonds_ds_battery_ok_threshold = "20"
[DEBUG] [Environ]: GET_VARIABLE: melonds_battery_update_interval = "15"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_mode = "real"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_relative_year_offset = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_relative_day_offset = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_relative_hour_offset = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_relative_minute_offset = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_year = "2004"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_month = "1"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_day = "1"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_hour = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_minute = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_unsupported_features = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_mic_state = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_camera_state = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_bios_warnings = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_current_layout = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_lid_state = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_enable = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_block_size = "32"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_branch_optimisations = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_literal_optimisations = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_fast_memory = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_homebrew_readonly = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_homebrew_sync_sdcard_to_host = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_homebrew_sdcard = "enabled"
[libretro INFO] No homebrew SD card image found at "/home/USERXXX/.var/app/org.libretro.RetroArch/config/retroarch/saves/melonDS DS/dldi_sd_card.bin"; will create an image.
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_sdcard_readonly = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_sdcard_sync_sdcard_to_host = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_sdcard = "enabled"
[libretro INFO] No DSi SD card image found at "/home/USERXXX/.var/app/org.libretro.RetroArch/config/retroarch/saves/melonDS DS/dsi_sd_card.bin"; will create an image.
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_nand_path = "/notfound"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_nds_path = "firmware.bin"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_dsi_path = "firmware.bin"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_language = "auto"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_favorite_color = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_username = "guess_username"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_enable_alarm = "default"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_alarm_hour = "default"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_alarm_minute = "default"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_birth_month = "default"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_birth_day = "default"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_wfc_dns = "178.62.43.212"
[DEBUG] [Environ]: GET_VARIABLE: melonds_mic_input_active = "hold"
[DEBUG] [Environ]: GET_VARIABLE: melonds_mic_input = "microphone"
[DEBUG] [Environ]: GET_VARIABLE: melonds_audio_bitdepth = "auto"
[DEBUG] [Environ]: GET_VARIABLE: melonds_audio_interpolation = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_network_mode = "indirect"
[DEBUG] [Environ]: GET_VARIABLE: melonds_direct_network_interface = "auto"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_gap = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_cursor_timeout = "3"
[DEBUG] [Environ]: GET_VARIABLE: melonds_touch_mode = "auto"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_cursor = "timeout"
[DEBUG] [Environ]: GET_VARIABLE: melonds_hybrid_ratio = "3"
[DEBUG] [Environ]: GET_VARIABLE: melonds_hybrid_small_screen = "one"
[DEBUG] [Environ]: GET_VARIABLE: melonds_number_of_screen_layouts = "2"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout1 = "hybrid-top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout2 = "hybrid-bottom"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout3 = "top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout4 = "bottom"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout5 = "hybrid-top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout6 = "hybrid-bottom"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout7 = "bottom-top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout8 = "right-left"
[DEBUG] [Environ]: GET_VARIABLE: melonds_opengl_filtering = "nearest"
[DEBUG] [Environ]: GET_VARIABLE: melonds_threaded_renderer = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_render_mode = "opengl"
[DEBUG] [Environ]: GET_VARIABLE: melonds_opengl_resolution = "4"
[DEBUG] [Environ]: GET_VARIABLE: melonds_opengl_better_polygons = "enabled"
[libretro DEBUG] bool MelonDsDs::CoreOptionVisibility::Update()
[DEBUG] [Environ]: GET_VARIABLE: melonds_mic_input = "microphone"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_render_mode = "opengl"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_console_mode = "ds"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_sdcard = "enabled"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_homebrew_sdcard = "enabled"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_cursor = "timeout"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_number_of_screen_layouts = "2"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout1 = "hybrid-top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout2 = "hybrid-bottom"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_enable_alarm = "default"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_enable = "enabled"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_network_mode = "indirect"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_mode = "real"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[libretro DEBUG] MelonDsDs::OpenGLRenderState::OpenGLRenderState()
[INFO] [Environ]: SET_HW_RENDER, context type: gl.
[INFO] Requesting OpenGL context.
[DEBUG] Reached end of SET_HW_RENDER.
[libretro DEBUG] Initialized OpenGL render state
[INFO] [Environ]: SET_ROTATION: 0
[INFO] [Microphone]: Microphone requested before driver context was ready; deferring initialization.
[libretro INFO] Loaded DS Lite firmware from "/games/RetroArch/BIOs/firmware.bin" (Identifier: MACh)
[libretro ERROR] Failed to open ARM7 file "/games/RetroArch/BIOs/melonDS DS/bios7.bin" for reading
[libretro INFO] Successfully loaded 16384-byte ARM7 file "/games/RetroArch/BIOs/bios7.bin"
[libretro ERROR] Failed to open ARM9 file "/games/RetroArch/BIOs/melonDS DS/bios9.bin" for reading
[libretro INFO] Successfully loaded 4096-byte ARM9 file "/games/RetroArch/BIOs/bios9.bin"
[libretro DEBUG] Installed native ARM7 and ARM9 NDS BIOS images
[INFO] [Environ]: GET_USERNAME: "".
[INFO] [Environ]: GET_LANGUAGE: "0".
[libretro DEBUG] Initialized indirect-mode Wi-fi support
[libretro INFO] No GBA SRAM was provided.
[INFO] [Environ]: GET_MESSAGE_INTERFACE_VERSION.
[INFO] [Environ]: SET_INPUT_DESCRIPTORS:
[DEBUG] Port 1:
[DEBUG] "D-Pad Up" => "Up"
[DEBUG] "D-Pad Down" => "Down"
[DEBUG] "D-Pad Left" => "Left"
[DEBUG] "D-Pad Right" => "Right"
[DEBUG] "B Button (Down)" => "B"
[DEBUG] "A Button (Right)" => "A"
[DEBUG] "Y Button (Left)" => "Y"
[DEBUG] "X Button (Top)" => "X"
[DEBUG] "Select Button" => "Select"
[DEBUG] "Start Button" => "Start"
[DEBUG] "L Button (Shoulder)" => "L"
[DEBUG] "R Button (Shoulder)" => "R"
[DEBUG] "L2 Button (Trigger)" => "Microphone"
[DEBUG] "R2 Button (Trigger)" => "Next Screen Layout"
[DEBUG] "L3 Button (Thumb)" => "Close Lid"
[DEBUG] "R3 Button (Thumb)" => "Touch Joystick"
[DEBUG] Port 2:
[DEBUG] Port 3:
[DEBUG] Port 4:
[DEBUG] Port 5:
[DEBUG] Port 6:
[DEBUG] Port 7:
[DEBUG] Port 8:
[libretro INFO] Deferring initialization until the OpenGL context is ready
[INFO] [Replay]: Found last replay slot: #0
[libretro DEBUG] retro_get_memory_data(RETRO_MEMORY_SAVE_RAM)
[libretro DEBUG] retro_get_memory_data(RETRO_MEMORY_RTC)
[libretro DEBUG] retro_get_memory_data(RETRO_MEMORY_SAVE_RAM)
[libretro DEBUG] retro_get_memory_data(RETRO_MEMORY_RTC)
[INFO] [SRAM]: Skipping SRAM load.
[INFO] [Core]: Version of libretro API: 1, Compiled against API: 1
[INFO] [Core]: Geometry: 4096x2304, Aspect: 1.778, FPS: 59.90, Sample rate: 32768.00 Hz.
[INFO] [Audio]: Set audio input rate to: 32823.63 Hz.
[INFO] [Video]: Set video size to: 1920x1080.
[INFO] [Video]: Using HW render, OpenGL driver forced.
[INFO] [Video]: Using configured "glcore" driver for GL HW render.
[DEBUG] [Wayland]: Add global 1, interface wl_compositor, version 5
[DEBUG] [Wayland]: Add global 3, interface zwp_tablet_manager_v2, version 1
[DEBUG] [Wayland]: Add global 4, interface zwp_keyboard_shortcuts_inhibit_manager_v1, version 1
[DEBUG] [Wayland]: Add global 6, interface xdg_wm_base, version 4
[DEBUG] [Wayland]: Add global 7, interface zwlr_layer_shell_v1, version 3
[DEBUG] [Wayland]: Add global 8, interface zxdg_decoration_manager_v1, version 1
[DEBUG] [Wayland]: Add global 9, interface wp_viewporter, version 1
[DEBUG] [Wayland]: Add global 10, interface wp_fractional_scale_manager_v1, version 1
[DEBUG] [Wayland]: Add global 11, interface wl_shm, version 1
[DEBUG] [Wayland]: Add global 12, interface wl_seat, version 8
[DEBUG] [Wayland]: Add global 13, interface zwp_pointer_gestures_v1, version 3
[DEBUG] [Wayland]: Add global 14, interface zwp_pointer_constraints_v1, version 1
[DEBUG] [Wayland]: Add global 15, interface zwp_relative_pointer_manager_v1, version 1
[DEBUG] [Wayland]: Add global 16, interface wl_data_device_manager, version 3
[DEBUG] [Wayland]: Add global 17, interface zwlr_data_control_manager_v1, version 2
[DEBUG] [Wayland]: Add global 18, interface zwp_primary_selection_device_manager_v1, version 1
[DEBUG] [Wayland]: Add global 19, interface org_kde_kwin_idle, version 1
[DEBUG] [Wayland]: Add global 20, interface zwp_idle_inhibit_manager_v1, version 1
[DEBUG] [Wayland]: Add global 21, interface ext_idle_notifier_v1, version 1
[DEBUG] [Wayland]: Add global 22, interface org_kde_plasma_shell, version 8
[DEBUG] [Wayland]: Add global 23, interface org_kde_kwin_appmenu_manager, version 1
[DEBUG] [Wayland]: Add global 24, interface org_kde_kwin_server_decoration_palette_manager, version 1
[DEBUG] [Wayland]: Add global 26, interface org_kde_plasma_virtual_desktop_management, version 2
[DEBUG] [Wayland]: Add global 28, interface org_kde_kwin_shadow_manager, version 2
[DEBUG] [Wayland]: Add global 29, interface org_kde_kwin_dpms_manager, version 1
[DEBUG] [Wayland]: Add global 30, interface org_kde_kwin_server_decoration_manager, version 1
[DEBUG] [Wayland]: Add global 31, interface kde_output_management_v2, version 3
[DEBUG] [Wayland]: Add global 32, interface zxdg_output_manager_v1, version 3
[DEBUG] [Wayland]: Add global 33, interface wl_subcompositor, version 1
[DEBUG] [Wayland]: Add global 34, interface zxdg_exporter_v2, version 1
[DEBUG] [Wayland]: Add global 35, interface zxdg_importer_v2, version 1
[DEBUG] [Wayland]: Add global 38, interface xdg_activation_v1, version 1
[DEBUG] [Wayland]: Add global 40, interface wp_content_type_manager_v1, version 1
[DEBUG] [Wayland]: Add global 41, interface wp_tearing_control_manager_v1, version 1
[DEBUG] [Wayland]: Add global 43, interface wl_drm, version 2
[DEBUG] [Wayland]: Add global 44, interface zwp_linux_dmabuf_v1, version 4
[DEBUG] [Wayland]: Add global 46, interface kde_output_device_v2, version 2
[DEBUG] [Wayland]: Add global 47, interface kde_output_device_v2, version 2
[DEBUG] [Wayland]: Add global 48, interface kde_output_device_v2, version 2
[DEBUG] [Wayland]: Add global 49, interface wl_output, version 4
[DEBUG] [Wayland]: Add global 50, interface wl_output, version 4
[DEBUG] [Wayland]: Add global 51, interface wl_output, version 4
[DEBUG] [Wayland]: Add global 52, interface wp_drm_lease_device_v1, version 1
[DEBUG] [Wayland]: Add global 53, interface kde_output_order_v1, version 1
[DEBUG] [Wayland]: Add global 54, interface zwp_text_input_manager_v1, version 1
[DEBUG] [Wayland]: Add global 55, interface zwp_text_input_manager_v2, version 1
[DEBUG] [Wayland]: Add global 56, interface zwp_text_input_manager_v3, version 1
[DEBUG] [Wayland]: Add global 58, interface org_kde_kwin_contrast_manager, version 2
[DEBUG] [Wayland]: Add global 59, interface org_kde_kwin_blur_manager, version 1
[DEBUG] [Wayland]: Add global 60, interface org_kde_kwin_slide_manager, version 1
[INFO] [Wayland]: fractional_scale_v1 enabled
[INFO] [EGL] Found EGL client version >= 1.5, trying eglGetPlatformDisplay
[INFO] [EGL]: EGL version: 1.5
[INFO] [GLCore]: Found GL context: "wayland".
[INFO] [GLCore]: Detecting screen resolution: 2560x1440.
[INFO] [EGL]: Created shared context: 0x55fbf3a32f20.
[INFO] [EGL]: Current context: 0x55fbf3a8f900.
[INFO] [GLCore]: Initializing HW render (16384x16384).
[INFO] [GLCore]: Max texture size: 16384 px, renderbuffer size: 16384 px.
[INFO] [GLCore]: Vendor: AMD, Renderer: AMD Radeon RX 7800 XT (radeonsi, navi32, LLVM 17.0.6, DRM 3.57, 6.7.7-amd64).
[INFO] [GLCore]: Version: 4.6 (Core Profile) Mesa 23.3.4 (git-27405fd573).
[INFO] [GLCore]: Using resolution 1920x1080.
[INFO] [Joypad]: Found joypad driver: "sdl2".
[INFO] [GLCore]: Loading stock shader.
[INFO] [slang]: Building pass #0 (N/A)
[INFO] [GLCore]: Not using frame history.
[INFO] [GLCore]: Not using framebuffer feedback.
[INFO] [Autoconf]: Generic X-Box pad (121/6355) not configured, using fallback.
[INFO] [Video]: Found display server: "null".
[libretro DEBUG] void MelonDsDs::OpenGLRenderState::ContextReset(melonDS::NDS&, const MelonDsDs::CoreConfig&)
[libretro DEBUG] void MelonDsDs::OpenGLRenderState::SetUpCoreOpenGlState(const MelonDsDs::CoreConfig&)
[libretro DEBUG] OpenGL context reset successfully.
[DEBUG] [PulseAudio]: Sink detected: alsa_output.usb-Cooler_Master_Technology_Inc._MH752_00000000-00.analog-stereo
[DEBUG] [PulseAudio]: Sink detected: alsa_output.pci-0000_2f_00.4.analog-stereo
[INFO] [PulseAudio]: Requested 24576 bytes buffer, got 18432.
[INFO] [Audio]: Started synchronous audio driver.
[INFO] [ALSA] Using ALSA version 1.2.9
[INFO] [Microphone]: Initialized microphone driver.
[DEBUG] [ALSA]: Requesting device "default" for CAPTURE stream
[INFO] [ALSA]: Using FLOAT_LE sample format for CAPTURE device "default"
[INFO] [ALSA]: Period: 4 periods per buffer (705 frames, 2820 bytes)
[INFO] [ALSA]: Buffer size: 2822 frames (11288 bytes)
[INFO] [ALSA]: Can pause: no.
[INFO] [ALSA]: Initialized CAPTURE device "default"
[DEBUG] [ALSA]: Initialized microphone worker thread
[DEBUG] [ALSA]: CAPTURE stream "default" is prepared but not running, no action needed.
[INFO] [Microphone]: Disabled microphone.
[INFO] [Microphone]: Requested microphone sample rate of 44100Hz, got 44100Hz.
[DEBUG] [ALSA] [capture thread 0x7f4caf4006c0]: Beginning microphone worker thread
[DEBUG] [ALSA] [capture thread 0x7f4caf4006c0]: Microphone "default" is in state PREPARED
[INFO] [Microphone]: Initialized microphone.
[DEBUG] [Microphone]: Initialized a previously-pending microphone.
[INFO] [Display]: Found display driver: "glcore".
[INFO] [Environ]: SET_SUBSYSTEM_INFO.
[DEBUG] Subsystem ID: 0
Special game type: Slot 1 & 2 Boot
Ident: gba
ID: 1
Content:
[DEBUG] Nintendo DS (Slot 1) (required)
[DEBUG] GBA (Slot 2) (required)
[DEBUG] GBA Save Data (optional)
[DEBUG] Subsystem ID: 1
Special game type: Slot 1 & 2 Boot (No GBA Save Data)
Ident: gbanosav
ID: 2
Content:
[DEBUG] Nintendo DS (Slot 1) (required)
[DEBUG] GBA (Slot 2) (required)
[DEBUG] Subsystems: 2
[libretro DEBUG] retro_set_controller_port_device(0, RETRO_DEVICE_JOYPAD)
[INFO] [Playlist]: Loading history file: "/home/USERXXX/.var/app/org.libretro.RetroArch/config/retroarch/content_history.lpl".
[INFO] [Playlist]: Loading history file: "/home/USERXXX/.var/app/org.libretro.RetroArch/config/retroarch/content_music_history.lpl".
[INFO] [Playlist]: Loading history file: "/home/USERXXX/.var/app/org.libretro.RetroArch/config/retroarch/content_video_history.lpl".
[INFO] [Playlist]: Loading history file: "/home/USERXXX/.var/app/org.libretro.RetroArch/config/retroarch/content_image_history.lpl".
[INFO] [Playlist]: Loading favorites file: "/home/USERXXX/.var/app/org.libretro.RetroArch/config/retroarch/content_favorites.lpl".
[DEBUG] [ALSA]: CAPTURE stream "default" is already running, no action needed.
[INFO] [Microphone]: Enabled microphone.
[DEBUG] [Microphone]: Started a microphone that was enabled when the driver was last stopped.
[libretro DEBUG] Starting deferred initialization
[libretro DEBUG] [melonDS] Resetting JIT block cache...
[libretro DEBUG] [melonDS] done resetting jit mem
[libretro DEBUG] [melonDS] done resetting jit mem
[libretro INFO] [melonDS] MAC: 00:16:56:83:31:F9
[libretro DEBUG] [melonDS] FW: WIFI CRC16 = GOOD
[libretro DEBUG] [melonDS] FW: AP1 CRC16 = GOOD
[libretro DEBUG] [melonDS] FW: AP2 CRC16 = GOOD
[libretro DEBUG] [melonDS] FW: AP3 CRC16 = GOOD
[libretro DEBUG] [melonDS] FW: USER0 CRC16 = GOOD
[libretro DEBUG] [melonDS] FW: USER1 CRC16 = GOOD
[libretro DEBUG] Starting the RTC at 2024-03-05 02:17:02 AM (local time)
[libretro INFO] Started emulated console
[libretro DEBUG] Completed deferred initialization
[INFO] [Environ]: SET_ROTATION: 0
[INFO] [Environ]: SET_GEOMETRY.
[libretro DEBUG] [melonDS] remapping DTCM 800000 804000 ffffffff ffffffff
[libretro DEBUG] [melonDS] unmapping 9 3ff0000 10000 1 0
[libretro DEBUG] [melonDS] remapping SWRAM
[libretro WARN] [melonDS] !!! CLEARING POWCNT BIT0. DANGER
[libretro DEBUG] [melonDS] seed0: 69AA1DE0D5
[libretro DEBUG] [melonDS] seed1: 5C879B9B05
[libretro DEBUG] [melonDS] key2 X: 5583DC2ACB
[libretro DEBUG] [melonDS] key2 Y: 506CECF09D
[libretro DEBUG] [melonDS] remapping DTCM ffffffff ffffffff 800000 7fc000
[libretro DEBUG] [melonDS] unmapping 4 2400000 400000 0 0
[libretro DEBUG] [melonDS] unmapping 4 2400000 400000 1 0
[libretro DEBUG] [melonDS] unmapping 4 2000000 400000 1 0
[libretro DEBUG] [melonDS] unmapping 5 37f8000 8000 1 0
[libretro DEBUG] [melonDS] unmapping 9 3ff0000 10000 1 0
[libretro DEBUG] [melonDS] unmapping 9 3800000 10000 1 0
[libretro DEBUG] [melonDS] PU: region 0 = 04000033 : enabled, 04000000-08000000
[libretro DEBUG] [melonDS] PU: region 1 = 0200002B : enabled, 02000000-02400000
[libretro DEBUG] [melonDS] PU: region 3 = 08000035 : enabled, 08000000-10000000
[libretro DEBUG] [melonDS] PU: region 4 = 0300001B : enabled, 03000000-03004000
[libretro DEBUG] [melonDS] PU: region 5 = 0100002F : enabled, 01000000-02000000
[libretro DEBUG] [melonDS] PU: region 6 = FFFF001D : enabled, FFFF0000-FFFF8000
[libretro DEBUG] [melonDS] PU: region 7 = 027FF017 : enabled, 027FF000-02800000
[libretro DEBUG] [melonDS] remapping DTCM 3000000 3004000 ffffffff ffffffff
[libretro DEBUG] [melonDS] unmapping 4 2400000 400000 0 0
[libretro DEBUG] [melonDS] unmapping 4 2400000 400000 1 0
[libretro DEBUG] [melonDS] unmapping 4 2000000 400000 1 0
[libretro DEBUG] [melonDS] unmapping 5 37f8000 8000 1 0
[libretro DEBUG] [melonDS] unmapping 9 3ff0000 10000 1 0
[libretro DEBUG] [melonDS] unmapping 9 3800000 10000 1 0
[libretro DEBUG] [melonDS] PU region 0: 04000000-08000000, user=00 priv=07, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 1: 02000000-02400000, user=70 priv=77, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 3: 08000000-10000000, user=00 priv=03, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 4: 03000000-03004000, user=00 priv=03, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 5: 01000000-02000000, user=00 priv=07, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 6: FFFF0000-FFFF8000, user=50 priv=55, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 7: 027FF000-02800000, user=00 priv=03, 15111011/05100011
[libretro DEBUG] [melonDS] unknown ARM7 IO write16 04001080 FFFF 037FAD82
[libretro DEBUG] [melonDS] unknown ARM7 IO write16 04000128 1000 037FAD88
[libretro DEBUG] [melonDS] unknown ARM7 IO write32 04000120 00000000 037FAD8E
[libretro DEBUG] [melonDS] unknown ARM7 IO write32 04000128 00000000 037FAD90
[libretro DEBUG] [melonDS] WIFI: ON
[libretro DEBUG] [melonDS] WIFI: OFF
[libretro WARN] [melonDS] !!! CLEARING POWCNT BIT0. DANGER
[libretro WARN] [melonDS] !!! CLEARING POWCNT BIT0. DANGER
[libretro DEBUG] [melonDS] unknown ARM9 IO write32 04001060 00000000 0232DDE8
[libretro DEBUG] [melonDS] unknown ARM9 IO write32 04001064 00000000 0232DDE8
[libretro DEBUG] [melonDS] unknown ARM9 IO write32 04001068 00000000 0232DDE8
[DEBUG] [ALSA]: Stopped CAPTURE stream "default", transitioning from RUNNING to PAUSED
[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 03 seconds.
[INFO] [Runtime]: Saving runtime log file: "/home/USERXXX/.var/app/org.libretro.RetroArch/config/retroarch/playlists/logs/melonDS DS/melonDS DS.lrtl".
[INFO] [Core]: No content, starting dummy core.
[libretro DEBUG] retro_get_memory_data(RETRO_MEMORY_SAVE_RAM)
[libretro DEBUG] retro_get_memory_data(RETRO_MEMORY_RTC)
[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[libretro DEBUG] void MelonDsDs::OpenGLRenderState::ContextDestroyed()
[INFO] [Core]: Unloading game..
[libretro DEBUG] retro_unload_game()
[libretro DEBUG] Flushed 262144-byte firmware to "/games/RetroArch/BIOs/firmware.bin"
[libretro INFO] [melonDS] Stopping emulated console (Reason: External)
[libretro DEBUG] Platform::SignalStop(External)
[libretro DEBUG] [melonDS] Resetting JIT block cache...
[libretro DEBUG] [melonDS] done resetting jit mem
[INFO] [PulseAudio]: Pausing.
[DEBUG] [Audio]: Stopped audio driver "pulse"
[DEBUG] [ALSA]: CAPTURE stream "default" is already paused, no action needed.
[INFO] [Core]: Unloading core..
[libretro DEBUG] retro_deinit()
[libretro DEBUG] virtual MelonDsDs::OpenGLRenderState::~OpenGLRenderState()
[INFO] [Environ]: SET_HW_RENDER, context type: N/A.
[INFO] Requesting no HW context.
[DEBUG] Reached end of SET_HW_RENDER.

What should've happened instead?

Content should have closed, core settings should have saved

Which platforms do you see the problem on?

  • Windows
  • macOS
  • Linux
  • Android
  • iOS
  • tvOS
  • Other (specify below)

Which versions of the OS?

Debian GNU/Linux trixie/sid x86_64

Which libretro frontend are you using?

Flatpak release

Terms

  • I agree to follow the code of conduct.
  • I understand that melonDS DS is not developed or maintained by the authors of melonDS.
  • I understand that this form is for reporting bugs, not for requesting help.
  • I understand that the author develops this core in his spare time, and that he is under no obligation to respond to this bug report.
@MinecraHD MinecraHD added the bug Something isn't working label Mar 5, 2024
@mrnoname1000
Copy link

I have the same issue (also using the Flatpak), and I've discovered that shutting down the console from PictoChat or Download Play works normally (but system settings crashes).

@JesseTG JesseTG added this to the Update to the latest `master` milestone Jun 26, 2024
@boldcesar
Copy link

Same here, MelonDS DS core crashes when closing the content (game) through retroarch quick menu. For retroarch not crash i have to close or restart retroarch through the main menu or run some kill command by terminal.

RetroArch - Flatpak
MelonDS DS - Core Version 1.1.1 (latest update through retroarch) / Same bug on the latest 1.1.3 version downloaded direct from the releases.

@JesseTG
Copy link
Owner

JesseTG commented Jun 27, 2024

@mrnoname1000 @boldcesar Are you using the alsathread microphone driver?

Additionally, @mrnoname1000, do those crashes occur consistently?

RetroArch's alsathread microphone driver has a difficult bug that I haven't yet been able to pin down, and I believe that's what you're all encountering. If that's the case then I will close this ticket as a duplicate, but I'd like to be sure before I do. Try switching to alsa or sdl2; does the issue persist?

@boldcesar
Copy link

lol, i tried a lot of different video drivers and core graphics settings!
But i never imagined the microphone driver was the cause of the issue. Switched to alsa and works, no more freeze/crash when close.

Thanks.
...and sorry to take your time with this.

@JesseTG
Copy link
Owner

JesseTG commented Jun 27, 2024

Don't worry, you've done nothing wrong! Given the choice between redundant tickets and unreported surprise bugs, I'll take the former any day of the week.

@JesseTG
Copy link
Owner

JesseTG commented Jun 28, 2024

I will close this as a duplicate of #134. @mrnoname1000 If changing the mic driver to something besides alsathread doesn't resolve your issue, then you have a separate issue that warrants a new ticket.

@JesseTG JesseTG closed this as not planned Won't fix, can't repro, duplicate, stale Jun 28, 2024
@JesseTG JesseTG added duplicate This issue or pull request already exists frontend This issue isn't directly solvable in melonDS DS, and is the responsibility of a libretro frontend. labels Jun 28, 2024
@mrnoname1000
Copy link

Apologies, I didn't get a chance to test yesterday. Changing the microphone driver to alsa fixed the issue for me too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists frontend This issue isn't directly solvable in melonDS DS, and is the responsibility of a libretro frontend.
Projects
None yet
Development

No branches or pull requests

4 participants