Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT.] : Support Steam installed via flatpak #814

Open
salva09 opened this issue Feb 22, 2025 · 3 comments
Open

[FEAT.] : Support Steam installed via flatpak #814

salva09 opened this issue Feb 22, 2025 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@salva09
Copy link

salva09 commented Feb 22, 2025

Problem

Right now the BSManager flatpak only supports Steam installed via the native package manager, it would be great if it could support Steam flatpak, especially for immutable systems where the main method of installing apps is via flatpak

Solution

Add necessary permissions in the BSManager flatpak manifest to detect proton in the steam flatpak directory, and even trying to add those permissions via flatseal, trying to launch a game results in a crash after the Beat Saber logo

Alternative Solution

No response

Operating System

None

Additional Context

No response

@salva09 salva09 added the enhancement New feature or request label Feb 22, 2025
@silentrald
Copy link
Contributor

@salva09 Can you send your BSManager logs, what version of BSManager, and what distro are you using.
Open BSManager -> Go to settings -> Scroll down -> Open Logs

@salva09
Copy link
Author

salva09 commented Feb 22, 2025

This are the logs when I try to run an instance of beat saber, I was using BSManager 1.5.2 in opensuse aeon, I have the same results on fedora silverblue
`[2025-02-22 16:57:14.901] [info] Linux exec command

flatpak-spawn --host ps awwxo pid,args | grep "[s]team-runtime-launcher-service"
[2025-02-22 16:57:14.980] [error] Error while checking if Steam is running as admin Error: Unable to build process from pid: File not found: /proc/5439
at m.isElevated (/app/lib/io.bsmanager.bsmanager/resources/app.asar/dist/main/main.js:14:1226980)
[2025-02-22 16:57:14.984] [info] Launch version {
version: {
BSVersion: '1.40.2',
BSManifest: '5496832903170665287',
OculusBinaryId: '8626990240734012',
ReleaseURL: 'https://steamcommunity.com/games/620980/announcements/detail/510697606000673692',
ReleaseImg: 'https://clan.fastly.steamstatic.com/images/32055887/04ad25256ffc2686f4ea19830e70df6b2752f728.png',
ReleaseDate: '1738951837',
year: '2025',
path: '/home/salva/BSManager/BSInstances/1.40.2',
ino: 371542,
metadata: { id: '622dd34b-006c-487e-ad91-13763bce0ffb', store: 'steam' }
},
launchMods: [ 'skip_steam' ],
command: 'PRESSURE_VESSEL_FILESYSTEMS_RW=$XDG_RUNTIME_DIR/wivrn/comp_ipc %command%',
admin: false
}
[2025-02-22 16:57:15.051] [info] Parsing env string "PRESSURE_VESSEL_FILESYSTEMS_RW=$XDG_RUNTIME_DIR/wivrn/comp_ipc "
[2025-02-22 16:57:15.051] [info] Injecting PRESSURE_VESSEL_FILESYSTEMS_RW="$XDG_RUNTIME_DIR/wivrn/comp_ipc" to the env launch command
[2025-02-22 16:57:15.051] [info] Linux spawn command
flatpak-spawn --host --env=SteamAppId="620980" --env=SteamOverlayGameId="620980" --env=SteamGameId="620980" --env=WINEDLLOVERRIDES="winhttp=n,b" --env=STEAM_COMPAT_DATA_PATH="/home/salva/BSManager/SharedContent/compatdata" --env=STEAM_COMPAT_INSTALL_PATH="/home/salva/BSManager/BSInstances/1.40.2" --env=STEAM_COMPAT_CLIENT_INSTALL_PATH="/home/salva/.steam/steam" --env=STEAM_COMPAT_APP_ID="620980" --env=SteamEnv="1" "/home/salva/.var/app/com.valvesoftware.Steam/data/Steam/steamapps/common/Proton Hotfix/proton" run "/home/salva/BSManager/BSInstances/1.40.2/Beat Saber.exe" --no-yeet
[2025-02-22 16:57:20.344] [info] BS process exit with code 0
[2025-02-22 16:57:20.345] [info] BS process exit code 0`

@silentrald
Copy link
Contributor

@salva09 can you try running the rpm build if you get the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants