libretro / RetroArch

Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
http://www.libretro.com
GNU General Public License v3.0
10.34k stars 1.84k forks source link

[Vita] Netplay is not working correctly #14193

Closed ghost closed 2 years ago

ghost commented 2 years ago

Description

  1. We cannot unload cores on platforms with no dynamic core support (forced content reload for netplay).
  2. VitaSDK's epoll appears to be malfunctioning (used by socket_select, socket_poll and socket_wait).
  3. RetroArch is re-launched each time a new core is loaded; -H and -C parameters must be passed to the command-line when spawning the new process.
  4. Vita's kernel doesn't seem to like RetroArch's default netplay port, 55435.

Expected behavior

Netplay should always work for the Vita.

Actual behavior

Netplay either doesn't work or work only under certain conditions.

Steps to reproduce the bug

  1. Start netplay as either host or client.

Bisect Results

Vita's netplay probably never worked as shown by unofficial forks fixing the problem.

Environment information

ghost commented 2 years ago

@FinalSlice Try this: retroarch_vita.zip

Netplay won't work if you start it before loading content, so do it after loading content on Snes9x 2010.

Also, at Settings -> Logging, change "Frontend Logging Level" to "1 (info)".

FinalSlice commented 2 years ago

@Cthulhu-throwaway I couldn't try the vpk, once installed it gives an error message (C1-2738-0) when you try to load it up.

ghost commented 2 years ago

@Cthulhu-throwaway I couldn't try the vpk, once installed it gives an error message (C1-2738-0) when you try to load it up.

Try this one: retroarch_vita.zip

Following the docs, it ends up packaging it differently from the buildbot packages. Just tried to manually package it this time, see if that works.

FinalSlice commented 2 years ago

@Cthulhu-throwaway got the same error again...although this time it did not create a second RA icon

ghost commented 2 years ago

@Cthulhu-throwaway got the same error again...although this time it did not create a second RA icon

Is it unpacking retroarch correctly? Do you've a retroarch folder after installing this vpk?

EDIT: https://www.reddit.com/r/RetroArch/comments/qsi8dl/psvita_error_c127380/ dunno if that is any help, but you might have to get rid of the old retroarch data before unpacking the vpk I've sent you.

ghost commented 2 years ago

This vpk's eboot.bin is the same file as the Snes9x 2010 core (if nothing else works): retroarch_vita.zip

FinalSlice commented 2 years ago

@Cthulhu-throwaway ok i had to rename my old data folder so the new one could be created...here is the log file. I only swappedthe port 55435 for 19426 and log settings the rest is default config... Ive been in my office at work all day so no port fwd going on on this network...when i get home ill test more. ...just lmk

[INFO] RetroArch 1.10.3 (Git 1f244aac01) [INFO] === Build ======================================= [INFO] Capabilities: NEON [INFO] Built: Jul 21 2022 [INFO] Version: 1.10.3 [INFO] Git: 1f244aac01 [INFO] ================================================= [INFO] [Input]: Found input driver: "vita".

[INFO] [Environ]: GET_LANGUAGE: "0".

[INFO] [Environ]: GET_VFS_INTERFACE. Core requested version >= V1, providing V3. [INFO] [Overrides]: Redirecting save file to "ux0:/data/retroarch/savefiles/Captain Commando (U).srm". [INFO] [Overrides]: Redirecting save state to "ux0:/data/retroarch/savestates/Captain Commando (U).state".

[INFO] [Environ]: SET_SUPPORT_ACHIEVEMENTS: yes. [INFO] [Environ]: SET_PIXEL_FORMAT: RGB565. [libretro INFO] EXT: Frontend supports RGB565 - will use that instead of XRGB1555. [INFO] [Content]: Loading content file: "ux0:/Roms/SNES ROMS/Captain Commando (U).smc".

[libretro INFO] ROM: Map_HiROMMap [libretro INFO] MAP: PPU.RenderSub = 1 [libretro INFO] MAP: PPU.FullClipping = 1 [libretro INFO] MAP: Settings.Transparency = 1 [libretro INFO] MAP: Settings.SpeedhackGameID = 0 [libretro INFO] MAP: PPU.SFXSpeedupHack = 0 [libretro INFO] MAP: coldata_update_screen = 1 [libretro INFO] ROM: "CAPTAIN COMMANDO" [checksum ok] HiROM, 16Mbits, ROM, NTSC, SRAM:0Kbits, ID:QM , CRC32:81DB73C7

[INFO] [Environ]: PERFORMANCE_LEVEL: 7.

[INFO] [SRAM]: Skipping SRAM load. [INFO] [Core]: Version of libretro API: 1, Compiled against API: 1 [INFO] [Audio]: Set audio input rate to: 31955.54 Hz. [INFO] [Video]: Set video size to: 879x672. [INFO] vita2d_gfx_init: w: 879 h: 672 [INFO] RARCH_SCALE_BASE: 256 input_scale: 4 = 1024 [INFO] Format: SCE_GXM_TEXTURE_FORMAT_R5G6B5 [INFO] [Joypad]: Found joypad driver: "vita". [INFO] [Video]: Found display server: "null". [INFO] [Display]: Found display driver: "vita2d". [INFO] [Playlist]: Loading history file: "ux0:/data/retroarch/content_history.lpl". [INFO] [Playlist]: Loading history file: "ux0:/data/retroarch/content_music_history.lpl". [INFO] [Playlist]: Loading favorites file: "ux0:/data/retroarch/content_favorites.lpl".

[INFO] Creating texture: 256x224 [INFO] [Netplay] You have joined as player 1 [INFO] [Netplay] Netplay UPnP Port Mapping Failed [INFO] [Content]: CRC32: 0x81db73c7. [WARN] [Netplay] Your room is not connectable from the internet. [INFO] [Config]: Saving salamander config to: "ux0:/data/retroarch/retroarch-salamander.cfg". [INFO] [Config]: Saved new config to "ux0:/data/retroarch/retroarch.cfg". [INFO] [Core]: Content ran for a total of: 00 hours, 01 minutes, 33 seconds. [INFO] [Runtime]: Saving runtime log file: "ux0:/data/retroarch/playlists/logs/Snes9x 2010/Captain Commando (U).lrtl". [INFO] [Core]: Unloading game.. [INFO] [Core]: Unloading core.. [INFO] [Core]: Unloading core symbols.. [INFO] [Core]: Saved core options file to "ux0:/data/retroarch/config/Snes9x 2010/Snes9x 2010.opt". [INFO] [Video]: Average monitor Hz: 52.614964 Hz. (11.943 % frame time deviation, based on 2048 last samples).

ghost commented 2 years ago

Yeah, I need this tested on a network with an UPnP enabled router so that I can see if I need to fix UPnP for the Vita.

Also, whenever you can, give a try to the latest nightly from: https://buildbot.libretro.com/nightly/playstation/vita/ I believe I've the freezing at netplay start fixed, although netplay won't be started or work for the nightly build yet (I need to patch the command-line when spawning a new process).

FinalSlice commented 2 years ago

UPnP is working in my home network!!!! Vita Log [INFO] RetroArch 1.10.3 (Git 1f244aac01) [INFO] === Build ======================================= [INFO] Capabilities: NEON [INFO] Built: Jul 21 2022 [INFO] Version: 1.10.3 [INFO] Git: 1f244aac01 [INFO] ================================================= [INFO] [Input]: Found input driver: "vita".

[INFO] [Environ]: GET_LANGUAGE: "0".

[INFO] [Environ]: GET_VFS_INTERFACE. Core requested version >= V1, providing V3. [INFO] [Overrides]: Redirecting save file to "ux0:/data/retroarch/savefiles/Captain Commando (U).srm". [INFO] [Overrides]: Redirecting save state to "ux0:/data/retroarch/savestates/Captain Commando (U).state".

[INFO] [Environ]: SET_SUPPORT_ACHIEVEMENTS: yes. [INFO] [Environ]: SET_PIXEL_FORMAT: RGB565. [libretro INFO] EXT: Frontend supports RGB565 - will use that instead of XRGB1555. [INFO] [Content]: Loading content file: "ux0:/Roms/SNES ROMS/Captain Commando (U).smc".

[libretro INFO] ROM: Map_HiROMMap [libretro INFO] MAP: PPU.RenderSub = 1 [libretro INFO] MAP: PPU.FullClipping = 1 [libretro INFO] MAP: Settings.Transparency = 1 [libretro INFO] MAP: Settings.SpeedhackGameID = 0 [libretro INFO] MAP: PPU.SFXSpeedupHack = 0 [libretro INFO] MAP: coldata_update_screen = 1 [libretro INFO] ROM: "CAPTAIN COMMANDO" [checksum ok] HiROM, 16Mbits, ROM, NTSC, SRAM:0Kbits, ID:QM , CRC32:81DB73C7

