Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rramnel opened this issue Mar 16, 2024 · 14 comments
Open
Labels
bug Something isn't working

Comments

@rramnel
Copy link

rramnel commented Mar 16, 2024

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

@rramnel rramnel added the bug Something isn't working label Mar 16, 2024
@rramnel
Copy link
Author

rramnel commented Mar 19, 2024

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

@mariotaku
Copy link
Owner

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

@rramnel
Copy link
Author

rramnel commented Mar 19, 2024

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.

@mariotaku
Copy link
Owner

@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.

@rramnel
Copy link
Author

rramnel commented Mar 19, 2024

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.

@makedir
Copy link

makedir commented May 31, 2024

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.

@mariotaku
Copy link
Owner

mariotaku commented May 31, 2024

@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

@makedir
Copy link

makedir commented May 31, 2024

@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.

@mariotaku
Copy link
Owner

@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).

@makedir
Copy link

makedir commented May 31, 2024

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

@mariotaku
Copy link
Owner

@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.

@makedir
Copy link

makedir commented May 31, 2024

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.

@rramnel
Copy link
Author

rramnel commented May 31, 2024

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?

@makedir
Copy link

makedir commented May 31, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants