FiveM app freezes after launch

Hi,

I just downloaded and installed the application, but when I open it, it freezes shortly after. This happens on the blue screen with “home servers settings” and I cannot select anything from that point.

Also sometimes get a crash with this “RAGE error”: [Window Title]
FiveM Fatal Error

[Main Instruction]
RAGE error: ERR_GFX_D3D_INIT

[Content]
A game error (at 00000001411fd9c0) caused FiveM to stop working. A crash report has been uploaded to the FiveM developers.
If you require immediate support, please visit FiveM.net and mention the details below.

Failed Initialization. Please reboot and restart the game. Try reinstalling the game if this persists.

[^] Details verbergen [Close]

[Expanded Information]
Crash ID: d02efa0d-7889-4656-8231-e1a78aed346c (use Ctrl+C to copy)