libretro / libretro/RetroArch

CloudSync begin failed

Open
#17,315 19 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

Is there an existing issue for this?
  • This is a bug in RetroArch frontend
  • I have searched the existing issues
Description

Followed the instructions over on https://docs.libretro.com/guides/retroarch-cloud-sync/ in order to have cloud sync. As far as I can tell I have followed the instructions correctly, and the WebDav share works correctly in macOS finder, but when I open RetroArch a message that says Cloud Sync in progress 0% appears for five seconds or so, then it is replaced with Cloud Sync failed. In order to try and solve this I enabled logging, but only the line [WARN] [CloudSync] begin failed appears, which is not helpful. I have also tried this on iOS and the same two tooltips appear. Both were almost clean installs, so it might have something to do with that.

Expected behavior

Either working cloud sync or a descriptive error message.

Steps to reproduce the bug
  1. Follow this guide https://docs.libretro.com/guides/retroarch-cloud-sync/ on a clean install of RetroArch (found on macOS (Apple Silicon) and iOS).
  2. Enable logging.
Version/Commit

1.19.1 (Git a0208dd56)

Bisect Results

No response

Check in the nightly version

I don't know

Platform & operating system

macOS 15.2

Affected Cores

No response

Environment information

No response

Relevant log output
[INFO] RetroArch 1.19.1 (Git a0208dd56)
[INFO] === Build =======================================
[INFO] CPU Model Name: Apple M4
[INFO] Capabilities: NEON VFPV3 VFPV4 
[INFO] Version: 1.19.1
[INFO] Git: a0208dd56
[INFO] Built: Jun  5 2024
[INFO] =================================================
[INFO] [Input]: Found input driver: "cocoa".
[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.
[INFO] [Vulkan]: Vulkan dynamic library loaded.
[INFO] [Vulkan]: Found vulkan context: "cocoavk".
[INFO] [Vulkan]: Detecting screen resolution: 480x360.
[INFO] [macOS]: Native window size: 960 x 720.
[INFO] [Vulkan]: Found GPU at index 0: "Apple M4".
[INFO] [Vulkan]: Using GPU index 0.
[INFO] [Vulkan]: Using semaphores for WSI acquire.
[INFO] [Vulkan]: Using GPU: "Apple M4".
[INFO] [Vulkan]: Queue family 0 supports 1 sub-queues.
[INFO] [Vulkan]: Got 3 swapchain images.
[INFO] [Vulkan]: Using resolution 960x720.
[INFO] [Vulkan]: Using RGB565 format.
[INFO] [Vulkan]: Loading stock shader.
[INFO] [Video]: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver.
[INFO] [Joypad]: Found joypad driver: "mfi".
[INFO] [Video]: Found display server: "null".
[INFO] [CoreAudio3]: Using buffer size of 24576 bytes: (latency = 64 ms)
[INFO] [Audio]: Started synchronous audio driver.
[INFO] [Display]: Found display driver: "vulkan".
[INFO] [Playlist]: Loading history file: "/Users/pablo/Library/Application Support/RetroArch/config/content_history.lpl".
[INFO] [Playlist]: Loading history file: "/Users/pablo/Library/Application Support/RetroArch/config/content_music_history.lpl".
[INFO] [Playlist]: Loading history file: "/Users/pablo/Library/Application Support/RetroArch/config/content_image_history.lpl".
[INFO] [Playlist]: Loading favorites file: "/Users/pablo/Library/Application Support/RetroArch/config/content_favorites.lpl".
[DEBUG] [Audio]: Started audio driver "coreaudio3" (is_shutdown=false)
[DEBUG] [Audio]: Stopped audio driver "coreaudio3"
[INFO] [Vulkan]: QueuePresent failed, destroying swapchain.
[INFO] [Vulkan]: Got 3 swapchain images.
[WARN] [CloudSync] begin failed
[INFO] [Core Info]: Wrote to cache file: "/Users/pablo/Library/Application Support/RetroArch/info/core_info.cache".
[INFO] [Config]: Saved new config to "/Users/pablo/Library/Application Support/RetroArch/config/retroarch.cfg".
[DEBUG] [Audio]: Started audio driver "coreaudio3" (is_shutdown=true)
[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[DEBUG] [Audio]: Stopped audio driver "coreaudio3"
[INFO] [Core]: Unloading core..
[INFO] [Core]: Unloading core symbols..
[DEBUG] [Video]: Average monitor Hz: 74.940048 Hz. (4.920 % frame time deviation, based on 2048 last samples).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the cloud-sync instructions at https://docs.libretro.com/guides/retroarch-cloud-sync/ and reproduce the failure on a clean macOS or iOS install with logging enabled. Investigate the path producing “[CloudSync] begin failed”; done means cloud sync works or the failure reports a descriptive error instead of only the generic tooltip.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.