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
158
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
707
Trophies
0
XP
1,686
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
707
Trophies
0
XP
1,686
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
707
Trophies
0
XP
1,686
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
158
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
  • SylverReZ @ SylverReZ:
    @K3Nv2, RIP Felix does great videos on the PS3 yellow-light-of-death.
  • Jayro @ Jayro:
    Eventhough the New 3DS XL is more powerful, I still feel like the DS Lite was a more polished system. It's a real shame that it never got an XL variant keeping the GBA slot. You'd have to go on AliExpress and buy an ML shell to give a DS phat the unofficial "DS Lite" treatment, and that's the best we'll ever get I'm afraid.
    +1
  • Jayro @ Jayro:
    The phat model had amazingly loud speakers tho.
    +1
  • SylverReZ @ SylverReZ:
    @Jayro, I don't see whats so special about the DS ML, its just a DS lite in a phat shell. At least the phat model had louder speakers, whereas the lite has a much better screen.
    +1
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +1
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
    cearp @ cearp: @BakerMan - you can still "own" digital media, arguably easier and better than physical since...