HGL
rising-crimson
How to enable LSFG on heroic
As title said
Solution:Jump to solution
https://github.com/PancakeTAS/lsfg-vk/wiki/Configuring-lsfg%E2%80%90vk#supported-environment-variables
ENABLE_LSFG=1
LSFG_MULTIPLIER=3...
47 Replies
xenial-black•2mo ago
you dont
everything before is a wrapper or environment variable
and everything after is a launch option
environment variables are usually things like
SteamDeck=1
rising-crimsonOP•2mo ago
Im trying to get ~/lsfg to work im trying rn putting it in the wrapper variable but idk if itll work
Nope it didnt
xenial-black•2mo ago
can you share the logs?
also does Heroic even have access to
~/lsfg
?
flatpak sandbox doesnt let Heroic access all your files by default, its limited to ~/Games
dirrising-crimsonOP•2mo ago
I am unaware what ~/lsfg even does all i know is that it triggers lossless scaling
But yeah let me boot to desktop mode
xenial-black•2mo ago
wait
I didnt understand what you said initially
how do you want to set it up? I'm not familiar with how lsfg is supposed to be setup
rising-crimsonOP•2mo ago
Its a decky plugin which operates by putting
~/lsfg %command% into the launch options.
So far ive tested it with non steam games,Emulators and normal steam games and it works fine for all of those
But it does not work for heroic ported titles
@Linguin
rising-crimsonOP•2mo ago
GitHub
GitHub - xXJSONDeruloXx/decky-lossless-scaling-vk: Decky plugin to ...
Decky plugin to streamline installation and usage of lsfg-vk; the Lossless Scaling compatibility layer for linux - xXJSONDeruloXx/decky-lossless-scaling-vk
xenial-black•2mo ago
okay so I understand this is essentially a file in home directory
that you use as a wrapper
okay, so use flatseal to make sure Heroic has access to it
rising-crimsonOP•2mo ago
So i would be it under wrapper variables then ?
Would it be
~/lsfg (blank)
or
~/ lsfg
conscious-sapphire•2mo ago
conscious-sapphire•2mo ago
Wasted opportunity
rising-crimsonOP•2mo ago
I was fully expecting this gif ngl
Update neither worked
rising-crimsonOP•2mo ago

rising-crimsonOP•2mo ago
~/lsfg seems to lead to a script
Getting LSFG to work is a little more work. It's a Vulkan layer, which isn't visible in the sandbox. Right now the easiest way to use it would be to just use the AppImage version of Heroic & import your game
Once a Flatpak runtime extension of LSFG exists (as it does for Mangohud for example), we can look into supporting it in Heroic. People are looking into that here
rising-crimsonOP•2mo ago
How do i install the app image version of heroic and do i need to uninstall the flatpak?
How do i install the app image version of heroicDownload https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/releases/download/v2.17.2/Heroic-2.17.2-linux-x86_64.AppImage and double-click
do i need to uninstall the flatpakNo
rising-crimsonOP•2mo ago
Ill test this out and get back to you
I installed the app image version of heroic but it does not seem to fix the issue unless i used the wrong wrapper argument?
https://0x0.st/8kMb.log
conscious-sapphire•2mo ago
Wrong
Heroic game settings-Advanced
Scroll down and find environment variables
ENABLE_LSFG=1
LSFG_MULTIPLIER=2
First one enables it
Second one does 2x frame gen
As i understand
So remove your exe override
Those %command% stuff is only for games on Steamrising-crimsonOP•2mo ago
Im sorry but im trying to use the decky plugin settings
.
But yeah ill try it out soon im mainly testing cause people in the discord were asking
conscious-sapphire•2mo ago
What was in your config?
Because it reads to me all can be done via env vars
rising-crimsonOP•2mo ago
Times three frame gen,perf mode and immediate iirc
rising-crimsonOP•2mo ago

rising-crimsonOP•2mo ago
Yeah
Solution
conscious-sapphire•2mo ago
https://github.com/PancakeTAS/lsfg-vk/wiki/Configuring-lsfg%E2%80%90vk#supported-environment-variables
ENABLE_LSFG=1
LSFG_MULTIPLIER=3
LSFG_PERF_MODE=1
MESA_VK_WSI_PRESENT_MODE=immediate
Should do all of that
conscious-sapphire•2mo ago
@Shiina
https://docs.mesa3d.org/envvars.html#envvar-MESA_VK_WSI_PRESENT_MODE
Last one is from here
Just copy and paste them into boxes one by one
Heroic ui will remove = but that is fine
rising-crimsonOP•2mo ago
Alright thanks ill pass this along
Im cooking rn so I'll test it in a bit
conscious-sapphire•2mo ago
rising-crimsonOP•2mo ago
I think i failed cooking

conscious-sapphire•2mo ago
conscious-sapphire•2mo ago
Time to test 🐸
rising-crimsonOP•2mo ago
I cant even tell if its on
The number says its 90 instead of 60 but i cant tell
(For some reason the cap with x3 frame gen is 90?
conscious-sapphire•2mo ago
Keep all env vars but remove ENABLE_LSFG=1 one
If fps goes worse, congrats you got it working previously
rising-crimsonOP•2mo ago
I wish there was a way to modify heroic env vars without going to desktop mode
conscious-sapphire•2mo ago
Kek
Btw you are doing all that via appimage one right?
rising-crimsonOP•2mo ago
Yeah
But for some reason it doesnt appear in my start menu
conscious-sapphire•2mo ago
Appimage is not a thing you install to system
It is a click and run type of portable package
So it wont appear there
rising-crimsonOP•2mo ago
I thought they were added to the start menu if you put them in /applications
conscious-sapphire•2mo ago
I dont think it works like that.
There has to be a desktop entry created also.
For that to appear
rising-crimsonOP•2mo ago
But yeah it worked
conscious-sapphire•2mo ago
Nice
So without it 30 fps?
rising-crimsonOP•2mo ago
No 3x is semi borked for lsfg-vk lol
It has a 90ish fps cap
Native is 60 at 2x the cap would be 120
conscious-sapphire•2mo ago
Ok, lol
Weird
rising-crimsonOP•2mo ago
Yeah its weird
But got 60 fps without it.
I mainly use x3 anyways cause i play 30 capped games
Thanks for helping
conscious-sapphire•2mo ago
Yw 👍
optimistic-gold•2mo ago
Soon future is it possible to run lsfg in flatpak heroic?
conscious-sapphire•2mo ago
You've been told it is not up to Heroic.
https://discord.com/channels/812703221789097985/1394308442109382667/1394311050874196080
Entirely up to lsfg-vk folks to get their layer into flathub.