Bonjour, Cela fait un moment que je cherche une solution pour faire fonctionner le son dans la dernière version de recalbox (recalbox 4.0.0 beta2). J'ai au départ installer la beta 1 puis quand elle est sortie, j'ai fait la mise à jour vers la beta 2. Mais le son n'a jamais fonctionné. Dans l'interface "emulationstation", dans "Menu principal > Options du son" : Cela indique :
VOLUME DU SYSTEME : 0% MUSIQUE DE FOND : ON SORTIE AUDIO : AUTO
J'ai monté le volume à 100%, quand je clique sur "RETOUR" et que je retourne dans les options du son, je retrouve le volume configuré sur 0%. J'ai essayé de modifier le fichier "/recalbox/share/system/recalbox.conf" en forçant à 100 le volume :
audio.volume=100
Mon fichier "/recalbox/share/system/recalbox.conf" est le suivant :
System Variable # You can configure your recalbox from here # To set a variable, remove the first ; on the line # ------------ A - System Options ----------- # ## Recalbox Manager (http manager) system.manager.enabled=1 ## Recalbox API (REST) system.api.enabled=0 ## EmulationStation menu style ## default -> default all options menu ## none -> no menu except the game search menu ## bartop -> less menu, only needed for bartops system.es.menu=default ## Emulator special keys ## default -> default all special keys ## nomenu -> cannot popup the emulator menu ## none -> no special keys in emulators system.emulators.specialkey=default ## Show or hide kodi in emulationstation (0,1) kodi.enabled=0 ## Start kodi at launch (0,1) kodi.atstartup=0 ## set x button shortcut (0,1) kodi.xbutton=1 ## Kodi can wait for a network component before starting ## waithost is the ip or hostname that must answer to a ping to validate the availability ## waittime is the maximum time waited when kodi boots ## if waitmode is required, kodi will not start if the component is not available ## if waitmode is wish, kodi will start if the component is not available ## if waitmode is not set or has an other value, kodi will start immediatly ;kodi.network.waitmode=required ;kodi.network.waittime=10 ;kodi.network.waithost=192.168.0.50 # ------------ B - Network ------------ # ## Set system hostname system.hostname=RECALBOX ## Activate wifi (0,1) wifi.enabled=0 ## Wifi SSID (string) ;wifi.ssid=new ssid ## Wifi KEY (string) ;wifi.key=new key ## Samba share system.samba.enabled=1 ### Virtual Gamepads system.virtual-gamepads.enabled=1 ### SSH system.ssh.enabled=1 # ------------ C - Audio ------------ # ## Set the audio device (auto, hdmi, jack) audio.device=auto ## Set system volume (0..100) audio.volume=100 ## Enable or disable system sounds in ES (0,1) audio.bgmusic=1 # -------------- D - Controllers ----------------- # # Enable support for standard bluetooth controllers controllers.bluetooth.enabled=1 ## Please enable only one of these # -------------- D1 - PS3 Controllers ------------ # ##Enable PS3 controllers support controllers.ps3.enabled=1 ## Choose an driver beetween official, shanwan and gasia if you have dualshock clones (official,shanwan,gasia) controllers.ps3.driver=official # ------------ D2 - XBOX Controllers ------------ # ## Xbox controllers are already supported, but xboxdrv can solve some compatibility issues ## Enable xboxdrv driver, disable this if you enabled ps3 controllers (0,1) controllers.xboxdrv.enabled=0 ## Set the amount of controllers to use with xboxdrv (0..4) controllers.xboxdrv.nbcontrols=2 # ------------ D3 - GPIO Controllers ------------ # ## GPIO Controllers ## enable controllers on GPIO with mk_arcarde_joystick_rpi (0,1) controllers.gpio.enabled=0 ## mk_gpio arguments, map=1 for one controller, map=1,2 for 2 (map=1,map=1,2) controllers.gpio.args=map=1,2 ## DB9 Controllers ## Enable DB9 drivers for atari, megadrive, amiga controllers (0,1) controllers.db9.enabled=0 ## db9 arguments controllers.db9.args=map=1 ## Gamecon controllers ## Enable gamecon controllers, for nes, snes psx (0,1) controllers.gamecon.enabled=0 ## gamecon_args controllers.gamecon.args=map=1 ## XGaming's XArcade Tankstik and other compatible devices controllers.xarcade.enabled=0 # ------------ F - Language and keyboard ------------ # ## Set the language of the system (fr_FR,en_US,en_GB,de_DE,pt_BR,es_ES,it_IT,eu_ES,tr_TR,zh_CN) system.language=fr_FR ## set the keyboard layout (fr,en,de,us,es) ;system.kblayout=fr ## Set you local time ## Select your timezone from : ls /usr/share/zoneinfo/ (string) ;system.timezone=Europe/Paris # ------------ G - UPDATES ------------ # ## Automatically check for updates at start (0,1) updates.enabled=1 # default : stable ; set to unstable to get the next version currently beeing tested. set to nightly at your own risk to get the developpment version. updates.type=stable # ------------ H - HERE IT IS - GLOBAL EMULATOR CONFIGURATION ------------ # ## The global value will be used for all emulators, exept if the value ## is redifined in the emulator ## Set game resolution for emulators ## select your mode from the command : tvservice -m [MODE] ## CEA 5 HDMI : 1920x1080 @ 60Hz 16:9, clock:74MHz interlaced ## CEA 4 HDMI : 1280x720 @ 60Hz 16:9, clock:74MHz progressive ## use 'default' for using the default resolution ## (string) global.videomode=CEA 5 HDMI ## Shader set ## Automatically select shaders for all systems ## (none, retro, scanlines) global.shaderset=none ## Set gpslp shader for all emulators (prefer shadersets above). Absolute path (string) global.shaders= ## Set ratio for all emulators (auto,4/3,16/9,16/10,custom) global.ratio=auto ## Set smooth for all emulators (0,1) global.smooth=1 ## Set rewind for all emulators (0,1) global.rewind=1 ## Set autosave/load savestate for all emulators (0,1) global.autosave=0 ## Enable retroarchievements (0,1) ## Set your www.retroachievements.org username/password global.retroachievements=0 global.retroachievements.username= global.retroachievements.password= ## Set retroarch input driver (auto, udev, sdl2) ## If you don't have issues with your controllers, let auto global.inputdriver=auto ## If you do not want recalboxOS to generate the configuration for all emulators (string) ;global.configfile=/path/to/my/configfile.cfg # ------------ I - EMULATORS CHOICES ----------- # ## You can override the global configuration here ## Here is the snes example ;snes.videomode=CEA 4 HDMI snes.core=snes9x_next ;snes.shaders=/recalbox/share/shaders/shaders_glsl/mysnesshader.gplsp ;snes.ratio=16/9 ;snes.smooth=0 ;snes.rewind=1 ;snes.autosave=0 ;snes.emulator=libretro ## If you do not want recalboxOS to generate the configuration for the emulator : ;snes.configfile=/path/to/my/configfile.cfg ## Default cores for RPi2 snes.core=snes9x_next gba.core=mgba mame.core=mame078 nes.core=fceunext ## The rewind option is deactivated by default on these unsupported cores (don't edit please) virtualboy.rewind=0 sega32x.rewind=0 segacd.rewind=0 psx.rewind=0 fbalibretro.rewind=0 vectrex.rewind=0 ## NeoGeo emulator ## You can use pifba or a libretro core (fba2x,libretro) neogeo.emulator=libretro ## If you set libretro as neogeo.emulator, the line below sets the retroarch core (fba,imame4all) neogeo.core=fba ## N64 emulator is configured to display a screen with a 640x480 resolution (native n64 resolution) ## So you must use one of these video modes (DMT 4 HDMI,CEA 1 HDMI). ## If your screen is not compatible with one of these video modes, please check the recalbox's wiki. n64.videomode=DMT 4 HDMI ## If you are using a CRT screen, please change the setting above with this one : # n64.videomode=default
Mon fichier "/boot/config.txt" est le suivant :
uncomment if you get no picture on HDMI for a default "safe" mode #hdmi_safe=1 disable_overscan=1 # uncomment to force a specific HDMI mode (this will force VGA) #hdmi_group=1 #hdmi_mode=1 # comment to get jack audio hdmi_drive=2 config_hdmi_boost=0 # force hdmi while the tv can take time before sending the signal on the hdmi output hdmi_force_hotplug=1 # uncomment for composite PAL #sdtv_mode=2 # uncomment for lirc-rpi #dtoverlay=lirc-rpi # if you plug your tv at the same time as your rpi and that the rpi switches from the hdmi or give a low resolution because tv had no enough time to initialize it boot_delay=3 # uncomment if you don't want the rainbow at startup disable_splash=1 # Overclock gpu_mem_256=128 gpu_mem_512=256 gpu_mem_1024=512 avoid_safe_mode=1 kernel=zImage # NOOBS Auto-generated Settings: hdmi_force_hotplug=1 config_hdmi_boost=4 overscan_left=24 overscan_right=24 overscan_top=16 overscan_bottom=16 disable_overscan=1 overscan_scale=0
J'ai poussé les investigations et j'ai trouvé des erreurs dans le fichier "/recalbox/share/system/.emulationstation/es_log.txt" :
lvl2: EmulationStation - v2.0.1a, built Mar 13 2016 - 17:03:22 lvl2: Setting local directory to /usr/bin/locale/lang lvl2: Locals set... lvl2: Creating surface... lvl2: Created window successfully. lvl2: Checking available OpenGL extensions... lvl2: ARB_texture_non_power_of_two: MISSING lvl0: VolumeControl::init() - Failed to find mixer elements! lvl0: VolumeControl::init() - Failed to find mixer elements! lvl0: MUSIC Error - Unable to open SDLMixer audio: ALSA: Couldn't open audio device: No such file or directory lvl0: MUSIC Error - Unable to open SDLMixer audio: ALSA: Couldn't open audio device: No such file or directory lvl2: Loading system config file /etc/emulationstation/es_systems.cfg... lvl2: creating thread for system snes ...
A noter qu'à la suite de ça, j'ai essayé l'installation de la version 3 (v3.3.0-beta17) sur une autre carte SD et là cela fonctionne parfaitement au niveau du son (dans l'interface ET dans les jeux). Je me dis donc que mon raspberry PI2 n'a pas de problème particulier à ce niveau là. Comme je trouve la version 3 moins bien que la version 4, j'aimerais bien trouver une solution sur la version 4. Toute idée serait la bienvenue...en vous remerciant par avance.