Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sound issues on RPi3 / Adding an override.cfg #7

Closed
ubbo opened this issue Jan 3, 2021 · 4 comments
Closed

Sound issues on RPi3 / Adding an override.cfg #7

ubbo opened this issue Jan 3, 2021 · 4 comments

Comments

@ubbo
Copy link

ubbo commented Jan 3, 2021

Hi, thanks a lot for this great script, exactly what I was searching for :-)

I did some tests of running godot games from itch.io on a Raspberry Pi 3 with Retropie yesterday. I did not find any game running without issues yet, but found a fix for all sound issues which is described here: godotengine/godot#43928 (comment)

Putting a file named override.cfg into ~/RetroPie/roms/godot-engine with the following content does apply this fix to all games in that folder:

[audio]
mix_rate=48000
output_latency=20

Now I think this file could be put there by default on RPi3 (and probably also RPi2/1/0) boxes. Or be added there by an option in the config script, similar to the "Force GLES2" option.

This file may also have the possibility to override other settings contained in the .pck files which do cause issues on RPi systems. The parameters are described here:
https://docs.godotengine.org/de/stable/classes/class_projectsettings.html

I could try to come up with a pull request implementing the audio fix for RPI3 if it makes sense. And possibly test on RPi2 and RPI0.

@hiulit
Copy link
Owner

hiulit commented Feb 4, 2021

Hi there! Thanks for the feedback!
I'll see what I can do about that :)

@hiulit
Copy link
Owner

hiulit commented Mar 19, 2021

I'm working on it!

Screenshot from 2021-03-19 17-59-12

Screenshot from 2021-03-19 17-59-44

As you can see, I'm using the default audio/mix_rate and audio/output_latency. I've tested on a Pi3 and it worked for me. But you will be able to change the values ;)

@hiulit
Copy link
Owner

hiulit commented Mar 21, 2021

This file may also have the possibility to override other settings contained in the .pck files which do cause issues on RPi systems.

What other issues did you find?

@hiulit
Copy link
Owner

hiulit commented Mar 23, 2021

As of v.1.5.0, there's a new override.cfg file in ~/RetroPie/roms/godot-engine, with some default audio values, to let the user override settings of the Godot "emulator. You can change those values in the configuration dialog.

@hiulit hiulit closed this as completed Mar 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants