No more sound after installing v. 4.1 in recalbox
-
bonjour,
plus beaucoup de news avec ce sujet. Est-ce que la compatibilité en recalbox et HiFiBerry a été corrigée ?
Merci d'avance
-
Hi @Substring
I also have a rpi3 with a hifiberry dacplus. I have no sound either.
I followed the instructions found here. With the old
hifiberry-dacplus.dtbo
file, the card now shows up in reacalbox UI and alsamixer. (I got the device tree file here https://github.com/raspberrypi/firmware/tree/b4b1f641ba1290bdf275b99922e16c0194a8e54b/boot/overlays)But I can't have any sound. I tried to move up every sliders in alsamixer, but still no sound. Am I missing something?
-
@klubad have you selected the device in ES and rebooted ?
-
@substring yes, multiple times
As much as I understood, it seems that we can't set volume through ES. So if I change the volume in ES, close the sound panel and reopen, volume is set back to 0. It is the expected behavior with hifiberry card, right?
I can provide you dmesg output and other stuff tonight.
-
@klubad ES is not very good at setting sound volume for anything other than the pi itself tonbe honnest. Alsamixer is a much better choice.
-
@Substring well, I tried to set the volume through alsamixer (and amixer too). No sound.
Any advice of what I could test next?
-
hello @substring maybe an old topic but there is no sound in ES since 4.1 and thought it was a temp bug but not fixed with 1802 (XU4) (sound in videointro ok, sound in game ok)
here are the ES logs at first boot:
lvl0: Error loading sound "../sounds/scroll.ogg"!
Audio device hasn't been opened
lvl2: req music [system.bgsound]
lvl2: playing
lvl2: Mix_PlayMusic: Audio device hasn't been openedGoing in to the sound menu and validating a soundcard activates sound in ES (sound volume is always 0 but does not affect anything, can be ignored for XU4)
-
@grgohr hey !
The sou d card parameter is supposed to be saved. How do you turn off your recalbox ? -
@substring even after a proper menu>quit>shutdown or reboot I have the same behaviour and ES logs:
lvl0: VolumeControl::init() - Failed to find mixer elements!
lvl0: MUSIC Error - Unable to open SDLMixer audio: ALSA: Couldn't open audio device: Device or resource busy
lvl2: Mix_PlayMusic: Audio device hasn't been opened
lvl0: Error loading sound "../sounds/scroll.ogg"!
Audio device hasn't been openedonce I go to the menu>sound and change the device from auto>card or vice-versa (I hear a sound click), sound comes and back and ES logs shows:
lvl2: Shutting down SDL AUDIO
lvl0: VolumeControl::init() - Failed to find mixer elements!
lvl2: SDL AUDIO Initialized
lvl2: playingalso sound comes back after going into a game and chaning nothing in ES menu:
lvl2: Mix_PlayMusic: Audio device hasn't been opened
lvl2: Attempting to launch game...
lvl2: Shutting down SDL AUDIO
going back from game
lvl0: VolumeControl::init() - Failed to find mixer elements!
lvl2: SDL AUDIO Initialized
lvl2: playingit seems that the following step is the key to have proper init of sound in ES
lvl2: Shutting down SDL AUDIO -
@grgohr es may be trying to open the 1st sound card which must be the HDMI output (which hsmas no mixer available)