Try this: [Solution] Forcing FiveM/RedM to use your discrete GPU | Infinite Loading Fix
Let me know how it goes