When loading into a server in Star Citizen the game seems to crash at compiling shaders.
Star Citizen Live 3.7.2
Performed a bisect
first bad commit: [00a064e32bcf46e3d0bb536ce11af1b4c22006d8] [dxvk] Don't clear bind mask for unbound UBOs and samplers.
I reverted that commit and tested and I could load the game without crashing.
I still don't have a way to debug these issues since nobody managed to provide an apitrace yet.
Not to mention that this makes absolutely no sense. The information whether a constant buffer or sampler is used in a shader is not even used by the shaders.
Actually, can you delete your state cache file and test again? There used to be a weird issue with RADV crashing when compiling identical pipelines in parallel, you might be running into that.
Well, I'll revert the commit, but please note that the commit itself is not the root cause of the bug.
Do you people have some Discord server where you discuss SC on Linux or what?
Yes, indeed there is: https://discord.gg/meCFYPj
I can confirm that deleting DXVK cache, Mesa cache and game's own shader cache (all 3 I know of) did not help, only switching back to 1.4.5.
A LUG member has provided a trace from Windows, if it helps:
https://drive.google.com/open?id=1ZVDwO8sEsisGMG_HfQF8PnuG7HEmt475
As long as there is a reduced amount of objects were you spawn into, its doing the job, but once you open a door and there is a new, mutch bigger amount of world geometry, textures and lights and so on, its crashing.
1.4.5 has been working nice with StarCitizen, beside of the dark shadows bug.
@beniwtv thanks, unfortunately I'm not getting a crash when replaying that apitrace. It also doesn't seem to reproduce the issue in #1262.
Yep that trace was not done on a planet (which is what happens on issue #1262) - that will need a separate trace
No crashing on nvidia with 1.4.6 btw, I have tried as hard as I could.
@Tk-Glitch 1.4.5 or 1.4.6? 1.4.5 is known to not crash.
Sorry, edited. I frogged up.
@Tk-Glitch Did you test the game or the api trace?
On the game itself. Ran it for 3 hours, landed at Arc Corp and Lorville, disconnected/reconnected there. Then I left my ship fly over ArcCorp planet and Hurston surfaces for a while. No crash during those 3 hours.
I can now also confirm 1.4.6 + the revert (what's now in the 1.4.6 release tarball) works and does not crash.
Ya, working again, thanks @doitsujin ^^