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 .

Mthodmn101

Well-Known Member
Member
Joined
Jan 31, 2008
Messages
650
Trophies
1
XP
1,712
Country
United States
could you verify the chiaki.conf ?
it should contain only one host.
if you do not see any duplicate, i might need the nxlink logs to go deeper.


hello blaww.
it looks like a registration pin code issue.
Could you try to run the homebrew a second time ?
do you have an additional password on your ps4 account ?

this is all i see

nT2PeWl.jpg
 
Last edited by Mthodmn101,

hippy dave

BBMB
Member
Joined
Apr 30, 2012
Messages
9,877
Trophies
2
XP
29,193
Country
United Kingdom
Did some very quick testing on 360p, 540p and 720p on both Wifi and a wired connections. (comparison videos on Imgur).
The fact that the results and graphical glitches between Wifi and Wired connections are basically the same, leads me to the conclusion, that network isn't the limiting factor here.

EDIT: Wired and Wifi connections on the Switch, btw. My PS4 always just uses LAN.
Good data. Did anyone try overclock yet? That was going to be my next experiment when I get back to it. The software video decoding will be heavy on the CPU, so OC could help.
 

blaww

Active Member
Newcomer
Joined
May 16, 2019
Messages
34
Trophies
0
Age
34
XP
469
Country
United States
could you verify the chiaki.conf ?
it should contain only one host.
if you do not see any duplicate, i might need the nxlink logs to go deeper.


hello blaww.
it looks like a registration pin code issue.
Could you try to run the homebrew a second time ?
do you have an additional password on your ps4 account ?
I got it sorted out, thanks! I was typing the PIN XXXX XXXX when it wanted XXXXXXXX. Also it works just fine running it the second, third, fourth times and so on.

Did some very quick testing on 360p, 540p and 720p on both Wifi and a wired connections. (comparison videos on Imgur).
The fact that the results and graphical glitches between Wifi and Wired connections are basically the same, leads me to the conclusion, that network isn't the limiting factor here.

I get the same graphical glitches at 720p, haven't tested lower resolutions yet. I'm testing with Sekiro and going into a menu fixes the graphics, but they quickly glitch out again after exiting and moving the character around. There's virtually no input lag as far as I can tell.
 

Mthodmn101

Well-Known Member
Member
Joined
Jan 31, 2008
Messages
650
Trophies
1
XP
1,712
Country
United States
Are you able to run devkitpro's nxlink(.exe) ? (open the homebrew netloader using Y button on hombrew screen) then
Code:
nxlink -a X.X.X.X -s ./chiaki.nro

Got it able to work a 2nd time, but only if the ps4 is on, I guess it cant wake it up from sleep mode? With Ps4 in sleep, i get green screen
 

H0neyBadger

Well-Known Member
OP
Newcomer
Joined
Oct 4, 2015
Messages
96
Trophies
0
XP
505
Country
France
Good data. Did anyone try overclock yet? That was going to be my next experiment when I get back to it. The software video decoding will be heavy on the CPU, so OC could help.

@hippy dave you are right about rendering.
In switch version all audio / video code are on cpu side (using sdl2).

I already tried to disable all graphic, audio, and controller input to keep the lib core only.
And unfortunately logs show the same drops and network related error. the main problem look somewhere else (socket buffer/ threads maybe. i do not know yet)

Got it able to work a 2nd time, but only if the ps4 is on, I guess it cant wake it up from sleep mode? With Ps4 in sleep, i get green screen

@Mthodmn101 there also is an open issue on chiaki upstream project
https://github.com/thestr4ng3r/chiaki/issues/217

--------------------- MERGED ---------------------------

Far from confirmation but overclocking CPU to 1.7GHz and memory to 1600MHz seems to have cleared up the graphics glitches at 720p. I've only played a few minutes but it's looking good
Amazing I did not expected that.
 
  • Like
Reactions: hippy dave

guywhatever

Active Member
Newcomer
Joined
Sep 27, 2008
Messages
36
Trophies
0
XP
524
Country
United States
Yes, overclocking seems to clear up the garbled mess you'll get when standard clocked. I'm very impressed with this so far and very much loving playing P5R on my switch. Thank you SO much.


*Edit*
Now all we need is the touch screen to be the touch button on the ps4 controller. It would be nice to get 1080p out of it as well, as 720 is as far as I can still go with the OC I think. I am loving this a lot.

*Edit 2*
I doubt there's any way to also cut the ps4 back on from sleep mode, but that would be awesome as well.
 
Last edited by guywhatever,
  • Like
Reactions: H0neyBadger

blaww

Active Member
Newcomer
Joined
May 16, 2019
Messages
34
Trophies
0
Age
34
XP
469
Country
United States
How do you do it?
sys-clk sysmodule with Tesla Overlay

After a bit more testing it seems like an OC as little as 1.2GHz is enough to prevent the graphics glitches. I wonder if there's something else going on here, because I can't imagine a measly 204MHz overclock would really make that much of a difference
 
Last edited by blaww,

uzimakiuchiha

Well-Known Member
Member
GBAtemp Patron
Joined
May 17, 2009
Messages
879
Trophies
2
XP
2,409
Country
United States
sys-clk sysmodule with Tesla Overlay

After a bit more testing it seems like an OC as little as 1.2GHz is enough to prevent the graphics glitches. I wonder if there's something else going on here, because I can't imagine a measly 204MHz overclock would really make that much of a difference

