Welcome, Guest.
Username: Password: Remember me

TOPIC: No reinitializing at loading screens

No reinitializing at loading screens 1 year 7 months ago #1

  • Sassy
  • Sassy's Avatar
  • Offline
  • Posts: 33
  • Thank you received: 3
Is it possible to somehow force ReShade shaders to stay initialized even if a game is loading a new map/save/anything?
Specially in a "loading heavy" game it's slowing things down quite a bit (with lot's of fancy stuff active :silly: ).
Maybe a loading-screen detection? :blink:
Also v0.18.1 feels way faster than v0.18.0 (framework) not sure what you did but great job. :cheer:
The administrator has disabled public write access.

No reinitializing at loading screens 1 year 7 months ago #2

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2452
  • Thank you received: 1391
I would love to, but I guess your game forces a device reset when loading new stuff, which in turn means all resources need be recreated (including shaders), so ReShade has to reinitialize.
Cheers, crosire =)
The administrator has disabled public write access.

No reinitializing at loading screens 1 year 7 months ago #3

  • Ganossa
  • Ganossa's Avatar
  • Offline
  • 최정장군
  • Posts: 790
  • Thank you received: 838
I am not sure about that specific issue but in GEMFX injector I actually skip re-initialization for anything that is not changing the shader relevant device context (e.g. actual change in resolution). You can check those values for each potential initalization to see if anything would actually change.
Last Edit: 1 year 7 months ago by Ganossa.
The administrator has disabled public write access.

No reinitializing at loading screens 1 year 7 months ago #4

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2452
  • Thank you received: 1391
I do that already. But still, if a D3D9 device reset is requested, there is not much you can do.
Cheers, crosire =)
The administrator has disabled public write access.

No reinitializing at loading screens 1 year 7 months ago #5

  • Sassy
  • Sassy's Avatar
  • Offline
  • Posts: 33
  • Thank you received: 3
Bummer :(
In this case there are complete static image loading screens which take like 5 seconds (average) and Reshade (with lots of fance shaders :woohoo: ) increases them to 10+ seconds. Of course this doesn't sound like alot but you get ALOT of loading screens in this specific game - so it adds up.
The other day i saw a request about a reinitialization delay - maybe that would bypass this issue?

d3d9 device requests reset for loading screen -> reshade waits...
d3d9 device requests another reset for the actual next instance - > reshade waits...
map fully loaded -> reshade starts reinit.

Something like that?
ReShade can't check for "GameLoadCompletion=100%" to avoid being init. while the game is stressing the PC, can it? :)
The administrator has disabled public write access.