Lakka No Audio Problem

Installed Lakka on an old PC with NVidia Graphics card and I am having issues getting the sound to work through either HDMI or other means. The Lakka gui does not scroll through audio devices. I have tried testing audio with no luck. Not to familiar with Linux and would appreciate any advice would be appreciated.

Lakka:~ # aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=PCH
    HDA Intel PCH, ALC1150 Analog
    Default Audio Device
sysdefault:CARD=PCH
    HDA Intel PCH, ALC1150 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    Front output / input
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 1
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
    HDA NVidia, HDMI 2
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 3
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=4
    HDA NVidia, HDMI 4
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=5
    HDA NVidia, HDMI 5
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=6
    HDA NVidia, HDMI 6
    HDMI Audio Output

Lakka:~ # lsmod | grep snd
snd_seq                65536  3
snd_seq_device         16384  1 snd_seq
snd_hda_codec_realtek   118784  1
snd_hda_codec_generic    73728  1 snd_hda_codec_realtek
ledtrig_audio          16384  1 snd_hda_codec_generic
snd_hda_codec_hdmi     57344  1
snd_hda_intel          45056  0
snd_intel_dspcfg       20480  1 snd_hda_intel
snd_hda_codec         110592  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core           73728  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hwdep              16384  1 snd_hda_codec
snd_soc_rt5640        131072  0
snd_soc_rl6231         20480  1 snd_soc_rt5640

