HGL
frail-apricot
What is meant by We could not found gamescope on the PATH. Install it or add it to the PATH. ?
How do I add
gamescope
to my PATH? I have it installed on my system (arch), and I have Heroic installed as a Flatpak.16 Replies
Gotta install the Gamescope Flatpak if you're using Flatpak Heroic (yes, that could be communicated better)
Either install it from your Software Center of choice, or run the following command to install it:
frail-apricotOP•11mo ago
I installed it through Discover as well, though looking at it now it doesn't seem to be the flatpak version, weird
Running the flatpak install command, I get two options:
Which should I select?
Or if I run
flatpak install gamescope
it also gives me the steam version
EDIT: On Discover, it does say "Install from Flathub" and it still isn't showing in Heroic :/Any one there is fine
frail-apricotOP•11mo ago
Discover seems to install the steam gamescope flatpak, but it still has the same message that it hasn't found it
What's the output of
flatpak list --runtime
?frail-apricotOP•11mo ago
https://paste.rs/d4LPY
(its too long to paste into discord and writing it to file messed up the formatting)
Alright, that looks good
Did you restart Heroic after installing the Gamescope Flatpak?
frail-apricotOP•11mo ago
I have but I've reinstalled gamescope via Discover and will restart Heroic in a moment to test
Alright, if that's still not working, do send in the output of the following command:
frail-apricotOP•11mo ago
Still no gamescope found :x
I do not have a
/usr/lib/extensions
folder, it seemsYou are running that exact command, yes? That'll search for that folder in Heroic's sandbox, not on your actual filesystem
frail-apricotOP•11mo ago
$ flatpak run --command=ls com.heroicgameslauncher.hgl -l /usr/lib/extensions/vulkan/gamescope/bin
ls: cannot access '/usr/lib/extensions/vulkan/gamescope/bin': No such file or directory
Certainly strange. Quoting the project's README:
Here, we include a script that automatically adds the appropriate paths, so all you need to do is add- https://github.com/flathub/org.freedesktop.Platform.VulkanLayer.gamescope?tab=readme-ov-file#notes (that PATH variable is set automatically by Heroic, so all you should have to do is installing the package)/usr/lib/extensions/vulkan/gamescope/bin
to your Flatpak's PATH variable (--env=PATH=$PATH:/usr/lib/extensions/vulkan/gamescope/bin
).
jolly-crimson•11mo ago
not really, it needs to be
23.08
as this is what Heroic's runtime is atHuh, well that'll be it then. They're on 22.08
Apologies, learned something new today
adverse-sapphire•5mo ago
Hello, sorry to necro, I have the same problem, I installed gamescope version 24.08 through flatpak, restarted pc, then restarted Heroic, but it still can not detect gamescope. Should I uninstall 24.08 and install 23.08? Also, the path command doesn't work as it says that the directory doesn't exist.
EDIT: The solution to this is using Gamescope 23.08, no less, no more, just that.