Lossless Scaling

Lossless Scaling

(ノ°□°)ノ  [producent] 7 grudnia 2022 o 8:36
2
2.2.3 released
- Added the ability to output scaled content to another display.

The main reason for adding this strange option is to be able to capture games running in exclusive fullscreen mode on the primary monitor and display scaled content on the secondary one, which seems to be the only possible way.
When scaling the game from the primary monitor (both windowed and fullscreen mode) the lowest latency is observed. The opposite maybe true when the displays are connected to the same GPU, but this is not my case.
Since it can be important, when choosing a display, it is written to which GPU it is physically connected.
You can also downscale the game from a higher resolution monitor to a lower one, but I can't imagine why anyone would want to do that ¯\_(ツ)_/¯
< >
Wyświetlanie 1-15 z 18 komentarzy
Pant 7 grudnia 2022 o 8:47 
:steamthumbsup:
Blvck Raevyn 7 grudnia 2022 o 9:52 
Scaling hype!
xvt 7 grudnia 2022 o 12:00 
Thanks for the update!
Been looking forward to this functionality since I have 2 screens (a monitor and a tv, both with different refresh rates). I usually game on the tv.

Testing this version, even when I select the tv as output, LS seems to sync only to whatever is the main display -in this case, the monitor's refresh rate (both Draw FPS option in LS and PresentMon show it doing so) and there's visible judder in the upscaled 3D app because of desync.
Is there a way to make LS "sync" to the screen refresh rate it is upscaling to?
Ostatnio edytowany przez: xvt; 7 grudnia 2022 o 12:12
(ノ°□°)ノ  [producent] 7 grudnia 2022 o 12:16 
Początkowo opublikowane przez xvt:
Testing this version, even when I select the tv as output, LS seems to sync to the monitor's refresh rate (both Draw FPS option in LS and PresentMon show it doing so) and there's visible judder in the upscaled 3D app because of desync.
Is there a way to make LS "sync" to the screen refresh rate it is upscaling to?

There should be no "desync" as game capture and scaled content rendering happen independently. So it's caused by something else.
As for the refresh rate, I haven't worked out the details myself yet. If I scale the game from a 60 Hz monitor to a 120 Hz monitor, LS runs at 120 FPS. If I keep the game on 120 Hz monitor and output to it, then for some reason it is 60 FPS. The 60 Hz monitor is the primary one. What is your configuration?
Ostatnio edytowany przez: (ノ°□°)ノ; 7 grudnia 2022 o 12:18
xvt 7 grudnia 2022 o 15:28 
Monitor is 75 Hz (main), TV is 60 Hz.
If I start a game (configured to start on the TV), the game's window starts on the TV, no problem. When using LS to upscale, it upscales without a problem, but as I mentioned, there's judder and both internal LS framerate counter and PresentMon show LS running at 75 fps.

If I make the TV the main screen, judder disappears and both LS framerate counter and PresentMon show LS running at 60 fps, that's why I mentioned "desync": in my limited knowledge about the topic my theory is LS is synchronizing the output to the main screen refreshrate (based on LS Draw FPS and PresentMon info), not to the screen it is upscaling to.
I've seen the same behaviour with RTSS's hybrid s-sync: if the "wrong" screen is synced to, there's judder.
Ostatnio edytowany przez: xvt; 7 grudnia 2022 o 15:33
softsoundd 7 grudnia 2022 o 19:34 
Quality updates just keep on coming. Amazing work, best Steam purchase I've made in a while
(ノ°□°)ノ  [producent] 8 grudnia 2022 o 0:27 
Początkowo opublikowane przez xvt:
If I make the TV the main screen, judder disappears and both LS framerate counter and PresentMon show LS running at 60 fps, that's why I mentioned "desync": in my limited knowledge about the topic my theory is LS is synchronizing the output to the main screen refreshrate (based on LS Draw FPS and PresentMon info), not to the screen it is upscaling to.
I've seen the same behaviour with RTSS's hybrid s-sync: if the "wrong" screen is synced to, there's judder.

This contradicts my testing. As I already said, my primary screen has 60 Hz, while LS runs at 120 FPS on the secondary screen.

Have you tried keeping the game on the monitor and scaling on the TV?

