cloud-game: Very slow video performance
Hi,
I succesfully installed in my own VPS a version of cloud-game.
From a functional point of view, everything seems to work right, but the performance of the videostream makes the emulation unplayable.
Audio is smooth and responsive, but video halts constantly. Video works during 2-3 seconds, halts but audio and emulation goes ahead, Video catchs ups after severe frameskipping.
I’ve tried cloudretro.io and work great, with the same game (NES Contra in this case).
Some extra info:
C:\Users\anton>ping cloudretro.io
Haciendo ping a cloudretro.io [167.172.70.98] con 32 bytes de datos:
Respuesta desde 167.172.70.98: bytes=32 tiempo=167ms TTL=47
Respuesta desde 167.172.70.98: bytes=32 tiempo=167ms TTL=47
Respuesta desde 167.172.70.98: bytes=32 tiempo=166ms TTL=47
Respuesta desde 167.172.70.98: bytes=32 tiempo=168ms TTL=47
Estadísticas de ping para 167.172.70.98:
Paquetes: enviados = 4, recibidos = 4, perdidos = 0
(0% perdidos),
Tiempos aproximados de ida y vuelta en milisegundos:
**Mínimo = 166ms, Máximo = 168ms, Media = 167ms**
C:\Users\anton>ping 161.22.43.92 (-----> my VPS)
Haciendo ping a 161.22.43.92 con 32 bytes de datos:
Respuesta desde 161.22.43.92: bytes=32 tiempo=33ms TTL=57
Respuesta desde 161.22.43.92: bytes=32 tiempo=38ms TTL=57
Respuesta desde 161.22.43.92: bytes=32 tiempo=32ms TTL=57
Respuesta desde 161.22.43.92: bytes=32 tiempo=32ms TTL=57
Estadísticas de ping para 161.22.43.92:
Paquetes: enviados = 4, recibidos = 4, perdidos = 0
(0% perdidos),
Tiempos aproximados de ida y vuelta en milisegundos:
**Mínimo = 32ms, Máximo = 38ms, Media = 33ms**
my VPS seems to deal with things properly:
- 2 vCORES using 15% of capacity in worst scenario
- 800 kbps on network bandwith consumption when playing
Any clue on where to try to find the source of my problem?
Kind Regards
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 16 (4 by maintainers)
Hi!
I’ve changed the ISP and the way of connection. Now I’ve tried with new ISP + Ethernet (previously WiFi) and everything works flawlessly.
The ping is in the range of 10ms and there is not frame skipping.
I will close this issue
Hi @giongto35 , my VPS is live again at indie-cloud.com:8000.
As a wrap-up of the issue:
My VPS has ping in the range of 30ms, with reasonable iperf3 values but frameskipping is taking place, both in h.264 and vpx codecs. However vpx codec shows a better behaviour on end user side, making things more or less playable vs h.264 that is unplayable
@sergystepanov 's Oracle VPS shows the very same wrong behaviour on my end, with slightly slower ping (in the range of 40ms)
cloud-retro.com works from my side despite the high ping in the range of 170ms there is some lack of responsiveness in the controls (I believe due to ping) but no perceived frameskipping (nor in the webinternals stats)
Thanks a lot @giongto35 and @sergystepanov for your support
Hi @sergystepanov . Thanks for your support.
Answers to the question:
Client machine (Ubuntu VirtualBox on Windows 10)
Server VPS
I believe the jitter value of 0.841 ms 0,56% loss rate is acceptable and isn’t the source of the problem?
Regards
Hi again,
I’m in Spain an my VPS server where my copy of cloud-game is installed is also in Spain. Ping from my client machine to my VPS is in the range of 30ms.
From my client computer to cloudretro.io itself the ping jumps to near 170ms.
Point is that the 170ms ping version of cloud-game (cloudretro.io) works great and is responsible from my client machine and my VPS with 30ms Ping has a severe (video) lag as described previously. Seems that something in wrong somewere in my deploy and I need to tackle this somehow. Both tests has been done with the same machine, same browser (Brave) only a tab apart.
Any suggestion on logs or reports to look at would it be great finding my way on this.
Thanks a lot for your support