Replies: 13 comments
-
Try installing portaudio and reboot. |
Beta Was this translation helpful? Give feedback.
-
thank you for the quick reply |
Beta Was this translation helpful? Give feedback.
-
Does |
Beta Was this translation helpful? Give feedback.
-
Oh, sorry. I didn't mean portaudio. I meant pulseaudio :-) |
Beta Was this translation helpful? Give feedback.
-
yep that produces a "buzzing" sound, any other emulator (libretro, mame, duckstation etc) works as well
|
Beta Was this translation helpful? Give feedback.
-
Is pulseaudio running? |
Beta Was this translation helpful? Give feedback.
-
The sound panel shows "SDL2: Built-in Audio Digital Stereo (HDMI)" on my system. You can also try to switch using the other HDMI port. |
Beta Was this translation helpful? Give feedback.
-
It appears to be running, however I found:
Not sure if this is related I have tried both HDMI Ports but amiberry switches "sound emulation" to "disabled, but emulated" every time. |
Beta Was this translation helpful? Give feedback.
-
Are you running RetroPie on a Bullseye? If so, my guess is that the RetroPie script does something that is not fully compatible with bullseye. |
Beta Was this translation helpful? Give feedback.
-
yeah, on 64bit and bullseye, which both aren't supported by RetroPie. Oddly enough everything else worked except the audio in amiberry :\ |
Beta Was this translation helpful? Give feedback.
-
I've reported this both on SDL2 forums and on Raspberry Pi github. I don't understand how it really works, because without pulseaudio running I cannot get sound in amiberry either (vanilla Raspberry Pi OS Bullseye), even if |
Beta Was this translation helpful? Give feedback.
-
I've converted this to a discussion as you're running a unsupported configuration. |
Beta Was this translation helpful? Give feedback.
-
The custom SDL2 seems to be the issue. As soon as I remove it and install the official packages, amiberry works without a problem. |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
When KMS is used, the audio does not work in amiberry when HDMI is selected in the audio settings, only the audio jack works.
HDMI Audio works fine in amiberry when FKMS is selected.
To Reproduce
set vc4-kms-v3d (default in 64bit bullseye)
Let Retropie Compile amiberry/compile it yourself with PLATFORM=rpi4-64-sdl2
Run amiberry with any game
No HDMI-Audio works
error in /dev/shm/runcommand.log
Expected behavior
Audio to work in KMS as well not only in FKMS.
OS: [e.g. iOS]
Linux pi 5.15.48-v8+ aarch64
RetroPie installed through RetroPie-Setup
Version [e.g. 22]
RetroPie installed 5.2 I think.
I also tried Amiberry by manually compiling it with "PLATFORM=rpi4-64-sdl2"
SDL2 is 2.0.20
Additional context
When using KMS I have 3 Audio devices selectable in Amiberry:
Only the Headphone jack outputs audio, whenever I select one of the HDMIs the "Sound Emulation" in amiberry gets disabled automatically and the error mentioned above is getting spammed. Setting the config.txt to fkms fixes this problem but fkms causes the mouse cursor to be slow.
Beta Was this translation helpful? Give feedback.
All reactions