moonlight-stream / moonlight-qt

GameStream client for PCs (Windows, Mac, Linux, and Steam Link)
GNU General Public License v3.0
10.08k stars 590 forks source link

Moonlight PC - Dolby 5.1 doesn't work #1026

Open corvo4791 opened 1 year ago

corvo4791 commented 1 year ago

Hello.

I bought a good PC last month and I installed Moonlight to play Games on my TV SAMSUNG Q70A installed in the living room.

This is just to let you know that both the PC and TV can play audio in Dolby 5.1 and DTS without any problem.

Then the connection is as follows:

My PC ---> Moonlight ---> Tablet PC ---> TV

I tried to play RESIDENT EVIL 4 REMAKE and everything goes really smoothly. The only problem is that DOLBY DIGITAL 5.1 doesn't work. I can hear the game's sound but it's not 5.1.

I put HOME THEATER as an audio option in RESIDENT EVIL 4 REMAKE end I set SURROUND 5.1 in Moonlight's settings.

Despite this, I can't get any 5.1 audio

When I launch Moonlight on the Tablet connected to the TV, I can see that the audio device on the source Desktop PC is automatically switched to NVIDIA HDMI OUT.

When I try to test the audio of NVIDIA HDMI OUT (with right-click on the device and then clicking on TEST) I should listen to each sound to be played by every single Home Theatre speaker but what happens is that I can correctly listen to Center, Front, Left, and SubWoofer but I can hear Surround Left and Surround Right test sound just from front speakers.

I also tried with movies with DOLBY DIGITAL audio but still no luck, so the problem is not with RESIDENT EVIL 4 REMAKE.

I apologize for being so long in my explanation. I think the problem is in Moonlight, Nvidia HDMI Out, or Nvidia Network.

Do you know if any options must be activated in NVIDIA CONTROL PANEL, NVIDIA EXPERIENCE, or NVIDIA DRIVERS to make this work?

I discovered that HDCP is declared as NOT SUPPORTED on NVIDIA HDMI OUT. I attach my Host PC audio device properties (sorry, my Windows OS is in Italian but I hope is clear enough): Untitled-1

As you can see the device used by NVIDIA network does not support HDCP.

So, this is this the problem?

I have a 1000$ GeForce 4070 ti and for that price it should support everything from my point of view.

NVIDIA CONTROL PANEL says the HDCP is supported on every display.

Could you help me? Thanks.

Bobbar commented 1 year ago

Moonlight can only output uncompressed PCM audio, it cannot output Dolby Digital. And SPDIF can only support 2 channels of uncompressed PCM.

Does your TV support ARC? If so skip the USB sound card and just use the HDMI audio. You should be able to pass the audio to your AVR.

corvo4791 commented 1 year ago

Thanks for your answer. My TV supports eARC and the Tablet is connected to the HDMI port that supports it. The problem is the Tablet HDMI audio is 2.0. That's why I bought an external USB sound card with optical output.

Anyway, I've just renounced playing using the tablet. I have a Fire TV Stick MAX connected on the TV and I installed Moonlight over there. It supports DOLBY DIGITAL audio, HEVC encoding and HDR. My tablet is old and cannot support HEVC.

The only CON is that there's higher latency on the Firestick compared to the Tablet. This generates an input lag that didn't exist on the tablet.

I decided that better video quality and 5.1 audio are better than zero input lag. Also with a bit of input lag, offline games are absolutely payable.

I think I will open a ticket about this latency issue because on Fire TV Stick MAX Moonlight works really great. Without this latency problem it would be perfect.

Mixomo commented 1 month ago

Thanks for your answer. My TV supports eARC and the Tablet is connected to the HDMI port that supports it. The problem is the Tablet HDMI audio is 2.0. That's why I bought an external USB sound card with optical output.

Anyway, I've just renounced playing using the tablet. I have a Fire TV Stick MAX connected on the TV and I installed Moonlight over there. It supports DOLBY DIGITAL audio, HEVC encoding and HDR. My tablet is old and cannot support HEVC.

The only CON is that there's higher latency on the Firestick compared to the Tablet. This generates an input lag that didn't exist on the tablet.

I decided that better video quality and 5.1 audio are better than zero input lag. Also with a bit of input lag, offline games are absolutely payable.

I think I will open a ticket about this latency issue because on Fire TV Stick MAX Moonlight works really great. Without this latency problem it would be perfect.

I'm in the same boat, your AVR support HDMI video/audio as well? In my case, my AVR is quite old and only have Optical/coaxial for audio. No HDMI ports. So I have to connect the Fire Stick (HDMI) to my TV and from my TV use a coaxial cable to my AVR for surround sound (but not getting in Moonlight)