HGL
metropolitan-bronze

How to use gamescope with heroic windows games

I'd like to use gamescope with windows games heroic but couldn't find a guide online to do so. Thanks in advance.
18 Replies
unwilling-turquoise
unwilling-turquoise3y ago
unfortunately gamescope does only work on linux. i wrote a guide on using it on linux with heroic (the first part / as argument in heroic / is outdated though).
metropolitan-bronze
metropolitan-bronzeOP3y ago
Thanks for the reply. Where can I access your guide ?
optimistic-gold
optimistic-gold3y ago
I don't know if it's the same guide, but there is one on the Heroic wiki. https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/wiki/How-To:-Other-Tools-and-Wrappers-(gamescope)
GitHub
How To: Other Tools and Wrappers (gamescope)
A Native GOG and Epic Games Launcher for Linux, Windows and Mac. - Heroic-Games-Launcher/HeroicGamesLauncher
metropolitan-bronze
metropolitan-bronzeOP3y ago
I tried it but couldn't get it to work.
optimistic-gold
optimistic-gold3y ago
What did you try? And how was the result not what you expected? What is your goal in using Gamescope?
metropolitan-bronze
metropolitan-bronzeOP3y ago
My goal is to run Mafia Definitive edition in 800x600 to get more fps and use FSR since the game doesn't offer that resolution. I tried adding environment variable as in the attached image. The result that the resolution doesn't change and confirmed by mangohud
No description
No description
optimistic-gold
optimistic-gold3y ago
You need to use the "wrapper" function, not variables.
unwilling-turquoise
unwilling-turquoise3y ago
this is exactly what is outdated, try the other method starting heroic through gamescope itself (proton / wine ge does not offer FSR anymore which makes this the only solution of getting fsr on all in your library) at least for me.
metropolitan-bronze
metropolitan-bronzeOP3y ago
I just tried this and the game doesn't open
No description
optimistic-gold
optimistic-gold3y ago
Omit the -W 800 and -H 600 arguments. If that doesn't work, check the logs for errors.
unwilling-turquoise
unwilling-turquoise3y ago
GDK_BACKEND=wayland gamescope -w 800 -h 600 -f -Y -R --RT --force-grab-cursor --prefer-vk-device --adaptive-sync --sharpness 15 -- /opt/Heroic/heroic --ozone-platform=x11 --enable-features=UseOzonePlatform,WaylandWindowDecorations --use-angle=vulkan
metropolitan-bronze
metropolitan-bronzeOP3y ago
Should I put this in wrapper function?
unwilling-turquoise
unwilling-turquoise3y ago
konsole change /opt/Heroic/heroic depending where your heroic is
optimistic-gold
optimistic-gold3y ago
@Ahmed That's for running Heroic itself via Gamescope.
metropolitan-bronze
metropolitan-bronzeOP3y ago
I tried but still no luck and the log shows no errors
unwilling-turquoise
unwilling-turquoise3y ago
exactly, its the only solution running for me currently
metropolitan-bronze
metropolitan-bronzeOP3y ago
It worked thanks a lot i got an answer on reddit that says if you have flatpak heroic you should install flatpak gamescope and i just tried it and it works
continuing-cyan
continuing-cyan3y ago
you should have said that you were using flatpak but it's fine now, at least you figured it out

Did you find this page helpful?