JesseTG / melonds-ds

A remake of the libretro melonDS core that prioritizes standalone parity, reliability, and usability.
GNU General Public License v3.0
106 stars 14 forks source link

OPENGL renderer crashes on intel IGP #212

Open kokoko3k opened 4 weeks ago

kokoko3k commented 4 weeks ago

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?

Trying to use Opengl renderer leads to segmentation fault when using integrated intel gpu. Works fine with nvidia tho.

What should've happened instead?

Working on intel igp too.

Here's the log from a crash:

retroarch
[INFO] RetroArch 1.18.0 (Git 3a56b73a31)
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE42 AES AVX AVX2 
[INFO] Version: 1.18.0
[INFO] Git: 3a56b73a31
[INFO] Built: May 28 2024
[INFO] =================================================
[INFO] [Input]: Found input driver: "x".
[ERROR] Couldn't find any cloud sync driver named ""
[INFO] Available cloud sync drivers are:
[INFO]  webdav
[INFO]  null
[WARN] Going to default to first cloud sync driver...
[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.
[ERROR] [Wayland]: Failed to connect to Wayland server.
[INFO] [GLX]: GLX_EXT_swap_control_tear supported.
[INFO] [GLCore]: Found GL context: "x".
[INFO] [GLCore]: Detecting screen resolution: 3840x1080.
[INFO] [GLX]: X = 0, Y = 0, W = 960, H = 720.
[INFO] [GLX]: Creating context for requested version 3.2.
[INFO] [GLX]: Found swap function: glXSwapIntervalEXT.
[INFO] [GLCore]: Vendor: Intel Open Source Technology Center, Renderer: Mesa DRI Intel(R) HD Graphics 4600 (HSW GT2).
[INFO] [GLCore]: Version: 4.5 (Core Profile) Mesa 21.3.9-arch.6 Amber.
[INFO] [GLCore]: Using resolution 960x720.
[INFO] [Joypad]: Found joypad driver: "udev".
[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] [X11]: Suspending screensaver (X11, xdg-screensaver).
[INFO] [Video]: Found display server: "x11".
[INFO] [PulseAudio]: Requested 24576 bytes buffer, got 18432.
[INFO] [Audio]: Started synchronous audio driver.
[INFO] [Microphone]: Initialized microphone driver.
[INFO] [Display]: Found display driver: "glcore".
Can't locate X11/Protocol.pm in @INC (you may need to install the X11::Protocol module) (@INC entries checked: /usr/lib/perl5/5.38/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.38/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.38/core_perl /usr/share/perl5/core_perl) at -e line 7.
BEGIN failed--compilation aborted at -e line 7.
[INFO] [NetCMD]: bringing_up_command_interface_at_port 55355.
[INFO] [Playlist]: Loading history file: "/home/koko/.config/retroarch/content_history.lpl".
[INFO] [Playlist]: Loading history file: "/home/koko/.config/retroarch/content_music_history.lpl".
[INFO] [Playlist]: Loading history file: "/home/koko/.config/retroarch/content_video_history.lpl".
[INFO] [Playlist]: Loading history file: "/home/koko/.config/retroarch/content_image_history.lpl".
[INFO] [Playlist]: Loading favorites file: "/home/koko/.config/retroarch/content_favorites.lpl".
[INFO] [Environ]: SET_SUBSYSTEM_INFO.
[INFO] [Core]: Using content: "/mnt/nas.crypt/Giochi/roms/NintendoDS/Assassin's Creed II - Discovery (Europe) (En,Fr,De,Es,It,Nl,Sv,No,Da) (NDSi Enhanced).nds.7z#Assassin's Creed II - Discovery (Europe) (En,Fr,De,Es,It,Nl,Sv,No,Da) (NDSi Enhanced).nds".
[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[INFO] [PulseAudio]: Pausing.
[INFO] [Core]: Unloading core..
[INFO] [Core]: Unloading core symbols..
[INFO] [XINERAMA]: Xinerama version: 1.1.
[INFO] [XINERAMA]: Xinerama screens: 2.
[INFO] [XINERAMA]: Saved monitor #1.
[INFO] RetroArch 1.18.0 (Git 3a56b73a31)
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE42 AES AVX AVX2 
[INFO] Version: 1.18.0
[INFO] Git: 3a56b73a31
[INFO] Built: May 28 2024
[INFO] =================================================
[INFO] [Input]: Found input driver: "x".
[ERROR] Couldn't find any cloud sync driver named ""
[INFO] Available cloud sync drivers are:
[INFO]  webdav
[INFO]  null
[WARN] Going to default to first cloud sync driver...
[INFO] [Core]: Loading dynamic libretro core from: "/home/koko/.config/retroarch/cores/melondsds_libretro.so"
[INFO] [Overrides]: Redirecting save file to "/home/koko/.config/retroarch/saves/Assassin's Creed II - Discovery (Europe) (En,Fr,De,Es,It,Nl,Sv,No,Da) (NDSi Enhanced).srm".
[INFO] [Overrides]: Redirecting save state to "/home/koko/.config/retroarch/states/Assassin's Creed II - Discovery (Europe) (En,Fr,De,Es,It,Nl,Sv,No,Da) (NDSi Enhanced).state".
[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.
[INFO] [Environ]: SET_SUPPORT_ACHIEVEMENTS: yes.
[INFO] [Environ]: GET_LOG_INTERFACE.
[INFO] [Environ]: GET_MESSAGE_INTERFACE_VERSION.
[INFO] [Environ]: SAVE_DIRECTORY: "/home/koko/.config/retroarch/saves".
[libretro INFO] Save directory: "/home/koko/.config/retroarch/saves"
[libretro INFO] melonDS DS save subdirectory: "/home/koko/.config/retroarch/saves/melonDS DS"
[INFO] [Environ]: SYSTEM_DIRECTORY: "/home/koko/.config/retroarch/system".
[libretro INFO] System directory: "/home/koko/.config/retroarch/system"
[libretro INFO] melonDS DS system subdirectory: "/home/koko/.config/retroarch/system/melonDS DS"
[INFO] [Environ]: GET_VFS_INTERFACE. Core requested version >= V1, providing V3.
[INFO] [Environ]: SET_SUPPORT_NO_GAME: yes.
[libretro INFO] melonDS DS 1.1.1
[INFO] [Environ]: RETRO_ENVIRONMENT_GET_MICROPHONE_INTERFACE.
[INFO] [Content]: Loading content file: "/mnt/nas.crypt/Giochi/roms/NintendoDS/Assassin's Creed II - Discovery (Europe) (En,Fr,De,Es,It,Nl,Sv,No,Da) (NDSi Enhanced).nds.7z#Assassin's Creed II - Discovery (Europe) (En,Fr,De,Es,It,Nl,Sv,No,Da) (NDSi Enhanced).nds".
[INFO] [Content]: CRC32: 0x37d52b38.
[INFO] [Environ]: SET_PIXEL_FORMAT: XRGB8888.
[libretro INFO] [melonDS] PCap: lib libpcap.so.1, init successful
[libretro ERROR] [melonDS] Device (tincvpn) does not have an address :/
[INFO] [Environ]: GET_CORE_OPTIONS_VERSION.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_V2.
[INFO] [Core]: Folder-specific core options found at "/home/koko/.config/retroarch/config/melonDS DS/NintendoDS.opt".
[libretro INFO] No homebrew SD card image found at "/home/koko/.config/retroarch/saves/melonDS DS/dldi_sd_card.bin"; will create an image.
[libretro INFO] Using existing DSi SD card image "/home/koko/.config/retroarch/saves/melonDS DS/dsi_sd_card.bin"
[INFO] [Environ]: SET_HW_RENDER, context type: gl.
[INFO] Requesting OpenGL context.
[INFO] [Microphone]: Microphone requested before driver context was ready; deferring initialization.
[libretro ERROR] Failed to open DSi ARM7 file "/home/koko/.config/retroarch/system/melonDS DS/dsi_bios7.bin" for reading
[libretro INFO] Successfully loaded 65536-byte DSi ARM7 file "/home/koko/.config/retroarch/system/dsi_bios7.bin"
[libretro ERROR] Failed to open DSi ARM9 file "/home/koko/.config/retroarch/system/melonDS DS/dsi_bios9.bin" for reading
[libretro INFO] Successfully loaded 65536-byte DSi ARM9 file "/home/koko/.config/retroarch/system/dsi_bios9.bin"
[libretro ERROR] Failed to open ARM7 file "/home/koko/.config/retroarch/system/melonDS DS/bios7.bin" for reading
[libretro INFO] Successfully loaded 16384-byte ARM7 file "/home/koko/.config/retroarch/system/bios7.bin"
[libretro ERROR] Failed to open ARM9 file "/home/koko/.config/retroarch/system/melonDS DS/bios9.bin" for reading
[libretro INFO] Successfully loaded 4096-byte ARM9 file "/home/koko/.config/retroarch/system/bios9.bin"
[libretro INFO] Loaded DSi firmware from "/home/koko/.config/retroarch/system/dsi_firmware.bin" (Identifier: 
[INFO] [Environ]: GET_USERNAME: "".
[INFO] [Environ]: GET_USERNAME: "".
[libretro WARN] The configured language (Italian) is not supported by this NAND image; not overriding it.
[libretro INFO] [melonDS] Inserted cart with game code: VACV
[libretro INFO] [melonDS] Inserted cart with ID: 40003FC2
[libretro INFO] [melonDS] ROM entry: 04000000 00000002
[libretro INFO] No GBA SRAM was provided.
[INFO] [Environ]: GET_MESSAGE_INTERFACE_VERSION.
[INFO] [Environ]: SET_INPUT_DESCRIPTORS:
[libretro INFO] Deferring initialization until the OpenGL context is ready
[INFO] [State]: found_last_state_slot: #0
[INFO] [Core]: Version of libretro API: 1, Compiled against API: 1
[INFO] [Core]: Geometry: 256x384, Aspect: 0.667, FPS: 59.90, Sample rate: 32768.00 Hz.
[INFO] [Audio]: Set audio input rate to: 32821.17 Hz.
[INFO] [Video]: Set video size to: 1440x1080.
[INFO] [Video]: Using HW render, OpenGL driver forced.
[INFO] [Video]: Using configured "glcore" driver for GL HW render.
[ERROR] [Wayland]: Failed to connect to Wayland server.
[INFO] [GLX]: GLX_EXT_swap_control_tear supported.
[INFO] [GLCore]: Found GL context: "x".
[INFO] [GLCore]: Detecting screen resolution: 3840x1080.
[INFO] [XINERAMA]: Xinerama version: 1.1.
[INFO] [XINERAMA]: Xinerama screens: 2.
[INFO] [GLX]: Using Xinerama on screen #1.
[INFO] [GLX]: X = 0, Y = 0, W = 1440, H = 1080.
[INFO] [GLX]: Creating context for requested version 3.1.
[INFO] [GLX]: Creating shared HW context.
[INFO] [GLX]: Found swap function: glXSwapIntervalEXT.
[INFO] [GLCore]: Initializing HW render (16384x16384).
[INFO] [GLCore]: Max texture size: 16384 px, renderbuffer size: 16384 px.
[INFO] [GLCore]: Vendor: Intel Open Source Technology Center, Renderer: Mesa DRI Intel(R) HD Graphics 4600 (HSW GT2).
[INFO] [GLCore]: Version: 4.5 (Core Profile) Mesa 21.3.9-arch.6 Amber.
[INFO] [GLCore]: Using resolution 1440x1052.
[INFO] [Joypad]: Found joypad driver: "udev".
[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] [X11]: Suspending screensaver (X11, xdg-screensaver).
[INFO] [Video]: Found display server: "x11".
[INFO] [PulseAudio]: Requested 24576 bytes buffer, got 18432.
[INFO] [Audio]: Started synchronous audio driver.
[INFO] [Microphone]: Initialized microphone driver.
[INFO] [SDL audio]: Requested 64 ms latency for input device, got 92 ms
[INFO] [SDL audio]: Initialized microphone with device ID 2
[INFO] [Microphone]: Disabled microphone.
[INFO] [Microphone]: Requested microphone sample rate of 44100Hz, got 44100Hz.
[INFO] [Microphone]: Initialized microphone.
[INFO] [Display]: Found display driver: "glcore".
[INFO] [Environ]: SET_SUBSYSTEM_INFO.
Can't locate X11/Protocol.pm in @INC (you may need to install the X11::Protocol module) (@INC entries checked: /usr/lib/perl5/5.38/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.38/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.38/core_perl /usr/share/perl5/core_perl) at -e line 7.
BEGIN failed--compilation aborted at -e line 7.
[INFO] [NetCMD]: bringing_up_command_interface_at_port 55355.
[INFO] [Playlist]: Loading history file: "/home/koko/.config/retroarch/content_history.lpl".
[INFO] [Playlist]: Loading history file: "/home/koko/.config/retroarch/content_music_history.lpl".
[INFO] [Playlist]: Loading history file: "/home/koko/.config/retroarch/content_video_history.lpl".
[INFO] [Playlist]: Loading history file: "/home/koko/.config/retroarch/content_image_history.lpl".
[INFO] [Playlist]: Loading favorites file: "/home/koko/.config/retroarch/content_favorites.lpl".
[INFO] [Microphone]: Enabled microphone.
[WARN] [Run-Ahead]: Run-Ahead unavailable because this core lacks deterministic save state support.
[libretro INFO] [melonDS] MAC: CC:9E:00:71:7B:AE
[libretro INFO] [melonDS] Loading DSi NAND
[libretro INFO] [melonDS] NWifi MAC: CC:9E:00:71:7B:AE
[libretro INFO] [melonDS] Secure area decryption OK
[libretro INFO] [melonDS] Game is now booting
[libretro INFO] Started emulated console
[INFO] [Environ]: SET_GEOMETRY.
i965: Failed to submit batchbuffer: No space left on device

Which platforms do you see the problem on?

Which versions of the OS?

Archlinux

Which libretro frontend are you using?

1.18.0

Terms

kokoko3k commented 4 weeks ago

i965: Failed to submit batchbuffer: No space left on device Is a message from the system i965 video driver.

Also, starting with left/right layout seem to work, while using top/bottom does crash. Maybe the core is trying to set a very big window prior to resize it?

JesseTG commented 2 weeks ago

i965: Failed to submit batchbuffer: No space left on device Is a message from the system i965 video driver.

Also, starting with left/right layout seem to work, while using top/bottom does crash. Maybe the core is trying to set a very big window prior to resize it?

It might be; when RetroArch requests the max screen size for the first time, the OpenGL context hasn't yet been created so I don't have a good way to ask for the maximum possible size at that point. There are other things I can do that aren't too disruptive, though.

Before I begin work on this, could you try 1.1.3 once it's available on the core downloader (likely over the weekend)? It fixes an unrelated bug, but I'd like to see if it makes a difference here as well. (I don't have the GPU you're using, so I can't test it myself.)

kokoko3k commented 2 weeks ago

Sure, I'll check by monday, thanks!

kokoko3k commented 2 weeks ago

Since it was not yet available, I downloaded the release from here, ensured it was properly installed and tried again, but unfortunately no change.


[libretro INFO] melonDS DS 1.1.3
[INFO] [Environ]: RETRO_ENVIRONMENT_GET_MICROPHONE_INTERFACE.
[libretro DEBUG] Microphone support available (version 1)[INFO] [Content]: Loading content file: "/mnt/nas.crypt/Giochi/roms/NintendoDS/007 - Blood Stone (Europe).nds.7z#007 - Blood Stone (Europe).nds".
[INFO] [Content]: CRC32: 0xf84e3f38.
[libretro DEBUG] retro_load_game("/mnt/nas.crypt/Giochi/roms/NintendoDS/007 - Blood Stone (Europe).nds.7z#007 - Blood Stone (Europe).nds", 67108864)
[INFO] [Environ]: SET_PIXEL_FORMAT: XRGB8888.
[libretro DEBUG] /home/koko/.config/retroarch/system/dsi_bios7.bin is not a known firmware size (found 65536 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/dsp4.data.rom is not a known firmware size (found 2048 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/amiga-os-120.rom doesn't look like valid firmware (unrecognized ConsoleType 0x33)
[libretro DEBUG] /home/koko/.config/retroarch/system/scph102C.bin doesn't look like valid firmware (unrecognized ConsoleType 0x10)
[libretro DEBUG] /home/koko/.config/retroarch/system/dsp3.data.rom is not a known firmware size (found 2048 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/scph5552.bin doesn't look like valid firmware (unrecognized ConsoleType 0x10)
[libretro DEBUG] /home/koko/.config/retroarch/system/MSX.ROM is not a known firmware size (found 32768 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/iplromco.dat doesn't look like valid firmware (unrecognized ConsoleType 0x3E)
[libretro DEBUG] /home/koko/.config/retroarch/system/midssio.zip is not a known firmware size (found 163 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/panafz10-norsa.bin is not a known firmware size (found 1048576 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/tc2048.rom is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/kick40068.A1200 doesn't look like valid firmware (unrecognized ConsoleType 0x41)
[libretro DEBUG] /home/koko/.config/retroarch/system/st010.program.rom is not a known firmware size (found 49152 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/tos.img is not a known firmware size (found 196608 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/ATARIXL.ROM is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/scph1001.bin doesn't look like valid firmware (unrecognized ConsoleType 0x10)
[libretro DEBUG] /home/koko/.config/retroarch/system/hod2bios.zip is not a known firmware size (found 1479106 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/saturn_bios.bin doesn't look like valid firmware (unrecognized ConsoleType 0x00)
[libretro DEBUG] /home/koko/.config/retroarch/system/scph5000.bin doesn't look like valid firmware (unrecognized ConsoleType 0x10)
[libretro DEBUG] /home/koko/.config/retroarch/system/cgrom.dat is not a known firmware size (found 786432 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/tape_2048.szx is not a known firmware size (found 720 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/NstDatabase.xml is not a known firmware size (found 982615 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/mpr-18811-mx.ic1 is not a known firmware size (found 2097152 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/scph7001.bin doesn't look like valid firmware (unrecognized ConsoleType 0x10)
[libretro DEBUG] /home/koko/.config/retroarch/system/KANJI.ROM doesn't look like valid firmware (unrecognized ConsoleType 0x00)
[libretro DEBUG] /home/koko/.config/retroarch/system/bios_CD_U.bin doesn't look like valid firmware (unused 2-byte region at 0x1E is 0xFD8A)
[libretro DEBUG] /home/koko/.config/retroarch/system/nmk004.zip is not a known firmware size (found 3556 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/syscard2u.pce doesn't look like valid firmware (unrecognized ConsoleType 0xF3)
[libretro DEBUG] /home/koko/.config/retroarch/system/mybioses.zip is not a known firmware size (found 728269 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/syscard3.pce doesn't look like valid firmware (unrecognized ConsoleType 0xF3)
[libretro DEBUG] /home/koko/.config/retroarch/system/prboom.wad is not a known firmware size (found 143312 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/tc2068-1.rom is not a known firmware size (found 8192 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/iplrom.dat doesn't look like valid firmware (unrecognized ConsoleType 0x3E)
[libretro DEBUG] /home/koko/.config/retroarch/system/grom.bin is not a known firmware size (found 2048 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/scph102A.bin doesn't look like valid firmware (unrecognized ConsoleType 0x10)
[libretro DEBUG] /home/koko/.config/retroarch/system/plus3-3.rom is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/iplrom.x1t is not a known firmware size (found 2048 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/MSX2P.ROM is not a known firmware size (found 32768 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/bios.min is not a known firmware size (found 4096 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/48.rom is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/gc-ntsc-12.bin is not a known firmware size (found 2097152 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/amiga-os-130.rom doesn't look like valid firmware (unrecognized ConsoleType 0x33)
[libretro DEBUG] /home/koko/.config/retroarch/system/CYRILLIC.FNT is not a known firmware size (found 2048 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/PAINTER.ROM is not a known firmware size (found 65536 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/kick39106.A1200 doesn't look like valid firmware (unrecognized ConsoleType 0x41)
[libretro DEBUG] /home/koko/.config/retroarch/system/iplromxv.dat doesn't look like valid firmware (unrecognized ConsoleType 0x3E)
[libretro DEBUG] /home/koko/.config/retroarch/system/dmg_boot.bin is not a known firmware size (found 256 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/panafz1j-norsa.bin is not a known firmware size (found 1048576 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/disksys.rom is not a known firmware size (found 8192 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/scph100.bin doesn't look like valid firmware (unrecognized ConsoleType 0x10)
[libretro DEBUG] /home/koko/.config/retroarch/system/scph1002.bin doesn't look like valid firmware (unrecognized ConsoleType 0x00)
[libretro DEBUG] /home/koko/.config/retroarch/system/tape_plus3e.szx is not a known firmware size (found 1970 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/gl_programs.idx is not a known firmware size (found 131480 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/dsp2.program.rom is not a known firmware size (found 6144 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/if1-2.rom is not a known firmware size (found 8192 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/neocd_f.rom doesn't look like valid firmware (unrecognized ConsoleType 0xC0)
[libretro DEBUG] /home/koko/.config/retroarch/system/bios_U.sms is not a known firmware size (found 8192 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/mpr-19367-mx.ic1 is not a known firmware size (found 2097152 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/2608_top.wav is not a known firmware size (found 57016 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/ppge_atlas.zim is not a known firmware size (found 666530 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/ATARIOSA.ROM is not a known firmware size (found 10240 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/tape_48.szx is not a known firmware size (found 708 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/2608_bd.wav is not a known firmware size (found 19192 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/256s-0.rom is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/gecard.pce is not a known firmware size (found 32768 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/isgsm.zip is not a known firmware size (found 10207 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/se-1.rom is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/freej2me.jar is not a known firmware size (found 552039 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/amiga-ext-310-cd32.rom doesn't look like valid firmware (unrecognized ConsoleType 0x31)
[libretro DEBUG] /home/koko/.config/retroarch/system/2608_sd.wav is not a known firmware size (found 15558 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/128p-1.rom is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/bios_J.sms is not a known firmware size (found 8192 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/kick40060.CD32 doesn't look like valid firmware (unrecognized ConsoleType 0x41)
[libretro DEBUG] /home/koko/.config/retroarch/system/7800 BIOS (U).rom is not a known firmware size (found 4096 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/CARTS.SHA is not a known firmware size (found 32398 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/gexpress.pce is not a known firmware size (found 32768 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/iplrom30.dat doesn't look like valid firmware (unrecognized ConsoleType 0x40)
[libretro DEBUG] /home/koko/.config/retroarch/system/panafz1.bin is not a known firmware size (found 1048576 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/FMPAC.ROM is not a known firmware size (found 65536 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/2608_hh.wav is not a known firmware size (found 36722 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/DISK.ROM is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/bios_E.sms is not a known firmware size (found 8192 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/gc-pal-12.bin is not a known firmware size (found 2097152 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/gc-pal-11.bin is not a known firmware size (found 2097152 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/MSX2EXT.ROM is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/sega1003.bin doesn't look like valid firmware (unrecognized ConsoleType 0x00)
[libretro DEBUG] /home/koko/.config/retroarch/system/scummvm.zip is not a known firmware size (found 9523360 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/scph102B.bin doesn't look like valid firmware (unrecognized ConsoleType 0x10)
[libretro DEBUG] /home/koko/.config/retroarch/system/MacII.ROM doesn't look like valid firmware (unrecognized ConsoleType 0x58)
[libretro DEBUG] /home/koko/.config/retroarch/system/neocd_st.rom doesn't look like valid firmware (unrecognized ConsoleType 0x00)
[libretro DEBUG] /home/koko/.config/retroarch/system/tape_scorpion.szx is not a known firmware size (found 3500 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/amiga-os-310.rom doesn't look like valid firmware (unrecognized ConsoleType 0x41)
[libretro DEBUG] /home/koko/.config/retroarch/system/amiga-os-310-a1200.rom doesn't look like valid firmware (unrecognized ConsoleType 0x41)
[libretro DEBUG] /home/koko/.config/retroarch/system/exec.bin is not a known firmware size (found 8192 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/sgb2.program.rom doesn't look like valid firmware (unrecognized ConsoleType 0xC6)
[libretro DEBUG] /home/koko/.config/retroarch/system/sl31253.bin is not a known firmware size (found 1024 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/sl90025.bin is not a known firmware size (found 1024 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/plus3e-0.rom is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/ecwolf.pk3 is not a known firmware size (found 178755 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/tape_16.szx is not a known firmware size (found 591 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/g7400.bin is not a known firmware size (found 1024 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/BS-X.bin is not a known firmware size (found 1048576 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/scph9002(7502).bin doesn't look like valid firmware (unrecognized ConsoleType 0x10)
[libretro DEBUG] /home/koko/.config/retroarch/system/awbios.zip is not a known firmware size (found 42296 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/areplay.bin is not a known firmware size (found 32768 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/freej2me-lr.jar is not a known firmware size (found 552042 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/plus3e-2.rom is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/colecovision.rom is not a known firmware size (found 8192 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/rom.db is not a known firmware size (found 17742 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/2608_rim.wav is not a known firmware size (found 5288 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/scph5501.bin doesn't look like valid firmware (unrecognized ConsoleType 0x10)
[libretro DEBUG] /home/koko/.config/retroarch/system/neogeo.zip is not a known firmware size (found 1859335 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/plus3-2.rom is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/bios7.bin is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/sgb2.boot.rom is not a known firmware size (found 256 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/cx4.data.rom is not a known firmware size (found 3072 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/trdos.rom is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/sega_101.bin doesn't look like valid firmware (unrecognized ConsoleType 0x00)
[libretro DEBUG] /home/koko/.config/retroarch/system/plus3e-1.rom is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/decocass.zip is not a known firmware size (found 16107 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/ITALIC.FNT is not a known firmware size (found 2048 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/128p-0.rom is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/128-spanish-0.rom is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/kick34005.CDTV doesn't look like valid firmware (unrecognized ConsoleType 0x33)
[libretro DEBUG] /home/koko/.config/retroarch/system/tape_plus3.szx is not a known firmware size (found 1856 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/sanyotry.bin is not a known firmware size (found 1048576 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/front-sp1.bin doesn't look like valid firmware (unrecognized ConsoleType 0x00)
[libretro DEBUG] /home/koko/.config/retroarch/system/airlbios.zip is not a known firmware size (found 715730 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/panafz10e-anvil-norsa.bin is not a known firmware size (found 1048576 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/tape_2068.szx is not a known firmware size (found 1799 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/disk_plus3.szx is not a known firmware size (found 1568 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/fx-scsi.rom doesn't look like valid firmware (unrecognized ConsoleType 0x00)
[libretro DEBUG] /home/koko/.config/retroarch/system/256s-3.rom is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/pcfxbios.bin is not a known firmware size (found 1048576 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/c52.bin is not a known firmware size (found 1024 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/gc-pal-10.bin is not a known firmware size (found 2097152 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/panafz10.bin is not a known firmware size (found 1048576 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/syscard2.pce doesn't look like valid firmware (unrecognized ConsoleType 0xF3)
[libretro DEBUG] /home/koko/.config/retroarch/system/bubsys.zip is not a known firmware size (found 7950 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/mpr-18100.bin doesn't look like valid firmware (unrecognized ConsoleType 0x00)
[libretro DEBUG] /home/koko/.config/retroarch/system/sega_100.bin doesn't look like valid firmware (unrecognized ConsoleType 0x00)
[libretro DEBUG] /home/koko/.config/retroarch/system/ATARIOSB.ROM is not a known firmware size (found 10240 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/sound.rom is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/bios_CD_E.bin doesn't look like valid firmware (unused 2-byte region at 0x1E is 0xFD8A)
[libretro DEBUG] /home/koko/.config/retroarch/system/sgb_bios.bin is not a known firmware size (found 256 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/FMPAC16.ROM is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/tape_ts2068.szx is not a known firmware size (found 1840 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/f355bios.zip is not a known firmware size (found 1394278 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/gl_programs.bin is not a known firmware size (found 31466226 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/plus2-0.rom is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/neocd.bin doesn't look like valid firmware (unrecognized ConsoleType 0x00)
[libretro DEBUG] /home/koko/.config/retroarch/system/pcfxga.rom is not a known firmware size (found 1048576 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/sl31254.bin is not a known firmware size (found 1024 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/naomi.zip is not a known firmware size (found 9321533 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/jopac.bin is not a known firmware size (found 1024 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/BIOS41A.BIN doesn't look like valid firmware (unrecognized ConsoleType 0x10)
[libretro DEBUG] /home/koko/.config/retroarch/system/128-0.rom is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/dsi_bios9.bin is not a known firmware size (found 65536 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/kick37175.A500 doesn't look like valid firmware (unrecognized ConsoleType 0x33)
[libretro DEBUG] /home/koko/.config/retroarch/system/dsp3.program.rom is not a known firmware size (found 6144 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/BS-X (En) (DRM-Free).bin is not a known firmware size (found 1048576 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/pgm.zip is not a known firmware size (found 2094636 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/dsp4.program.rom is not a known firmware size (found 6144 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/gba_bios.bin is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/gluck.rom is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/MSXDOS2.ROM is not a known firmware size (found 65536 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/WHDLoad.prefs_backup is not a known firmware size (found 1933 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/plus3-1.rom is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/disciple.rom is not a known firmware size (found 8192 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/256s-1.rom is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/scph3000.bin doesn't look like valid firmware (unrecognized ConsoleType 0x00)
[libretro DEBUG] /home/koko/.config/retroarch/system/tape_plus2a.szx is not a known firmware size (found 1617 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/st011.program.rom is not a known firmware size (found 49152 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/scph5502.bin doesn't look like valid firmware (unrecognized ConsoleType 0x10)
[libretro DEBUG] /home/koko/.config/retroarch/system/pcfx.rom is not a known firmware size (found 1048576 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/hisaturn.bin doesn't look like valid firmware (unrecognized ConsoleType 0x00)
[libretro DEBUG] /home/koko/.config/retroarch/system/cchip.zip is not a known firmware size (found 2700 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/font.bmp is not a known firmware size (found 524350 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/freej2me-sdl.jar is not a known firmware size (found 552043 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/WHDLoad.prefs is not a known firmware size (found 1946 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/lynxboot.img is not a known firmware size (found 512 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/panafz10e-anvil.bin is not a known firmware size (found 1048576 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/panafz1j.bin is not a known firmware size (found 1048576 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/scph3500.bin doesn't look like valid firmware (unrecognized ConsoleType 0x00)
[libretro DEBUG] /home/koko/.config/retroarch/system/st018.data.rom is not a known firmware size (found 32768 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/kick40060.CD32.ext doesn't look like valid firmware (unrecognized ConsoleType 0x31)
[libretro DEBUG] /home/koko/.config/retroarch/system/128-spanish-1.rom is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/tape_128.szx is not a known firmware size (found 1464 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/amiga-os-310-a3000.rom doesn't look like valid firmware (unrecognized ConsoleType 0x41)
[libretro DEBUG] /home/koko/.config/retroarch/system/neocd_sz.rom doesn't look like valid firmware (unrecognized ConsoleType 0x00)
[libretro DEBUG] /home/koko/.config/retroarch/system/bios.rom is not a known firmware size (found 98304 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/plus3e-3.rom is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/tc2068-0.rom is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/plusd.rom is not a known firmware size (found 8192 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/3do_arcade_saot.bin doesn't look like valid firmware (unrecognized ConsoleType 0xA0)
[libretro DEBUG] /home/koko/.config/retroarch/system/plus3-0.rom is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/sgb1.boot.rom is not a known firmware size (found 256 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/amiga-os-205.rom doesn't look like valid firmware (unrecognized ConsoleType 0x33)
[libretro DEBUG] /home/koko/.config/retroarch/system/neocd_sf.rom doesn't look like valid firmware (unrecognized ConsoleType 0x00)
[libretro DEBUG] /home/koko/.config/retroarch/system/gc-ntsc-10.bin is not a known firmware size (found 2097152 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/top-sp1.bin doesn't look like valid firmware (unrecognized ConsoleType 0x00)
[libretro DEBUG] /home/koko/.config/retroarch/system/st010.data.rom is not a known firmware size (found 4096 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/panafz10ja-anvil-kanji.bin is not a known firmware size (found 1048576 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/iplrom.x1 is not a known firmware size (found 4096 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/sega_100a.bin doesn't look like valid firmware (unrecognized ConsoleType 0x00)
[libretro DEBUG] /home/koko/.config/retroarch/system/st018.program.rom doesn't look like valid firmware (unrecognized ConsoleType 0x00)
[libretro DEBUG] /home/koko/.config/retroarch/system/gbc_bios.bin is not a known firmware size (found 2304 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/st011.data.rom is not a known firmware size (found 4096 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/SGB2.sfc doesn't look like valid firmware (unrecognized ConsoleType 0xC6)
[libretro DEBUG] /home/koko/.config/retroarch/system/ggenie.bin is not a known firmware size (found 32768 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/panafz1-kanji.bin is not a known firmware size (found 933636 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/tape_plus2.szx is not a known firmware size (found 1571 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/syscard1.pce doesn't look like valid firmware (unrecognized ConsoleType 0xF3)
[libretro DEBUG] /home/koko/.config/retroarch/system/64DD_IPL.bin is not a known firmware size (found 4194304 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/mpr-17933.bin doesn't look like valid firmware (unrecognized ConsoleType 0x00)
[libretro DEBUG] /home/koko/.config/retroarch/system/kick33180.A500 doesn't look like valid firmware (unrecognized ConsoleType 0x33)
[libretro DEBUG] /home/koko/.config/retroarch/system/gb_bios.bin is not a known firmware size (found 256 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/scph7002.bin doesn't look like valid firmware (unrecognized ConsoleType 0x10)
[libretro DEBUG] /home/koko/.config/retroarch/system/dsp1b.data.rom is not a known firmware size (found 2048 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/f355dlx.zip is not a known firmware size (found 2328436 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/if1-1.rom is not a known firmware size (found 8192 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/o2rom.bin is not a known firmware size (found 1024 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/bios_MD.bin is not a known firmware size (found 2048 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/panafz1j-kanji.bin is not a known firmware size (found 1048576 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/neocd_z.rom doesn't look like valid firmware (unrecognized ConsoleType 0xC0)
[libretro DEBUG] /home/koko/.config/retroarch/system/128-1.rom is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/bios_CD_J.bin doesn't look like valid firmware (unused 2-byte region at 0x1E is 0xFD8A)
[libretro DEBUG] /home/koko/.config/retroarch/system/tape_pentagon.szx is not a known firmware size (found 1479 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/bios.gg is not a known firmware size (found 1024 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/scph5500.bin doesn't look like valid firmware (unrecognized ConsoleType 0x10)
[libretro DEBUG] /home/koko/.config/retroarch/system/sk2chip.bin doesn't look like valid firmware (unrecognized ConsoleType 0x5C)
[libretro DEBUG] /home/koko/.config/retroarch/system/kick34005.A500 doesn't look like valid firmware (unrecognized ConsoleType 0x33)
[libretro DEBUG] /home/koko/.config/retroarch/system/MSX2.ROM is not a known firmware size (found 32768 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/bios9.bin is not a known firmware size (found 4096 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/se-0.rom is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/sk.bin is not a known firmware size (found 2097152 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/gc-ntsc-11.bin is not a known firmware size (found 2097152 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/plus2-1.rom is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/sgb1.program.rom doesn't look like valid firmware (unrecognized ConsoleType 0xC6)
[libretro DEBUG] /home/koko/.config/retroarch/system/kick40063.A600 doesn't look like valid firmware (unrecognized ConsoleType 0x41)
[libretro DEBUG] /home/koko/.config/retroarch/system/dsp1.data.rom is not a known firmware size (found 2048 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/cgb_boot.bin is not a known firmware size (found 2304 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/amiga-ext-130-cdtv.rom doesn't look like valid firmware (unrecognized ConsoleType 0x33)
[libretro DEBUG] /home/koko/.config/retroarch/system/scph7502.bin doesn't look like valid firmware (unrecognized ConsoleType 0x10)
[libretro DEBUG] /home/koko/.config/retroarch/system/bios.sms is not a known firmware size (found 8192 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/BS-X (En).bin is not a known firmware size (found 1048576 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/MSX2PEXT.ROM is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/neocd_t.rom doesn't look like valid firmware (unrecognized ConsoleType 0xC0)
[libretro DEBUG] /home/koko/.config/retroarch/system/amiga-os-310-cd32.rom doesn't look like valid firmware (unrecognized ConsoleType 0x41)
[libretro DEBUG] /home/koko/.config/retroarch/system/scph7003.bin doesn't look like valid firmware (unrecognized ConsoleType 0x10)
[libretro DEBUG] /home/koko/.config/retroarch/system/256s-2.rom is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/vsaturn.bin doesn't look like valid firmware (unrecognized ConsoleType 0x00)
[libretro DEBUG] /home/koko/.config/retroarch/system/2608_tom.wav is not a known firmware size (found 23092 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/SGB1.sfc doesn't look like valid firmware (unrecognized ConsoleType 0xC6)
[libretro DEBUG] /home/koko/.config/retroarch/system/speccyboot-1.4.rom is not a known firmware size (found 8192 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/dsp1.program.rom is not a known firmware size (found 6144 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/5200.rom is not a known firmware size (found 2048 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/RS232.ROM is not a known firmware size (found 16640 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/scph1000.bin doesn't look like valid firmware (unrecognized ConsoleType 0x00)
[libretro DEBUG] /home/koko/.config/retroarch/system/sgb2_bios.bin is not a known firmware size (found 256 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/goldstar.bin is not a known firmware size (found 1048576 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/skns.zip is not a known firmware size (found 924762 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/README.md is not a known firmware size (found 67498 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/uni-bioscd.rom doesn't look like valid firmware (unrecognized ConsoleType 0x00)
[libretro DEBUG] /home/koko/.config/retroarch/system/pcfxv101.bin is not a known firmware size (found 1048576 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/syscard3u.pce doesn't look like valid firmware (unrecognized ConsoleType 0xF3)
[libretro DEBUG] /home/koko/.config/retroarch/system/dsp2.data.rom is not a known firmware size (found 2048 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/dsp1b.program.rom is not a known firmware size (found 6144 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/7800 BIOS (E).rom is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/STBIOS.bin doesn't look like valid firmware (unrecognized ConsoleType 0x50)
[libretro DEBUG] /home/koko/.config/retroarch/system/amiga-os-204.rom doesn't look like valid firmware (unrecognized ConsoleType 0x33)
[libretro DEBUG] /home/koko/.config/retroarch/system/font.rom is not a known firmware size (found 288768 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/tape_se.szx is not a known firmware size (found 2146 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/ym2608.zip is not a known firmware size (found 7609 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/ATARIBAS.ROM is not a known firmware size (found 8192 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/scph101.bin doesn't look like valid firmware (unrecognized ConsoleType 0x10)
[libretro DEBUG] /home/koko/.config/retroarch/system/itf.rom is not a known firmware size (found 32768 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] /home/koko/.config/retroarch/system/kick40068.A4000 doesn't look like valid firmware (unrecognized ConsoleType 0x41)
[libretro DEBUG] /home/koko/.config/retroarch/system/melonDS DS/wfcsettings.bin is not a known firmware size (found 2304 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] Found a DSi NAND image at "/home/koko/.config/retroarch/system/dsi_nand.bin", presenting it in the options as "dsi_nand.bin"
[libretro DEBUG] Found a firmware image at "/home/koko/.config/retroarch/system/000-lo.lo"
[libretro DEBUG] Found a firmware image at "/home/koko/.config/retroarch/system/gc-dvd-20020402.bin"
[libretro DEBUG] Found a firmware image at "/home/koko/.config/retroarch/system/dsi_firmware.bin"
[libretro DEBUG] Found a firmware image at "/home/koko/.config/retroarch/system/firmware.bin"
[libretro DEBUG] Found a firmware image at "/home/koko/.config/retroarch/system/gc-dvd-20010831.bin"
[libretro DEBUG] Found a firmware image at "/home/koko/.config/retroarch/system/gc-dvd-20010608.bin"
[libretro DEBUG] Found a firmware image at "/home/koko/.config/retroarch/system/gc-dvd-20020823.bin"
[libretro INFO] [melonDS] PCap: lib libpcap.so.1, init successful
[libretro ERROR] [melonDS] Device (tincvpn) does not have an address :/
[libretro DEBUG] Found a "ethext" () interface with ID ethext at 00:22:b0:55:2d:3f bound to 143.225.178.163 (Up|Running|Connected)
[libretro DEBUG] Found a "ethint" () interface with ID ethint at 00:22:b0:bc:9f:9f bound to 192.168.117.20 (Up|Running|Connected)
[libretro DEBUG] Found a "zt2lr4ei2b" () interface with ID zt2lr4ei2b at 92:88:5d:4e:74:97 bound to 192.168.194.1 (Up|Running|Connected)
[libretro DEBUG] Found a "ethext.200" () interface with ID ethext.200 at 64:00:6a:15:58:ee bound to 143.225.117.200 (Up|Running|Connected)
[libretro DEBUG] Found a "ethext.210" () interface with ID ethext.210 at b0:83:fe:b2:f6:ac bound to 143.225.117.210 (Up|Running|Connected)
[INFO] [Environ]: GET_CORE_OPTIONS_VERSION.
[libretro DEBUG] Frontend reports core options version: 2
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_V2.
[INFO] [Core]: Folder-specific core options found at "/home/koko/.config/retroarch/config/melonDS DS/NintendoDS.opt".
[libretro DEBUG] V2 core options set successfully
[libretro INFO] No homebrew SD card image found at "/home/koko/.config/retroarch/saves/melonDS DS/dldi_sd_card.bin"; will create an image.
[libretro INFO] Using existing DSi SD card image "/home/koko/.config/retroarch/saves/melonDS DS/dsi_sd_card.bin"
[libretro DEBUG] bool MelonDsDs::CoreOptionVisibility::Update()
[libretro DEBUG] MelonDsDs::OpenGLRenderState::OpenGLRenderState()
[INFO] [Environ]: SET_HW_RENDER, context type: glcore.
[INFO] Requesting core OpenGL context (3.2).
[libretro DEBUG] OpenGL context requested. Current framebuffer: 0
[libretro DEBUG] Initialized OpenGL render state
[INFO] [Microphone]: Microphone requested before driver context was ready; deferring initialization.
[libretro ERROR] Failed to open DSi ARM7 file "/home/koko/.config/retroarch/system/melonDS DS/dsi_bios7.bin" for reading
[libretro INFO] Successfully loaded 65536-byte DSi ARM7 file "/home/koko/.config/retroarch/system/dsi_bios7.bin"
[libretro ERROR] Failed to open DSi ARM9 file "/home/koko/.config/retroarch/system/melonDS DS/dsi_bios9.bin" for reading
[libretro INFO] Successfully loaded 65536-byte DSi ARM9 file "/home/koko/.config/retroarch/system/dsi_bios9.bin"
[libretro ERROR] Failed to open ARM7 file "/home/koko/.config/retroarch/system/melonDS DS/bios7.bin" for reading
[libretro INFO] Successfully loaded 16384-byte ARM7 file "/home/koko/.config/retroarch/system/bios7.bin"
[libretro ERROR] Failed to open ARM9 file "/home/koko/.config/retroarch/system/melonDS DS/bios9.bin" for reading
[libretro INFO] Successfully loaded 4096-byte ARM9 file "/home/koko/.config/retroarch/system/bios9.bin"
[libretro INFO] Loaded DSi firmware from "/home/koko/.config/retroarch/system/dsi_firmware.bin" (Identifier: [libretro DEBUG] Installed native ARM7, ARM9, DSi ARM7, and DSi ARM9 BIOS images.
[INFO] [Environ]: GET_USERNAME: "".
[libretro DEBUG] Opened "/home/koko/.config/retroarch/system/dsi_nand.bin" in FileMode ["Read", "Write", "Preserve", "NoCreate"]
[libretro DEBUG] Opened the DSi NAND image file at /home/koko/.config/retroarch/system/dsi_nand.bin
[libretro DEBUG] Parsed NDS ROM: "/mnt/nas.crypt/Giochi/roms/NintendoDS/007 - Blood Stone (Europe).nds.7z#007 - Blood Stone (Europe).nds"
[libretro DEBUG] Opened and mounted the DSi NAND image file at /home/koko/.config/retroarch/system/dsi_nand.bin
[INFO] [Environ]: GET_USERNAME: "".
[libretro WARN] The configured language (Italian) is not supported by this NAND image; not overriding it.
[libretro DEBUG] Opened "/home/koko/.config/retroarch/saves/melonDS DS/dsi_sd_card.bin" in FileMode ["Read", "Write", "Preserve"]
[libretro DEBUG] Opened "/home/koko/.config/retroarch/saves/melonDS DS/dsi_sd_card.bin.idx" in FileMode ["Read", "Text"]
[libretro DEBUG] Closing "/home/koko/.config/retroarch/saves/melonDS DS/dsi_sd_card.bin.idx"
[libretro DEBUG] Initialized indirect-mode Wi-fi support[libretro DEBUG] [melonDS] Re-encrypting cart secure area
[libretro DEBUG] [melonDS] NDSCart: Initialized Key1_KeyBuf from memory
[libretro DEBUG] [melonDS] NDSCart: Initialized Key1_KeyBuf from memory
[libretro DEBUG] [melonDS] Re-encrypted cart secure area
[libretro INFO] [melonDS] Inserted cart with game code: BJBP
[libretro INFO] [melonDS] Inserted cart with ID: 00003FC2
[libretro INFO] [melonDS] ROM entry: 04000000 00000001
[libretro DEBUG] Allocated 512-byte SRAM buffer for loaded NDS ROM.
[libretro INFO] No GBA SRAM was provided.
[INFO] [Environ]: GET_MESSAGE_INTERFACE_VERSION.
[INFO] [Environ]: SET_INPUT_DESCRIPTORS:
[libretro INFO] Deferring initialization until the OpenGL context is ready
[INFO] [State]: found_last_state_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
[libretro DEBUG] void retro_get_system_av_info(retro_system_av_info*)
[libretro DEBUG] retro_get_system_av_info finished
[INFO] [Core]: Geometry: 2048x768, Aspect: 2.667, FPS: 59.90, Sample rate: 32768.00 Hz.
[INFO] [Audio]: Set audio input rate to: 32821.17 Hz.
[INFO] [Video]: Set video size to: 1440x1080.
[INFO] [Video]: Using HW render, glcore driver forced.
[ERROR] [Wayland]: Failed to connect to Wayland server.
[INFO] [GLX]: GLX_EXT_swap_control_tear supported.
[INFO] [GLCore]: Found GL context: "x".
[INFO] [GLCore]: Detecting screen resolution: 3840x1080.
[INFO] [XINERAMA]: Xinerama version: 1.1.
[INFO] [XINERAMA]: Xinerama screens: 2.
[INFO] [GLX]: Using Xinerama on screen #1.
[INFO] [GLX]: X = 0, Y = 0, W = 1440, H = 1080.
[INFO] [GLX]: Creating context for requested version 3.2.
[INFO] [GLX]: Creating shared HW context.
[INFO] [GLX]: Found swap function: glXSwapIntervalEXT.
[INFO] [GLCore]: Initializing HW render (16384x16384).
[INFO] [GLCore]: Max texture size: 16384 px, renderbuffer size: 16384 px.
[INFO] [GLCore]: Vendor: Intel Open Source Technology Center, Renderer: Mesa DRI Intel(R) HD Graphics 4600 (HSW GT2).
[INFO] [GLCore]: Version: 4.5 (Core Profile) Mesa 21.3.9-arch.6 Amber.
[INFO] [GLCore]: Using resolution 1440x1052.
[INFO] [udev]: Keyboard #0: "Power Button" (/dev/input/event1).
[INFO] [udev]: Keyboard #1: "Video Bus" (/dev/input/event8).
[INFO] [udev]: Keyboard #2: "Power Button" (/dev/input/event0).
[INFO] [udev]: Keyboard #3: "LITEON Technology USB Multimedia Keyboard" (/dev/input/event3).
[INFO] [udev]: Keyboard #4: "Eee PC WMI hotkeys" (/dev/input/event14).
[INFO] [udev]: Mouse/Touch #0: "USB Optical Mouse" (REL) /dev/input/event2.
[INFO] [Joypad]: Found joypad driver: "udev".
[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] [X11]: Suspending screensaver (X11, xdg-screensaver).
[INFO] [Video]: Found display server: "x11".
[libretro DEBUG] void MelonDsDs::OpenGLRenderState::ContextReset(melonDS::NDS&, const MelonDsDs::CoreConfig&)
[libretro DEBUG] Initializing OpenGL function pointers
[libretro INFO] OpenGL version: 4.5 (Core Profile) Mesa 21.3.9-arch.6 Amber
[libretro INFO] OpenGL vendor: Intel Open Source Technology Center
[libretro INFO] OpenGL renderer: Mesa DRI Intel(R) HD Graphics 4600 (HSW GT2)
[libretro DEBUG] Current OpenGL framebuffer: id=1, status=GL_FRAMEBUFFER_COMPLETE
[libretro DEBUG] Setting up GL state
[libretro DEBUG] Set up GL state
[libretro DEBUG] Binding GL state
[libretro DEBUG] Bound GL state
[libretro DEBUG] Constructed OpenGL renderer
[libretro DEBUG] Applied OpenGL renderer settings
[libretro DEBUG] Installed OpenGL renderer
[libretro DEBUG] void MelonDsDs::OpenGLRenderState::SetUpCoreOpenGlState(const MelonDsDs::CoreConfig&)
[libretro DEBUG] OpenGL debugging extensions are available
[libretro DEBUG] Initialized core OpenGL state
[libretro DEBUG] Unbound GL state
[libretro DEBUG] OpenGL context reset successfully.
[INFO] [PulseAudio]: Requested 24576 bytes buffer, got 18432.
[INFO] [Audio]: Started synchronous audio driver.
[INFO] [Microphone]: Initialized microphone driver.
[INFO] [SDL audio]: Requested 64 ms latency for input device, got 92 ms
[INFO] [SDL audio]: Initialized microphone with device ID 2
[INFO] [Microphone]: Disabled microphone.
[INFO] [Microphone]: Requested microphone sample rate of 44100Hz, got 44100Hz.
[INFO] [Microphone]: Initialized microphone.
[INFO] [Display]: Found display driver: "glcore".
[libretro DEBUG] Frontend report a message API version 1
[INFO] [Environ]: SET_SUBSYSTEM_INFO.
[libretro WARN] Could not get VFS interface 3, falling back to libretro-common defaults
[libretro DEBUG] Frontend report a message API version 1
[libretro WARN] Could not get VFS interface 3, falling back to libretro-common defaults
Can't locate X11/Protocol.pm in @INC (you may need to install the X11::Protocol module) (@INC entries checked: /usr/lib/perl5/5.38/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.38/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.38/core_perl /usr/share/perl5/core_perl) at -e line 7.
BEGIN failed--compilation aborted at -e line 7.
[INFO] [NetCMD]: bringing_up_command_interface_at_port 55355.
[libretro DEBUG] retro_set_controller_port_device(0, RETRO_DEVICE_JOYPAD)
[INFO] [Playlist]: Loading history file: "/home/koko/.config/retroarch/content_history.lpl".
[INFO] [Playlist]: Loading history file: "/home/koko/.config/retroarch/content_music_history.lpl".
[INFO] [Playlist]: Loading history file: "/home/koko/.config/retroarch/content_video_history.lpl".
[INFO] [Playlist]: Loading history file: "/home/koko/.config/retroarch/content_image_history.lpl".
[INFO] [Playlist]: Loading favorites file: "/home/koko/.config/retroarch/content_favorites.lpl".
[INFO] [Microphone]: Enabled microphone.
[WARN] [Run-Ahead]: Run-Ahead unavailable because this core lacks deterministic save state support.
[libretro DEBUG] Starting deferred initialization
[libretro DEBUG] void MelonDsDs::CoreState::StartConsole()
[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: CC:9E:00:71:7B:AE
[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] [melonDS] remapping SWRAM
[libretro INFO] [melonDS] Loading DSi NAND
[libretro DEBUG] [melonDS] ARM9: offset=00000800 size=00026410 RAM=037B8000 size_aligned=00026600
[libretro DEBUG] [melonDS] ARM7: offset=00026E00 size=00027588 RAM=037B8000 size_aligned=00027600
[libretro DEBUG] [melonDS] NWRAM-A: ARM9 range 037C0000-03800000, size 3
[libretro DEBUG] [melonDS] NWRAM-B: ARM9 range 03000000-037C0000, size 3
[libretro DEBUG] [melonDS] NWRAM-C: ARM9 range 03000000-03000000, size 3
[libretro DEBUG] [melonDS] NWRAM-A: ARM7 range 03000000-03000000, size 3
[libretro DEBUG] [melonDS] NWRAM-B: ARM7 range 03000000-03040000, size 3
[libretro DEBUG] [melonDS] NWRAM-C: ARM7 range 037B8000-037F8000, size 3
[libretro DEBUG] [melonDS] eMMC CID: 304D032DE07867AB15000041504630
[libretro DEBUG] [melonDS] Console ID: 8a1522617110121
[libretro INFO] [melonDS] NWifi MAC: CC:9E:00:71:7B:AE
[libretro DEBUG] Starting the RTC at 2024-06-17 08:19:41 AM (local time)
[libretro DEBUG] [melonDS] NWRAM-A: ARM9 range 03000000-03000000, size 0
[libretro DEBUG] [melonDS] NWRAM-A: ARM7 range 03000000-03000000, size 0
[libretro DEBUG] [melonDS] NWRAM-B: ARM9 range 03000000-03000000, size 0
[libretro DEBUG] [melonDS] NWRAM-B: ARM7 range 03000000-03000000, size 0
[libretro DEBUG] [melonDS] NWRAM-C: ARM9 range 03000000-03000000, size 0
[libretro DEBUG] [melonDS] NWRAM-C: ARM7 range 03000000-03000000, size 0
[libretro DEBUG] [melonDS] CLOCK9=0000
[libretro DEBUG] [melonDS] NDSCart: Initialized Key1_KeyBuf from memory
[libretro DEBUG] [melonDS] NDSCart: Initialized Key1_KeyBuf from memory
[libretro INFO] [melonDS] Secure area decryption OK
[libretro DEBUG] [melonDS] remapping DTCM 0 1000 ffffffff ffffffff
[libretro DEBUG] [melonDS] PU: region 0 = 04000033 : enabled, 04000000-08000000
[libretro DEBUG] [melonDS] PU: region 0 = 04000033 : enabled, 04000000-08000000
[libretro DEBUG] [melonDS] PU: region 1 = 02000031 : enabled, 02000000-04000000
[libretro DEBUG] [melonDS] PU: region 1 = 02000031 : enabled, 02000000-04000000
[libretro DEBUG] [melonDS] PU: region 2 = 00000000 : disabled, 00000000-00000002
[libretro DEBUG] [melonDS] PU: region 2 = 00000000 : disabled, 00000000-00000002
[libretro DEBUG] [melonDS] PU: region 3 = 08000033 : enabled, 08000000-0C000000
[libretro DEBUG] [melonDS] PU: region 3 = 08000033 : enabled, 08000000-0C000000
[libretro DEBUG] [melonDS] PU: region 4 = 0E00001B : enabled, 0E000000-0E004000
[libretro DEBUG] [melonDS] PU: region 4 = 0E00001B : enabled, 0E000000-0E004000
[libretro DEBUG] [melonDS] PU: region 5 = 00000000 : disabled, 00000000-00000002
[libretro DEBUG] [melonDS] PU: region 5 = 00000000 : disabled, 00000000-00000002
[libretro DEBUG] [melonDS] PU: region 6 = FFFF001D : enabled, FFFF0000-FFFF8000
[libretro DEBUG] [melonDS] PU: region 6 = FFFF001D : enabled, FFFF0000-FFFF8000
[libretro DEBUG] [melonDS] PU: region 7 = 02FFC01B : enabled, 02FFC000-03000000
[libretro DEBUG] [melonDS] PU: region 7 = 02FFC01B : enabled, 02FFC000-03000000
[libretro DEBUG] [melonDS] remapping DTCM e000000 e004000 0 fffff000
[libretro INFO] [melonDS] Game is now booting
[libretro DEBUG] Initialized direct boot for "007 - Blood Stone (Europe).nds"
[libretro INFO] Started emulated console
[libretro DEBUG] Completed deferred initialization
[libretro DEBUG] Installed 512-byte SRAM
[INFO] [Environ]: SET_GEOMETRY.
[libretro DEBUG] [melonDS] remapping DTCM ffffffff ffffffff e000000 dffc000
[libretro DEBUG] [melonDS] PU: region 0 = 04000033 : enabled, 04000000-08000000
[libretro DEBUG] [melonDS] PU: region 1 = 0200002D : enabled, 02000000-02800000
[libretro DEBUG] [melonDS] PU: region 2 = 027E0021 : enabled, 027E0000-02800000
[libretro DEBUG] [melonDS] PU: region 3 = 08000035 : enabled, 08000000-10000000
[libretro DEBUG] [melonDS] PU: region 4 = 027C001B : enabled, 027C0000-027C4000
[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 27c0000 27c4000 ffffffff ffffffff
[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-02800000, user=70 priv=77, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 2: 027E0000-02800000, user=00 priv=00, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 3: 08000000-10000000, user=00 priv=03, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 4: 027C0000-027C4000, 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
i965: Failed to submit batchbuffer: No space left on device
Annullato (core dump creato)```
JesseTG commented 2 weeks ago

I noticed that the maximum dimensions requested by the OpenGL renderer fit within your device's maximum texture and renderbuffer size. With that in mind:

kokoko3k commented 2 weeks ago

Thank you for looking into this.

JesseTG commented 2 weeks ago

Hm...

kokoko3k commented 2 weeks ago

Oh, wait, there was a false assumption due to my mistake, i suppose. I just tried to start with a single screen layout and it is crashing as well.

Already tried to set renderer to 1x to no avail.

I omitted to answer the other questions due to the layout tied issue which is not true.

-wait, I need to re-try with the older melonds core. -edit- It crashed too, so it was my mistake and not the 1.1.3 core

Btw, this IGP is able to run flycast core with heavy shaders, slow ofc, but with no crash.

At this point I think this is going to be trickier to fix, but at least software renderer is ok.

JesseTG commented 2 weeks ago

What about VRAM usage? What other applications (including basic system services!) are you running that use the Intel GPU? Also, what about standalone melonDS? Does the issue occur there, too?

kokoko3k commented 2 weeks ago

I just logged off from the graphical Xorg session and turned off the display manager too. Started retroarch in KMS mode from a bare terminal in the Linux text console (if you're not familiar, full text/characters based, not even a mouse pointer), so the IGP was totally free from any "client" but the text console itself, but it still crashed.

JesseTG commented 2 weeks ago

Could you test standalone melonDS as well (with varying levels of upscaling)? I took some rough numbers and it uses far less VRAM than RetroArch does. If the OpenGL renderer works in standalone melonDS, then that's enough for me to be sure that this is a VRAM issue.

kokoko3k commented 2 weeks ago

I can scale on MelonDs standalone until 13x (3328x2496), where it starts for a while then crashes with the same error as on the core. 14x crashes instantly with the usual no space left on the device message.

As stated in the very first post, it works fine for other scaling levels.

JesseTG commented 1 week ago

Ah, yes, excuse me.

Okay, I think I know enough to work on a fix. Hang tight.