moonlight-stream / moonlight-android

GameStream client for Android
GNU General Public License v3.0
4.17k stars 666 forks source link

[Issue]: No 5.1 audio with moonlight on Fire TV #1362

Open SchwingMC opened 6 months ago

SchwingMC commented 6 months ago

Describe the bug

I'm using moonlight in combination with sunshine. Since today I got some audio issues. If I start a stream, the audio will stop after a few moments. This happens sometimes after a few seconds and sometimes after a few minutes. Sunshine is set to use steam streaming speakers. I tried to reinstall sunshine and moonlight, which didn't work. I also reinstalled the driver for the steam virtual speakers, without success. Everything worked fine till today. I also tried to select a different audio sink, but the same thing happens, no audio after a short while. The issue is resolved if I set moonlight to stereo output. However, if I switch back to 5.1 the issue reappears.

Steps to reproduce

Select 5.1 sound output in Moonlight. It seems to be that if sound playback is stopped, e.g. from the web browser, and then is restarted, threre is no sound. If stereo is selected in moonlight there is some cracking noise at the beginning of playback.

Affected games

Every game and desktop.

Other Moonlight clients

PC

Moonlight adjusted settings

No

Moonlight adjusted settings (please complete the following information)

Everything is at default.

Moonlight default settings

Yes

Gamepad-related connection issue

Yes

Gamepad-related input issue

Yes

Gamepad-related streaming issue

Yes

Android version

Latest Fire TV OS

Device model

Fire TV cube

Server PC OS version

Windows 11

Server PC GeForce Experience version

I'm using sunshine

Server PC Nvidia GPU driver version

552.22

Server PC antivirus and firewall software

Windows defender and Firewall

Screenshots

No response

Relevant log output

Additional context

No response

SchwingMC commented 6 months ago

Some update: I tried a headless dummy in the hdmi port. The same issue appears. 5.1 sound stops after a while, stereo sound seems to work, with the exception of some cracking noises at the beginning of playback. So it seems that this issue is not caused by steam streaming speakers. The internal Realtek soundcard has the same issue. It doesn't matter if audioplayback on host is enabled or not.

SchwingMC commented 6 months ago

Resetting the fire cube to default settings hat no result, the issue still persists,

SchwingMC commented 5 months ago

I also tried to use geforce experience, it had the same issue. So it seems to be no sunshine issue.

SchwingMC commented 5 months ago

I also tested a different Streaming Box ( Strong Leap S3+ with Android 11) The Soundfail still persists. I'm using a yamaha TSR 400 as AV receiver.

SchwingMC commented 5 months ago

So, i directly connected the PC to the AV receiver and this works flawless. So it indeed seems to be an Moonlight/Sunshine issue, everything else has been tested. It might also be Android, since I think Fire TV OS is also androind based.

massej commented 3 months ago

I have the same issue with moonlight 12.1 using a Fire TV Cube.

when i use moonlight 12.0.2 i don’t have this issue, it seems a new bug

sirTribble commented 2 months ago

Have the same problem here. My setup is Homatics Box R 4K Plus streaming box, Sony a7000 Soundbar, and Sony TV. The surround sound may drop at any time and after a while reappear. also believe there is some other bugreports of the same bug. I also tested 12.0.2 version and bug is there too. will try other older versions

sirTribble commented 2 months ago

Switched android streaming box with win 11 PC with moonlight. bug is gone. so this is definitely bug in android version of moonlight.

jaybulworth commented 1 month ago

Same problem here, if anyone finds a solution i'd be happy to hear it.