UB
Universal Blue•12mo ago
Zelaf

Heroic Launcher - Can't change gamescope options because the executable is in /usr/bin

Heroic Launcher recently added gamescope support, it is technically available in the path but it's not reachable because flatpak refuses to share that directory.
$ flatpak run --command=bash com.heroicgameslauncher.hgl
[📦 com.heroicgameslauncher.hgl zelaf]$ gamescope
bash: gamescope: command not found
[📦 com.heroicgameslauncher.hgl zelaf]$
$ flatpak run --command=bash com.heroicgameslauncher.hgl
[📦 com.heroicgameslauncher.hgl zelaf]$ gamescope
bash: gamescope: command not found
[📦 com.heroicgameslauncher.hgl zelaf]$
No description
Solution:
Ah sweet, that for sure fixed it! Run flatpak install gamescope Select either user or system Then select runtime/org.freedesktop.Platform.VulkanLayer.gamescope/x86_64/23.08...
Jump to solution
12 Replies
Raltay
Raltay•12mo ago
I think you can use Flatseal (installed from flatpak) to modify which paths can be shared with given flatpak (among other permissions etc.)
Zelaf
ZelafOP•12mo ago
I can, but flatseal gives and error about not wanting to share the directory even if it's added to path or shared the gamescope executable directly from /usr/bin/gamescope
termdisc
termdisc•12mo ago
You need to install the flatpak gamescope
Kyle Gospo
Kyle Gospo•12mo ago
yeah, this will never work because flatpak can't access /usr you must install the gamescope flatpak as term said
dnkmmr
dnkmmr•12mo ago
why can't flatpaks access /usr? can flatpaks access /etc?
termdisc
termdisc•12mo ago
No, same reason
dreamyuki
dreamyuki•12mo ago
Flatpak design goal is to not rely on system libraries
Zelaf
ZelafOP•12mo ago
Ah, is there any difference on the gamescope versions of the flatpak one and the bazzite one? Like, will it be worth the effort if Bazzites gamescope has any special mods to make it more performant
Kyle Gospo
Kyle Gospo•12mo ago
They are on 3.13.19 like us no differences atm
Zelaf
ZelafOP•11mo ago
Installing Gamescope as flatpak didn't fix it sadly
termdisc
termdisc•11mo ago
You didn’t install the right package There are 3 that come up when you run flatpak install gamescope One of them is the right one, and you’ll need to determine which one it is based on the package name and the branch number at the end Heroic is running on the 23.08 branch, and you're not looking for something Steam-specific
Solution
Zelaf
Zelaf•11mo ago
Ah sweet, that for sure fixed it! Run flatpak install gamescope Select either user or system Then select runtime/org.freedesktop.Platform.VulkanLayer.gamescope/x86_64/23.08
Want results from more Discord servers?
Add your server