Another test: scaling a game from 120 Hz to 60 Hz monitor uncaps LS framerate (I get over 120 FPS) ¯\_(ツ)_/¯
Ostatnio edytowany przez: (ノ°□°)ノ; 8 grudnia 2022 o 1:23
xvt 8 grudnia 2022 o 13:58 
How odd!
Here's a screenshot[i.imgur.com] showing the Pendulum Demo running at 120 on the monitor (no vsync, just a plain framerate cap at 120) and you can see both PresentMon and LS's Draw FPS option showing 75 FPS on the TV.
I removed both Nvidia CP and RTSS profiles for LS just in case those were affecting the test.

Now, if I launch the Pendulum Demo and then make the TV the main display and then upscale with LS, here's how it looks[i.imgur.com].
Ostatnio edytowany przez: xvt; 8 grudnia 2022 o 14:10
(ノ°□°)ノ  [producent] 8 grudnia 2022 o 14:34 
Początkowo opublikowane przez xvt:
How odd!

It definitely has something to do with the primary display, but I don't see a consistent pattern of behavior yet. Without knowing what Windows does under the hood, it will be difficult to figure it out. By the way, what version do you have?
xvt 8 grudnia 2022 o 15:09 
Win 11 22H2 Build 22621.900

I also ran both scenarios with the new "Optimization for windowed games" option disabled, but the results are the same.
Ostatnio edytowany przez: xvt; 8 grudnia 2022 o 15:10
shodanpc 8 grudnia 2022 o 16:27 
Thank you!
Hi, I dont know what it is but after the last update feels a bit off, no matter if I choose the integrated intel gpu or dedicated nvidia gpu, and no matter if I choose fsr or nis or Bicubic CAS, the latency is really really bad, 12 ms + where before using Bicubic CAS I had 2-3 ms, besides this really nice app, hopefully this little problem gets patched/fixed somehow. Thank you again for all the effort!
(ノ°□°)ノ  [producent] 9 grudnia 2022 o 14:22 
Początkowo opublikowane przez BadBun うさぎの耳:
Hi, I dont know what it is but after the last update feels a bit off, no matter if I choose the integrated intel gpu or dedicated nvidia gpu, and no matter if I choose fsr or nis or Bicubic CAS, the latency is really really bad, 12 ms + where before using Bicubic CAS I had 2-3 ms, besides this really nice app, hopefully this little problem gets patched/fixed somehow. Thank you again for all the effort!

Hi,
How do you measure the latency?
Początkowo opublikowane przez (ノ°□°)ノ :
Początkowo opublikowane przez BadBun うさぎの耳:
Hi, I dont know what it is but after the last update feels a bit off, no matter if I choose the integrated intel gpu or dedicated nvidia gpu, and no matter if I choose fsr or nis or Bicubic CAS, the latency is really really bad, 12 ms + where before using Bicubic CAS I had 2-3 ms, besides this really nice app, hopefully this little problem gets patched/fixed somehow. Thank you again for all the effort!

Hi,
How do you measure the latency?

Hi handsome, with the in app Draw FPS , I use this option since you release it and I love it, but as said, in this last version I notice an increase in latency, no matter the scaling type or the preferred GPU, laptop here, before when I was using intel gpu (integrated) with bicubic CAS or FSR the latency was in between 2 and 3 ms, and high fps value, while using nvidia (dedicated) I was getting not more than 30 fps no matter what and latency around 10-13ms, now with this last version, I get ok ish fps with both, higher fps with integrated as usual, but with both (intel integrated, nvidia dedicated) the latency is 10ms +
Ostatnio edytowany przez: BadBunうさぎの耳; 9 grudnia 2022 o 14:39
(ノ°□°)ノ  [producent] 9 grudnia 2022 o 15:03 
Początkowo opublikowane przez BadBun うさぎの耳:
Hi handsome, with the in app Draw FPS , I use this option since you release it and I love it, but as said, in this last version I notice an increase in latency, no matter the scaling type or the preferred GPU, laptop here, before when I was using intel gpu (integrated) with bicubic CAS or FSR the latency was in between 2 and 3 ms, and high fps value, while using nvidia (dedicated) I was getting not more than 30 fps no matter what and latency around 10-13ms, now with this last version, I get ok ish fps with both, higher fps with integrated as usual, but with both (intel integrated, nvidia dedicated) the latency is 10ms +

App draws the frame time (time it takes to scale one frame), not latency. But it may also affect latency when it's high. Does "double buffering" option makes a difference ?
< >
Wyświetlanie 1-15 z 18 komentarzy
Na stronę: 1530 50

Data napisania: 7 grudnia 2022 o 8:36
Posty: 18