[INFO] [Environ]: PERFORMANCE_LEVEL: 7.

[INFO] [SRAM]: Skipping SRAM load. [INFO] [Core]: Version of libretro API: 1, Compiled against API: 1 [INFO] [Audio]: Set audio input rate to: 31955.54 Hz. [INFO] [Video]: Set video size to: 879x672. [INFO] vita2d_gfx_init: w: 879 h: 672 [INFO] RARCH_SCALE_BASE: 256 input_scale: 4 = 1024 [INFO] Format: SCE_GXM_TEXTURE_FORMAT_R5G6B5 [INFO] [Joypad]: Found joypad driver: "vita". [INFO] [Video]: Found display server: "null". [INFO] [Display]: Found display driver: "vita2d". [INFO] [Playlist]: Loading history file: "ux0:/data/retroarch/content_history.lpl". [INFO] [Playlist]: Loading history file: "ux0:/data/retroarch/content_music_history.lpl". [INFO] [Playlist]: Loading favorites file: "ux0:/data/retroarch/content_favorites.lpl".

[INFO] Creating texture: 256x224 [INFO] [Netplay] You have joined as player 1 [INFO] [Netplay] Netplay Port Mapping Successful: :19426 [INFO] [Content]: CRC32: 0x81db73c7. [WARN] [Netplay] WARNING: A netplay peer is running a different version of the core. If problems occur, use the same version. [INFO] [Netplay] Connection slot 0 [INFO] [Netplay] Got connection from: "Anonymous (2)" [INFO] [Netplay] Anonymous (2) has joined as player 2 (ping: 182 ms) [INFO] [Netplay] "Anonymous (2)" has disconnected [INFO] [Netplay] You have joined as player 1 [INFO] [Netplay] Netplay Port Mapping Successful: :19426

[INFO] [Config]: Saving salamander config to: "ux0:/data/retroarch/retroarch-salamander.cfg". [INFO] [Config]: Saved new config to "ux0:/data/retroarch/retroarch.cfg". [INFO] [Core]: Content ran for a total of: 00 hours, 02 minutes, 52 seconds. [INFO] [Runtime]: Saving runtime log file: "ux0:/data/retroarch/playlists/logs/Snes9x 2010/Captain Commando (U).lrtl". [INFO] [Core]: Unloading game.. [INFO] [Core]: Unloading core.. [INFO] [Core]: Unloading core symbols.. [INFO] [Core]: Saved core options file to "ux0:/data/retroarch/config/Snes9x 2010/Snes9x 2010.opt". [INFO] [Video]: Average monitor Hz: 49.935084 Hz. (15.438 % frame time deviation, based on 2048 last samples).

FinalSlice commented 2 years ago

pixel 3 as client Log

Using old --libretro behavior. Setting libretro_directory to "/data/user/0/com.retroarch/cores/" instead. RetroArch 1.10.3 (Git 102abb0) === Build ======================================= Capabilities: ASIMD [INFO] Built: May 2 2022 [INFO] Version: 1.10.3 [INFO] Git: 102abb0 [INFO] ================================================= [Input]: Found input driver: "android". Environ: SET_PIXEL_FORMAT: RGB565. [Core]: Version of libretro API: 1, Compiled against API: 1 [Audio]: Set audio input rate to: 48000.00 Hz. [Video]: Set video size to: 960x720. [Video]: Starting threaded video driver ... Android EGL: GLES version = 2. [EGL] Falling back to eglGetDisplay [EGL]: EGL version: 1.5 [GL]: Found GL context: "egl_android". [GL]: Detecting screen resolution: 0x0. [EGL]: Current context: 0x78e0e18640. [GL]: Vendor: Qualcomm, Renderer: Adreno (TM) 630. [GL]: Version: OpenGL ES 3.2 V@0490.0 (GIT@781e7d0, I46ff5fc46f, 1606819536) (Date:12/01/20). [GL]: Using resolution 1080x2160. [GL]: Default shader backend found: glsl. [Shader driver]: Using GLSL shader backend. [GL]: Stock GLSL shaders will be used. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GL]: Using 4 textures. [GL]: Loaded 1 program(s). [Joypad]: Found joypad driver: "android". [Font]: Using font rendering backend: "stb-unicode". [Video]: Found display server: "android". [OpenSL]: Requested audio latency: 128 ms. [OpenSL]: Setting audio latency: Block size = 384, Blocks = 64, Total = 24576 ... [Display]: Found display driver: "gl". [SRAM]: SRAM will not be saved. [Playlist]: Loading history file: "/storage/emulated/0/Android/data/com.retroarch/files/content_history.lpl". [Playlist]: Loading history file: "/storage/emulated/0/Android/data/com.retroarch/files/content_music_history.lpl". [Playlist]: Loading history file: "/storage/emulated/0/Android/data/com.retroarch/files/content_image_history.lpl". [Playlist]: Loading favorites file: "/storage/emulated/0/Android/data/com.retroarch/files/content_favorites.lpl". [Config]: Saved new config to "/storage/emulated/0/Android/data/com.retroarch/files/retroarch.cfg". ConfigurationChanged: 0x7930dfccd0 Content rect changed: 2160 x 1080 [Android]: Resizing (1080 x 2160) -> (2160 x 1080). [Lobby]: Searching playlist: /storage/emulated/0/RetroArch/playlists/Sega - Mega Drive - Genesis.lpl [Lobby]: Searching playlist: /storage/emulated/0/RetroArch/playlists/Nintendo - Game Boy Advance.lpl [Lobby]: Searching playlist: /storage/emulated/0/RetroArch/playlists/Nintendo - Nintendo Entertainment System.lpl [Lobby]: Searching playlist: /storage/emulated/0/RetroArch/playlists/Sony - PlayStation.lpl [Lobby]: Searching playlist: /storage/emulated/0/RetroArch/playlists/Nintendo - Super Nintendo Entertainment System.lpl [Lobby]: CRC match 81DB73C7|crc [Lobby]: Loading core /data/user/0/com.retroarch/cores/snes9x2010_libretro_android.so with content file /storage/emulated/0/Roms/SNES ROMS/Captain Commando (U).smc [Netplay]: Connecting to 73.76.22.167|19426 (deferred) [Content]: Updating firmware status for: /data/user/0/com.retroarch/cores/snes9x2010_libretro_android.so on /storage/emulated/0/RetroArch/system [Core]: Using content: "/storage/emulated/0/Roms/SNES ROMS/Captain Commando (U).smc". [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds. [Core]: Unloading core.. [Core]: Unloading core symbols.. Threaded video stats: Frames pushed: 5101, Frames dropped: 0. RetroArch 1.10.3 (Git 102abb0) === Build ======================================= Capabilities: ASIMD [INFO] Built: May 2 2022 [INFO] Version: 1.10.3 [INFO] Git: 102abb0 [INFO] ================================================= jni_thread_destruct() [Input]: Found input driver: "android". [Core]: Loading dynamic libretro core from: "/data/user/0/com.retroarch/cores/snes9x2010_libretro_android.so" [Overrides]: No core-specific overrides found at "/storage/emulated/0/RetroArch/config/Snes9x 2010/Snes9x 2010.cfg". [Overrides]: No content-dir-specific overrides found at "/storage/emulated/0/RetroArch/config/Snes9x 2010/SNES ROMS.cfg". [Overrides]: No game-specific overrides found at "/storage/emulated/0/RetroArch/config/Snes9x 2010/Captain Commando (U).cfg".

Environ: GET_LANGUAGE: "0".

Environ: GET_VFS_INTERFACE. Core requested version >= V1, providing V3. [Remaps]: Remap directory: "/storage/emulated/0/RetroArch/config/remaps". [Overrides]: Redirecting save file to "/storage/emulated/0/RetroArch/saves/Captain Commando (U).srm". [Overrides]: Redirecting save state to "/storage/emulated/0/RetroArch/states/Captain Commando (U).state".

Environ: SET_SUPPORT_ACHIEVEMENTS: yes. Environ: SET_PIXEL_FORMAT: RGB565. EXT: Frontend supports RGB565 - will use that instead of XRGB1555. [Content]: Loading content file: "/storage/emulated/0/Roms/SNES ROMS/Captain Commando (U).smc". [Content]: Did not find a valid content patch.

ROM: Map_HiROMMap MAP: PPU.RenderSub = 1 MAP: PPU.FullClipping = 1 MAP: Settings.Transparency = 1 MAP: Settings.SpeedhackGameID = 0 MAP: PPU.SFXSpeedupHack = 0 MAP: coldata_update_screen = 1 ROM: "CAPTAIN COMMANDO" [checksum ok] HiROM, 16Mbits, ROM, NTSC, SRAM:0Kbits, ID:QM , CRC32:81DB73C7

Environ: PERFORMANCE_LEVEL: 7.

[SRAM]: Skipping SRAM load. [Core]: Version of libretro API: 1, Compiled against API: 1 [Audio]: Set audio input rate to: 31987.50 Hz. [Video]: Set video size to: 879x672. [Video]: Starting threaded video driver ... Android EGL: GLES version = 2. [EGL] Falling back to eglGetDisplay [EGL]: EGL version: 1.5 [GL]: Found GL context: "egl_android". [GL]: Detecting screen resolution: 0x0. [EGL]: Current context: 0x78e0e1e040. [GL]: Vendor: Qualcomm, Renderer: Adreno (TM) 630. [GL]: Version: OpenGL ES 3.2 V@0490.0 (GIT@781e7d0, I46ff5fc46f, 1606819536) (Date:12/01/20). [GL]: Using resolution 2160x1080. [GL]: Default shader backend found: glsl. [Shader driver]: Using GLSL shader backend. [GL]: Stock GLSL shaders will be used. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GL]: Using 4 textures. [GL]: Loaded 1 program(s). [Joypad]: Found joypad driver: "android". [Font]: Using font rendering backend: "stb-unicode". [Video]: Found display server: "android". [OpenSL]: Requested audio latency: 128 ms. [OpenSL]: Setting audio latency: Block size = 384, Blocks = 64, Total = 24576 ... [Display]: Found display driver: "gl". [Playlist]: Loading history file: "/storage/emulated/0/Android/data/com.retroarch/files/content_history.lpl". [Playlist]: Loading history file: "/storage/emulated/0/Android/data/com.retroarch/files/content_music_history.lpl". [Playlist]: Loading history file: "/storage/emulated/0/Android/data/com.retroarch/files/content_image_history.lpl". [Playlist]: Loading favorites file: "/storage/emulated/0/Android/data/com.retroarch/files/content_favorites.lpl".

