Need help to troubleshoot lack of audio

So I’ve got an old AMD setup that I have lakka running on.

The only issue I have is getting sound to function.

Starting here:

Lakka:~ # aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC1200 Analog [ALC1200 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC1200 Digital [ALC1200 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 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

I d/led a wav file and uploaded to the lakka system and using PuTTY I tried to playback the sound

Lakka:~ # aplay -D plughw:1,3 sound.wav
                 aplay -D plughw:1,7 sound.wav
                 aplay -D plughw:1,8 sound.wav
                 aplay -D plughw:1,9 sound.wav

A distortion sound can be heard when I use the 1,9 setup - the others are silent.

Quick question is the sound is played back at 8000hz rate is that why I hear pure distortion instead of the actual continuous tone?

So I try PuTTY again with

systemctl stop retroarch
nano .config/retroarch/retroarch.cfg
ctrl w > audio_device
"hw:1,9"
ctrl x > Y > press enter
systemctl start retroarch

Fire up a rom… still no sound - I ended up trying the other 3 hw options: 1,3; 1,7; 1,8

Next I tried:



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

followed by:

systemctl stop retroarch
nano .config/retroarch/retroarch.cfg
ctrl w > audio_device
"hdmi:CARD=NVidia,DEV=0"
ctrl x > Y > press enter
systemctl start retroarch

changing the DEV=# each time I would get a failed result until all options exhausted.

I tried changing from 48000 to 44100 with similar negative results.

I tried using the hdmi port from mother board but the framerate was not smooth(I tried loading a rom and still no sound - though I stopped after the first boot instead of trying to stop, edit and restart 10+ times again lol)

Is there another option I should try to edit? Maybe reinstall Lakka?

Hopefully I didnt kill the forum with my thread starter lol

Did you try with thenew version available (from the 3rd May) because now you can change audio device directly in the UI with menu Setting Tab > Audio > Audio Device.

To take effect you need to restart the game you can’t change it yet on the fly.

We have issue with audio hdmi and AMD graphics card but NVidia graphic cards should work fine. Which NVidia card do you have ?

Did you find something with dmesg, journalctl, launching retroarch manually ?

[QUOTE=gouchi;38244]Did you try with thenew version available (from the 3rd May) because now you can change audio device directly in the UI with menu Setting Tab > Audio > Audio Device.

To take effect you need to restart the game you can’t change it yet on the fly.

We have issue with audio hdmi and AMD graphics card but NVidia graphic cards should work fine. Which NVidia card do you have ?

Did you find something with dmesg, journalctl, launching retroarch manually ?[/QUOTE]

Updated just now thanks.

Gee… the set up looks great with the PS3 waves in action.

Oh wait.

— I’m a dick. My volume was set on -64. I been trying my setup the last few days pretty much on mute :frowning: