Pi3 no audio

Sorry new to this but I figured out how to get a terminal by using Putty and getting in via ssh. I run the command but cannot locate the log.txt file?

The file is where you launched RA. You can open it with an editor nano, vim or emacs ? Otherwise use for example less log.txt and copy and paste it.

If you can’t succeed to open it, use filezilla or winscp to copy the file on your PC.

I have kodi on a micro sd card so I pulled it and searched the entire card and it could not be found. My set up is a pi 3, Openelec 7.0, and Kodi 16.1. I open it through program addons.

Any help guys?

Please try to provide some log otherwise it will be difficult to help you.

Thank you.

[QUOTE=gouchi;52438]Can you try to provide some log ? Try to launch RA with :

retroarch --menu --verbose >> log.txt 2>&1

And the information is in the log.txt file.

Thank you.[/QUOTE]

I can’t seem to find the log.txt file… I’ve used Filezilla and searched the entire drive, I’ve pulled the micro SD card and searched it with my computer… I just can’t find it. I also don’t know how to run this command in Kodi as I can’t get a terminal unless I ssh in and that doesn’t seem to work either. I’m at a loss at this point. Are the steps different if it’s running on a pi?

You can type pwd before to get the path of the current directory then you launch RA.

pwd
retroarch --menu --verbose >> log.txt 2>&1

With my Vizio TV the only thing that works is running:


amixer cset numid=3 [b]2[/b]

to change the audio output to HDMI

The default setting is 0 (auto) which doesn’t always work for some reason.

if that command works, you can put it in autostart.sh so it gets run on boot

How are you getting a terminal on the pi to run these commands?

I can get in thru Putty…is that the correct way?

Holy crap I finally got it!! All the log says is

-sh: retroarch: not found-sh: retroarch: not found -sh: retroarch: not found

Thanks for the tip but still no audio…

[QUOTE=steev;53579]With my Vizio TV the only thing that works is running:


amixer cset numid=3 [B]2[/B]

to change the audio output to HDMI

The default setting is 0 (auto) which doesn’t always work for some reason.

if that command works, you can put it in autostart.sh so it gets run on boot[/QUOTE]

Yeah, with Putty or any other ssh client.

That’s too bad it didn’t work. Did you try it in combination with hdmi_drive=2?

Yeah I have the HDMI settings as:

Force HDMI even if unplugged or powered off

hdmi_force_hotplug=1 hdmi_force_edid_audio=1 hdmi_drive=2

I appreciate the help.

gouchi I can run the command via Putty and retrieve the log file with Filezilla but all it says is

-sh: retroarch: not found . Any ideas what I’m doing wrong?

[QUOTE=gouchi;52438]Can you try to provide some log ? Try to launch RA with :

retroarch --menu --verbose >> log.txt 2>&1

And the information is in the log.txt file.

Thank you.[/QUOTE]

Hey there, a bit late but did you try going to retroarch.cfg and changing the audio device to “sysdefault=CARD:ALSA” and the audio driver to “alsa”? that worked for me

audio_driver = “ALSA” audio_device = “sysdefault:CARD=ALSA”

You switched : with = :wink:

You can change audio device from the gui.

Hey everyone,

I am having the same issues with audio. only 2 devices show up with aplay, and neither of them are hdmi. I also have no audio devices shown in the gui.