FS#79963 - [retroarch] When restarting some values are set to 0 in the config file

Attached to Project: Arch Linux
Opened by Neros (Neros) - Saturday, 14 October 2023, 18:41 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 17 October 2023, 19:45 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When restarting Retroarch, some values in the config file are set to 0:

```
audio_max_timing_skew "0,050000" → "0,000000"
audio_rate_control_delta "0,005000" → "0,000000"
input_axis_threshold "0,500000" → "0,000000"
input_osk_overlay_opacity "0,700000" → "0,000000"
input_overlay_opacity "0,700000" → "0,000000"
menu_framebuffer_opacity "0,900000" → "0,000000"
menu_wallpaper_opacity "0,300000" → "0,000000"
video_aspect_ratio "1,333300" → "1,0000000"
video_autoswitch_pal_threshold "54,500000" → "54,000000"
video_message_pos_x "0,050000" → "0,000000"
video_message_pos_y "0,050000" → "0,000000"
```

First value: when launching from the first time
Second value: after restarting

You immediately see the issue because the opacity is set to 0 so the background switch from grey to black and you can't use your controller anymore.

I don't have this issue with the AppImage of Retroarch.

(also, why "," instead of "."?)

Steps to reproduce:
* Start Retroarch (delete the config folder in ~/.config if any)
* Notice the grey background
* Restart Retroarch
* Notice the black blackground
This task depends upon

Closed by  Toolybird (Toolybird)
Tuesday, 17 October 2023, 19:45 GMT
Reason for closing:  Works for me
Additional comments about closing:  See comments
Comment by Toolybird (Toolybird) - Saturday, 14 October 2023, 19:51 GMT
Works fine here in a fresh install i.e. cannot repro. There must be some other factor in your setup causing the issue.

Have you looked into what is different about the AppImage build compared to the Arch build?
Comment by Neros (Neros) - Monday, 16 October 2023, 19:49 GMT
I have no idea what can be this other factor. I have the same issue with the git version. I don't know what is the difference with the AppImage...

I don't know why the config file is edited with these parameters. If someone has an idea...

My specs:
CPU: AMD Ryzen 5 3600
GPU: AMD RX 6600 XT
Mesa: 23.2.1
Kernel: 6.5.7
KDE + Wayland

EDIT: I can reproduce the exact same issue on my laptop (Thinkpad T440p).
Comment by Toolybird (Toolybird) - Tuesday, 17 October 2023, 19:44 GMT
Just tried again on KDE + Wayland and still cannot repro. Seeing as this doesn't appear to be an Arch packaging issue, please take it to the Arch support channels (Forum/IRC/Mailing Lists/Reddit/etc)to see if anyone can assist with troubleshooting where it goes wrong on your system.

Loading...