moonlight-stream / moonlight-ios

GameStream client for iOS/tvOS
GNU General Public License v3.0
989 stars 247 forks source link

Oversaturated HDR on tvOS #582

Open anastasiuspernat opened 7 months ago

anastasiuspernat commented 7 months ago

It looks like Moonlight produces oversaturated very noisy HDR, specifically on tVOS. I don't have such a problem with iOS and all other apps like Infuse and TV+ produce correct HDR on the same Apple TV, and SDR content looks good. When I activate HDR both in Sunshine and Moonlight and in the app, the image looks like it's oversharpened JPEG - especially in the darks there's a lot of color noise.

Am I the only one having that problem?

Device details (please complete the following information)

Server PC details (please complete the following information)

parrydigm commented 5 months ago

I believe this is related to a known issue with HDR. I get around this by following the suggested workaround of turning HDR off and back on again.

If HDR is already enabled on your host PC when streaming starts, you may need to toggle HDR off and back on for the stream to enter HDR mode properly

anastasiuspernat commented 5 months ago

I believe this is related to a known issue with HDR. I get around this by following the suggested workaround of turning HDR off and back on again.

If HDR is already enabled on your host PC when streaming starts, you may need to toggle HDR off and back on for the stream to enter HDR mode properly

Thanks for the hint!

Actually after updating to tvOS 17.1 and using the most recent Sunshine the HDR now works great on my end! Not sure which one of those fixed it. Maybe Apple fixed something in their SDK or maybe it was an old Sunshine issue.

P.S. Also went from 3090 to 4090, maybe it was NVidia graphic drivers/hardware issues, how they encoded HEVC. Not sure, just a guess!

parrydigm commented 5 months ago

Ah, Sunshine keeps coming up - thanks for the hint back 🤣 I’ll install this weekend.