[Netplay] WARNING: A netplay peer is running a different version of the core. If problems occur, use the same version. [Content]: CRC32: 0x81db73c7. [Netplay] Your nickname changed to "Anonymous (2)" [Netplay] Connected to: "Anonymous" [Netplay] You have joined as player 2 (ping: 257 ms) [Netplay] Netplay disconnected [Core]: Content ran for a total of: 00 hours, 01 minutes, 23 seconds. [Runtime]: Saving runtime log file: "/storage/emulated/0/RetroArch/playlists/logs/Snes9x 2010/Captain Commando (U).lrtl". [State]: Saving state "/storage/emulated/0/RetroArch/states/Captain Commando (U).state.auto", 826488 bytes. Auto save state to "/storage/emulated/0/RetroArch/states/Captain Commando (U).state.auto" succeeded. jni_thread_destruct() [Core]: No content, starting dummy core. [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds. [Core]: Unloading game.. [Core]: Unloading core.. [Core]: Unloading core symbols.. [Core]: Saved core options file to "/storage/emulated/0/RetroArch/config/Snes9x 2010/Snes9x 2010.opt". Threaded video stats: Frames pushed: 4729, Frames dropped: 295. RetroArch 1.10.3 (Git 102abb0) === Build ======================================= Capabilities: ASIMD [INFO] Built: May 2 2022 [INFO] Version: 1.10.3 [INFO] Git: 102abb0 [INFO] ================================================= [Input]: Found input driver: "android". Environ: SET_PIXEL_FORMAT: RGB565. [Core]: Version of libretro API: 1, Compiled against API: 1 [Audio]: Set audio input rate to: 48000.00 Hz. [Video]: Set video size to: 960x720. [Video]: Starting threaded video driver ... Android EGL: GLES version = 2. [EGL] Falling back to eglGetDisplay [EGL]: EGL version: 1.5 [GL]: Found GL context: "egl_android". [GL]: Detecting screen resolution: 0x0. [EGL]: Current context: 0x78e0e17dd0. [GL]: Vendor: Qualcomm, Renderer: Adreno (TM) 630. [GL]: Version: OpenGL ES 3.2 V@0490.0 (GIT@781e7d0, I46ff5fc46f, 1606819536) (Date:12/01/20). [GL]: Using resolution 2160x1080. [GL]: Default shader backend found: glsl. [Shader driver]: Using GLSL shader backend. [GL]: Stock GLSL shaders will be used. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GL]: Using 4 textures. [GL]: Loaded 1 program(s). [Joypad]: Found joypad driver: "android". [Font]: Using font rendering backend: "stb-unicode". [Video]: Found display server: "android". [OpenSL]: Requested audio latency: 128 ms. [OpenSL]: Setting audio latency: Block size = 384, Blocks = 64, Total = 24576 ... [Display]: Found display driver: "gl". [SRAM]: SRAM will not be saved. [Playlist]: Loading history file: "/storage/emulated/0/Android/data/com.retroarch/files/content_history.lpl". [Playlist]: Loading history file: "/storage/emulated/0/Android/data/com.retroarch/files/content_music_history.lpl". [Playlist]: Loading history file: "/storage/emulated/0/Android/data/com.retroarch/files/content_image_history.lpl". [Playlist]: Loading favorites file: "/storage/emulated/0/Android/data/com.retroarch/files/content_favorites.lpl". [Netplay]: Connecting to 10.0.0.102|19429 (deferred) [Core]: Using content: "/storage/emulated/0/Roms/SNES ROMS/Captain Commando (U).smc". [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds. [Core]: Unloading core.. [Core]: Unloading core symbols.. Threaded video stats: Frames pushed: 1737, Frames dropped: 0. RetroArch 1.10.3 (Git 102abb0) === Build ======================================= Capabilities: ASIMD [INFO] Built: May 2 2022 [INFO] Version: 1.10.3 [INFO] Git: 102abb0 [INFO] ================================================= jni_thread_destruct() [Input]: Found input driver: "android". [Core]: Loading dynamic libretro core from: "/data/user/0/com.retroarch/cores/snes9x2010_libretro_android.so" [Overrides]: No core-specific overrides found at "/storage/emulated/0/RetroArch/config/Snes9x 2010/Snes9x 2010.cfg". [Overrides]: No content-dir-specific overrides found at "/storage/emulated/0/RetroArch/config/Snes9x 2010/SNES ROMS.cfg". [Overrides]: No game-specific overrides found at "/storage/emulated/0/RetroArch/config/Snes9x 2010/Captain Commando (U).cfg".

Environ: GET_LANGUAGE: "0".

Environ: GET_VFS_INTERFACE. Core requested version >= V1, providing V3. [Remaps]: Remap directory: "/storage/emulated/0/RetroArch/config/remaps". [Overrides]: Redirecting save file to "/storage/emulated/0/RetroArch/saves/Captain Commando (U).srm". [Overrides]: Redirecting save state to "/storage/emulated/0/RetroArch/states/Captain Commando (U).state".

Environ: SET_SUPPORT_ACHIEVEMENTS: yes. Environ: SET_PIXEL_FORMAT: RGB565. EXT: Frontend supports RGB565 - will use that instead of XRGB1555. [Content]: Loading content file: "/storage/emulated/0/Roms/SNES ROMS/Captain Commando (U).smc". [Content]: Did not find a valid content patch.

ROM: Map_HiROMMap MAP: PPU.RenderSub = 1 MAP: PPU.FullClipping = 1 MAP: Settings.Transparency = 1 MAP: Settings.SpeedhackGameID = 0 MAP: PPU.SFXSpeedupHack = 0 MAP: coldata_update_screen = 1 ROM: "CAPTAIN COMMANDO" [checksum ok] HiROM, 16Mbits, ROM, NTSC, SRAM:0Kbits, ID:QM , CRC32:81DB73C7

Environ: PERFORMANCE_LEVEL: 7.

[SRAM]: Skipping SRAM load. [Netplay] Failed to connect to host 10.0.0.102 on port 19429. [Netplay] Failed to set up netplay sockets. [Netplay] Failed to initialize netplay. [Core]: Version of libretro API: 1, Compiled against API: 1 [Audio]: Set audio input rate to: 31987.50 Hz. [Video]: Set video size to: 879x672. [Video]: Starting threaded video driver ... Android EGL: GLES version = 2. [EGL] Falling back to eglGetDisplay [EGL]: EGL version: 1.5 [GL]: Found GL context: "egl_android". [GL]: Detecting screen resolution: 0x0. [EGL]: Current context: 0x78e0e205f0. [GL]: Vendor: Qualcomm, Renderer: Adreno (TM) 630. [GL]: Version: OpenGL ES 3.2 V@0490.0 (GIT@781e7d0, I46ff5fc46f, 1606819536) (Date:12/01/20). [GL]: Using resolution 2160x1080. [GL]: Default shader backend found: glsl. [Shader driver]: Using GLSL shader backend. [GL]: Stock GLSL shaders will be used. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GL]: Using 4 textures. [GL]: Loaded 1 program(s). [Joypad]: Found joypad driver: "android". [Font]: Using font rendering backend: "stb-unicode". [Video]: Found display server: "android". [OpenSL]: Requested audio latency: 128 ms. [OpenSL]: Setting audio latency: Block size = 384, Blocks = 64, Total = 24576 ... [Display]: Found display driver: "gl". [Playlist]: Loading history file: "/storage/emulated/0/Android/data/com.retroarch/files/content_history.lpl". [Playlist]: Loading history file: "/storage/emulated/0/Android/data/com.retroarch/files/content_music_history.lpl". [Playlist]: Loading history file: "/storage/emulated/0/Android/data/com.retroarch/files/content_image_history.lpl". [Playlist]: Loading favorites file: "/storage/emulated/0/Android/data/com.retroarch/files/content_favorites.lpl".

