InesAlexa7 Sorry for the late reply. Your dxdiag shows a number of serious crashes of the graphics driver, or one of them anyway. This would explain the Sims 4 issue if it were happening while you tried to play, and it should be addressed regardless of any other problems you're seeing. 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 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 is the most important, as in, 32 is higher than 31; after that, the last four numbers matter.
The proper order of operations here 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. The Nvidia driver may be a bit old, but please test with it before updating.
As noted, these driver crashes are a problem regardless of the Sims 4 issue, but the Sims 4 issue may be different. Specifically, HP gaming laptops often show a white screen at startup, and there are a few workarounds for this particular issue:
None of these works for everyone, but something almost always does, so keep trying the workarounds until you find one that lets you play.