moonlight-stream / moonlight-android

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

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

Open SchwingMC opened 2 weeks ago

SchwingMC commented 2 weeks 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 1 week 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 1 week ago

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

SchwingMC commented 1 week ago

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

SchwingMC commented 6 days 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 13 hours 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.