Yes it can, actually, because it's just inefficient memory use, when the code gets as efficient as possible, small changes like that will make smaller differences
 

uzimakiuchiha

Well-Known Member
Member
GBAtemp Patron
Joined
May 17, 2009
Messages
879
Trophies
2
XP
2,409
Country
United States
Hello,
I’m working on chiaki (ps4 remote play) switch homebrew.
I tested on my laptop and results are correct. But from nintendo switch network performances are really under my expectations.

Can someone (with a solid wifi) test the following Homebrew draft for me?
https://github.com/H0neyBadger/chiaki/blob/switch-test/switch/README.md#chiaki-config-file

This is a work in progress project, so there is no fancy GUI yet. currently only streaming is available.
But feel free to post your questions here or on github (or PM me if needed).

This project currently requires a configuration file `chiaki.conf` aside the chiaki.nro file on the SD card.
PS4’s IP and hostname are available under:
  • Settings > System > system information
instruction to obtain PSN account id:

I also recommend to:
  • use 90DNS to allow nintendo switch lan
  • use a wired connection for the PS4
  • change the nintendo switch’s network setting MTU from 1400 to 1500.

I’m considering buying a 802.11ac access point. But I’m not sure if it will do the tick or not.
Continuing this project is pointless if the wifi cannot handle a decent audio/video/controllers IO.

Any advice/feedback/contribution/help will be greatly appreciated.

EDIT download link: https://github.com/H0neyBadger/chiaki/releases/tag/v0.0.3-switch

Bro I flippin' love you for this. With overclock it runs pretty smooth @ 720/60fps, haven't tested 1080 because of the switch native resolution, I feel would be pointless. If you can add a way to edit the config from the app for resolution and frame rate, that would be awesome. I want to give you some love for porting this, got a donation account?
 

H0neyBadger

Well-Known Member
OP
Newcomer
Joined
Oct 4, 2015
Messages
96
Trophies
0
XP
505
Country
France
Bro I flippin' love you for this. With overclock it runs pretty smooth @ 720/60fps, haven't tested 1080 because of the switch native resolution, I feel would be pointless. If you can add a way to edit the config from the app for resolution and frame rate, that would be awesome. I want to give you some love for porting this, got a donation account?
So I hope we will not disappoint you ;-). https://github.com/thestr4ng3r/chiaki#acknowledgements they deserve all credit.

Hi,
After performances issues, the GUI will be the next step (including touch pad).
XorTroll's Plutonium GUI looks really good.
I will do my best on this project (on my spare time).
Contribution are welcome.
 

guywhatever

Active Member
Newcomer
Joined
Sep 27, 2008
Messages
36
Trophies
0
XP
524
Country
United States
Yes, touch pad would be a great addition since there are a lot of games that still require it (Yakuza, Horizon Zero Dawn, and so on). I tested 1080p with the max OC and it still couldn't handle it. From time to time on 720p I still get garbled signal, and I'm not sure if it's the homebrew or my own wireless causing the issues. I'm really excited to see this get better and better as this is exactly what I was waiting for!
 

TimeDevouncer

Well-Known Member
Member
Joined
Jun 7, 2018
Messages
142
Trophies
0
Age
39
XP
1,088
Country
Spain
Hi, I don't knoe how to use psn-account-id.py, I have python 3.7 installed, but when I try to use this .py I obtain this:

----

File "c:\psn-account-id.py", line 7
<!DOCTYPE html>
^
SyntaxError: invalid syntax

------


Any help please?
 

H0neyBadger

Well-Known Member
OP
Newcomer
Joined
Oct 4, 2015
Messages
96
Trophies
0
XP
505
Country
France
Hi, I don't knoe how to use psn-account-id.py, I have python 3.7 installed, but when I try to use this .py I obtain this:

----

File "c:\psn-account-id.py", line 7
<!DOCTYPE html>
^
SyntaxError: invalid syntax

------


Any help please?
Hi,
I think you have saved the web page instead of the python script itself.
please, the raw version instead to save the file on your harddrive https://raw.githubusercontent.com/thestr4ng3r/chiaki/master/scripts/psn-account-id.py
 
  • Like
Reactions: TimeDevouncer

TimeDevouncer

Well-Known Member
Member
Joined
Jun 7, 2018
Messages
142
Trophies
0
Age
39
XP
1,088
Country
Spain
  • Like
Reactions: H0neyBadger

Rahkeesh

Well-Known Member
Member
Joined
Apr 3, 2018
Messages
2,178
Trophies
1
Age
42
XP
3,261
Country
United States
Nothing is bound to touchpad press at the moment, right? Minus seems to be the PS button. Most games just use the touchpad as a select button, but I can't seem to get that working here?
 

H0neyBadger

Well-Known Member
OP
Newcomer
Joined
Oct 4, 2015
Messages
96
Trophies
0
XP
505
Country
France
Nothing is bound to touchpad press at the moment, right? Minus seems to be the PS button. Most games just use the touchpad as a select button, but I can't seem to get that working here?
right the touch pad is not implemented yet.

factually, some ps4 controller's features cannot be mapped on the nintendo switch:
  • analogs on r2, l2
  • touchpad press button
  • touchpad touch (use switch screen)
  • the PS / share button (the switch Home button cannot be used here)

Any advice on how to manage touchpad + touchpad press button ?
what to do with the share button ?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: https://m.youtube.com/watch?v=_NTF5_qgH0o