Homebrew RELEASE Chiaki (PS5 & PS4 remote play) homebrew

User experience

  • good

    Votes: 21 65.6%
  • decent

    Votes: 8 25.0%
  • terrible

    Votes: 3 9.4%

  • Total voters
    32
  • Poll closed .

2excal7

Member
Newcomer
Joined
Feb 10, 2024
Messages
16
Trophies
0
Age
29
XP
72
Country
Indonesia
Thanks to Averne's response. I think the optimization job is done. Now from my test the latency can be as low as 46ms like my capture below.

Latest build is attached below, and if there is no any big change about ffmpeg, there will be no more update. Current performance can even support fps games well. Latest code is uploaded to https://git.sr.ht/~kkwong/chiaki, hope one day it can be integraded to official build.
Okay so, I've been kinda trying to push the app to its limits. I went streaming with 1080p60 while Docked, and found that a 1.4 GHz CPU overclock (everything else at stock) seems to be the sweet spot. However, I wanted to know how low I can get the CPU to go before the stream starts struggling, and I noticed a potential bug(?) with the stream's adaptive bitrate behaviour:

It never completely recovers back to its initial bitrate.

To replicate this behaviour, start a docked 1080p60 stream with a 1.4 GHz CPU overclock, then open the Tesla overlay menu. You might notice that at this point, the stream will struggle a bit as it tries to decode the video and render the overlay at the same time - this will tank the stream's bitrate slightly as it tries to adapt. Next, turn the OC off and let it run at stock speed - this will REALLY make the bitrate tank. Keep the overlay menu opened for at least 3 or so seconds, then close it. Wait another 3 or so seconds, then bring the CPU overclock back on to 1.4 GHz. At this point, the bitrate never recovers, and until you restart the app, the stream will continue to look like s***.
 
Last edited by 2excal7,

kaeotik

New Member
Newbie
Joined
Jun 28, 2020
Messages
3
Trophies
0
Age
32
XP
47
Country
Brazil
Okay so, I've been kinda trying to push the app to its limits. I went streaming with 1080p60 while Docked, and found that a 1.4 GHz CPU overclock (everything else at stock) seems to be the sweet spot. However, I wanted to know how low I can get the CPU to go before the stream starts struggling, and I noticed a potential bug(?) with the stream's adaptive bitrate behaviour:

It never completely recovers back to its initial bitrate.

To replicate this behaviour, start a docked 1080p60 stream with a 1.4 GHz CPU overclock, then open the Tesla overlay menu. You might notice that at this point, the stream will struggle a bit as it tries to decode the video and render the overlay at the same time - this will tank the stream's bitrate slightly as it tries to adapt. Next, turn the OC off and let it run at stock speed - this will REALLY make the bitrate tank. Keep the overlay menu opened for at least 3 or so seconds, then close it. Wait another 3 or so seconds, then bring the CPU overclock back on to 1.4 GHz. At this point, the bitrate never recovers, and until you restart the app, the stream will continue to look like s***.
This is what I do:
- Open overlay
- Set OC as the global profile
- Open Chiaki

Seems to work fine. If I try to open the overlay while Chiaki is running, Atmosphere will crash.
As long as I'm near a reliable wifi connection, I get a perfect 1080p stream with no stutters or quality loss (specially after kkwongs updates)
 

2excal7

Member
Newcomer
Joined
Feb 10, 2024
Messages
16
Trophies
0
Age
29
XP
72
Country
Indonesia
This is what I do:
- Open overlay
- Set OC as the global profile
- Open Chiaki

Seems to work fine. If I try to open the overlay while Chiaki is running, Atmosphere will crash.
As long as I'm near a reliable wifi connection, I get a perfect 1080p stream with no stutters or quality loss (specially after kkwongs updates)
The point that I'm trying to make is that, in low-quality connection situations (e.g while on the go with mobile hotspot), should the bitrate drop at any point, it'll not make an effort to raise the bitrate back up when the network conditions improve. You'd have to restart the app and reconnect to get your quality back.

This is obviously not gonna be applicable to everyone else's use case (which i assume is mostly just at home), but it certainly does mine.
 
  • Like
Reactions: sith

kkwong