Lakka:~ # systemctl stop retroarch.service ; retroarch -v
[INFO] [Config]: Loading default config.
[INFO] [Config]: Looking for config in: "/storage/.config/retroarch/retroarch.cfg".
[INFO] RetroArch 1.9.10 (Git d11ffdbb6b)
[INFO] Spoke: RetroArch accessibility on.  Main Menu Load Core.
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
[INFO] Capabilities:  MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX
[INFO] Built: Oct  2 2021
[INFO] Version: 1.9.10
[INFO] Git: d11ffdbb6b
[INFO] =================================================
[INFO] [Input]: Found input driver: "udev".
[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
[INFO] Capabilities:  MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX
[INFO] Built: Oct  2 2021
[INFO] Version: 1.9.10
[INFO] Git: d11ffdbb6b
[INFO] =================================================
[INFO] [Input]: Found input driver: "udev".
[INFO] Version of libretro API: 1
[INFO] Compiled against API: 1
[INFO] [INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[Audio]: Set audio input rate to: 48000.00 Hz.
[INFO] [Video]: Video @ fullscreen
[INFO] [Video]: Starting threaded video driver ...
[INFO] Version of libretro API: 1
[INFO] Compiled against API: 1
[INFO] [Audio]: Set audio input rate to: 48000.00 Hz.
[INFO] [Video]: Video @ fullscreen
[INFO] [Video]: Starting threaded video driver ...
[INFO] [DRM]: Found 4 connectors.
[INFO] [DRM]: Found 4 connectors.
[INFO] [DRM]: Connector 0 connected: no
[INFO] [DRM]: Connector 0 has 0 modes.
[INFO] [INFO] [DRM]: Connector 0 connected: no
[DRM]: Connector 1 connected: no
[INFO] [INFO] [DRM]: Connector 0 has 0 modes.
[DRM]: Connector 1 has 0 modes.
[INFO] [INFO] [DRM]: Connector 1 connected: no
[DRM]: Connector 2 connected: yes
[INFO] [INFO] [DRM]: Connector 1 has 0 modes.
[DRM]: Connector 2 has 48 modes.
[INFO] [DRM]: Connector 2 assigned to monitor index: #1.
[INFO] [DRM]: Connector 3 connected: no
[INFO] [DRM]: Connector 3 has 0 modes.
[INFO] [DRM]: Connector 2 connected: yes
[INFO] [DRM]: Connector 2 has 48 modes.
[INFO] [DRM]: Connector 2 assigned to monitor index: #1.
[INFO] [DRM]: Connector 3 connected: no
[INFO] [DRM]: Connector 3 has 0 modes.
[INFO] [DRM]: Mode 0: (3840x2160) 3840 x 2160, 30.000000 Hz
[INFO] [DRM]: Mode 1: (4096x2160) 4096 x 2160, 30.000000 Hz
[INFO] [DRM]: Mode 2: (4096x2160) 4096 x 2160, 29.970001 Hz
[INFO] [INFO] [DRM]: Mode 3: (4096x2160) 4096 x 2160, 25.000000 Hz
[INFO] [DRM]: Mode 0: (3840x2160) 3840 x 2160, 30.000000 Hz
[DRM]: Mode 4: (4096x2160) 4096 x 2160, 24.000000 Hz
[INFO] [INFO] [DRM]: Mode 1: (4096x2160) 4096 x 2160, 30.000000 Hz
[DRM]: Mode 5: (4096x2160) 4096 x 2160, 23.976000 Hz
[INFO] [INFO] [DRM]: Mode 2: (4096x2160) 4096 x 2160, 29.970001 Hz
[DRM]: Mode 6: (3840x2160) 3840 x 2160, 29.970001 Hz
[INFO] [INFO] [DRM]: Mode 3: (4096x2160) 4096 x 2160, 25.000000 Hz
[DRM]: Mode 7: (3840x2160) 3840 x 2160, 25.000000 Hz
[INFO] [INFO] [DRM]: Mode 4: (4096x2160) 4096 x 2160, 24.000000 Hz
[DRM]: Mode 8: (3840x2160) 3840 x 2160, 24.000000 Hz
[INFO] [INFO] [DRM]: Mode 5: (4096x2160) 4096 x 2160, 23.976000 Hz
[DRM]: Mode 9: (3840x2160) 3840 x 2160, 23.976000 Hz
[INFO] [INFO] [DRM]: Mode 6: (3840x2160) 3840 x 2160, 29.970001 Hz
[DRM]: Mode 10: (1920x1080) 1920 x 1080, 60.000000 Hz
[INFO] [INFO] [DRM]: Mode 7: (3840x2160) 3840 x 2160, 25.000000 Hz
[DRM]: Mode 11: (1920x1080) 1920 x 1080, 59.940201 Hz
[INFO] [INFO] [DRM]: Mode 8: (3840x2160) 3840 x 2160, 24.000000 Hz
[DRM]: Mode 12: (1920x1080i) 1920 x 1080, 30.000000 Hz
[INFO] [INFO] [DRM]: Mode 9: (3840x2160) 3840 x 2160, 23.976000 Hz
[DRM]: Mode 13: (1920x1080i) 1920 x 1080, 29.970100 Hz
[INFO] [INFO] [DRM]: Mode 10: (1920x1080) 1920 x 1080, 60.000000 Hz
[DRM]: Mode 14: (1920x1080) 1920 x 1080, 50.000000 Hz
[INFO] [INFO] [DRM]: Mode 11: (1920x1080) 1920 x 1080, 59.940201 Hz
[DRM]: Mode 15: (1920x1080i) 1920 x 1080, 25.000000 Hz
[INFO] [INFO] [DRM]: Mode 12: (1920x1080i) 1920 x 1080, 30.000000 Hz
[DRM]: Mode 16: (1920x1080) 1920 x 1080, 30.000000 Hz
[INFO] [INFO] [DRM]: Mode 13: (1920x1080i) 1920 x 1080, 29.970100 Hz
[DRM]: Mode 17: (1920x1080) 1920 x 1080, 29.970100 Hz
[INFO] [INFO] [DRM]: Mode 14: (1920x1080) 1920 x 1080, 50.000000 Hz
[DRM]: Mode 18: (1920x1080) 1920 x 1080, 25.000000 Hz
[INFO] [INFO] [DRM]: Mode 15: (1920x1080i) 1920 x 1080, 25.000000 Hz
[DRM]: Mode 19: (1920x1080) 1920 x 1080, 24.000000 Hz
[INFO] [INFO] [DRM]: Mode 16: (1920x1080) 1920 x 1080, 30.000000 Hz
[DRM]: Mode 20: (1920x1080) 1920 x 1080, 23.976080 Hz
[INFO] [INFO] [DRM]: Mode 17: (1920x1080) 1920 x 1080, 29.970100 Hz
[DRM]: Mode 21: (1680x1050) 1680 x 1050, 59.883251 Hz
[INFO] [INFO] [DRM]: Mode 18: (1920x1080) 1920 x 1080, 25.000000 Hz
[DRM]: Mode 22: (1600x900) 1600 x 900, 60.000000 Hz
[INFO] [INFO] [DRM]: Mode 19: (1920x1080) 1920 x 1080, 24.000000 Hz
[DRM]: Mode 23: (1280x1024) 1280 x 1024, 75.024673 Hz
[INFO] [INFO] [DRM]: Mode 20: (1920x1080) 1920 x 1080, 23.976080 Hz
[DRM]: Mode 24: (1280x1024) 1280 x 1024, 60.019741 Hz
[INFO] [INFO] [DRM]: Mode 21: (1680x1050) 1680 x 1050, 59.883251 Hz
[DRM]: Mode 25: (1440x900) 1440 x 900, 59.901459 Hz
[INFO] [INFO] [DRM]: Mode 22: (1600x900) 1600 x 900, 60.000000 Hz
[DRM]: Mode 26: (1366x768) 1366 x 768, 59.789539 Hz
[INFO] [INFO] [DRM]: Mode 23: (1280x1024) 1280 x 1024, 75.024673 Hz
[DRM]: Mode 27: (1280x800) 1280 x 800, 59.909546 Hz
[INFO] [INFO] [DRM]: Mode 24: (1280x1024) 1280 x 1024, 60.019741 Hz
[DRM]: Mode 28: (1152x864) 1152 x 864, 75.000000 Hz
[INFO] [INFO] [DRM]: Mode 25: (1440x900) 1440 x 900, 59.901459 Hz
[DRM]: Mode 29: (1280x720) 1280 x 720, 60.000000 Hz
[INFO] [INFO] [DRM]: Mode 26: (1366x768) 1366 x 768, 59.789539 Hz
[DRM]: Mode 30: (1280x720) 1280 x 720, 59.940201 Hz
[INFO] [INFO] [DRM]: Mode 27: (1280x800) 1280 x 800, 59.909546 Hz
[DRM]: Mode 31: (1280x720) 1280 x 720, 50.000000 Hz
[INFO] [INFO] [DRM]: Mode 28: (1152x864) 1152 x 864, 75.000000 Hz
[DRM]: Mode 32: (1024x768) 1024 x 768, 75.028580 Hz
[INFO] [INFO] [DRM]: Mode 29: (1280x720) 1280 x 720, 60.000000 Hz
[DRM]: Mode 33: (1024x768) 1024 x 768, 70.069359 Hz
[INFO] [INFO] [DRM]: Mode 30: (1280x720) 1280 x 720, 59.940201 Hz
[DRM]: Mode 34: (1024x768) 1024 x 768, 60.003841 Hz
[INFO] [INFO] [DRM]: Mode 31: (1280x720) 1280 x 720, 50.000000 Hz
[DRM]: Mode 35: (832x624) 832 x 624, 74.551270 Hz
[INFO] [INFO] [DRM]: Mode 32: (1024x768) 1024 x 768, 75.028580 Hz
[DRM]: Mode 36: (800x600) 800 x 600, 75.000000 Hz
[INFO] [INFO] [DRM]: Mode 33: (1024x768) 1024 x 768, 70.069359 Hz
[DRM]: Mode 37: (800x600) 800 x 600, 72.187569 Hz
[INFO] [INFO] [DRM]: Mode 34: (1024x768) 1024 x 768, 60.003841 Hz
[DRM]: Mode 38: (800x600) 800 x 600, 60.316540 Hz
[INFO] [INFO] [DRM]: Mode 35: (832x624) 832 x 624, 74.551270 Hz
[DRM]: Mode 39: (720x576) 720 x 576, 50.000000 Hz
[INFO] [INFO] [DRM]: Mode 36: (800x600) 800 x 600, 75.000000 Hz
[DRM]: Mode 40: (720x480) 720 x 480, 60.000000 Hz
[INFO] [INFO] [DRM]: Mode 37: (800x600) 800 x 600, 72.187569 Hz
[DRM]: Mode 41: (720x480) 720 x 480, 59.940060 Hz
[INFO] [INFO] [DRM]: Mode 38: (800x600) 800 x 600, 60.316540 Hz
[DRM]: Mode 42: (640x480) 640 x 480, 75.000000 Hz
[INFO] [INFO] [DRM]: Mode 39: (720x576) 720 x 576, 50.000000 Hz
[DRM]: Mode 43: (640x480) 640 x 480, 72.808800 Hz
[INFO] [INFO] [DRM]: Mode 40: (720x480) 720 x 480, 60.000000 Hz
[DRM]: Mode 44: (640x480) 640 x 480, 66.666664 Hz
[INFO] [INFO] [DRM]: Mode 41: (720x480) 720 x 480, 59.940060 Hz
[DRM]: Mode 45: (640x480) 640 x 480, 60.000000 Hz
[INFO] [INFO] [DRM]: Mode 42: (640x480) 640 x 480, 75.000000 Hz
[DRM]: Mode 46: (640x480) 640 x 480, 59.940475 Hz
[INFO] [INFO] [DRM]: Mode 43: (640x480) 640 x 480, 72.808800 Hz
[DRM]: Mode 47: (720x400) 720 x 400, 70.081665 Hz
[INFO] [DRM]: Mode 44: (640x480) 640 x 480, 66.666664 Hz
[INFO] [DRM]: Mode 45: (640x480) 640 x 480, 60.000000 Hz
[INFO] [DRM]: Mode 46: (640x480) 640 x 480, 59.940475 Hz
[INFO] [DRM]: Mode 47: (720x400) 720 x 400, 70.081665 Hz
[INFO] [GL]: Found GL context: kms
[INFO] [GL]: Detecting screen resolution 3840x2160.
[INFO] [GL]: Found GL context: kms
[INFO] [GL]: Detecting screen resolution 3840x2160.
[INFO] [EGL] Found EGL_EXT_platform_base, trying eglGetPlatformDisplayEXT
[INFO] [EGL] Found EGL_EXT_platform_base, trying eglGetPlatformDisplayEXT
[INFO] [INFO] [EGL]: EGL version: 1.5
[EGL]: EGL version: 1.5
[INFO] [INFO] [EGL]: Current context: 0x7f67840040c0.
[EGL]: Current context: 0x7f67840040c0.
[INFO] [INFO] [KMS]: New FB: 3840x2160 (stride: 15360).
[KMS]: New FB: 3840x2160 (stride: 15360).
[INFO] [GL]: Vendor: nouveau, Renderer: NV124.
[INFO] [GL]: Version: 4.3 (Compatibility Profile) Mesa 21.2.3.
[INFO] [GL]: Using resolution 3840x2160
[INFO] [GL]: Default shader backend found: glsl.
[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] Setting up menu pipeline shaders for XMB ...
[INFO] [GLSL]: Compiling ribbon shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling simple ribbon shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling snow shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling modern snow shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling bokeh shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling snowflake shader..
[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] [Font]: Using font rendering backend: freetype.
[INFO] [Video]: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver.
[INFO] [udev]: Keyboard #0: "Power Button" (/dev/input/event2).
[INFO] [udev]: Keyboard #1: "Power Button" (/dev/input/event0).
[INFO] [udev]: Keyboard #2: "Sleep Button" (/dev/input/event1).
[INFO] [udev]: Keyboard #3: "Logitech Wireless Keyboard PID:4023" (/dev/input/event3).
[INFO] [udev]: Mouse #0: "Logitech Wireless Mouse" (/dev/input/event4).
[INFO] [udev]: Pad #0 (/dev/input/event5) supports force feedback.
[INFO] [udev]: Pad #0 (/dev/input/event5) supports 16 force feedback effects.
[INFO] [Joypad]: Found joypad driver: "udev".
[INFO] [Video]: Found display server: null
[WARN] [udev]: Mouse grab/ungrab feature unavailable.
[ERROR] ALSA: Failed to initialize...
[ERROR] Failed to initialize audio driver. Will continue without audio.
wifi is not available
[INFO] [Display]: Found display driver: "gl".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[ERROR] Failed to initialize the UDS command interface.
[INFO] [SRAM]: SRAM will not be saved.
[INFO] [Playlist]: Loading history file: [/storage/.config/retroarch/content_history.lpl].
[INFO] [Playlist]: Loading history file: [/storage/.config/retroarch/content_music_history.lpl].
[INFO] [Playlist]: Loading history file: [/storage/.config/retroarch/content_video_history.lpl].
[INFO] [Playlist]: Loading history file: [/storage/.config/retroarch/content_image_history.lpl].
[INFO] [Playlist]: Loading favorites file: [/storage/.config/retroarch/content_favorites.lpl].
[ERROR] failed_to_start_audio_driver
[INFO] Spoke: 100%: Generic X-Box pad configured in port #1
[INFO] [KMS]: New FB: 3840x2160 (stride: 15360).
[INFO] [KMS]: New FB: 3840x2160 (stride: 15360).
[ERROR] failed_to_start_audio_driver
[ERROR] failed_to_start_audio_driver
[INFO] [Config]: Saved new config to "/storage/.config/retroarch/retroarch.cfg".
[INFO] Spoke: Saved new config to "/storage/.config/retroarch/retroarch.cfg".
[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[INFO] [Core]: Unloading core..
[INFO] [Core]: Unloading core symbols..
[INFO] Threaded video stats: Frames pushed: 4700, Frames dropped: 0.
1 Like

Just an FYI, logs should be posted using the “pre-formatted text” method.:grin:

You should try to connect by SSH then edit the configuration file

systemctl stop retroarch
nano /storage/.config/retroarch/retroarch.cfg

change audio_device to hdmi:CARD=NVidia,DEV=0 and restart RA with systemctl start retroarch.

If it does not work change audio device to hdmi:CARD=NVidia,DEV=1 and so on.

Don’t forget each time to stop RA before editing the configuration file.

HDMI audio Maxwell GPU should work according to the nouveau feature matrix.

But to get best performance it will better to have AMD or Intel HD GPU as they have better support with the open source driver not the fault of nouveau team which is doing an amazing work !

The HDMI sound worked briefly and then stopped. I switched to default:CARD=PCH and I now seem to be able to get sound from the AUX port and it will allow me to select output devices from the GUI. When attempting to switch to hdmi in the GUI the problem persists and removes the capability to switch within Lakka. Any additional ideas are welcome but at least I have some sound at the moment.

Please try to provide some log with createlog.

Thank you.

Here are the Audio Logs

################################################################################
# ... output of aplay -l
# Lakka release: Generic.x86_64-3.5
# 
################################################################################
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC1150 Analog [ALC1150 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC1150 Digital [ALC1150 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 11: HDMI 5 [HDMI 5]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 12: HDMI 6 [HDMI 6]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

################################################################################
# ... output of aplay -L
# Lakka release: Generic.x86_64-3.5
# 
################################################################################
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=PCH
    HDA Intel PCH, ALC1150 Analog
    Default Audio Device
sysdefault:CARD=PCH
    HDA Intel PCH, ALC1150 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    Front output / input
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 1
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
    HDA NVidia, HDMI 2
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 3
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=4
    HDA NVidia, HDMI 4
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=5
    HDA NVidia, HDMI 5
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=6
    HDA NVidia, HDMI 6
    HDMI Audio Output

################################################################################
# ... output of amixer
# Lakka release: Generic.x86_64-3.5
# 
################################################################################
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Front Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Front Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 78 [90%] [-6.75dB] [on]
  Front Right: Playback 78 [90%] [-6.75dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Line Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Beep',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 0 [0%] [-17.25dB] [off]
  Front Right: Capture 0 [0%] [-17.25dB] [off]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 0 [0%] [-17.25dB] [off]
  Front Right: Capture 0 [0%] [-17.25dB] [off]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line'
  Item0: 'Front Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line'
  Item0: 'Front Mic'
Simple mixer control 'Loopback Mixing',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Rear Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Rear Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]

Thank you for the log, we should have also the dmesg log, it will be useful.

The HDMI sound worked briefly and then stopped.

Which HDMI audio device did you use ?