[Netplay]: Connecting to 10.0.0.102|19429 (direct) [Netplay] Failed to connect to host 10.0.0.102 on port 19429. [Netplay] Failed to set up netplay sockets. [Netplay] Failed to initialize netplay. [State]: Saving state "/storage/emulated/0/RetroArch/states/Captain Commando (U).state.auto", 826488 bytes. Auto save state to "/storage/emulated/0/RetroArch/states/Captain Commando (U).state.auto" succeeded. [Config]: Saved new config to "/storage/emulated/0/Android/data/com.retroarch/files/retroarch.cfg". [Core]: Content ran for a total of: 00 hours, 01 minutes, 35 seconds. [Runtime]: Saving runtime log file: "/storage/emulated/0/RetroArch/playlists/logs/Snes9x 2010/Captain Commando (U).lrtl". [Core]: Unloading game.. [Core]: Unloading core.. [Core]: Unloading core symbols.. [Core]: Saved core options file to "/storage/emulated/0/RetroArch/config/Snes9x 2010/Snes9x 2010.opt". Threaded video stats: Frames pushed: 5740, Frames dropped: 6.

ghost commented 2 years ago
[Netplay] Your nickname changed to "Anonymous (2)"
[Netplay] Connected to: "Anonymous"
[Netplay] You have joined as player 2 (ping: 257 ms)
[Netplay] Netplay disconnected

Was this disconnection an error or manually triggered?

It seems it was connectable from the internet on UPnP success as I can't find the "not connectable" warning.

FinalSlice commented 2 years ago

manual disconnect...

I did a disconnect on client to try and direct connect with the vita ip...but it didn't work...maybe i should include port ?...i was able to connect client from the host list only.

edit: FYI VIita lose audio when you start host...audio come back if you stop host.

ghost commented 2 years ago

edit: FYI VIita lose audio when you start host...audio come back if you stop host.

I've seen this before when someone was running RetroArch on a PS3. Not sure what causes it but I could try guesses.

Did you test the current nightly? Is it still freezing when starting netplay?

FinalSlice commented 2 years ago

@Cthulhu-throwaway latest nightly still freezing with core loaded and without

ghost commented 2 years ago

@Cthulhu-throwaway latest nightly still freezing with core loaded and without

Could you tell me the git version from Main Menu -> Information -> System Information?

FinalSlice commented 2 years ago

@Cthulhu-throwaway latest nightly still freezing with core loaded and without

Could you tell me the git version from Main Menu -> Information -> System Information?

is it called something else i don't see a git version in there...

ghost commented 2 years ago

@Cthulhu-throwaway latest nightly still freezing with core loaded and without

Could you tell me the git version from Main Menu -> Information -> System Information?

is it called something else i don't see a git version in there...

I think I see the problem on why it's freezing; those core/content load functions simply won't work with static core platforms, so I don't think the netplay content find task ever worked for the Vita. I'll have to figure something out.

Meanwhile, could you try this? retroarch_vita.zip This adds some logging to socket_poll; you only need to try this out with relay servers enabled (netplay is still expected to fail here). I also only need the log from the Vita for this.

FinalSlice commented 2 years ago

[INFO] RetroArch 1.10.3 (Git 1245cbc63b) [INFO] === Build ======================================= [INFO] Capabilities: NEON [INFO] Built: Jul 22 2022 [INFO] Version: 1.10.3 [INFO] Git: 1245cbc63b [INFO] ================================================= [INFO] [Input]: Found input driver: "vita".

[INFO] [Environ]: GET_LANGUAGE: "0".

[INFO] [Environ]: GET_VFS_INTERFACE. Core requested version >= V1, providing V3. [INFO] [Overrides]: Redirecting save file to "ux0:/data/retroarch/savefiles/Captain Commando (U).srm". [INFO] [Overrides]: Redirecting save state to "ux0:/data/retroarch/savestates/Captain Commando (U).state".

[INFO] [Environ]: SET_SUPPORT_ACHIEVEMENTS: yes. [INFO] [Environ]: SET_PIXEL_FORMAT: RGB565. [libretro INFO] EXT: Frontend supports RGB565 - will use that instead of XRGB1555. [INFO] [Content]: Loading content file: "ux0:/Roms/SNES ROMS/Captain Commando (U).smc".

[libretro INFO] ROM: Map_HiROMMap [libretro INFO] MAP: PPU.RenderSub = 1 [libretro INFO] MAP: PPU.FullClipping = 1 [libretro INFO] MAP: Settings.Transparency = 1 [libretro INFO] MAP: Settings.SpeedhackGameID = 0 [libretro INFO] MAP: PPU.SFXSpeedupHack = 0 [libretro INFO] MAP: coldata_update_screen = 1 [libretro INFO] ROM: "CAPTAIN COMMANDO" [checksum ok] HiROM, 16Mbits, ROM, NTSC, SRAM:0Kbits, ID:QM , CRC32:81DB73C7

[INFO] [Environ]: PERFORMANCE_LEVEL: 7.

[INFO] [SRAM]: Skipping SRAM load. [INFO] [Core]: Version of libretro API: 1, Compiled against API: 1 [INFO] [Audio]: Set audio input rate to: 31955.54 Hz. [INFO] [Video]: Set video size to: 879x672. [INFO] vita2d_gfx_init: w: 879 h: 672 [INFO] RARCH_SCALE_BASE: 256 input_scale: 4 = 1024 [INFO] Format: SCE_GXM_TEXTURE_FORMAT_R5G6B5 [INFO] [Joypad]: Found joypad driver: "vita". [INFO] [Video]: Found display server: "null". [INFO] [Display]: Found display driver: "vita2d". [INFO] [Playlist]: Loading history file: "ux0:/data/retroarch/content_history.lpl". [INFO] [Playlist]: Loading history file: "ux0:/data/retroarch/content_music_history.lpl". [INFO] [Playlist]: Loading favorites file: "ux0:/data/retroarch/content_favorites.lpl". [INFO] [Playlist]: Written to playlist file: ux0:/data/retroarch/content_history.lpl