Active Member
Newcomer
Joined
Nov 22, 2023
Messages
29
Trophies
0
Age
34
XP
156
Country
China
The point that I'm trying to make is that, in low-quality connection situations (e.g while on the go with mobile hotspot), should the bitrate drop at any point, it'll not make an effort to raise the bitrate back up when the network conditions improve. You'd have to restart the app and reconnect to get your quality back.

This is obviously not gonna be applicable to everyone else's use case (which i assume is mostly just at home), but it certainly does mine.
You indeed found a bug that I cannot resolve. In my development, I found that everytime I toggle tesla menu, nvdec would hang for a very short time ~ about 2ms. During this period, current decode frame will corrupt, and for next few frames, the corruption will continue and then recover.

That's a conflict between nvdec and tesla, it can be imporoved in future ffmpeg version. For now, setting clock before entering stream is the only way.
 
  • Like
Reactions: sith

Jayinem

Well-Known Member
Member
Joined
Dec 16, 2021
Messages
705
Trophies
0
XP
1,674
Country
United States
Using the latest nro for Switch, trying to play Final Fantasy VII Rebirth on PS5 I get occasional garbage on screen and slow down that lasts a few seconds then goes away but then comes back every few minutes. Any fix?
Post automatically merged:

PlayStation Remote Play [NSP Forwarder for Chiaki]

Where is it? There's nothing to download on your post.
 

Tmofnrev

Well-Known Member
Newcomer
Joined
Oct 13, 2021
Messages
77
Trophies
0
Age
34
XP
279
Country
United States
Using the latest nro for Switch, trying to play Final Fantasy VII Rebirth on PS5 I get occasional garbage on screen and slow down that lasts a few seconds then goes away but then comes back every few minutes. Any fix?
Post automatically merged:



Where is it? There's nothing to download on your post.
If been playing rebirth just fine 🤔 even in graphics mode. Maybe switch to performance mode?
 

Jayinem

Well-Known Member
Member
Joined
Dec 16, 2021
Messages
705
Trophies
0
XP
1,674
Country
United States
I've been using performance mode since the beginning.

Could it be my internet connection? I only have 300 mb download and that's wired.
 

Jayinem

Well-Known Member
Member
Joined
Dec 16, 2021
Messages
705
Trophies
0
XP
1,674
Country
United States
Yeah I use it for a regular PS4 as well and it works fine, only PS5 am I having issues.
Post automatically merged:

IDK then sorry 😔 I been having zero issues and my wifi is pretty shitty as well lol

Are you doing any OCing on your Switch? Is that required for PS5 to play smoothly?

I tried it on Windows and it played fine, I'm not OCing my Switch though.
 
Last edited by Jayinem,

kkwong

Active Member
Newcomer
Joined
Nov 22, 2023
Messages
29
Trophies
0
Age
34
XP
156
Country
China
Yeah I use it for a regular PS4 as well and it works fine, only PS5 am I having issues.
Post automatically merged:



Are you doing any OCing on your Switch? Is that required for PS5 to play smoothly?

I tried it on Windows and it played fine, I'm not OCing my Switch though.
Try using 5g wifi and set MTU to 1500? Switch's wifi module is not as good as your PC, so any packet loss in connection will lead to frame corruption.

If you're playing in handheld mode and using 720p, no OC is needed. 1080p may need to boost cpu to ~1400mhz.
 
Last edited by kkwong,
  • Like
Reactions: Jayinem and RAGER

Tmofnrev

Well-Known Member
Newcomer
Joined
Oct 13, 2021
Messages
77
Trophies
0
Age
34
XP
279
Country
United States
It is just a Forwarder pointing out to switch/chiaki.nro. So, You can set the overclocking profile and run it from home.
Correct, I gathered that from the post you replied to. I'm asking if you've used kkwongs most recent up to date build that he posted
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    I just want a Pokemon Hell Raiser fan game 😭
  • K3Nv2 @ K3Nv2:
    Anyone wanna play with my joydock
  • BigOnYa @ BigOnYa:
    Biomutant looks cool tho, may have to try that
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls.
    BigOnYa @ BigOnYa: I had to find and get him an old style flip phone even without text, cause thats what he wanted...