libretro / RetroArch

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

Can't save settings changes on Steam Deck #16036

Open dpitch40 opened 10 months ago

dpitch40 commented 10 months ago

Description

Any changes I make to RetroArch's settings are not being saved on exit. I don't see any messages that appear to explain this in the log output, or any changes to ~/.var/app/org.libretro.RetroArch/config/retroarch/retroarch.cfg or any other files in that directory. I wasn't able to get support for this issue on the Discord and it appears to be a bug.

Expected behavior

RetroArch settings are saved on exit.

Actual behavior

My settings changes are not saved on exit.

Steps to reproduce the bug

  1. Run RetroArch, either on the command line or from the main menu in gaming mode.
  2. Change a setting, e.g. one of the hotkey assignments or the sound driver.
  3. Exit the RetroArch GUI.
  4. Reopen RetroArch, observe that my changes have been reverted.

Bisect Results

It also occurs on 1.12.0, the oldest version I could downgrade to via Flatpak.

Version/Commit

Environment information

SteamOS Holo, version 3.5.7, build 20231122.1

hizzlekizzle commented 10 months ago

Is the save_on_exit setting enabled? Are any cores loaded (and, if so, are there any overrides active? EmuDeck sets up heaps of overrides automatically)?

dpitch40 commented 10 months ago

Is the save_on_exit setting enabled?

It was not, and once I enable it, settings are saved on exit as expected. Why is this setting not enabled by default? I looked pretty extensively for a "Save settings" button and didn't find one; where is it, or how am I supposed to save settings changes if this setting is not enabled?

hizzlekizzle commented 10 months ago

AFAIK, we set it ON by default for all platforms. Are you using any automated setup utilities (e.g., EmuDeck) alongside RetroArch?

dpitch40 commented 10 months ago

Yes, I did install it via EmuDeck.

hizzlekizzle commented 10 months ago

k, yeah, that's not really a problem we can fix then. That is, it's not a problem on our end to begin with but rather something that is introduced by EmuDeck, which is its own thing outside of our control.

dpitch40 commented 10 months ago

Thanks, I will follow up with EmuDeck on why that's the default setting.