Commit Graph
4704 Commits
Author SHA1 Message Date
FakeMichau fe2fa45e0e Add XeSS MaxResponsiveMaskValue support
Slopped. Fixes XeSS inputs in BeamNG
2026-10-28 19:41:06 +01:00
FakeMichau 63463bdee7 Expand custom upscaler support to FFX Vk
Slopped.
2026-10-28 18:48:44 +01:00
FakeMichau 6febb35bfd Fallback to the older FFX SDK dll when a dll for the newer per-feature one isn't present.
Slopped.
2026-10-28 17:45:51 +01:00
FakeMichau a0161cd9ab Update FFX SDK to 2.4 with plumbing for it
Slopped.
2026-10-28 17:34:16 +01:00
FakeMichau de2626f1ba Add the ability to load custom upscaler dlls
Put extra upscaler dlls in the "custom" folder inside the OptiScaler folder,
one folder per upscaler. The folder name is the name shown in the menu:

  custom\<name>\ffx\<dll>    upscaler using FFX api (e.g. another amd_fidelityfx_upscaler_dx12.dll)
  custom\<name>\dlss\<dll>   upscaler using DLSS api

- Each folder gets its own entry in the DX12 upscaler list.
- The dll can have any name. If a folder holds more than one dll, the
  standard name (amd_fidelityfx_upscaler_dx12.dll or nvngx.dll) is used.

Slopped.
2026-10-28 15:12:10 +01:00
FakeMichau b19cfd2913 Init Dx12 before checking dx12 capabilities when using FFX Vk 2026-10-26 16:00:23 +01:00
TheRazerMD bc69b0bf50 Centered the API row 2026-10-26 00:24:39 +01:00
FakeMichau a6b8731533 Resolve some Vulkan validation errors
Slopped. FSR4FG when using the validation layer requires disabling the handle wrapping.
2026-10-25 18:36:16 +01:00
FakeMichau 8feb5d0ca2 Fix FSRFG version switching when FG is not active
Slopped.
2026-10-25 15:07:46 +01:00
FakeMichau 7937e47377 Rework frametime reporting
Slop the slop. Should fix bad reporting when using FG
2026-10-25 15:02:28 +01:00
FakeMichau 5f6a2e69f2 New overlay preset + ability to hide averages
Slopped.
2026-10-25 14:49:30 +01:00
FakeMichau 3c6263ec81 Overlay adjustments 2026-10-25 12:03:31 +01:00
Michael Robles c2876a76e2 XeFG fixes for Dynamic MFG, the game's FSR FG and AntiLag 2
- Dynamic MFG skips isolated hitches: a frame 2.5x longer than the
  average is skipped, a third in a row counts as a load change. At a
  cap the measured waits don't explain (the game's own XeLL or AntiLag
  2 sleep, a driver cap) it tries one step less now and then, at least
  15 s after the last change.
- Dynamic MFG keeps its count while the game is in the background and
  starts over once it is back in front.
- Dynamic MFG moves out of XeFG_Dx12 into XeFG_DynamicMFG. XeFG_Dx12
  passes the wait it measured and applies the result.
- XeFG leaves the swapchain to the game when the game's own FSR Frame
  Generation creates it (it crashed in Modern Warfare 4).
- With the AntiLag 2 output, each XeFG present gets its frame type from
  its position in the batch: XeFG presents the real frame last.
2026-10-25 10:58:15 +01:00
FakeMichau 54f310f78c Fix a crash in POE2 when switching Vsync on Vulkan 2026-10-25 10:37:50 +01:00
Michael Robles 808e5c5e84 Resolve slSetFeatureLoaded for the DLSSG input's hooks
hkslSetFeatureLoaded was attached only when o_slSetFeatureLoaded was
set, but nothing resolved it from sl.interposer, so the hook never went
in. With the DLSSG input slInit leaves DLSS-G out of featuresToLoad, and a
game that loads DLSS-G at device setup (Doom: The Dark Ages) got
eErrorFeatureFailedToLoad back and greyed out its frame generation
option. Resolve it with the other DLSS-G entry points and clear it if
the hooks fail to attach.
2026-10-25 10:34:42 +01:00
Michał Lewandowski 08e13adf55 Merge pull request #1238 from LorenzoKy/fps-overlay-appearance
FPS overlay: appearance and layout customization
2026-10-24 20:12:53 +02:00
FakeMichau 9ec7ddb4f2 Adjust. make more configurable etc 2026-10-24 20:11:04 +02:00
LorenzoKy 490dcb3b76 FPS overlay: appearance and layout customization
Optional appearance settings for the FPS overlay; with the defaults it looks
as before.

- Positions: Top Center, Bottom Center and Custom (X/Y in % of the screen).
- Rows: order with up/down arrows, row spacing, compact labels.
- Text: font from the Windows fonts folder or a file, font size, letter
  spacing, label and value size, shadow or outline with strength and color.
- Colors: labels, values, graph and background, when not using the theme.
- Panel: background alpha, corner rounding (also for the menu), graph height,
  scale from 0.5 to 3.0.
- Update interval: FPS, frame time and upscaler time averaged over it so they
  can be read (default every frame).
- Presets and a settings code to copy, paste and share.

Fixes in the overlay drawing:
- Digits of the values take the widest digit's width, so numbers no longer
  shift with fonts whose digits differ in width.
- Text, shadows and outlines on whole pixels; the outline is a filled ring
  of opaque copies instead of 8 offset translucent ones.
