@lucy2 did you replace the card or do you still use it?
I recently started testing the driver issues on my own (new) RX 5700 XT.
the only thing that worked to prevent crashes:
is the 5700 XT stable now? - reset to driver defaults (link to other topic)
--- [ CPU: Ryzen 7 3800XT | GPU: ASRock RX 5700XT Challenger Pro 8GB | driver: 24.1.1 ]
--- [ MB: MSI B550-A Pro AGESA 1.2.0.7 | RAM: 2x 16GB 3600-CL16 | chipset: 6.01.25.342 ]