#turned off to avoid misinformation
301 messages · Page 1 of 1 (latest)
it depend how much VRAM you have in your GPU just use overlay from RTSS or others and check how much VRAM the game + LSFG take while running to see if it consume all your VRAM or not and see if you need to reduce or increase this value
900mb maximum of 1024
on dxgi_frametime_buffer_size, what is your value on this parameters for you to have 900mb of 1024mb ?
maybe stupid to say because your kinda on the edge of your gpu, but try adding 1 by 1 and keep the one that you like without surcharging your vram gpu for you to not have an unstable system
15 dxgi
Ok
Does it affect the artifacts
No
Large buffer (e.g. 20-30):
Pros: Improves overall smoothness, reduces noticeable frame rate stutters.
Cons: May increase latency, GPU and VRAM usage.
Small buffer (e.g. 5-10):
Pros: Responds more quickly to changes in game performance.
Cons: May result in a less stable framepacing experience, causing noticeable stutters.
🤔
?
[Small buffer (e.g. 5-10):
Cons: May result in a less stable framepacing experience, causing noticeable stutters.] But does those cons might be override if capping the game at a stable framerate like 60 or 80 fps all time ?
I can't feel no smoothness or delay or vram increase or anything???
Vrame is the same
Yes
nice
It's weird
This is normal, it is a small improvement, to notice it you would have to do a side by side comparison
If it didn't affect your vram it's good
Yea
But
50 or 1 isnt a difference
🤔🤔
Because there may be an unexplained limit to the buffer, note that you can put a billion if you want but I doubt this is supported
It's also most useful when there are noticeable variations in frame rendering times. To see a clearer difference, you'd need to test in a scenario with more variation or instability in framerate.
I put 200 and no difference 😂😂
Variable fps
Well, we have to wait for ths to detail more about the limits
No, I'm just a regular user
Let's expect when the new update will release
My expectations is 9/25
I think the update will only come out next month because of the video creation event
These settings may not work properly or crash the application so use with caution.
I change these
Where that
Since the file does not require compilation you can use notepad
Oh I was thinking visual studio opens it
So we must create new file name as above or existing config file ?
And i appreciate if u write lign that natter most give more fps less latency ty
This file comes by default when you install LLS
It will come
Oh @candid thicket hi bro
do u have more fps less latency if so which ones u use or maybe help a little
I will try it now
But I think it improves smoothness but delay no
Don't improve delay
Hi homey 🙂 what to come bro lsfg 2 12 with x100 😆
😆😆
2.12 I wait for it
Wait some time cuz windows 10 gonna update
It's annoying
Sure me too I can't wait
Yea cuz I wait to improve the low fps perf
nice 👌
I need code to improve smoothness I don't care alot latency
it's a new one or just a description add on it ? and what it prioritize ?
It's a new
cool it prioritize latency or smoothness ?
usage performance in demanding scenarios
oh nice pretty cool thing, I wonder what is your GPU ?
RTX 2060
did this increase perforamnce
yeah when your gpu as difficulty to maintaine quality if i'm correct @loud belfry ?
like im losing 30 fps when using framegen would this help in that?
it should be but i wait the answer from @loud belfry to be precise i don't want to say something wrong since i'm not a dev or coder XD
Does not affect quality
just try to understand what it does to
okok
Affect on framepacing
no
Oh
This better distributes system resources and optimizes memory and thread usage.
It helps fps or no
help
Oh
ok nice so nothing from the gpu only better usage from the cpu ? or i'm wrong ?
im gonna try too
open a post in the support section, I'll help you there
Windows updates now 😔
Open perf mode
Or low your res
From the lossless scaling app not from the game like fsr or dlss it will take 30 fps but try from ls it will take 25 if you use 1.2 and xbr
It takes the load off the GPU and CPU
ok cool a good balance thx, what is your cpu to?, mine is i5-11600K and gpu is RX 6900 XT do you think your parameters would do a good job on my system ?
Yes it should improve, my cpu is an R7 5700X
thx for the answers bro, if you keep making changing like that do you keep posting in this channel or do you gonna creat a new one, i like guys like you trying improving the app and system 🤌🏼
I intend to continue bringing changes, yes, although it is very limited.
good thing thx
I also made my version of DLAA optimized, lighter and less aggressive to the text.
oh sweet
wahts this
how i installe it directly in ls app or like a reshade thing ?
This is a shader for Reshade, I used as a base the DLAA from Jose Negrete AKA BlueSkyDefender
okok
It needs Nvidia GPU or to put in lossless scaling and I don't know how to put it
And it doesn't appear in the app
where did u put this
Needs Reshade to work, This is not NVIDIA's DLAA
You need to install Reshade in LLS or in-game https://discord.com/channels/1042475930217631784/1271345669545922631
Preferably in the game
is it an upscaler?
But this cost a lot of fps I think
I need every single frame to get smooth experience
Yes, it should only be used by those who want anti-aliasing.
No
Aa I guess
okay
This is Directionally localized antialiasing
damn your DLAA is impressive not to blurry and no performance hit like the origin one thx dude
You're welcome, and I only got to this because I was trying to do frame interpolation using reshade, well it didn't work haha
yeah i heard of that, did you use only your DLAA and frame interpolation shader to try making frame gen if so, i think you need to put one or two shaders more one is call vector motion from martyMCfly if i'm correct, but idk if it need another one to follow the one from marty
I tried to do this, I added Marty's motion vector to my code but I didn't get good results.
i don't know how it really work but i think it's possible to do and i hope gonna be soon, would be so nice to see another app doing its own frame gen
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<runtime>
<gcServer enabled="true"/>
<gcConcurrent enabled="true"/>
<gcLatencyMode value="Interactive"/>
<Thread_UseAllCpuGroups enabled="true"/>
<Thread_UseNewSynchronizationContext enabled="true"/>
<AppContextSwitchOverrides value="Switch.System.GC.AllowVeryLargeObjects=true"/>
<JITMinOpts enabled="true"/>
<useLegacyJit enabled="false"/>
<PreferThreadPoolThreads enabled="true"/>
<EnableFrameBufferOptimization enabled="true"/>
</runtime>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
</startup>
</configuration>
Well, it's not impossible but it's damn hard.
I will try to make one now for people who have igpu and low end dgpu and cpu
the idea of a frame generator shader is to use frame interpolation and extrapolation
yeah sure i trust you on that one XD
this one aim what thing ?
ensure stability
👍🏼
there are ai models on github that interpolate in real time, good luck
Can be installed on ls
I don't understand what you mean it difference than lsfg or what
If you want to make one from scratch this is a starting point you can consider, but honestly you have to have some knowledge of programming and deep learning
yo can u help me with setting the thing up
No I don't know these ai things so much
You mean I will make a program
If you have low hardware I can help you
No why
If he have low gpu I would help him
I'll be away for a while, this is the latest version of the configurations. This configuration is a trial since I don't know which parameters are accepted by LLS, but I know it reads them because of consecutive crashes >_<
It's on alpha or beta version rn
alpha but it is working fine
Hope low end devices be supported in ur code in the next version
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<!-- Set runtime to optimize resource usage -->
<runtime>
<!-- Use Garbage Collection in server mode to optimize memory usage on multi-core processors -->
<gcServer enabled="true"/>
<!-- Enable concurrent garbage collection to avoid long pauses -->
<gcConcurrent enabled="true"/>
<!-- Distribute threads evenly across all available CPU groups -->
<Thread_UseAllCpuGroups enabled="true"/>
<!-- Improve synchronization management in new thread contexts -->
<Thread_UseNewSynchronizationContext enabled="true"/>
<!-- Allow very large objects (>2GB) on the heap -->
<AppContextSwitchOverrides value="Switch.System.GC.AllowVeryLargeObjects=true;Switch.System.Threading.UseNetCoreTimer=false"/>
<!-- Optimize for better performance by avoiding inlining small methods that cause overhead -->
<JITMinOpts enabled="true"/>
<!-- Enable aggressive use of optimizations in the Just-in-Time (JIT) compiler -->
<useLegacyJit enabled="false"/>
<PreferThreadPoolThreads enabled="true"/>
<EnableFrameBufferOptimization enabled="true"/>
</runtime>
<!-- Configuration of the .NET Framework used -->
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
</startup>
</configuration> @loud belfry this one from you is the best for me i just add 2 more line from your last posting <PreferThreadPoolThreads enabled="true"/>
<EnableFrameBufferOptimization enabled="true"/>
very good latency almost none in X2 mode and nearly zero artifacts
thanks for reporting
also note that I added the <gcLatencyMode value="Interactive"/>
to decrease latency
I tested it in a more aggressive mode to lower latency but this was the only one that worked.
oh hell yeah thx for telling me
@harsh crater
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<runtime>
<gcServer enabled="true"/>
<gcConcurrent enabled="true"/>
<gcLatencyMode value="Interactive"/>
<Thread_UseAllCpuGroups enabled="true"/>
<Thread_UseNewSynchronizationContext enabled="true"/>
<AppContextSwitchOverrides value="Switch.System.GC.AllowVeryLargeObjects=true"/>
<JITMinOpts enabled="true"/>
<useLegacyJit enabled="false"/>
<PreferThreadPoolThreads enabled="true"/>
<EnableFrameBufferOptimization enabled="true"/>
</runtime>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
</startup>
</configuration>
Guys
Help
For some reason I open it now and I don't see anything
Is this normal
did u forget to save?
what's this, optimized LS ui?
I thought that although I can't change the rendering or scaling, modifying the .NET configuration could help in some way, well at least for me it helped a lot because the reshade made the interface more stuck and with crashes now it doesn't crash or freeze
No
There is these
I need to copy this or what
Help me
Copy this or this will be on the program
which ones that help in latency
this one
what code did you try ?
2
And one of your Idk where
ok and it crash when ? at launch of ls or when activate LSFG ?
try this one
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<runtime>
<gcServer enabled="true"/>
<gcConcurrent enabled="true"/>
<gcLatencyMode value="SustainedLowLatency"/>
<Thread_UseAllCpuGroups enabled="true"/>
<Thread_UseNewSynchronizationContext enabled="true"/>
<AppContextSwitchOverrides value="Switch.System.GC.AllowVeryLargeObjects=true;Switch.System.Threading.UseNetCoreTimer=false"/>
<JITMinOpts enabled="true"/>
<useLegacyJit enabled="false"/>
<PreferThreadPoolThreads enabled="true"/>
<EnableFrameBufferOptimization enabled="true"/>
</runtime>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
</startup>
</configuration>
No it doesn't open
Doesn't open
try this in the config.ini file
; Do not report issues using a configuration other than the default
[capture]
; A buffer used to estimate a game's framerate by averaging the delta time between captured frames [1-]
; This value greatly affects both framepacing and stability
dxgi_frametime_buffer_size = 10
[lsfg]
; Disable LSFG UI detection if not needed [0-1]
ui_detection = 1
; How often to run UI detection, in base frames [1-4]
; 1 - better quality, 4 - better performance
ui_detection_rate = 2
do you launch it via steam or by the .exe directly ?
The exe
good
I keep it 4 to get good fps without loss the whole ui
I use that
No
I mean in the lossless scaling.exe.config
no the config.ini
Yea
Im talking about the lossless scaling.exe.config to edit in that
When I edit in that Nothing is happening
Maybe it perform better
show me what you have in the losslesscaling.exe.config and in config.ini
Dxgi 15, UI 1 (4)
ok good
Lossless.exe.config nothing
Just net framework version
And nothing
AIE here we go
yup
just put those and replace those you have
me too
if not work just unistall it and re-install and copy paste the file i give you
May you because you have dx 12.2 but I have dx 12
You have the ultimate
nah it nothing to with that i think you just have mess up some code line XD
can you show me trought stream ?
discord stream
Oh
Wait minute
I'm trying now
I will send you the original file and the file you sent to me
ok
what is this for?
ill give it a try
This config.ini balances quality/performance
And LosslessScaling.exe.config, according to the developer's reaction, is only for the LLS interface, so if you are using reshade I recommend using it.
Hi is it possible to use reshade on a game that doesn't allow it using lossless scaling
Sure, just install reshade directly in the game.
Will reducing buffer decrease latency?
Yes, but a small buffer makes the framerate more susceptible to rapid variations, resulting in a more choppy experience.
My settings for LossLess Scaling
tbh i can't really notice either stuttering or a reduction in input latency, but VRAM is noticeably less like 100mb less so that
*that's a win.
very good
@loud belfry does LS can run on a certain API like DX9 or DX11 from DXVK ? to be able to cap it with RTSS cuz i'm not able to cap it, it doesn't work
it uses dx11
ok so if i try to swap it with dxvk it could be working i'll try
@loud belfry not working, i mean maybe it worked, after activated LS the cursor disappear, not fps counters show, and idk if it generate frame cuz i don't see the fps counter
But of course
LLS does not work on vulkan
🫡
It depends on Directx to work.
okok
Hey arthur, just to make it clear for myself... does decreasing the buffer increase or decrease gpu usage?
can increase gpu usage
In my tests I honestly didn't see any changes in increase or decrease.
But theoretically it was supposed to affect it.
only change LosslessScaling.exe.config if you are using reshade, it may solve the crash problems but for other things it is useless
Just copy paste these in LosslessScaling.exe.config? Any difference for 3x, 4x mode?
it seems it makes slightly less latency
This setting only changes the LLS menu, it does not affect LSFG, etc.
ah... its a placebo effect then
so, only frame buffer size and ui detection rate affects frame generation?
yes
but I can't say if the buffer changes anything because you can put 1 or 1 billion and it will remain the same
I think 1 billion would revert to a failsafe default which is 15
Let me be clear: frame buffer size value of 10 is a sweet spot?
yop @loud belfry can you show where to put those lines in the new => LosslessScaling.runtimeconfig.json <gcLatencyMode value="1"/>
<Thread_UseAllCpuGroups enabled="1"/>
<Thread_UseNewSynchronizationContext enabled="1"/>
<PreferThreadPoolThreads enabled="1"/>
<EnableFrameBufferOptimization enabled="1"/>
it use net9.0 now
How you make these things
my man thx @loud belfry
just copy it into LosslessScaling.runtimeconfig.json
in ls root folder
are generic values
the context may or may not be identified
Can you Send me the file every time I copy these ls crash
but wait a bit
https://learn.microsoft.com/en-us/dotnet/framework/configure-apps/file-schema/runtime/thread-useallcpugroups-element https://learn.microsoft.com/en-us/dotnet/api/system.runtime.gclatencymode?view=net-9.0
Send it to me
Okay thanks bro
turned off to avoid misinformation
Guys can you do a test if possible like in ms paint or heavy latency games as yuzu zelda last one which better for latency
And try setting like : garbage collector 1.2.3.4 and any other setting my help try one by one the best for input lag for competitive games or test at lower fps as 30 with mouse acceleration turned off with unlocked fps worst case scenario 😆
i will do tests later but right know my pc is out of service ty 🙂
you can try these one, i modified it, so it should keep the latency at the lowest possible, just modified one line in the code the "Thread_AffinitizeToCpus" mine is a 6 core 12 threads so i put these value => 0,2,4,6,8,10,12 but if use have more or less threads just adjust by your number of threads
Bro hi I need something for smoothness not the latency
it should had more smoothness to it since i put the value of using all cpu cores and force hardware acceleration
Oh
@jovial heron could you maybe recap everythign which was discussed in this post ?
Abstract, download this
and then ?
ive seen you guys talked a lot abt latency and settings
@loud belfry @wary notch Ive read your comments and the conversations. Could you maybe give us a guide on how to reduce overall latency or just give us spome tipps ?
Even if you apply this file, you wouldn't notice a big difference in latency and Smoothness
Changing this file is only relevant if you use reshade
Oh