No audio, pi4, weekly beta recent. Slow game loads.
-
Hi all.
Fighting with audio on my new pi4.
Unable to get audio via HDMI or the 3.5mm Jack.
Using micro HDMI to VGA, has a 3.5mm splitoff for audio. Tried this and the on board 3.5mm.
This setup works in lakka.
Also, games take forever to launch even with a class 10 card.
Any ideas? -
@dirthurts Well, the audio issue seems to have sorted itself. I booted it up again today and it's working great. O.K. then.
But, I'm still having horribly long load times (we're talking over a minute for a SNES/Genesis game.
It's a Samsung Evo Class 10 card, so that shouldn't be the issue.Any ideas there?
-
It's a DEV BUILD. There are going to be mess-ups.
-
@dirthurts post a verbose log (see runcommand documentation).
-
@BuZz I've been digging around the documentation, can't find anything about Verbose Logging in particular...
Is this the page you were referring to?
https://retropie.org.uk/docs/Runcommand/ -
@dirthurts Enable verbose logging from the launch menu. Then head to /dev/shm/runcommand.log
-
@Darksavior Alrighty, so, I'm closer.
Using putty to go to /dev/shm/runcommand.logo I get
"-bash: /dev/shm/runcommand.log: Permission denied.
How do I gain permission to see this? -
@dirthurts That's a log file, you don't 'execute' it, you open it in a text editor (
nano /dev/shm/runcommand.log
) or look at it with a pager (less /dev/shm/runcommand.log
).
If you have SSH enabled, then use WinSCP to download the file on your PC, then upload its contents on pastebin.com to take a look. -
Oh, of course! Thank you. That makes perfect sense (really don't use linux much).
This is what I got out of it, unless I'm doing this wrong...
I didn't see anything obviously help to myself...Parameters:
Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-genesis-plus-gx/genesis_plus_gx_libretro.so --config /opt/retropie/configs/megadrive/retroarch.cfg "/home/pi/RetroPie/roms/megadrive/Contra - Hard Corps.7z" --verbose --appendconfig /dev/shm/retroarch.cfg
[INFO] RetroArch 1.8.4 (Git 9e25601)
[INFO] Redirecting save file to "/home/pi/RetroPie/roms/megadrive/Contra - Hard Corps.srm".
[INFO] Redirecting savestate to "/home/pi/RetroPie/roms/megadrive/Contra - Hard Corps.state".
[INFO] === Build =======================================
[INFO] Capabilities: NEON VFPv3 VFPv4
[INFO] Built: Feb 18 2020
[INFO] Version: 1.8.4
[INFO] Git: 9e25601
[INFO] =================================================
[INFO] Loading dynamic libretro core from: "/opt/retropie/libretrocores/lr-genesis-plus-gx/genesis_plus_gx_libretro.so"
[INFO] [Overrides] no core-specific overrides found at /home/pi/.config/retroarch/config/Genesis Plus GX/Genesis Plus GX.cfg.
[INFO] [Overrides] no content-dir-specific overrides found at /home/pi/.config/retroarch/config/Genesis Plus GX/megadrive.cfg.
[INFO] [Overrides] no game-specific overrides found at /home/pi/.config/retroarch/config/Genesis Plus GX/Contra - Hard Corps.cfg.
[INFO] [Environ]: GET_LANGUAGE: "0".
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_INTL.
[INFO] [Environ]: SET_CONTROLLER_INFO.
[INFO] [Environ]: SET_INPUT_DESCRIPTORS:
[INFO] Core requested VFS version >= v1, providing v3
[INFO] [Remaps]: remap directory: /opt/retropie/configs/megadrive/
[INFO] Redirecting save file to "/home/pi/RetroPie/roms/megadrive/Contra - Hard Corps.srm".
[INFO] Redirecting savestate to "/home/pi/RetroPie/roms/megadrive/Contra - Hard Corps.state".
[INFO] [Environ]: PERFORMANCE_LEVEL: 1.
[INFO] [Environ]: GET_LOG_INTERFACE.
[INFO] [Environ]: PERFORMANCE_LEVEL: 7.
[INFO] Content loading skipped. Implementation will load it on its own.
[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[libretro INFO] Frontend supports RGB565 - will use that instead of XRGB1555.
[INFO] [Environ]: SYSTEM_DIRECTORY: "/home/pi/RetroPie/BIOS".
[libretro INFO] Game Genie ROM should be located at: /home/pi/RetroPie/BIOS/ggenie.bin
[libretro INFO] Action Replay (Pro) ROM should be located at: /home/pi/RetroPie/BIOS/areplay.bin
[libretro INFO] Sonic & Knuckles (2 MB) ROM should be located at: /home/pi/RetroPie/BIOS/sk.bin
[libretro INFO] Sonic & Knuckles UPMEM (256 KB) ROM should be located at: /home/pi/RetroPie/BIOS/sk2chip.bin
[libretro INFO] Mega Drive TMSS BOOTROM should be located at: /home/pi/RetroPie/BIOS/bios_MD.bin
[libretro INFO] Game Gear TMSS BOOTROM should be located at: /home/pi/RetroPie/BIOS/bios.gg
[libretro INFO] Master System (PAL) BOOTROM should be located at: /home/pi/RetroPie/BIOS/bios_E.sms
[libretro INFO] Master System (NTSC-U) BOOTROM should be located at: /home/pi/RetroPie/BIOS/bios_U.sms
[libretro INFO] Master System (NTSC-J) BOOTROM should be located at: /home/pi/RetroPie/BIOS/bios_J.sms
[libretro INFO] Mega CD (PAL) BIOS should be located at: /home/pi/RetroPie/BIOS/bios_CD_E.bin
[libretro INFO] Sega CD (NTSC-U) BIOS should be located at: /home/pi/RetroPie/BIOS/bios_CD_U.bin
[libretro INFO] Mega CD (NTSC-J) BIOS should be located at: /home/pi/RetroPie/BIOS/bios_CD_J.bin
[libretro INFO] Mega CD (PAL) BRAM is located at: /home/pi/RetroPie/roms/megadrive//scd_E.brm
[libretro INFO] Sega CD (NTSC-U) BRAM is located at: /home/pi/RetroPie/roms/megadrive//scd_U.brm
[libretro INFO] Mega CD (NTSC-J) BRAM is located at: /home/pi/RetroPie/roms/megadrive//scd_J.brm
[libretro INFO] Sega/Mega CD RAM CART is located at: /home/pi/RetroPie/roms/megadrive//cart.brm
[libretro INFO] INFORMATION - Loading 2097152 bytes ...
[INFO] [RCHEEVOS]: ext_hash 0b88767f ('gen')
[INFO] [RCHEEVOS]: Load task finished
[INFO] Skipping SRAM load..
[INFO] Version of libretro API: 1
[INFO] Compiled against API: 1
[INFO] [Cheats]: Load game-specific cheatfile: /home/pi/.config/retroarch/cheats/Genesis Plus GX/Contra - Hard Corps.cht
[INFO] [Audio]: Set audio input rate to: 44156.86 Hz.
[INFO] [Video]: Video @ 1280x1024
[INFO] [Video]: Starting threaded video driver ...
[WARN] [DRM]: Couldn't get device resources.
[WARN] [DRM]: Couldn't get device resources.
[INFO] [DRM]: Found 1 connectors.
[INFO] [DRM]: Connector 0 connected: yes
[INFO] [DRM]: Connector 0 has 24 modes.
[INFO] [DRM]: Connector 0 assigned to monitor index: #1.
[INFO] [DRM]: Mode 0: (1280x1024) 1280 x 1024, 60 Hz
[INFO] [DRM]: Mode 1: (1920x1080) 1920 x 1080, 60 Hz
[INFO] [DRM]: Mode 2: (1920x1080) 1920 x 1080, 60 Hz
[INFO] [DRM]: Mode 3: (1280x1024) 1280 x 1024, 75 Hz
[INFO] [DRM]: Mode 4: (1280x960) 1280 x 960, 60 Hz
[INFO] [DRM]: Mode 5: (1152x864) 1152 x 864, 75 Hz
[INFO] [DRM]: Mode 6: (1280x720) 1280 x 720, 60 Hz
[INFO] [DRM]: Mode 7: (1280x720) 1280 x 720, 60 Hz
[INFO] [DRM]: Mode 8: (1024x768) 1024 x 768, 75 Hz
[INFO] [DRM]: Mode 9: (1024x768) 1024 x 768, 70 Hz
[INFO] [DRM]: Mode 10: (1024x768) 1024 x 768, 60 Hz
[INFO] [DRM]: Mode 11: (832x624) 832 x 624, 75 Hz
[INFO] [DRM]: Mode 12: (800x600) 800 x 600, 75 Hz
[INFO] [DRM]: Mode 13: (800x600) 800 x 600, 72 Hz
[INFO] [DRM]: Mode 14: (800x600) 800 x 600, 60 Hz
[INFO] [DRM]: Mode 15: (800x600) 800 x 600, 56 Hz
[INFO] [DRM]: Mode 16: (720x480) 720 x 480, 60 Hz
[INFO] [DRM]: Mode 17: (720x480) 720 x 480, 60 Hz
[INFO] [DRM]: Mode 18: (640x480) 640 x 480, 75 Hz
[INFO] [DRM]: Mode 19: (640x480) 640 x 480, 73 Hz
[INFO] [DRM]: Mode 20: (640x480) 640 x 480, 67 Hz
[INFO] [DRM]: Mode 21: (640x480) 640 x 480, 60 Hz
[INFO] [DRM]: Mode 22: (640x480) 640 x 480, 60 Hz
[INFO] [DRM]: Mode 23: (720x400) 720 x 400, 70 Hz
[INFO] [GL]: Found GL context: kms
[INFO] [GL]: Detecting screen resolution 1280x1024.
[INFO] [EGL] Found EGL client version >= 1.5, trying eglGetPlatformDisplay
[INFO] [EGL]: EGL version: 1.4
[INFO] [EGL]: Current context: 0xae001788.
[INFO] [KMS]: New FB: 1280x1024 (stride: 5120).
[INFO] [GL]: Vendor: Broadcom, Renderer: V3D 4.2.
[INFO] [GL]: Version: OpenGL ES 3.1 Mesa 19.3.2.
[INFO] [GL]: Using resolution 1280x1024
[INFO] [GL]: Default shader backend found: glsl.
[INFO] [Shaders]: preset directory: /home/pi/.config/retroarch/shaders/presets
[INFO] [Shader driver]: Using GLSL shader backend.
[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] [udev]: Keyboard #0 (/dev/input/event1).
[INFO] [udev]: Keyboard #1 (/dev/input/mouse0).
[INFO] [udev]: Mouse #0 (/dev/input/event1).
[INFO] [udev]: Mouse #1 (/dev/input/mouse0).
[INFO] [udev]: Plugged pad: 8BitDo Lite gamepad (1118:736) on port #0.
[INFO] [udev]: Pad #0 (/dev/input/event2) supports 0 force feedback effects.
[INFO] [Autoconf]: 3 profiles found.
[INFO] [Autoconf]: selected configuration: /home/pi/.config/retroarch/autoconfig/8BitDo Lite gamepad.cfg
[INFO] [Joypad]: Found joypad driver: "udev".
[INFO] [Font]: Using font rendering backend: stb-unicode.
[INFO] [Video]: Found display server: null
[INFO] Found shader "/home/pi/.config/retroarch/shaders/2xsal-level2-crt.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/2xsal.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/2xScaleHQ.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/barrel-distortion.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/barrel-distortion_lanczos4.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/barrel-distortion_phosphor.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/barrel-distortion_snes.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/Brighter-with_Contrast.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/bsnes_gamma_ramp.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/crt-pi-curvature-vertical.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/crt-pi-curvature.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/crt-pi-vertical.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/crt-pi.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/gameboy-screen-grid.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/gameboy.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/gameboy2.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/gba-color.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/hq2x&lcd3x.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/hq2x.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/hq2x2.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/hq2x_lcd3x.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/hq2x_phosphor.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/hq2xwaterpaint.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/hq2xwaterpaintscanline.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/hq4x.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/hq4x_lcd3x.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/nds-color.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/nds.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/nedi.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/palm-color.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/phosphor.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/psp-color.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/sharp-bilinear-2x-prescale.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/sharp-bilinear-scanlines.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/sharp-bilinear-simple.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/snes.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/snes2.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_hq2x.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_hq2xwaterpaint.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_hq2xwaterpainthicontrast.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_hq2xwaterpaintscanline.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_lcd3x.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_phosphor.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_scanline.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_waterpaint.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/stock.glsl"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/super-2xsai.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/super-eagle.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/vba-color.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/xbr-lv1-noblend.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/zfast_crt_curve.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/zfast_crt_curve_vertical.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/zfast_crt_standard.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/zfast_crt_standard_vertical.glslp"
[INFO] Found shader "/home/pi/.config/retroarch/shaders/zfast_lcd_standard.glslp"
[INFO] [ALSA]: Using signed 16-bit format.
[INFO] [ALSA]: Period size: 768 frames
[INFO] [ALSA]: Buffer size: 3072 frames
[INFO] [ALSA]: Can pause: no.
[INFO] [Menu]: Found menu display driver: "gl".
[INFO] [Font]: Using font rendering backend: stb-unicode.
[INFO] [Font]: Using font rendering backend: stb-unicode.
[INFO] [Menu]: Found menu display driver: "gl".
[CDROM] No sg devices found and sg kernel module is not loaded.
[INFO] [LED]: LED driver = 'null' 0x4bce28
[INFO] [MIDI]: Initializing ...
[INFO] [MIDI]: Input disabled.
[INFO] [MIDI]: Output disabled.
[INFO] [MIDI]: Initialized "alsa" driver.
[INFO] Loading history file: [/opt/retropie/configs/megadrive/content_history.lpl].
[INFO] Loading history file: [/opt/retropie/configs/megadrive/content_music_history.lpl].
[INFO] Loading history file: [/opt/retropie/configs/megadrive/content_video_history.lpl].
[INFO] Loading history file: [/opt/retropie/configs/megadrive/content_image_history.lpl].
[INFO] Loading favorites file: [/opt/retropie/configs/megadrive/content_favorites.lpl].
[INFO] SET_GEOMETRY: 320x224, aspect: 1.306.
[INFO] [KMS]: New FB: 1280x1024 (stride: 5120).
[INFO] [KMS]: New FB: 1280x1024 (stride: 5120).
[INFO] SET_GEOMETRY: 256x224, aspect: 1.306.
[INFO] SET_GEOMETRY: 320x224, aspect: 1.306.
[INFO] [Cheats]: Save game-specific cheatfile: /home/pi/.config/retroarch/cheats/Genesis Plus GX/Contra - Hard Corps.cht
[INFO] Saving RAM type #0 to "/home/pi/RetroPie/roms/megadrive/Contra - Hard Corps.srm".
[INFO] Saved successfully to "/home/pi/RetroPie/roms/megadrive/Contra - Hard Corps.srm".
[INFO] Content ran for a total of: 00 hours, 00 minutes, 12 seconds.
[INFO] Unloading game..
[INFO] Unloading core..
[INFO] Unloading core symbols..
[INFO] [Core Options]: Saved core options file to "/opt/retropie/configs/all/retroarch-core-options.cfg"
[INFO] Threaded video stats: Frames pushed: 741, Frames dropped: 0.
[INFO] Removing temporary content file: /tmp/retroarch/Contra - Hard Corps (U) [!].gen. -
There's no obvious error in the log and the lack of timestamps makes it difficult to know which steps times out. However, can you try disconnecting the 8bitdo gamepad and use the keyboard only just for a test ? See if the timeout still appears.
-
@mitu I'll do that.
Thinking back, the system does appear to hang until it pops up the controller being connected to the port, then it loads fast and suddenly.
If this is the issue is there a solution? -
@dirthurts said in No audio, pi4, weekly beta recent. Slow game loads.:
If this is the issue is there a solution?
I've seen this issue reported with Xinput based controllers - regardless if using RetroPie or not. Since these 8Bitdo controllers have multiple connection modes (PC/Switch), try changing the connection type from PC to Switch. Update the firmware on the controller, that helps sometimes.
-
@mitu switching the controller to the switch mode, which I didn't realize would even pair, fixed the loading issue. Crazy!
It does introduce some input lag but still very usable.Thanks so much!
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.