flathub / flathub/org.ppsspp.PPSSPP

Multi-instance does not work with flatpak version.

Open
#69 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
No language data
Stars
7
Forks
12
PR merge metrics
No merged PRs in 30d

Description

When opening multiple PPSSPP Windows, the instances cannot detect one another thus multiplayer on the same PC does not work.

Multiple instance netplay depends on shared memory as seen on this commit
https://github.com/hrydgard/ppsspp/pull/14907
which fixes this issue:
https://github.com/hrydgard/ppsspp/issues/14906

Enabling shared memory (device=shm) with flatseal seems to fix the issue and the instances can detect each other, which can be easily verified by having a grayed out "Backend" option and muted audio on all but the first instance.
For some reason new instances stop being detected after the "Network Initialized" message.

Off-topic note: For playing with multiple saves on Linux I would recommended creating a script to run your other instances with a different HOME variable, thus one home folder for each player, and the device=shm permission needs to be set with flatseal (or command-line) for each one of them, otherwise all instances will use the same saves which may lead to conflicts in games where all saves are within one single file.

All of this was tested with Monster Hunter Portable 3rd.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with multiple Flatpak PPSSPP instances and inspect the shared-memory permission described in the issue. Compare behavior with device=shm enabled through Flatseal, especially after the "Network Initialized" message; done means new instances are detected and same-PC multiplayer works without manual permission changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.