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.