That error usually only appears on startup, it won't be the cause.
Check your dxdiag report and/or msinfo.32 WER/error reports. See if you can locate errors around time of crashes.
Many guides on the web how to stop driver from windows update.
Ryzen 5 5600x, B550 aorus pro ac, Hyper 212 black, 2 x 16gb F4-3600c16dgtzn kit, NM790 2TB, Nitro+RX6900XT, RM850, Win.10 Pro., LC27G55T..