BlueSkyDefender / AstrayFX

Shaders for ReShade that strayed away from the Depth3D Repo.
139 stars 42 forks source link

RadiantGI crashes display driver or game on AMD 7900 XTX graphics card #14

Open Markxy opened 1 year ago

Markxy commented 1 year ago

When enabling the shader with ReShade, either the display driver (causing the game window not to draw anymore) or the game crashes (hangs indefinitely).

Game is CSGO which uses DX9. OS is Windows 10 Display drivers: tried multiple, 23.1.1, 23.2.1, 23.2.2 Had this issue on multiple computers as well, both had the same AMD card. Tested with ReShade 5.0.2 and 5.6 The RadiantGI.fx file is the same as the in this repo. Tried clearing the shader cache.

Haven't had this issue using Nvidia graphics cards (3000 series). Also no other ReShade shader I tested causes this behaviour with this AMD card.

Unfortunately I don't have any crashdumps as it doesn't seem to produce one, nor do ReShade logs tell anything. There is one preprocessor warning:

2023-02-27T13:04:10:022 [28548] | WARN  | Successfully compiled "C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\reshade-assets\Shaders\AstrayFX\RadiantGI.fx" in 9.626 s with warnings:
For the latest version go https://blueskydefender.github.io/AstrayFX/ or http://www.Depth3D.info ¿(4, 2): preprocessor warning:  ”    … ’ … „ 

^^ the last glyphs spell out "T A M P E R E D" when viewing with notepad++, not sure what that's about. When I diff the RadiantGI.fx here vs on my disk, they are identical.

Here is what my RadiantGI-related conf looks like in the ReShade preset .ini file:

KeyPCGI_One@RadiantGI.fx=46,0,0,0
[RadiantGI.fx]
Blend=0
Debug=1
Deep_Scattering=0.100000
Depth_Map=0
Depth_Map_Adjust=7.500000
Depth_Map_Flip=0
Diffusion_Saturation_Power=0.250000,0.500000
D_Irradiance=0.000000
GI_Power=1.000000
GI_Ray_Length=250.000000
GI_Res=0.800000
GI_Saturation=1.000000
GI_Sky_Saturation=1.000000
HDR_BP=0.500000
IGN_Toggle=1
Internals=0.540000,0.010000,0.010000
Luma_Map=0.500000
NCD=0.125000,0.000000
Offset=0.000000
PCGI_2DTexture_Detail=0.000000,1.000000
PCGI_Fade=1.000000
PP_Options=0
RadiantGI=0
Reflectivness=1.000000,0.500000
samples=6.000000
SamplesXY=6
Scattering=0
Sky_Adustment=3
Sky_Emissive_Selection=0
SSS_Seek=0.250000
Target_Lighting=0.050000
Trim=0.000000
Wrap=0.500000
BlueSkyDefender commented 1 year ago

Try the new ReShade and enable Copy Depth options. Before starting the shader.

Markxy commented 1 year ago

You mean these 2? image

Tested with 5.7.0, enabled these options, still crashed display drivers.

I normally use the other addon for depth, happens with both.