It seems like you have multiple errors going on.
As for the DXGI error, try disabling all software that adds an overlay (nVida shadowplay, ts3, overwolf etc.).
Second error seems related to the server you are joining. The script they are using is causing an error.
[ 297297] error function called from 0x141595a2a for code 0x00000000
[ 297297] InvokeNative: execution failed: Error executing native 0x46a1e1a299ec4bba at address 0x7ffc110568fc.
[ 297297] [DEBUG]: Player teamid set to 5Error resuming coroutine: Execution of native 46a1e1a299ec4bba in script host failed.
[ 297297] stack traceback:
[ 297297] [C]: in upvalue ‘_in’
[ 297297] citizen:/scripting/lua/natives_21e43a33.lua:16236: in function ‘RemoveVehiclesFromGeneratorsInArea’
[ 297297] NoPeds/script.lua:13: in function <NoPeds/script.lua:1>
[ 301063] error function called from 0x141595a2a for code 0x00000000
You should contact the server owner to resolve this issue, giving the error message above should be enough for the server admin to resolve the issue.
If you have any concrete crashes that you know the name of (if you have the chance, take a screenshot of the error dialogue) then let us know.