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
74
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
74
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
159
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
708
Trophies
0
XP
1,712
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
708
Trophies
0
XP
1,712
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
708
Trophies
0
XP
1,712
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
159
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
  • No one is chatting at the moment.
  • K3Nv2 @ K3Nv2:
    They should've just made it a movie at 50 minutes
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    No from Paramount Plus or whatever it is
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Psi now has access to every streaming and cable channel out
  • K3Nv2 @ K3Nv2:
    Eh I'd rather just download and delete is it already up on paramount?
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah it's on now
  • Xdqwerty @ Xdqwerty:
    @Psionic Roshambo, why are most new south park episodes half hour specials?
    +1
  • K3Nv2 @ K3Nv2:
    @Psionic Roshambo, let me get a Netflix account I've always been nice to you
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I made a honey pepper glazed turkey breast for dinner turned out pretty bomb
  • K3Nv2 @ K3Nv2:
    We can Netflix and chill
  • Xdqwerty @ Xdqwerty:
    Nvm not half hour, but hour long
  • Xdqwerty @ Xdqwerty:
    Normal south park episodes are already half hour
  • Psionic Roshambo @ Psionic Roshambo:
    Got 2 free Xumo boxes they work pretty good
  • K3Nv2 @ K3Nv2:
    I'm happy to get anything most series don't make it pass 6 seasons
  • Psionic Roshambo @ Psionic Roshambo:
    Except Stars and Encore those are being a bitch lol
  • K3Nv2 @ K3Nv2:
    I may consider that onn pro box finally a media box with type A ;O
    +1
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, cuz the companies don't want em to
  • K3Nv2 @ K3Nv2:
    No it's revenue and demand south park could argue has a bigger audience than family guy about the same
    +1
  • K3Nv2 @ K3Nv2:
    Family guy is worth 300mill south parks worth 1Bill according to the interwebs
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, probably cuz family guy is more disliked compared to south park
  • K3Nv2 @ K3Nv2:
    It just does the same formula south park can press buttons without going overboard
  • Xdqwerty @ Xdqwerty:
    And bc most of the family guy budget is spent on the voice actors rather than on the animation
  • K3Nv2 @ K3Nv2:
    Southpark could spend 30k on a animated dick and people would laugh at it
    +2
  • K3Nv2 @ K3Nv2:
    lol one prescription to Lizzo
  • Xdqwerty @ Xdqwerty:
    who is lizzo?
  • Xdqwerty @ Xdqwerty:
    yawn
    Xdqwerty @ Xdqwerty: yawn