radv: In the game Quake II RTX appeared artifacts at fresh mesa builds
At evening after building new mesa snapshot I founded that the game Quake II RTX appeared artifacts.
Bisecting couldn't find exactly fist bad commit, because.
At commit a16df842 - GPU hang occured
At commit bea022d1 and 0569b350 - the game is crashed
Full bisection log bellow:
❯ git bisect log
git bisect start
# status: waiting for both good and bad commits
# good: [eec5ddd0ed24a3903f32b278db818b6bbaf4b51e] anv: Handle external objects allocation in Xe
git bisect good eec5ddd0ed24a3903f32b278db818b6bbaf4b51e
# status: waiting for bad commit, 1 good commit known
# bad: [0cde42a506f400c17a7362d8707b61998e1ad03d] radv: Wait for shader uploads asynchronously.
git bisect bad 0cde42a506f400c17a7362d8707b61998e1ad03d
# bad: [c06329eb3f8d1e2d4c9a154d75fa563ae1013aad] ac/nir: tcs write tess factor support pass by reg
git bisect bad c06329eb3f8d1e2d4c9a154d75fa563ae1013aad
# good: [c38b8678c950780fa28df48ec86314f103a68c0b] radv: add RT shader handling to radv_postprocess_config
git bisect good c38b8678c950780fa28df48ec86314f103a68c0b
# skip: [a16df842a66b71623b8526109e61aa82a535b70c] radv: compile rt_prolog
git bisect skip a16df842a66b71623b8526109e61aa82a535b70c
# bad: [174d6e6a545c03a9ac2a14287fae0071a79c1cda] glsl: allow 64-bit integer on RHS of shift
git bisect bad 174d6e6a545c03a9ac2a14287fae0071a79c1cda
# good: [4b92a532859e5a027958ee348bcc50d678aca598] radv: add radv_create_rt_prolog()
git bisect good 4b92a532859e5a027958ee348bcc50d678aca598
# skip: [bea022d1f6abe6c0b5a49dc512bd54e11cf95f96] radv/rt: Add shader config combination/postprocessing utils
git bisect skip bea022d1f6abe6c0b5a49dc512bd54e11cf95f96
# skip: [0569b350ed38453229d7fe289dc6a5eb16c855a2] radv: Emit RT shader VA user SGPR
git bisect skip 0569b350ed38453229d7fe289dc6a5eb16c855a2
# bad: [f123d65e9f50e57b9af3de2e0e77618fcd9d2ddd] radv/rt: use prolog for raytracing shaders
git bisect bad f123d65e9f50e57b9af3de2e0e77618fcd9d2ddd
# only skipped commits left to test
# possible first bad commit: [f123d65e9f50e57b9af3de2e0e77618fcd9d2ddd] radv/rt: use prolog for raytracing shaders
# possible first bad commit: [bea022d1f6abe6c0b5a49dc512bd54e11cf95f96] radv/rt: Add shader config combination/postprocessing utils
# possible first bad commit: [0569b350ed38453229d7fe289dc6a5eb16c855a2] radv: Emit RT shader VA user SGPR
# possible first bad commit: [a16df842a66b71623b8526109e61aa82a535b70c] radv: compile rt_prolog
GPU: AMD Radeon 7900XTX
CPU: AMD Ryzen 3950X
Kernel: 6.3-rc2
Edited by Mikhail Gavrilov