daniel-schuermann / mesa

Mesa 3D graphics library (mirror; no pull requests here please)
http://mesa3d.org
135 stars 3 forks source link

Grand Theft Auto V Lighting Corruption (Intense bloom, overblown light) #151

Closed Xunderground closed 4 years ago

Xunderground commented 4 years ago

Describe the bug When running GTA V in Direct3D11 mode and using the ACO compiler (even with the vertex shaders being passed on to LLVM), the lighting in GTA V is overblown during certain times of day. You can test this using the ingame benchmark.

Screenshots Screenshot of incorrect ACO behavior Screenshot of behavior under LLVM

RenderDoc capture:

I attempted to capture a RenderDoc, but upon starting the capture, GTA V hard freezes and doesn't recover. I attempted to attach the renderdoc but it is over a gigabyte in size, and I'm not sure if that's correct. I can provide this file, or if anyone can direct me through possible troubleshooting for why it didn't work, I'm happy to try again.

System information:

Additional context GTA V is installed via Lutris install script, using DXVK (though the problem persists using Wine's built in D3D11 solution), and only occurs on the Direct3D11 backend.

daniel-schuermann commented 4 years ago

This seems to be the same issue as https://github.com/daniel-schuermann/mesa/issues/148. The size of your renderdoc capture seems normal to me. It also takes a while to capture while the screen freezes. You can test if your capture works and also reproduces the issue by opening it using qrenderdoc once with RADV_PERFTEST=aco and once with RADV_PERFTEST=llvm. If the capture shows the issue only with aco, please upload it somewhere and link it.

daniel-schuermann commented 4 years ago

closed as duplicate of https://github.com/daniel-schuermann/mesa/issues/148. @Xunderground I would appreciate if you can confirm that this issue has been fixed. Thx