redphx / better-xcloud

Userscript to improve Xbox Cloud Gaming (xCloud) and Remote Play experiences on web browsers
https://better-xcloud.github.io
MIT License
771 stars 47 forks source link

[Bug] Strange Behavior of the Script #466

Closed gigaversebr closed 1 month ago

gigaversebr commented 2 months ago

Checklist

Questions

Device

Desktop

Device

PC

Operating System

Windows 11

Android app/Browser Version

Last one

Better xCloud Version

Last one

Game list

Fortnite, LEGO Fortnite etc

Reproduction Steps

1 - Enable just some settings of the script 2 - Run the game

I have noticed something strange happening with my transmission, using Better xCloud the image loses quality and most of the time it is pixelated. Now running without the script, the transmission improves and the pixelation stops. Another curious fact is that the default script (without configuring anything) also does not affect the transmission at all. I don't know what could be the cause of this problem, maybe is missing some optimization or have something broken.

Screenshot/video

My configuration:

Captura de Tela (218) Captura de Tela (219)
gigaversebr commented 2 months ago

Another observation, which I forgot to mention. With the script disabled, the bitrate is around 9-13 Mb/s, now with the script enabled (without configuring, or configured) the bitrate is between 3-6 Mb/s and sometimes 10 Mb/s for a few seconds

gigaversebr commented 2 months ago

For me, the difference in quality and stability of the transmission with the script deactivated and activated is really visible. I just don't understand, because the script was supposedly to improve the transmission

redphx commented 2 months ago

How do you know the bitrate value when the script is disable?

gigaversebr commented 2 months ago

Using the task manager, I only let the xCloud open in the browser. I just don't know if it's really accurate

KingNothing81 commented 2 months ago

@gigaversebr: Are you sure that it's not the "Sharpness" setting that is causing the decrease in picture quality? Because for me even level 1 of "unsharp masking" already creates visible noise with some games. And I can see that you have set "Sharpness" level to "3".

gigaversebr commented 2 months ago

@KingNothing81 I thought about that too, but I already tried with this disabled and the same behavior remained. To be honest, in my perception this started to become more unstable after the bitrate speed adjustment setting was introduced. But I could be wrong, of course

redphx commented 2 months ago

The bitrate feature has nothing to do with this.
Unless you can prove it, I still don't believe this issue is real.

KingNothing81 commented 2 months ago

@gigaversebr: The option to prefer an IPv6 server is also not enabled by default. Maybe try to leave that disabled. Depending on your ISP / home network, using IPv6 might not work better and even decrease your connection quality. If that also doesn't make a difference, I'm out of ideas. Maybe you are facing some random and temporary connection / server issues that are on xCloud's side, but not caused by the script.

redphx commented 1 month ago

Invalid claim