moonlight-stream / moonlight-embedded

Gamestream client for embedded systems
https://github.com/moonlight-stream/moonlight-embedded/wiki
GNU General Public License v3.0
1.52k stars 325 forks source link

No Sound #327

Closed BuzzKilll closed 8 years ago

BuzzKilll commented 8 years ago

When i stream, i get video but no audio, i uncommented hdmi_drive=2 in /boot/config.txt/ anyway, im using hdmi and wifi, no ethernet sadly? any help please?

Migs3 commented 8 years ago

Try adding dtparam=audio=on to /boot/config.txt

BuzzKilll commented 8 years ago

Didnt work

KWottrich commented 8 years ago

Have you tried streaming different games? I was getting no sound when I tried to stream a game using the Dolphin emulator, but sound worked when I tried a different game. (The solution for Dolphin audio, if it matters, was to switch to OpenAL for sound.)

dead commented 8 years ago

You need provide more info... What command line are you using to run the moonlight? It is a raspberry pi? 1? 2? What distro? Are you using an external audio? What audio backend are you using?

Anyway, take a look a this https://github.com/dead/moonlight-openelec-rpi2/issues/6#issuecomment-192888433 maybe it could help you.

BuzzKilll commented 8 years ago

Hi, even the default moonlight stream 192.168.1.2 dosent give out any sound, raspberry pi B+, raspian,and using hdmi and tv speakers, im using a custom app in gamestream which is my desktop

Migs3 commented 8 years ago

Let's start from ground zero... Do you get audio from other applications on the Pi? Not sure what else you might have on your Pi, but does anything else output sound?

Try doing this from the terminal: speaker-test -c2

Getting sound from this?

BuzzKilll commented 8 years ago

Yep

Migs3 commented 8 years ago

No errors during compile, correct? Do you hear the sound from the host computer while streaming?

BuzzKilll commented 8 years ago

Yeah i do, no errors

Migs3 commented 8 years ago

That's not working as expected. During stream, audio should be redirected to client, not playing on Host at all. Try using this option -audio sysdefault

Also, post the output from this command (lowercase L): aplay -l and from this one as well (uppercase L): aplay -L

BuzzKilll commented 8 years ago

-audio sysdeafult dosent work : http://pastebin.com/V5JFVg8A

Migs3 commented 8 years ago

how about this output: moonlight list

And what game(s) have you tested with?

BuzzKilll commented 8 years ago

I cant play any games, my geforce experience just wont update, just gives an error that it cannot connect to nvidea

Migs3 commented 8 years ago

You said you get video but no audio... I'm confused at the problem here...

BuzzKilll commented 8 years ago

no audio. thats all, i can stream my desktop but no games.

BuzzKilll commented 8 years ago

i get no audio via steam big picture or via desktop

Migs3 commented 8 years ago

What version of Geforce experience are you running?

BuzzKilll commented 8 years ago

v2.1.5.0

Migs3 commented 8 years ago

I'm surprised it does anything at all, you need to update this. http://www.geforce.com/geforce-experience/download

Migs3 commented 8 years ago

And even update the Video drivers probably too... http://www.nvidia.com/Download/index.aspx?lang=en-us

BuzzKilll commented 8 years ago

I wont be able to reply in about 20 mins or so, going out to a business dinner

BuzzKilll commented 8 years ago

but ill download them while im gone! :D thanks so far for the help

BuzzKilll commented 8 years ago

GeForce experience Works!, im updating drivers atm! Thanks ill get back to you soon!

BuzzKilll commented 8 years ago

IT WORKS, IT WAS MY AUDIO DRIVER! thanks again! bye bye now!