FPS lock in Counterstrike Global Offensive

Hello fellow manjaro users,

Quick description of the problem :
When I start Counterstrike global Offensive my fps are locked to 60 fps although the AMD Ryzen 5 3600 CPU and the GeForce GTX 1660 SUPER GPU should be enough to provide at least 120 fps on this game which are the minimum to get a smooth experience

What I have tried so far :

csgo settings

  • Changed the Wait for vertical sync option to disabled, double buffered, and triple buffered
  • Entered fps_max 400 in csgo consol

manjaro and nvidia settings :

  • Went to NVIDIA X server settings → OpenGL Settings : Allow flipping is checked
  • Went to Manjaro Setting Manager and did Auto install Proprietary Driver

Every thing that I tried was in vain

What I noticed :
I run dota 2 with a max of 120 fps (dota 2 uses Vulkan when csgo uses OpenGL) it never goes higher or goes too much below, Celeste is running 60 fps, but interesting fact Mou&Blade II Bannerlord* which is a more recent game than csgo runs with higher fps than cs and does not seem to have a set limit.

What ā€œIā€ have concluded :
Something may be in the OpenGL and Vulkan settings is locking my fps to a certain value in some games

That is why I’m asking you guys if you have an Idea on solving this problem

Thank you in advance for your answer :slightly_smiling_face: !

My hardware :

Here is the output of inxi --admin --verbosity=7 --filter --no-host --width :

  Kernel: 5.10.41-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64 
  root=UUID=e547bdd3-e242-4309-bc4b-3079097a5dce rw quiet apparmor=1 
  security=apparmor udev.log_priority=3 
  Desktop: GNOME 3.38.4 tk: GTK 3.24.29 wm: gnome-shell dm: GDM 40.0 
  Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Desktop System: Gigabyte product: B450M DS3H v: N/A serial: <filter> 
  Mobo: Gigabyte model: B450M DS3H-CF v: x.x serial: <filter> 
  UEFI-[Legacy]: American Megatrends v: F50 date: 11/27/2019 
Battery:
  Message: No system battery data found. Is one present? 
Memory:
  RAM: total: 15.64 GiB used: 3.62 GiB (23.1%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: 6-Core model: AMD Ryzen 5 3600 bits: 64 type: MT MCP arch: Zen 2 
  family: 17 (23) model-id: 71 (113) stepping: 0 microcode: 8701013 cache: 
  L2: 3 MiB bogomips: 86279 
  Speed: 2793 MHz min/max: 2200/3600 MHz boost: enabled Core speeds (MHz): 
  1: 2793 2: 3009 3: 2196 4: 2196 5: 1940 6: 2195 7: 2195 8: 2195 9: 2685 
  10: 2858 11: 1910 12: 2195 
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1 
  bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy 
  constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total cqm_occup_llc 
  cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid f16c flushbyasid 
  fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibs irperf lahf_lm lbrv lm 
  mba mca mce misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc 
  nopl npt nrip_save nx osvw overflow_recov pae pat pausefilter pclmulqdq 
  pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pni popcnt pse 
  pse36 rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep sev sev_es sha_ni 
  skinit smap smca sme smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp 
  succor svm svm_lock syscall tce topoext tsc tsc_scale umip v_vmsave_vmload 
  vgif vmcb_clean vme vmmcall wbnoinvd wdt xgetbv1 xsave xsavec xsaveerptr 
  xsaveopt xsaves 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP: 
  conditional, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: NVIDIA TU116 [GeForce GTX 1660 SUPER] vendor: Micro-Star MSI 
  driver: nvidia v: 465.31 alternate: nouveau,nvidia_drm bus-ID: 06:00.0 
  chip-ID: 10de:21c4 class-ID: 0300 
  Display: x11 server: X.org 1.20.11 compositor: gnome-shell driver: 
  loaded: nvidia resolution: <missing: xdpyinfo> 
  OpenGL: renderer: NVIDIA GeForce GTX 1660 SUPER/PCIe/SSE2 
  v: 4.6.0 NVIDIA 465.31 direct render: Yes 
Audio:
  Device-1: NVIDIA TU116 High Definition Audio vendor: Micro-Star MSI 
  driver: snd_hda_intel v: kernel bus-ID: 06:00.1 chip-ID: 10de:1aeb 
  class-ID: 0403 
  Device-2: AMD Starship/Matisse HD Audio vendor: Gigabyte 
  driver: snd_hda_intel v: kernel bus-ID: 08:00.4 chip-ID: 1022:1487 
  class-ID: 0403 
  Sound Server-1: ALSA v: k5.10.41-1-MANJARO running: yes 
  Sound Server-2: JACK v: 0.125.0 running: no 
  Sound Server-3: PulseAudio v: 14.2 running: yes 
  Sound Server-4: PipeWire v: 0.3.28 running: yes 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Gigabyte driver: r8169 v: kernel port: f000 bus-ID: 04:00.0 
  chip-ID: 10ec:8168 class-ID: 0200 
  IF: enp4s0 state: up speed: 100 Mbps duplex: full mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: noprefixroute scope: link 
  WAN IP: <filter> 
Bluetooth:
  Message: No bluetooth data found. 
Logical:
  Message: No logical block device data found. 
RAID:
  Message: No RAID data found. 
Drives:
  Local Storage: total: 931.51 GiB used: 407 GiB (43.7%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 860 EVO 1TB 
  size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s 
  rotation: SSD serial: <filter> rev: 3B6Q scheme: GPT 
  Message: No optical or floppy data found. 
Partition:
  ID-1: / raw-size: 931.51 GiB size: 915.89 GiB (98.32%) used: 407 GiB (44.4%) 
  fs: ext4 dev: /dev/sda1 maj-min: 8:1 label: N/A 
  uuid: e547bdd3-e242-4309-bc4b-3079097a5dce 
Swap:
  Alert: No swap data was found. 
Unmounted:
  Message: No unmounted partitions found. 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 10 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Hub-3: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-4: 4-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Hub-5: 5-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 5-3:2 info: Razer USA DeathAdder Elite type: Mouse,Keyboard 
  driver: hid-generic,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s 
  power: 500mA chip-ID: 1532:005c class-ID: 0300 
  Device-2: 5-4:3 info: Razer USA BlackWidow Ultimate 2016 
  type: Keyboard,Mouse driver: hid-generic,usbhid interfaces: 3 rev: 2.0 
  speed: 12 Mb/s power: 500mA chip-ID: 1532:0214 class-ID: 0300 
  Hub-6: 6-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
Sensors:
  System Temperatures: cpu: 57.2 C mobo: 16.8 C gpu: nvidia temp: 50 C 
  Fan Speeds (RPM): N/A gpu: nvidia fan: 0% 
Info:
  Processes: 324 Uptime: 2h 48m wakeups: 1 Init: systemd v: 247 
  tool: systemctl Compilers: gcc: 11.1.0 Packages: 1635 pacman: 1624 lib: 495 
  flatpak: 5 snap: 6 Shell: Zsh v: 5.8 running-in: guake inxi: 3.3.04```