Can you try d3d9.floatEmulation = True?
Huh. That's weird, True does work! Only Auto and Strict black screens.
That makes sense because Auto means Strict with new radv since 1.9.4. What doesn't make sense is that Strict is supposed to match native behavior, so why does it break? Fwiw, I have a hard time reproducing the problem, can you try if other traces work for you? For example the one from #2458.
I also tried Portal 1, and it works perfectly fine for me.
Can't reproduce this with Dark Messiah or hl2ep2 on RDNA2 at least.
Also, I can't seem to play back my own traces. Maybe I made them wrong? I think it still loaded DXVK when I was using the apitrace d3d9.dll. Is there a way to make proton use a custom d3d9.dll without DXVK? IIRC PROTON_USE_WINED3D disables custom d3d9.dll usage completely.
Try PROTON_USE_WINED3D=1 WINEDLLOVERRIDES=d3d9=n,b
That trace plays back broken when
d3d9.floatEmulation = Strictand fine whenTrue.
Okay, I think this might be a RDNA1 specific RADV/ACO bug then. It replays fine for me on Renoir using the same dxvk and mesa version. And @Oschowa said on discord that it also works on RDNA2.
You should open a mesa issue.
Well I made a trace with wined3d.
It plays back now, but it's very broken. It's bad with d3d9.floatEmulation = True and even worse with Strict.
It even plays back wrong with wined3d...
If I make a mesa issue, would it help to make a GFXReconstruct trace of the issue, or should I just include that other guys apitrace trace, considering none of my traces work...
Or maybe a RenderDoc frame?
If you can create an gfxreconstruct/renderdoc capture that reproduces the issue you should include that. Otherwise only the other guy's apitrace is probably good enough. Make sure to fill out the radv issue template and to test with RADV_DEBUG=llvm.
PR that fixes this got merged in Mesa!
RADV_DEBUG=llvm`.x1 2022-01PROTON_USE_WINED3D=1x1 2022-01WINEDLLOVERRIDES=d3d9=n,b`x1 2022-01PROTON_USE_WINED3Dx1 2022-01d3d9.dllx1 2022-01
I'm on latest DXVK master and latest mesa-git on an AMD Radeon RX 5700 XT and Source games seem completely broken with default settings.
d3d9.floatEmulation = Falsefixes it.Video of what happens when I run Black Mesa
Software information
Tried
Black MesaandDark Messiah of Might and MagicSystem information
Apitrace file(s)
Log files
Black MesaDark Messiah of Might and Magic