flathub / com.valvesoftware.Steam.Utility.gamescope

https://flathub.org/apps/details/com.valvesoftware.Steam.Utility.gamescope
20 stars 5 forks source link

How can I run this tool? #1

Open iMonZ opened 3 years ago

iMonZ commented 3 years ago

Hey,

how can I run this tool?

While executing this command: flatpak run com.valvesoftware.Steam.Utility.gamescope gamescope

I get this error:

bwrap: execvp /bin/sh: No such file or directory

Running Manjaro

xinyazhang commented 3 years ago

@iMonZ To run gamescope you need start steam as usual, go to the game you want to use with gamescope, and then change lauch options in properties of that game. For example, the following setting will let the game think it connects to a 4K monitor and get downscaled by gamescope to 1080p, ending up with 2X FSAA images.

gamescope -w 3840 -h 2160 -W 1920 -H 1080 -f -- %command%

It's not ideal for performance, but better than nothing (some games don't even have an option to enable any AA)

iMonZ commented 3 years ago

@iMonZ To run gamescope you need start steam as usual, go to the game you want to use with gamescope, and then change lauch options in properties of that game. For example, the following setting will let the game think it connects to a 4K monitor and get downscaled by gamescope to 1080p, ending up with 2X FSAA images.

gamescope -w 3840 -h 2160 -W 1920 -H 1080 -f -- %command%

It's not ideal for performance, but better than nothing (some games don't even have an option to enable any AA)

But the GameScope command can’t be found because flatpack doesn’t have the paths set like Snapcraft

xinyazhang commented 3 years ago

@iMonZ But the GameScope command can’t be found because flatpack doesn’t have the paths set like Snapcraft

Try plain gamescope or the full path /app/utils/gamescope/bin/gamescope (symlinked to /app/utils/bin) instead. Do not use /usr/bin/gamescope because it's not there.

In addition, you can inspect the container with flatpak run --command=/bin/sh com.valvesoftware.Steam The $PATH in the container should be /app/bin:/app/utils/bin:/usr/bin

hpfr commented 2 years ago

Edit: I mistakenly posted here thinking I had a similar issue with gamescope not running, but it turns out gamescope %command% works fine. What seems to fail is gamescope -w 1920 -h 1080 -- %command%, or even just gamescope -- %command%. This is probably a distinct issue.

Update: I am able to run games with gamescope options with gamescope -w 1920 -h 1080 %command%, but I am concerned this could lead to issues with gamescope accidentally parsing some of %command% as more gamescope options.

ghost commented 1 year ago

@iMonZ To run gamescope you need start steam as usual, go to the game you want to use with gamescope, and then change lauch options in properties of that game. For example, the following setting will let the game think it connects to a 4K monitor and get downscaled by gamescope to 1080p, ending up with 2X FSAA images.

gamescope -w 3840 -h 2160 -W 1920 -H 1080 -f -- %command%

It's not ideal for performance, but better than nothing (some games don't even have an option to enable any AA)

Hi, is it possible to launch gamepadui/bpm via flatpak gamescope?