Trouble with Sunshine streaming and VAAPI encoding
Hi all, I'm new to Bazzite and trying to build a streaming setup. I get a fair bit of hitching when playing, wired client and server. I think the server is not able to use the VAAPI encoder. My hardware is a Ryzen 7940HX (16C/32T) CPU with a Radeon 7900XT, and I've attached my sunshine log.
7 Replies
Here's a cut down section of log
Oh and I'm using plain stable mainline Bazzite
installed through the flatpak or the ujust
the ujust is the one that should be used.
also if you switch between desktop and gamemode, sunshine sometimes need to be restarted
Installed through ujust, and I didn't set up game mode, I just open steam to big picture mode at boot
when I enabled Moonlight statistics overlay the hitching is synced with large spikes in packets dropped due to network jitter, but I don't know if that helps
I think my stuttering is due to something else, it's much much better via Steam streaming but I get these periodic enormous spikes in lag
and moonlight is just reporting tons of packets dropped due to network jitter
You could give this a try:
https://github.com/jajabro1/Ally-Bazzite-Helper-Scripts/tree/main/Streaming_Stutter_Fix
GitHub
Ally-Bazzite-Helper-Scripts/Streaming_Stutter_Fix at main · jajabro...
Repo of scripts I use in Bazzite for Asus ROG Ally that help make my life easier. Primarily to fix streaming stuttering - jajabro1/Ally-Bazzite-Helper-Scripts
this looks like it's designed for wifi, i'm all wired. I've been making some progress here, it seems like things are okay as long as I limit my bandwidth setting to around 25 Mbps
I don't really understand why that would be the case on a 2.5 gigabit wired LAN, but it seems like this might be a question for the Moonlight discord instead. continuing to explore various settings.
VAAPI is probably working fine from what I can figure
okay I'm pretty sure this is a client side problem at this stage, my mistake for not testing other devices sooner. thanks all the same.
it is, i just looked at the log, the errors are in the part where it is testing what the card supports (which always generate errors and it even says "if there are any errors about encoders above this, ignore them")
i was heading to bed when i was answering you earlier