CSGO Lag On Community Servers

Alright so my issue is that sometimes my frame rate is dropping to ~10. This doesnt always happen but when it does its right after the server is changing maps or when i just join a server. Im mostly playing on community surf servers. Once it happens it doesnt go away until i relaunch the game. Ive done a little (really just a little) testing with playing on valves regular game servers and the problem doesnt seem to pop up. Its not my in game graphics as changing that does nothing once the problem starts. Any help or advise would be appreciated.

inxi -Gazy
  Device-1: NVIDIA GP107 [GeForce GTX 1050] vendor: eVga.com. driver: nvidia
    v: 515.48.07 alternate: nouveau,nvidia_drm non-free: 515.xx+
    status: current (as of 2022-06) arch: Pascal process: TSMC 16nm
    built: 2016-21 pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 29:00.0
    chip-ID: 10de:1c81 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.3 compositor: xfwm v: 4.16.1 driver: X:
    loaded: nvidia gpu: nvidia display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x286mm (40.00x11.26")
    s-diag: 1055mm (41.55")
  Monitor-1: DP-0 pos: primary,left res: 1920x1080 hz: 60 dpi: 70
    size: 698x393mm (27.48x15.47") diag: 801mm (31.54") modes: N/A
  Monitor-2: HDMI-0 pos: primary,right res: 1920x1080 hz: 60 size: N/A
    modes: N/A
  OpenGL: renderer: NVIDIA GeForce GTX 1050/PCIe/SSE2
    v: 4.6.0 NVIDIA 515.48.07 direct render: Yes