- A corner that touches two screen edges is no longer rounded.
2026-10-24 18:54:15 +02:00
FakeMichau 539c9a1ecd Make FFX Vk hooking side match the Dx12 side
Slopped.
2026-10-24 15:01:08 +02:00
FakeMichau fd3a45a6ca Display asi's version
Slopped.
2026-10-23 21:22:21 +02:00
FakeMichau d023e06e5d Attempt to improve fps limiter on DLSSG Vk
Slopped.
2026-10-23 20:57:04 +02:00
FakeMichau 12fd52d81c Fix the textures tab on Vulkan 2026-10-23 17:22:49 +02:00
FakeMichau 82e5a9586b Go back on some menu tweaks 2026-10-23 17:16:46 +02:00
FakeMichau 3d56b60e18 Fix a crash in games that already have amd_fidelityfx_vk.dll
Slopped.
2026-10-23 17:15:19 +02:00
FakeMichau 2128299ccf Fix a DLSSG crash in Enshrouded
Slopped.
2026-10-23 16:39:17 +02:00
FakeMichau f903b2c64b Prevent a crash triggered by hooking amdxc64 twice 2026-10-23 15:41:03 +02:00
FakeMichau 83e18f1a16 Fix a potential deadlock on launch in Cyberprank
Slopped.
2026-10-23 14:42:38 +02:00
FakeMichau 76219dd429 Menu adjustments 2026-10-23 14:42:10 +02:00
FakeMichau 8f0b7d875d Fix for XeFG in Cyberprank picking the old XeLL
Slopped.
2026-10-23 12:49:03 +02:00
FakeMichau 1b96d1686d Fix frame pacing with DLSSG in KCD2
Slopped. Based on cb1f7aa3a179f601dc11e89373dd3a230b65b3ad
2026-10-23 12:19:52 +02:00
FakeMichau 8f2a943589 Fix dxgi spoofing for amdxcffx64 2026-10-23 12:02:49 +02:00
TheRazerMD 455ab392fe Added METRO Redux quirk
* DxgiSpoofing = false
2026-10-23 11:54:49 +02:00
TheRazerMD 990ff98ec5 Merge branch 'master' of https://github.com/optiscaler/OptiScaler 2026-10-23 02:50:44 +02:00
TheRazerMD c220ad9eae More UI changes
* Game name, API, GPU and Input now in a separate box
* Session Timer added in the bottom left status - counts from loading Opti dll
2026-10-23 02:50:23 +02:00
FakeMichau d1a146ab01 Fix AL2 to AL2 conversion when using FSRFG
Slopped.
2026-10-23 02:27:01 +02:00
FakeMichau 5dfedd6836 Lobotomize fakenvapi
Alternative titles: complete the move of low latency code out of fakenvapi
2026-10-23 02:01:18 +02:00
FakeMichau a79c2f34b4 Remove non-low latency code paths 2026-10-23 01:09:48 +02:00
FakeMichau 42d6162597 Fix an erroneous "potential fallback" message 2026-10-23 00:15:57 +02:00
FakeMichau 65ee5d64cd Generally fix GPU detections and FSR 4 availability
Slopped. Applies to both Windows and Linux. Thanks to all for testing, there were many different edge cases
2026-10-23 00:03:26 +02:00
TheRazerMD 14434bf62e Improved FFX version count
Fixes HZD Remastered crash on boot
2026-10-22 23:42:07 +02:00
FakeMichau e0a4859454 We add bugs to later have something to fix
Slopped.
2026-10-22 15:00:43 +02:00
FakeMichau fa44a4a835 Fix Vulkan RDR2 Reflex and FSRFG crashes
Slopped. There might still be an issue with motion vectors
2026-10-21 23:30:57 +02:00
FakeMichau d8aebe45b0 Improve auto model selection for FSR 4
Slopped.
2026-10-21 22:52:28 +02:00
FakeMichau 03e6ef09c6 Add live FSR 4 watermark toggling
Slopped.
2026-10-21 16:10:34 +02:00
FakeMichau c2529edfa6 Put upscaling ratio on a separate line in the overalay 2026-10-21 14:03:43 +02:00
LorenzoKy c4714282b2 Add upscale ratio to FPS overlay
New FpsOverlayShowRatio option (ini + "Upscale Ratio" checkbox in the
FPS Overlay settings). When enabled, the overlay shows the current
render -> output resolution and upscale ratio, read every frame so
dynamic resolution changes are visible in real time.
"Just FPS" mode shows only the compact ratio (e.g. "60.0 | 2.00x").
2026-10-21 14:03:43 +02:00
Michael Robles d06f31e953 Fix DX12 menu crash on swapchains with more than 8 buffers
Size the menu's per-buffer arrays and the blur's descriptor slots for 16 back buffers, the DXGI maximum, refuse larger chains in CreateRenderTargetDx12 and skip frames with an out-of-range back buffer index.
2026-10-21 13:28:36 +02:00
FakeMichau a8d0f0a3cb Show AMD's flip meter status in the menu + ability to disable it
Slopped.
2026-10-21 13:25:42 +02:00
FakeMichau 0778a1002c Fix vsync in FSRFG on Vulkan
Slopped.
2026-10-21 12:55:48 +02:00
FakeMichau 223cf6b1b9 Fix MVs in Enshrouded
By dmitsuki on discord
2026-10-21 11:52:39 +02:00