Pitfall and no audio
-
Hello all!
Long time lurker and this is my first post (please be gentle).
I recently lucked into a Intel NUC (NUC6i3SYK) and thought I would give RetroPie a whirl on it.
I installed Linux Mint 20.1 Cinnamon (x64) and have RetroPie 4.7.11 installed.
The first thing I wanted to try out was my favorite Atari 2600 game, Pitfall. It starts right up without any issue, but I immediately noticed that I had no sound. I tried other Atari 2600 games (Pitfall II, H.E.R.O., etc.) and the sound works just fine for those games. Only Pitfall results in no audio.
I tried Pitfall on the same system using the standalone stella2014 and stella emulators and the audio works just fine. I even installed the latest RetroArch with both the stella2014/stella cores and the audio works just fine with Pitfall.
For some odd reason, under RetroPie, Pitfall will not produce any sound.
I even tried different distros (Debian 9/10, MX Linux, etc.) and 64bit vs 32bit and all resulted in no audio for Pitfall under RetroPie.
Has anyone else with a similar setup experienced this? Am I doing something wrong?
Any help or suggestions would be greatly appreciated.
Thank you!
-
Just a quick update, I installed Linux Mint 20.1 on a desktop and installed/configured RetroPie for it. I can hear the sounds on Pitfall.
So the issue has to do with the Intel NUC and it's HDMI audio somehow. It's weird how it is only effecting Pitfall though.
Still, if someone has any suggestions on how I could get this working on the NUC, I welcome it!
Thanks!
-
Another follow up.
On a hunch, I plugged a set of earbuds into the 3.5mm audio jack on the front of the NUC. I can hear the Pitfall audio just fine.
How does one switch/force the audio to output to HDMI? Once again, it's very odd that Pitfall 2 and H.E.R.O., etc., does not do this.
Thanks.
-
Do you have any RetroArch override/config for the Pitfall ? A verbose log should show more info about why the audio is different for the game.
-
No, I do not have any RetroArch override/config for Pitfall.
I turned on verbose logging, but I'm not seeing anything interesting:
Parameters: Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-stella2014/stella2014_libretro.so --config /opt/retropie/configs/atari2600/retroarch.cfg "/home/retropie/RetroPie/roms/atari2600/Pitfall! - Pitfall Harry's Jungle Adventure.bin" --verbose --appendconfig /dev/shm/retroarch.cfg [INFO] RetroArch 1.8.8 (Git 9552f87) [INFO] Redirecting save file to "/home/retropie/RetroPie/roms/atari2600/Pitfall! - Pitfall Harry's Jungle Adventure.srm". [INFO] Redirecting save state to "/home/retropie/RetroPie/roms/atari2600/Pitfall! - Pitfall Harry's Jungle Adventure.state". [INFO] === Build ======================================= [INFO] CPU Model Name: Intel(R) Core(TM) i3-6100U CPU @ 2.30GHz [INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX [INFO] Built: Apr 14 2021 [INFO] Version: 1.8.8 [INFO] Git: 9552f87 [INFO] ================================================= [INFO] Loading dynamic libretro core from: "/opt/retropie/libretrocores/lr-stella2014/stella2014_libretro.so" [INFO] [Overrides] no core-specific overrides found at /home/retropie/.config/retroarch/config/Stella 2014/Stella 2014.cfg. [INFO] [Overrides] no content-dir-specific overrides found at /home/retropie/.config/retroarch/config/Stella 2014/atari2600.cfg. [INFO] [Overrides] no game-specific overrides found at /home/retropie/.config/retroarch/config/Stella 2014/Pitfall! - Pitfall Harry's Jungle Adventure.cfg. [INFO] [Environ]: GET_LANGUAGE: "0". [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_INTL. [INFO] [Remaps]: remap directory: /opt/retropie/configs/atari2600/ [INFO] Redirecting save file to "/home/retropie/RetroPie/roms/atari2600/Pitfall! - Pitfall Harry's Jungle Adventure.srm". [INFO] Redirecting save state to "/home/retropie/RetroPie/roms/atari2600/Pitfall! - Pitfall Harry's Jungle Adventure.state". [INFO] [Environ]: GET_LOG_INTERFACE. [INFO] [Environ]: PERFORMANCE_LEVEL: 4. [INFO] Loading content file: /home/retropie/RetroPie/roms/atari2600/Pitfall! - Pitfall Harry's Jungle Adventure.bin. [INFO] Did not find a valid content patch. [INFO] [Environ]: SET_INPUT_DESCRIPTORS: [INFO] [Environ]: SET_PIXEL_FORMAT: RGB565. [INFO] Skipping SRAM load.. [INFO] Version of libretro API: 1 [INFO] Compiled against API: 1 [INFO] [Cheats]: Load game-specific cheatfile: /home/retropie/.config/retroarch/cheats/Stella 2014/Pitfall! - Pitfall Harry's Jungle Adventure.cht [INFO] [Audio]: Set audio input rate to: 31441.92 Hz. [INFO] [Video]: Video @ 1920x1080 [ERROR] [Wayland]: Failed to connect to Wayland server. [INFO] [GL]: Found GL context: x [INFO] [GL]: Detecting screen resolution 1920x1080. [INFO] [GLX]: Window manager is Mutter (Muffin). [INFO] [XINERAMA]: Xinerama version: 1.1. [INFO] [XINERAMA]: Xinerama screens: 1. [INFO] [GLX]: Using Xinerama on screen #0. [INFO] [GLX]: X = 0, Y = 0, W = 1920, H = 1080. [INFO] [GLX]: Using windowed fullscreen. [INFO] [GLX]: Found swap function: glXSwapIntervalEXT. [INFO] [GLX]: glXSwapInterval(1) [INFO] [GL]: Vendor: Intel, Renderer: Mesa Intel(R) HD Graphics 520 (SKL GT2). [INFO] [GL]: Version: 4.6 (Compatibility Profile) Mesa 20.2.6. [INFO] [GL]: Using resolution 1920x1080 [INFO] [GL]: Default shader backend found: glsl. [INFO] [Shaders]: preset directory: /home/retropie/.config/retroarch/config [INFO] [Shaders]: preset directory: /opt/retropie/configs/atari2600/ [INFO] [Shaders]: preset directory: /home/retropie/.config/retroarch/shaders/presets [INFO] [Shader driver]: Using GLSL shader backend. [INFO] [GLSL]: Checking GLSL shader support ... [WARN] [GL]: Stock GLSL shaders will be used. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] [GLSL]: Found GLSL fragment shader. [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] [GLSL]: Found GLSL fragment shader. [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] [GLSL]: Found GLSL fragment shader. [INFO] [GLSL]: Linking GLSL program. [INFO] [GL]: Using 4 textures. [INFO] [GL]: Loaded 1 program(s). [INFO] [GL]: Using GL_RGB565 for texture uploads. [INFO] [udev]: Plugged pad: Microsoft X-Box 360 pad (1118:654) on port #0. [INFO] [udev]: Pad #0 (/dev/input/event9) supports force feedback. [INFO] [udev]: Pad #0 (/dev/input/event9) supports 16 force feedback effects. [INFO] [Joypad]: Found joypad driver: "udev". [INFO] [Font]: Using font rendering backend: stb-unicode. [INFO] [X11]: Suspending screensaver (X11, xdg-screensaver). [INFO] [Video]: Found display server: x11 [INFO] [PulseAudio]: Requested 24576 bytes buffer, got 18432. [INFO] [Menu]: Found menu display driver: "gl". [INFO] [Font]: Using font rendering backend: stb-unicode. [INFO] [Font]: Using font rendering backend: stb-unicode. [INFO] [Font]: Using font rendering backend: stb-unicode. [INFO] [Menu]: Found menu display driver: "gl". [INFO] [LED]: LED driver = 'null' 0x559e2d5c0260 [INFO] [MIDI]: Initializing ... [INFO] [MIDI]: Input disabled. [INFO] [MIDI]: Output disabled. [INFO] [MIDI]: Initialized "alsa" driver. [INFO] Loading history file: [/opt/retropie/configs/atari2600/content_history.lpl]. [INFO] Loading history file: [/opt/retropie/configs/atari2600/content_music_history.lpl]. [INFO] Loading history file: [/opt/retropie/configs/atari2600/content_video_history.lpl]. [INFO] Loading history file: [/opt/retropie/configs/atari2600/content_image_history.lpl]. [INFO] Loading favorites file: [/opt/retropie/configs/atari2600/content_favorites.lpl]. [INFO] [GL]: VSync => on [INFO] [GLX]: glXSwapInterval(1) [INFO] [Cheats]: Save game-specific cheatfile: /home/retropie/.config/retroarch/cheats/Stella 2014/Pitfall! - Pitfall Harry's Jungle Adventure.cht [INFO] Content ran for a total of: 00 hours, 00 minutes, 15 seconds. [INFO] Unloading game.. [INFO] [PulseAudio]: Pausing. [INFO] Unloading core.. [INFO] Unloading core symbols.. [INFO] [Core Options]: Saved core options file to "/opt/retropie/configs/all/retroarch-core-options.cfg" [INFO] [XINERAMA]: Xinerama version: 1.1. [INFO] [XINERAMA]: Xinerama screens: 1. [INFO] [XINERAMA]: Saved monitor #0. [INFO] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames. [INFO] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
I also turned on verbose logging for Pitfall II where the sound does properly go through HDMI and do not see any real difference between the two:
Parameters: Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-stella2014/stella2014_libretro.so --config /opt/retropie/configs/atari2600/retroarch.cfg "/home/retropie/RetroPie/roms/atari2600/Pitfall II - Lost Caverns.bin" --verbose --appendconfig /dev/shm/retroarch.cfg [INFO] RetroArch 1.8.8 (Git 9552f87) [INFO] Redirecting save file to "/home/retropie/RetroPie/roms/atari2600/Pitfall II - Lost Caverns.srm". [INFO] Redirecting save state to "/home/retropie/RetroPie/roms/atari2600/Pitfall II - Lost Caverns.state". [INFO] === Build ======================================= [INFO] CPU Model Name: Intel(R) Core(TM) i3-6100U CPU @ 2.30GHz [INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX [INFO] Built: Apr 14 2021 [INFO] Version: 1.8.8 [INFO] Git: 9552f87 [INFO] ================================================= [INFO] Loading dynamic libretro core from: "/opt/retropie/libretrocores/lr-stella2014/stella2014_libretro.so" [INFO] [Overrides] no core-specific overrides found at /home/retropie/.config/retroarch/config/Stella 2014/Stella 2014.cfg. [INFO] [Overrides] no content-dir-specific overrides found at /home/retropie/.config/retroarch/config/Stella 2014/atari2600.cfg. [INFO] [Overrides] no game-specific overrides found at /home/retropie/.config/retroarch/config/Stella 2014/Pitfall II - Lost Caverns.cfg. [INFO] [Environ]: GET_LANGUAGE: "0". [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_INTL. [INFO] [Remaps]: remap directory: /opt/retropie/configs/atari2600/ [INFO] Redirecting save file to "/home/retropie/RetroPie/roms/atari2600/Pitfall II - Lost Caverns.srm". [INFO] Redirecting save state to "/home/retropie/RetroPie/roms/atari2600/Pitfall II - Lost Caverns.state". [INFO] [Environ]: GET_LOG_INTERFACE. [INFO] [Environ]: PERFORMANCE_LEVEL: 4. [INFO] Loading content file: /home/retropie/RetroPie/roms/atari2600/Pitfall II - Lost Caverns.bin. [INFO] Did not find a valid content patch. [INFO] [Environ]: SET_INPUT_DESCRIPTORS: [INFO] [Environ]: SET_PIXEL_FORMAT: RGB565. [INFO] Skipping SRAM load.. [INFO] Version of libretro API: 1 [INFO] Compiled against API: 1 [INFO] [Cheats]: Load game-specific cheatfile: /home/retropie/.config/retroarch/cheats/Stella 2014/Pitfall II - Lost Caverns.cht [INFO] [Audio]: Set audio input rate to: 31441.92 Hz. [INFO] [Video]: Video @ 1920x1080 [ERROR] [Wayland]: Failed to connect to Wayland server. [INFO] [GL]: Found GL context: x [INFO] [GL]: Detecting screen resolution 1920x1080. [INFO] [GLX]: Window manager is Mutter (Muffin). [INFO] [XINERAMA]: Xinerama version: 1.1. [INFO] [XINERAMA]: Xinerama screens: 1. [INFO] [GLX]: Using Xinerama on screen #0. [INFO] [GLX]: X = 0, Y = 0, W = 1920, H = 1080. [INFO] [GLX]: Using windowed fullscreen. [INFO] [GLX]: Found swap function: glXSwapIntervalEXT. [INFO] [GLX]: glXSwapInterval(1) [INFO] [GL]: Vendor: Intel, Renderer: Mesa Intel(R) HD Graphics 520 (SKL GT2). [INFO] [GL]: Version: 4.6 (Compatibility Profile) Mesa 20.2.6. [INFO] [GL]: Using resolution 1920x1080 [INFO] [GL]: Default shader backend found: glsl. [INFO] [Shaders]: preset directory: /home/retropie/.config/retroarch/config [INFO] [Shaders]: preset directory: /opt/retropie/configs/atari2600/ [INFO] [Shaders]: preset directory: /home/retropie/.config/retroarch/shaders/presets [INFO] [Shader driver]: Using GLSL shader backend. [INFO] [GLSL]: Checking GLSL shader support ... [WARN] [GL]: Stock GLSL shaders will be used. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] [GLSL]: Found GLSL fragment shader. [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] [GLSL]: Found GLSL fragment shader. [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] [GLSL]: Found GLSL fragment shader. [INFO] [GLSL]: Linking GLSL program. [INFO] [GL]: Using 4 textures. [INFO] [GL]: Loaded 1 program(s). [INFO] [GL]: Using GL_RGB565 for texture uploads. [INFO] [udev]: Plugged pad: Microsoft X-Box 360 pad (1118:654) on port #0. [INFO] [udev]: Pad #0 (/dev/input/event9) supports force feedback. [INFO] [udev]: Pad #0 (/dev/input/event9) supports 16 force feedback effects. [INFO] [Joypad]: Found joypad driver: "udev". [INFO] [Font]: Using font rendering backend: stb-unicode. [INFO] [X11]: Suspending screensaver (X11, xdg-screensaver). [INFO] [Video]: Found display server: x11 [INFO] [PulseAudio]: Requested 24576 bytes buffer, got 18432. [INFO] [Menu]: Found menu display driver: "gl". [INFO] [Font]: Using font rendering backend: stb-unicode. [INFO] [Font]: Using font rendering backend: stb-unicode. [INFO] [Font]: Using font rendering backend: stb-unicode. [INFO] [Menu]: Found menu display driver: "gl". [INFO] [LED]: LED driver = 'null' 0x55bdcc9d0260 [INFO] [MIDI]: Initializing ... [INFO] [MIDI]: Input disabled. [INFO] [MIDI]: Output disabled. [INFO] [MIDI]: Initialized "alsa" driver. [INFO] Loading history file: [/opt/retropie/configs/atari2600/content_history.lpl]. [INFO] Loading history file: [/opt/retropie/configs/atari2600/content_music_history.lpl]. [INFO] Loading history file: [/opt/retropie/configs/atari2600/content_video_history.lpl]. [INFO] Loading history file: [/opt/retropie/configs/atari2600/content_image_history.lpl]. [INFO] Loading favorites file: [/opt/retropie/configs/atari2600/content_favorites.lpl]. [INFO] [GL]: VSync => on [INFO] [GLX]: glXSwapInterval(1) [INFO] Written to playlist file: /opt/retropie/configs/atari2600/content_history.lpl [INFO] [Cheats]: Save game-specific cheatfile: /home/retropie/.config/retroarch/cheats/Stella 2014/Pitfall II - Lost Caverns.cht [INFO] Content ran for a total of: 00 hours, 00 minutes, 14 seconds. [INFO] Unloading game.. [INFO] [PulseAudio]: Pausing. [INFO] Unloading core.. [INFO] Unloading core symbols.. [INFO] [Core Options]: Saved core options file to "/opt/retropie/configs/all/retroarch-core-options.cfg" [INFO] [XINERAMA]: Xinerama version: 1.1. [INFO] [XINERAMA]: Xinerama screens: 1. [INFO] [XINERAMA]: Saved monitor #0. [INFO] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames. [INFO] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
I'm stumped.
-
I finally have a solution that is working for me.
I found that if I have the PulseAudio Volume Control application (pavucontrol) open and then start emulationstation, Pitfall will properly output it's audio via HDMI.
As a kludge, I added PulseAudio Volume Control to my Startup Applications and now I consistently and seemingly have reliable audio output via HDMI.
It makes no sense to me whatsoever, but my best guess is that having it open forces it to use the Digital Stereo (HDMI) Output profile.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.