[INFO] Creating texture: 256x224 [INFO] [POLL] socket_poll call [INFO] [POLL] epoll fd: 2002 [INFO] [POLL] allocated events: 1 [INFO] [POLL] event added: 28 -> 2 [INFO] [POLL] epoll wait: 0 (10 ms) [INFO] [POLL] socket_poll end [ERROR] [Netplay] Failed to connect to relay server. [ERROR] [Netplay] Failed to set up netplay sockets. [ERROR] [Netplay] Failed to initialize netplay. [INFO] [POLL] socket_poll call [INFO] [POLL] epoll fd: 2003 [INFO] [POLL] allocated events: 1 [INFO] [POLL] event added: 32 -> 2 [INFO] [POLL] epoll wait: 0 (10 ms) [INFO] [POLL] socket_poll end [ERROR] [Netplay] Failed to connect to relay server. [ERROR] [Netplay] Failed to set up netplay sockets. [ERROR] [Netplay] Failed to initialize netplay. [INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 25 seconds. [INFO] [Runtime]: Saving runtime log file: "ux0:/data/retroarch/playlists/logs/Snes9x 2010/Captain Commando (U).lrtl". [INFO] [Core]: No content, starting dummy core. [INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds. [INFO] [Core]: Unloading game.. [INFO] [Core]: Unloading core.. [INFO] [Core]: Unloading core symbols.. [INFO] [Core]: Saved core options file to "ux0:/data/retroarch/config/Snes9x 2010/Snes9x 2010.opt". [INFO] [Video]: Average monitor Hz: 59.737157 Hz. (21.672 % frame time deviation, based on 2048 last samples). [INFO] RetroArch 1.10.3 (Git 1245cbc63b) [INFO] === Build ======================================= [INFO] Capabilities: NEON [INFO] Built: Jul 22 2022 [INFO] Version: 1.10.3 [INFO] Git: 1245cbc63b [INFO] ================================================= [INFO] [Input]: Found input driver: "vita". [INFO] [Environ]: SET_PIXEL_FORMAT: RGB565. [INFO] [Core]: Version of libretro API: 1, Compiled against API: 1 [INFO] [Audio]: Set audio input rate to: 48000.00 Hz. [INFO] [Video]: Set video size to: 960x720. [INFO] vita2d_gfx_init: w: 960 h: 720 [INFO] RARCH_SCALE_BASE: 256 input_scale: 2 = 512 [INFO] Format: SCE_GXM_TEXTURE_FORMAT_R5G6B5 [INFO] [Joypad]: Found joypad driver: "vita". [INFO] [Video]: Found display server: "null". [INFO] [Display]: Found display driver: "vita2d". [INFO] [SRAM]: SRAM will not be saved. [INFO] [Playlist]: Loading history file: "ux0:/data/retroarch/content_history.lpl". [INFO] [Playlist]: Loading history file: "ux0:/data/retroarch/content_music_history.lpl". [INFO] [Playlist]: Loading favorites file: "ux0:/data/retroarch/content_favorites.lpl". [INFO] Creating texture: 4x4 [INFO] [Config]: Saving salamander config to: "ux0:/data/retroarch/retroarch-salamander.cfg". [INFO] [Config]: Saved new config to "ux0:/data/retroarch/retroarch.cfg". [INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds. [INFO] [Core]: Unloading core.. [INFO] [Core]: Unloading core symbols.. [INFO] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.

ghost commented 2 years ago

Thank you; looks like VitaSDK's epoll takes a microsecond timeout parameter instead of a millisecond timeout parameter (Linux's epoll). Since VitaSDK has no public documentation on Vita's epoll, my implementations had Linux's epoll in mind.

Could you try this one? retroarch_vita.zip

FinalSlice commented 2 years ago

@Cthulhu-throwaway I didn't change any settings and left port 55435 as is....as you can see from the log it connected 😊😊😊...but played 2 had no control.

[INFO] RetroArch 1.10.3 (Git 1245cbc63b) [INFO] === Build ======================================= [INFO] Capabilities: NEON [INFO] Built: Jul 23 2022 [INFO] Version: 1.10.3 [INFO] Git: 1245cbc63b [INFO] ================================================= [INFO] [Input]: Found input driver: "vita".

[INFO] [Environ]: GET_LANGUAGE: "0".

[INFO] [Environ]: GET_VFS_INTERFACE. Core requested version >= V1, providing V3. [INFO] [Overrides]: Redirecting save file to "ux0:/data/retroarch/savefiles/Captain Commando (U).srm". [INFO] [Overrides]: Redirecting save state to "ux0:/data/retroarch/savestates/Captain Commando (U).state".

[INFO] [Environ]: SET_SUPPORT_ACHIEVEMENTS: yes. [INFO] [Environ]: SET_PIXEL_FORMAT: RGB565. [libretro INFO] EXT: Frontend supports RGB565 - will use that instead of XRGB1555. [INFO] [Content]: Loading content file: "ux0:/Roms/SNES ROMS/Captain Commando (U).smc".

[libretro INFO] ROM: Map_HiROMMap [libretro INFO] MAP: PPU.RenderSub = 1 [libretro INFO] MAP: PPU.FullClipping = 1 [libretro INFO] MAP: Settings.Transparency = 1 [libretro INFO] MAP: Settings.SpeedhackGameID = 0 [libretro INFO] MAP: PPU.SFXSpeedupHack = 0 [libretro INFO] MAP: coldata_update_screen = 1 [libretro INFO] ROM: "CAPTAIN COMMANDO" [checksum ok] HiROM, 16Mbits, ROM, NTSC, SRAM:0Kbits, ID:QM , CRC32:81DB73C7

[INFO] [Environ]: PERFORMANCE_LEVEL: 7.

[INFO] [SRAM]: Skipping SRAM load. [INFO] [Core]: Version of libretro API: 1, Compiled against API: 1 [INFO] [Audio]: Set audio input rate to: 31955.54 Hz. [INFO] [Video]: Set video size to: 879x672. [INFO] vita2d_gfx_init: w: 879 h: 672 [INFO] RARCH_SCALE_BASE: 256 input_scale: 4 = 1024 [INFO] Format: SCE_GXM_TEXTURE_FORMAT_R5G6B5 [INFO] [Joypad]: Found joypad driver: "vita". [INFO] [Video]: Found display server: "null". [INFO] [Display]: Found display driver: "vita2d". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/sidebar/retroarch.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/sidebar/settings.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/sidebar/history.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/sidebar/favorites.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/sidebar/music.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/sidebar/video.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/sidebar/image.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/sidebar/netplay.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/sidebar/add.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/sidebar/retroarch.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/sidebar/retroarch.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//retroarch.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//settings.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//history.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//favorites.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//musics.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//netplay.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//menu_room.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//menu_room_lan.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//menu_room_relay.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//setting.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//subsetting.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//arrow.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//run.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//close.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//resume.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//savestate.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//loadstate.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//undo.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//core-infos.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//bluetooth.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//wifi.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//core-options.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//core-input-remapping-options.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//core-cheat-options.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//core-disk-options.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//core-shader-options.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//achievement-list.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//screenshot.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//reload.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//rename.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//file.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//folder.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//zip.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//favorites-content.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//add-favorite.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//music.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//image.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//movie.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//core.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//database.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//cursor.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//on.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//off.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//clock.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//battery-full.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//battery-charging.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//battery-80.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//battery-60.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//battery-40.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//battery-20.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//pointer.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//add.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//disc.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//key.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//key-hover.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//dialog-slice.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//menu_achievements.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//menu_audio.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//menu_exit.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//menu_frameskip.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//menu_info.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//menu_help.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//menu_network.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//menu_power.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//menu_saving.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//menu_updater.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//menu_video.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//menu_record.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//Libretro - Pad.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//menu_mixer.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//menu_log.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//menu_osd.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//menu_ui.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//menu_user.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//menu_privacy.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//menu_latency.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//menu_drivers.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//menu_playlist.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//menu_quickmenu.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//menu_rewind.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//menu_overlay.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//menu_override.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//menu_notifications.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//menu_stream.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//menu_shutdown.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//input_DPAD-U.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//input_DPAD-D.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//input_DPAD-L.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//input_DPAD-R.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//input_STCK-U.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//input_STCK-D.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//input_STCK-L.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//input_STCK-R.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//input_STCK-P.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//input_SELECT.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//input_START.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//input_BTN-U.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//input_BTN-D.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//input_BTN-L.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//input_BTN-R.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//input_LB.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//input_RB.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//input_LT.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//input_RT.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//menu_check.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//menu_add.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//menu_brightness.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//menu_pause.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//menu_apply_toggle.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//menu_apply_cog.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//input_ADC.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//input_BIND_ALL.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//input_MOUSE.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//input_LGUN.png". [WARN] [OZONE]: Asset missing: "ux0:/data/retroarch/assets/ozone/png/icons//input_TURBO.png". [INFO] [Playlist]: Loading history file: "ux0:/data/retroarch/content_history.lpl". [INFO] [Playlist]: Loading history file: "ux0:/data/retroarch/content_music_history.lpl". [INFO] [Playlist]: Loading favorites file: "ux0:/data/retroarch/content_favorites.lpl". [INFO] [Playlist]: Written to playlist file: ux0:/data/retroarch/content_history.lpl

[INFO] Creating texture: 256x224 [INFO] [POLL] socket_poll call [INFO] [POLL] epoll fd: 2012 [INFO] [POLL] allocated events: 1 [INFO] [POLL] event added: 2 -> 2 [INFO] [POLL] epoll wait: 1 (29 ms) [INFO] [POLL] event: 2 -> 2 [INFO] [POLL] event matched [INFO] [POLL] socket_poll end [INFO] [POLL] socket_poll call [INFO] [POLL] epoll fd: 2013 [INFO] [POLL] allocated events: 1 [INFO] [POLL] event added: 2 -> 1 [INFO] [POLL] epoll wait: 1 (21 ms) [INFO] [POLL] event: 2 -> 1 [INFO] [POLL] event matched [INFO] [POLL] socket_poll end [INFO] [Netplay] You have joined as player 1 [INFO] [Content]: CRC32: 0x81db73c7. [INFO] [Netplay] Queued tunnel link connection. [INFO] [POLL] socket_poll call [INFO] [POLL] epoll fd: 2014 [INFO] [POLL] allocated events: 1 [INFO] [POLL] event added: 17 -> 2 [INFO] [POLL] epoll wait: 1 (0 ms) [INFO] [POLL] event: 17 -> 2 [INFO] [POLL] event matched [INFO] [POLL] socket_poll end [INFO] [POLL] socket_poll call [INFO] [POLL] epoll fd: 2015 [INFO] [POLL] allocated events: 1 [INFO] [POLL] event added: 17 -> 2 [INFO] [POLL] epoll wait: 1 (0 ms) [INFO] [POLL] event: 17 -> 2 [INFO] [POLL] event matched [INFO] [POLL] socket_poll end [INFO] [POLL] socket_poll call [INFO] [POLL] epoll fd: 2016 [INFO] [POLL] allocated events: 1 [INFO] [POLL] event added: 17 -> 2 [INFO] [POLL] epoll wait: 1 (0 ms) [INFO] [POLL] event: 17 -> 2 [INFO] [POLL] event matched [INFO] [POLL] socket_poll end [INFO] [POLL] socket_poll call [INFO] [POLL] epoll fd: 2017 [INFO] [POLL] allocated events: 1 [INFO] [POLL] event added: 17 -> 2 [INFO] [POLL] epoll wait: 1 (0 ms) [INFO] [POLL] event: 17 -> 2 [INFO] [POLL] event matched [INFO] [POLL] socket_poll end [INFO] [Netplay] Tunnel link connection completed. [WARN] [Netplay] WARNING: A netplay peer is running a different version of the core. If problems occur, use the same version. [INFO] [Netplay] Connection slot 0 [INFO] [Netplay] Got connection from: "Anonymous (2)" [INFO] [Netplay] Anonymous (2) has joined as player 2 (ping: 146 ms) [INFO] [Netplay] "Anonymous (2)" has disconnected [INFO] [Config]: Saving salamander config to: "ux0:/data/retroarch/retroarch-salamander.cfg". [INFO] [Config]: Saved new config to "ux0:/data/retroarch/retroarch.cfg". [INFO] [Core]: Content ran for a total of: 00 hours, 03 minutes, 26 seconds. [INFO] [Runtime]: Saving runtime log file: "ux0:/data/retroarch/playlists/logs/Snes9x 2010/Captain Commando (U).lrtl". [INFO] [Core]: Unloading game.. [INFO] [Core]: Unloading core.. [INFO] [Core]: Unloading core symbols.. [INFO] [Core]: Saved core options file to "ux0:/data/retroarch/config/Snes9x 2010/Snes9x 2010.opt". [INFO] [Video]: Average monitor Hz: 51.749120 Hz. (62.050 % frame time deviation, based on 2048 last samples).

ghost commented 2 years ago

Could you try the nightly build and see whether netplay is still freezing or not?

FinalSlice commented 2 years ago

@Cthulhu-throwaway is doset freez it just restarts RA ...and if your in a game and try to start host it does the same thig and the game restarts

[INFO] === Build ======================================= [INFO] Capabilities: NEON [INFO] Built: Jul 24 2022 [INFO] Version: 1.10.3 [INFO] ================================================= [INFO] [Input]: Found input driver: "vita".

[INFO] [Environ]: GET_LANGUAGE: "0".

[INFO] [Environ]: GET_VFS_INTERFACE. Core requested version >= V1, providing V3. [INFO] [Overrides]: Redirecting save file to "ux0:/data/retroarch/savefiles/Captain Commando (U).srm". [INFO] [Overrides]: Redirecting save state to "ux0:/data/retroarch/savestates/Captain Commando (U).state".

[INFO] [Environ]: SET_SUPPORT_ACHIEVEMENTS: yes. [INFO] [Environ]: SET_PIXEL_FORMAT: RGB565. [libretro INFO] EXT: Frontend supports RGB565 - will use that instead of XRGB1555. [INFO] [Content]: Loading content file: "ux0:/Roms/SNES ROMS/Captain Commando (U).smc".

[libretro INFO] ROM: Map_HiROMMap [libretro INFO] MAP: PPU.RenderSub = 1 [libretro INFO] MAP: PPU.FullClipping = 1 [libretro INFO] MAP: Settings.Transparency = 1 [libretro INFO] MAP: Settings.SpeedhackGameID = 0 [libretro INFO] MAP: PPU.SFXSpeedupHack = 0 [libretro INFO] MAP: coldata_update_screen = 1 [libretro INFO] ROM: "CAPTAIN COMMANDO" [checksum ok] HiROM, 16Mbits, ROM, NTSC, SRAM:0Kbits, ID:QM , CRC32:81DB73C7

[INFO] [Environ]: PERFORMANCE_LEVEL: 7.

[INFO] [RCHEEVOS]: Load started, hardcore not active [INFO] [RCHEEVOS]: Using host: http://retroachievements.org [INFO] [RCHEEVOS]: Found 1 potential consoles for smc file extension [INFO] [RCHEEVOS]: Trying console 3 [INFO] [RCHEEVOS]: Hashing 2097152 byte buffer [INFO] [RCHEEVOS]: Generated hash fa1aca992a1bbe309651fff64541866f [INFO] [RCHEEVOS]: Attempting to login digitaljordan83 (with token) [INFO] [SRAM]: Skipping SRAM load. [INFO] [State]: Found auto save state in "ux0:/data/retroarch/savestates/Captain Commando (U).state.auto". [INFO] [State]: Auto-loading save state from "ux0:/data/retroarch/savestates/Captain Commando (U).state.auto" succeeded. [INFO] [Core]: Version of libretro API: 1, Compiled against API: 1 [INFO] [Audio]: Set audio input rate to: 31955.54 Hz. [INFO] [Video]: Set video size to: 879x672. [INFO] vita2d_gfx_init: w: 879 h: 672 [INFO] RARCH_SCALE_BASE: 256 input_scale: 4 = 1024 [INFO] Format: SCE_GXM_TEXTURE_FORMAT_R5G6B5 [INFO] [Joypad]: Found joypad driver: "vita". [INFO] [Video]: Found display server: "null". [INFO] [Display]: Found display driver: "vita2d". [INFO] [Playlist]: Loading history file: "ux0:/data/retroarch/content_history.lpl". [INFO] [Playlist]: Loading history file: "ux0:/data/retroarch/content_music_history.lpl". [INFO] [Playlist]: Loading favorites file: "ux0:/data/retroarch/content_favorites.lpl".

[INFO] Creating texture: 256x224 [INFO] [State]: Loading state "ux0:/data/retroarch/savestates/Captain Commando (U).state.auto", 531696 bytes. [INFO] [State]: Saving state "RAM", 826488 bytes. [ERROR] [State]: Failed to load state from "ux0:/data/retroarch/savestates/Captain Commando (U).state.auto". [INFO] [RCHEEVOS]: digitaljordan83 logged in successfully [INFO] [RCHEEVOS]: Fetched game data 645 [INFO] [RCHEEVOS]: Fetched user unlocks 645 [INFO] [RCHEEVOS]: Fetched hardcore user unlocks 645 [INFO] [RCHEEVOS]: Starting periodic rich presence update task for game 645 [INFO] [RCHEEVOS]: Registered 0x20000 bytes of SYSTEM RAM at $000000 (descriptor 1, offset 0x000000) [INFO] [RCHEEVOS]: Registered 0x20000 bytes of SRAM at $020000 (descriptor 3, offset 0x1E0000) [INFO] [RCHEEVOS]: Load finished [INFO] [RCHEEVOS]: You have 0 of 20 achievements unlocked. [INFO] [RCHEEVOS]: Started session for game 645 [INFO] [State]: Saving state "ux0:/data/retroarch/savestates/Captain Commando (U).state.auto", 828432 bytes. [INFO] Auto save state to "ux0:/data/retroarch/savestates/Captain Commando (U).state.auto" succeeded. [INFO] [Config]: Saving salamander config to: "ux0:/data/retroarch/retroarch-salamander.cfg". [INFO] [Config]: Saved new config to "ux0:/data/retroarch/retroarch.cfg". [INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 07 seconds. [INFO] [Runtime]: Saving runtime log file: "ux0:/data/retroarch/playlists/logs/Snes9x 2010/Captain Commando (U).lrtl". [INFO] [Core]: Unloading game.. [INFO] [Core]: Unloading core.. [INFO] [Core]: Unloading core symbols.. [INFO] [Core]: Saved core options file to "ux0:/data/retroarch/config/Snes9x 2010/Snes9x 2010.opt". [INFO] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.

ghost commented 2 years ago

@Cthulhu-throwaway is doset freez it just restarts RA ...and if your in a game and try to start host it does the same thig and the game restarts

Intended; I need to manually patch the forking code for each platform. Right now I've a PR for the 3DS here: https://github.com/libretro/RetroArch/pull/14203 But I am almost done with the Vita patch aswell.

ghost commented 2 years ago

@FinalSlice give the latest nightly a try whenever you can. I should've most of the problems fixed by now, so let me know what else needs fixing.

FinalSlice commented 2 years ago

@Cthulhu-throwaway Thank you!...so far it's working! It can only get better from here.... Im pretty good at breaking things so I'll see what I can do :) other then that maybe a message when the screen goes out after you enable host...takes a few seconds for video to come back some people may not know to wait and attempt to quit. and I'm sure you know already it just goes black for a few seconds if you try host before loading content, so we'll need some type of warning on when to start host if its not going to work from the menu before loading content. ....

would an ad hoc\peer to peer mode be possible? would that help with lag?

ghost commented 2 years ago

I'm sure you know already it just goes black for a few seconds if you try host before loading content, so we'll need some type of warning on when to start host if its not going to work from the menu before loading content. ....

This happens because of the setting "Always Reload Core on Run Content" and affects netplay hosting and direct client connection when you don't have content loaded.

  1. RetroArch queues a restart with the correct parameters to enable netplay.
  2. RetroArch restarts.
  3. Content is queued to be loaded and RetroArch restarts again.
  4. Previous netplay parameters are lost.
  5. Content is now loaded without netplay.

I couldn't think of a way to implement this correctly without downsides; I think I'll just disallow starting netplay without content (by showing a notification) on those static core platforms. One could disable "Always Reload Core on Run Content", but that doesn't seem like a good idea.

would an ad hoc\peer to peer mode be possible? would that help with lag?

Netplay is peer to peer only. As long as the ping isn't too high, it isn't as important as some settings that can affect how fast the emulated machine alters its state.

A stable connection is also important.

I tend to avoid joining rooms labeled "Anonymous" because that generally indicates the person didn't bother configuring RetroArch, which means excessive rollbacks and/or slowdowns are almost guaranteed.

ghost commented 2 years ago

@FinalSlice I think this issue can be closed unless you've something else to report.

Latest nightly has the following changes:

FinalSlice commented 2 years ago

@Cthulhu-throwaway I agree on closing this one. Netplay on the vita is working, and we are aware of current issues & limitations. Anything going fwd will be an improvement of whats currently working. You did an awesome job on this thanks again! I think some type of police on 100% netplay compatible cores can increase the overall experience....that issue alone or not having a message about it in the UI could make one user think netplay does not function at all when in actuality its just core incompatibility.

FinalSlice commented 2 years ago

@FinalSlice I think this issue can be closed unless you've something else to report.

Latest nightly has the following changes:

  • You can no longer start netplay when content is not loaded (a notification is shown telling you that). This does not apply to the lobby. (Static core platforms only)
  • You can now use the "Refresh Netplay LAN List" button. Note that LAN devices are still unable to see a Vita host due to the problem with binding the 55435 port.
  • Default netplay port changed to 19492. (Vita only)
  • You can now read your network information by going to Main Menu -> Information -> Network Information. Please check if the address reported there is the correct LAN address for your Vita.

@Cthulhu-throwaway just tried the latest nightly...lmk i can post a log if you need them

  1. tcp port still default at 55435
  2. netplay still tries to start without content ...screen goes black ...no messages
LibretroAdmin commented 2 years ago

You will have to just manually reset the TCP port by hovering over it in the Settings menu and pressing ' Start' if you are on an existing config. Otherwise you need to delete retroarch.cfg and start with letting the Vita create a fresh retroarch.cfg from scratch.

FinalSlice commented 2 years ago

I did use the new RA data folder included with the nightly...a new config file was created. And port was still 55435 and no messages about netplay before loading content

On Tue, Jul 26, 2022, 6:12 PM LibretroAdmin @.***> wrote:

You will have to just manually reset the TCP port by hovering over it in the Settings menu and pressing ' Start' if you are on an existing config. Otherwise you need to delete retroarch.cfg and start with letting the Vita create a fresh retroarch.cfg from scratch.

— Reply to this email directly, view it on GitHub https://github.com/libretro/RetroArch/issues/14193#issuecomment-1196071770, or unsubscribe https://github.com/notifications/unsubscribe-auth/APM2L3JFXDMVACXWEEESL73VWBWENANCNFSM54IIQL7Q . You are receiving this because you were mentioned.Message ID: @.***>

ghost commented 2 years ago

I did use the new RA data folder included with the nightly...a new config file was created. And port was still 55435 and no messages about netplay before loading content

Might be just an outdated nightly you've installed. Do you've a "Network Information" submenu and a "Refresh Netplay LAN List" button?

we are aware of current issues & limitations

What are those?

FinalSlice commented 2 years ago

@Cthulhu-throwaway i just tried another nightly top of the list ...im not seeing any of the things youve mentioned

what are those....

Vita does not play nice on default 55435 vita cant start netplay until the content is loaded

ghost commented 2 years ago

@Cthulhu-throwaway i just tried another nightly top of the list ...im not seeing any of the things youve mentioned

what are those....

Vita does not play nice on default 55435 vita cant start netplay until the content is loaded

There should be another nightly in about 3 hours that SHOULD have all the cores updated to RetroArch's master. Snes9x 2010 is currently pending on the pipelines: https://git.libretro.com/libretro/snes9x2010/-/pipelines/ with the last update being from 20 hours ago (before my changes).

ghost commented 2 years ago

@FinalSlice I think this issue can be closed unless you've something else to report.

Latest nightly has the following changes:

  • You can no longer start netplay when content is not loaded (a notification is shown telling you that). This does not apply to the lobby. (Static core platforms only)
  • You can now use the "Refresh Netplay LAN List" button. Note that LAN devices are still unable to see a Vita host due to the problem with binding the 55435 port.
  • Default netplay port changed to 19492. (Vita only)
  • You can now read your network information by going to Main Menu -> Information -> Network Information. Please check if the address reported there is the correct LAN address for your Vita.

@FinalSlice latest nightly should've all cores updated. Check for the four changes from the quote.

FinalSlice commented 2 years ago

@Cthulhu-throwaway I noticed the changes in the nightly I tried...but it crashes when you try to netplay from inside the game...I'll do it again and get the log.

FinalSlice commented 2 years ago

Not A Lot of netplay info ...it's done it on two different SNES cores [INFO] === Build ======================================= [INFO] Capabilities: NEON [INFO] Built: Jul 27 2022 [INFO] Version: 1.10.3 [INFO] ================================================= [INFO] [Input]: Found input driver: "vita".

[INFO] [Environ]: GET_LANGUAGE: "0".

[INFO] [Environ]: GET_VFS_INTERFACE. Core requested version >= V1, providing V3. [INFO] [Overrides]: Redirecting save file to "ux0:/data/retroarch/savefiles/Captain Commando (U).srm". [INFO] [Overrides]: Redirecting save state to "ux0:/data/retroarch/savestates/Captain Commando (U).state".

[INFO] [Environ]: SET_SUPPORT_ACHIEVEMENTS: yes. [INFO] [Environ]: SET_PIXEL_FORMAT: RGB565. [libretro INFO] EXT: Frontend supports RGB565 - will use that instead of XRGB1555. [INFO] [Content]: Loading content file: "ux0:/Roms/SNES ROMS/Captain Commando (U).smc".

[libretro INFO] ROM: Map_HiROMMap [libretro INFO] MAP: PPU.RenderSub = 1 [libretro INFO] MAP: PPU.FullClipping = 1 [libretro INFO] MAP: Settings.Transparency = 1 [libretro INFO] MAP: Settings.SpeedhackGameID = 0 [libretro INFO] MAP: PPU.SFXSpeedupHack = 0 [libretro INFO] MAP: coldata_update_screen = 1 [libretro INFO] ROM: "CAPTAIN COMMANDO" [checksum ok] HiROM, 16Mbits, ROM, NTSC, SRAM:0Kbits, ID:QM , CRC32:81DB73C7

[INFO] [Environ]: PERFORMANCE_LEVEL: 7.

[INFO] [RCHEEVOS]: Load started, hardcore not active [INFO] [RCHEEVOS]: Using host: http://retroachievements.org [INFO] [RCHEEVOS]: Found 1 potential consoles for smc file extension [INFO] [RCHEEVOS]: Trying console 3 [INFO] [RCHEEVOS]: Hashing 2097152 byte buffer [INFO] [RCHEEVOS]: Generated hash fa1aca992a1bbe309651fff64541866f [INFO] [RCHEEVOS]: Attempting to login digitaljordan83 (with token) [INFO] [SRAM]: Skipping SRAM load. [INFO] [Netplay] You have joined as player 1 [INFO] [Core]: Version of libretro API: 1, Compiled against API: 1 [INFO] [Audio]: Set audio input rate to: 31955.54 Hz. [INFO] Using 1 threads for softfilter. [INFO] [Video]: Set video size to: 879x672. [INFO] [EGL] Falling back to eglGetDisplay [INFO] [EGL]: EGL version: 1.4 [INFO] [GL]: Found GL context: "vita". [INFO] [GL]: Detecting screen resolution: 960x544.

FinalSlice commented 2 years ago

The crash error reads (c2-12828-1) Saved core failed.

And it gives the file path for a psp2dmp.tmp

FinalSlice commented 2 years ago

Just tried the lastest of the very latest same thing...so since the changes I have not gotten netplay to work...seems core related tho idk just guessing.

ghost commented 2 years ago

@Cthulhu-throwaway I noticed the changes in the nightly I tried...but it crashes when you try to netplay from inside the game...I'll do it again and get the log.

Not sure I understand where you are crashing.

  1. Does it crash when hosting or just when connecting as a client?
  2. Is the correct LAN address shown in Main Menu -> Information -> Network Information?
  3. Is RetroArch restarting when starting netplay?
FinalSlice commented 2 years ago

I Load content. Hotkey to RA menu. The moment I click on start host RA crashes and goes to the vita main menu and I have to start RA again. Two different nightly builds and I've tried different SNES cores same thing.

On Thu, Jul 28, 2022, 10:00 AM Cthulhu-throwaway @.***> wrote:

@Cthulhu-throwaway https://github.com/Cthulhu-throwaway I noticed the changes in the nightly I tried...but it crashes when you try to netplay from inside the game...I'll do it again and get the log.

Not sure I understand where you are crashing.

  1. Does it crash when hosting or just when connecting as a client?
  2. Is the correct LAN address shown in Main Menu -> Information -> Network Information?
  3. Is RetroArch restarting when starting netplay?

— Reply to this email directly, view it on GitHub https://github.com/libretro/RetroArch/issues/14193#issuecomment-1198269294, or unsubscribe https://github.com/notifications/unsubscribe-auth/APM2L3MONGHZ4HJV7BYKBGLVWKOBDANCNFSM54IIQL7Q . You are receiving this because you were mentioned.Message ID: @.***>

Edit

  1. N/A 2.N/A 3.yes when I start netplay it restarts
ghost commented 2 years ago

I've checked my latest changes to Vita and nothing should be breaking it.

What do you mean by N/A?

FinalSlice commented 2 years ago

I've checked my latest changes to Vita and nothing should be breaking it.

What do you mean by N/A?

Not applicable...I'd assume netplay would have to start to provide the information...so N/A ...not available

ghost commented 2 years ago

I've checked my latest changes to Vita and nothing should be breaking it. What do you mean by N/A?

Not applicable...I'd assume netplay would have to start to provide the information...so N/A ...not available

Neither of these should be N/A then, which is why I got really confused with your response.

The first one should be whether the crash happens when hosting, connecting as a client or both. And the second one doesn't require netplay to start. It's about your network info, which doesn't have anything to do with netplay.

FinalSlice commented 2 years ago

Ok sorry yes the network information is displayed in the main menu...idk what's going on. It must be core related... trying to start a host on my phone and my phone is freezing now. Updated cores last night to match up with what the vita has.

FinalSlice commented 2 years ago

I don't know what to say this is kind of frustrating I'm sure it is for you too.

I was able to connect to my phone for a brief second then the vita crashed my phone had to be in relay mode and LAN wouldn't work on my phone RA just crashes....I guess it's a core issue now and it goes back to the issue you were addressing in a previous discussion. It's hard to test anything when everything is always changing and you don't really know what's changing and there is no document of this change that I'm aware of ...just update cores and cross your fingers.

[INFO] === Build ======================================= [INFO] Capabilities: NEON [INFO] Built: Jul 28 2022 [INFO] Version: 1.10.3 [INFO] ================================================= [INFO] [Input]: Found input driver: "vita".

[INFO] [Environ]: GET_LANGUAGE: "0".

[INFO] [Environ]: GET_VFS_INTERFACE. Core requested version >= V1, providing V3. [INFO] [Overrides]: Redirecting save file to "ux0:/data/retroarch/savefiles/.netplay/Super Mario Kart (U) [!].srm". [INFO] [Overrides]: Redirecting save state to "ux0:/data/retroarch/savestates/Super Mario Kart (U) [!].state".

[INFO] [Environ]: SET_SUPPORT_ACHIEVEMENTS: yes. [INFO] [Environ]: SET_PIXEL_FORMAT: RGB565. [libretro INFO] EXT: Frontend supports RGB565 - will use that instead of XRGB1555. [INFO] [Content]: Loading content file: "ux0:/Roms/SNES ROMS/Super Mario Kart (U) [!].smc".

[libretro INFO] ROM: Map_HiROMMap [libretro INFO] MAP: PPU.RenderSub = 0 [libretro INFO] MAP: PPU.FullClipping = 1 [libretro INFO] MAP: Settings.Transparency = 1 [libretro INFO] MAP: Settings.SpeedhackGameID = 0 [libretro INFO] MAP: PPU.SFXSpeedupHack = 0 [libretro INFO] MAP: coldata_update_screen = 1 [libretro INFO] ROM: "SUPER MARIO KART" [checksum ok] HiROM, 4Mbits, ROM+RAM+BAT+DSP-1, NTSC, SRAM:16Kbits, ID:, CRC32:CD80DB86

[INFO] [Environ]: PERFORMANCE_LEVEL: 7.

[INFO] [SRAM]: Skipping SRAM load. [INFO] [Core]: Version of libretro API: 1, Compiled against API: 1 [INFO] [Audio]: Set audio input rate to: 31955.54 Hz. [INFO] [Video]: Set video size to: 879x672. [INFO] [EGL] Falling back to eglGetDisplay [INFO] [EGL]: EGL version: 1.4 [INFO] [GL]: Found GL context: "vita". [INFO] [GL]: Detecting screen resolution: 960x544. [INFO] [EGL]: Current context: 0x95d136b4. [INFO] [GL]: Vendor: CBPS Labs, Renderer: PIB. [INFO] [GL]: Version: OpenGL ES 2.0 PIB(1.00). [INFO] [GL]: Using resolution 960x544. [INFO] [GL]: Default shader backend found: glsl. [INFO] [Shader driver]: Using GLSL shader backend. [WARN] [GL]: Stock GLSL shaders will be used. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] Shader log: �jb� [INFO] [GLSL]: Found GLSL fragment shader. [INFO] Shader log: �jb� [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] Shader log: �jb� [INFO] [GLSL]: Found GLSL fragment shader. [INFO] Shader log: �jb� [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] Shader log: �jb� [INFO] [GLSL]: Found GLSL fragment shader. [INFO] Shader log: �jb� [INFO] [GLSL]: Linking GLSL program. [INFO] [GL]: Using 4 textures. [INFO] [GL]: Loaded 1 program(s). [INFO] [Video]: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver. [INFO] [Joypad]: Found joypad driver: "vita". [INFO] [Video]: Found display server: "null". [INFO] [Display]: Found display driver: "gl". [INFO] [Playlist]: Loading history file: "ux0:/data/retroarch/content_history.lpl". [INFO] [Playlist]: Loading history file: "ux0:/data/retroarch/content_music_history.lpl". [INFO] [Playlist]: Loading favorites file: "ux0:/data/retroarch/content_favorites.lpl". [INFO] [Playlist]: Written to playlist file: ux0:/data/retroarch/content_history.lpl

[WARN] [Netplay] WARNING: A netplay peer is running a different version of the core. If problems occur, use the same version. [INFO] [Content]: CRC32: 0xcd80db86. [INFO] [Netplay] Your nickname changed to "Anonymous (2)" [INFO] [Netplay] Connected to: "Anonymous" [INFO] [Netplay] You have joined as player 2 (ping: 129 ms)

ghost commented 2 years ago

If the core is working but crashes when you start hosting netplay, then this isn't a core issue.

I still would like to know what's being displayed in Network Information, since this is the only major thing that differs from the old build.

FinalSlice commented 2 years ago

PXL_20220728_180100068

FinalSlice commented 2 years ago

Screenshot from RA on my phone Screenshot_20220728-130310

FinalSlice commented 2 years ago

I may have mentioned this already but I'm getting the Same behavior on my phone start netplay Host with content loaded, and RA crashes.