mariotaku / moonlight-tv

Lightweight NVIDIA GameStream Client, for LG webOS TV and embedded devices like Raspberry Pi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AV1 streaming is slow/laggy after upgrading to latest Sunshine version

rramnel opened this issue · comments

Moonlight Version

1.6.9

Device Type

webOS TV

Device Model

LG G2

Device OS

webOS 04.40.93

Host OS

None

Host Software

None

Host Setup

No response

Bug Description

I've had no issues streaming using AV1 on my LG G2. Everything worked great. But after I updated to the new Sunshine version looks like AV1 streaming is having the issues where the stream is very slow and laggy. If I switch to H.265 I have no problems. And it seems like Moonlight is unable to detect the resolution when I choose AV1 decoding (shows N/A under resolution in the performance stats). I've attached a screenshot as a reference.
IMG_1419

Reproduction Steps

No response

Expected Behavior

No response

Does anyone else have this issue? Or is there a workaround or fix to get AV1 working?

AV1 is experimental and probably won't have good performance compared to HEVC and H264.
Other users are experiencing same issues #371 #336 #329

Interestingly I had no issues earlier. Not sure if this is due to the new WebOS version or Sunshine update. As per my screenshot, it looks like the screen resolution cannot be detected when AV1 is turned on.

@rramnel AV1 resolution detection is not implemented yet, so it's not displaying resolution but shouldn't affect streaming.
For Sunshine version, if you could share the version before and after, it may be helpful finding out the reason why performance degrades.

The last sunshine version where I could stream AV1 with no issues was v0.21.0

But there has also been some WebOS updates as well, so I am not sure which one is causing the issue. And I haven't tried to rollback to the old Sunshine version to test it out.

Why are you not reporting it to Sunshine? I also have an issue right now with AV1 in Diablo 4, that the decoding breaks down to 60-80ms whenever I open the map in Diablo 4, closing map and it is fine again, no issue with h265 and h264. So not sure if this is the same issue.

@makedir I think both might be the cause. But again, AV1 isn't the best option for all the webOS TVs on the market yet. It has significantly higher latency compared to HEVC/H264

@mariotaku Is there some comparising how the codecs compare to each other quality wise? I still have the feeling AV1 looks better or sharper or has zero artefacts compared to h265 even at 50mbit.

@makedir Not on my side. AV1 surely looks nicer, it's just LG's TV isn't having powerful enough decoders for them (to many models).

@mariotaku even with α7 Gen5 ? was thinking about maybe buying a OLED65CS6LA it is for sale right now here.

@makedir Even with the best image processor, their main goal is probably smooth and beautiful playback instead of the lowest latency possible for game streaming.

Makes no sense, they advertised the partnership with Nvidia for Geforce Now with the new models.

https://presse.lg.de/2023/04/14/lg-tv-erweitert-auswahl-an-cloud-gaming-diensten/

The fun thing about it is, it just supports 4k@60 and not 4k@120 total fail again by LG.

Why are you not reporting it to Sunshine? I also have an issue right now with AV1 in Diablo 4, that the decoding breaks down to 60-80ms whenever I open the map in Diablo 4, closing map and it is fine again, no issue with h265 and h264. So not sure if this is the same issue.

That's a good idea. I didn't have any issues with AV1 on older version of Sunshine. Where did you report your issue? On their Discord channel?