Skip to content

More rpi02 Instructions and tips

Blueroom VR edited this page May 19, 2022 · 48 revisions

Set CMA Memory Split

According to the Rpi engineer team you should not need to alter the GPU memory split from now on when using Bullseye. Apparently that's only for the legacy graphics+display stack. But if you're planning on using h265/hevc decode with a PS5 you might need to increase your CMA memory allocation. So if you see some hevc decode errors you might try editing your /boot/config.txt from,

dtoverlay=vc4-kms-v3d
to
dtoverlay=vc4-kms-v3d,cma-256

Remote Internet Play

There's now added support for connecting to Playstation hosts over the internet. Please read and follow these instructions to make it work.
In broad strokes this is what you'll need to do,

  • Set up Chiaki on a Raspberry Pi in a location where you also have a Playstation locally on the same LAN using the regualar instructions.
  • Use the same Raspberry or a different one somewhere else together with the Remote setup descriptions below.

You need to Port Forward the following ports for the site that has the actual Playstation console,
9295, 9296, 9297
and one/both of
987 for PS4
9302 for PS5 (not tested)

This is done somewhere in your Router's dashboard and is a bit different for different routers so you'll have to look around to find it.
For now you should enable both TCP and UDP for all or once its working you can experiment to remove TCP from some. My guess is only 9295 and 987/9302 need TCP. I will update here once Iv'e tested more.
Forward the above ports to the local IP address of your actual playstation. You can find that in the PS settings.

Copy your /home/pi/.config/Chiaki/Chiaki_rpi.conf to the same folder on the Remote site.
But rename the file your_new_name.remote
You can have several of these to allow connections to different remotes.

Find the external IP address of the location that has the PS console.
Maybe using something like https://www.whatismyip.com/
Write it somewhere so you can retrieve it from your 'external' site.

When you now start Chiaki at the external site you should get one or more remote names in the new gui widgets, matching whatever you used for 'your_new_name'.
Enter the IP address for the remote location. (this gets saved for future sessions)
Click 'Find Remote' then click the console icon to wakeup/play. The remote has its own settings.

Another cool thing with this is that it seems you can play co-op with one player at each site!

Screen Grabs for Background

Use 'R3 + Square' when in a game session to save out a screengrab. Once you re-start Chiaki that screengrab will show up behind all the Gui widgets.
To revert to default plain bg just remove the file /home/pi/.config/Chiaki/screengrab.jpg
Or you could even copy your own jpg in there with the same name and it should show up too.