Was the trace recorded on Linux? Probably more helpful to have one from native Windows directly. For some reason it also crashes on replay unless I hack dxvk to never delete any objects, so I can't check if it happens on wined3d or native d3d either.
All that said, I don't really see any reason why the clouds wouldn't be black, the game multiplies the color with some dot product involving a non-normalized normal vector that ends up getting clamped to 0, and the data that causes that to happen all comes from constant buffers which are written by the game's CPU code. Maybe try DXVK_CONFIG="dxvk.zeroMappedMemory=True" or DXVK_CONFIG="dxgi.hideAmdGpu=True", something about this screams game bug.
Yes. I recorded the trace on Linux with DXVK. The game refuses to start on WineD3D so I can't test whenever this bug is present there. I was also trying to get a renderdoc trace since it supports individual frame capture, but I had difficulty getting it to work in wine wow64 with a 32 bit game like BF3.
I can capture an apitrace on Windows, sure.
Can't take apitrace on Windows. For some reason I completely lose input and can't get past the "Press Enter to begin" after the startup movie. I got renderdoc capture directly on Windows though. Would that be useful?
Assuming it's an actual D3D11 capture then I'll take it, better than nothing.
Thanks. Annoyingly this renders properly when replaying with DXVK, but there's a nonzero chance that the turbocursed render-to-buffer thing that we don't currently support has something to do with it.
That said, the game uses different shaders for rendering the clouds than it does in the apitrace for some reason.
Please try #5858. Not really tested, but does appear to work with the RenderDoc capture at least.
Here's a build in case you can't build yourself since our CI is currently borked:
dxvk-bf3.tar.gz
It worked! Thank you for this quick fix
DXVK_CONFIG="dxgi.hideAmdGpu=True"x1 2026-08DXVK_CONFIG="dxvk.zeroMappedMemory=True"x1 2026-08
Software information
Battlefield 3
System information
Apitrace file(s)
(NOTE: that when I used apitrace clouds looked like completely solid white cutouts, so I'm not sure how accurate it is)
Windows and Linux DXVK:

Windows DirectX:

With apitrace and DXVK:
