AnizArtist I've split your post into its own thread because it's easier to keep track of crashing issues separately. Thanks for the dxdiag, which shows one of your laptop's graphics drivers is crashing repeatedly. So please do a clean uninstall and reinstall of both drivers, as described here:
https://crinrict.com/blog/2019/02/clean-re-install-of-graphics-drivers-with-display-driver-uninstaller-ddu.html
Use the newest drivers HP provides for your laptop. Go here:
https://support.hp.com/us-en/drivers/laptops
Enter your serial number, choose your OS (just Windows 11 is fine) if prompted, click All Drivers, expand Driver-Graphics, and download the newest Intel and Nvidia drivers by version number. The first number matters most, e.g. 32 is newer than 31; after that, the last four numbers matter.
The proper order of operations is uninstall the Nvidia driver > uninstall the Intel driver > restart > reinstall the Intel driver > restart > reinstall the Nvidia driver > restart, all while your computer is offline.