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

Grant access to Gamescope socket for Steam Deck #73

Merged
merged 2 commits into from
Jan 26, 2024

Conversation

rakonkido
Copy link
Contributor

@rakonkido rakonkido commented Jan 21, 2024

I encounter this error every time I launch a PPSSPP game through Steam Deck's Game Mode UI:
20240120_180303

I've encountered it many times before when launching games through other Flatpaks, like those for Lutris, Heroic, and other emulators. Recently, I found that this error went away after adding support for HDR on Steam Deck to Lutris Flatpak -- itself based on the method used for enabling HDR support on Heroic and Chiaki4deck.

Similar to PRs I have made for RetroArch, Dolphin, and PrimeHack, I have tested and confirmed that just adding the gamescope-0 socket is enough to make the error go away, with no apparent regressions, if you have the Gamescope Flatpak installed:

flatpak install flathub org.freedesktop.Platform.VulkanLayer.gamescope

@flathubbot
Copy link
Contributor

Started test build 94793

@flathubbot
Copy link
Contributor

Build 94793 successful
To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/77541/org.ppsspp.PPSSPP.flatpakref

@flathubbot
Copy link
Contributor

Started test build 94801

@flathubbot
Copy link
Contributor

Build 94801 successful
To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/77549/org.ppsspp.PPSSPP.flatpakref

@catsout catsout merged commit ae771cf into flathub:master Jan 26, 2024
1 check passed
@bbhtt
Copy link

bbhtt commented Jan 26, 2024

I approved the change but note that the socket is not fixed, there may be a gamescope-1 -2... and so on. But this is not something that can be solved with static permissions.

gamescope-0 should work for most cases

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

Successfully merging this pull request may close these issues.

None yet

4 participants