Compositor explanation

Which settings should I use in the compositor (at the monitor system settings) to get 144hz? I have 2 monitors with 144hz and one with 60hz and there seems to be a problem with my fps, it always only gives me 60fps when I activate V-sync and I think it might be an issue from the compositor or a misconfiguration in my compositor-settings - also is there any software out there or something similar that sets the 60hz-monitor to for example 144hz? I did not find it (searched before for it) but maybe someone can help me out here AND what are the recommended settings for compositor for gaming? I am a older garuda user but I don't understand the compositor-settings description there are in the settings, can someone elaborate please?

My garuda-inxi is below:

System:
  Kernel: 6.2.6-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=227fb294-ad60-48f6-9526-285a146fb1b6 rw rootflags=subvol=@
    quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    loglevel=3 ibt=off
  Desktop: KDE Plasma v: 5.27.3 tk: Qt v: 5.15.8 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: Micro-Star model: Z390-A PRO (MS-7B98) v: 1.0
    serial: <superuser required> UEFI-[Legacy]: American Megatrends v: 1.E1
    date: 11/17/2021
CPU:
  Info: model: Intel Core i7-9700K bits: 64 type: MCP arch: Coffee Lake
    gen: core 9 level: v3 note: check built: 2018 process: Intel 14nm family: 6
    model-id: 0x9E (158) stepping: 0xD (13) microcode: 0xF4
  Topology: cpus: 1x cores: 8 smt: <unsupported> cache: L1: 512 KiB
    desc: d-8x32 KiB; i-8x32 KiB L2: 2 MiB desc: 8x256 KiB L3: 12 MiB
    desc: 1x12 MiB
  Speed (MHz): avg: 4700 min/max: 800/4900:5000 scaling:
    driver: intel_pstate governor: performance cores: 1: 4700 2: 4700 3: 4700
    4: 4700 5: 4700 6: 4700 7: 4700 8: 4700 bogomips: 57600
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
Graphics:
  Device-1: Intel CoffeeLake-S GT2 [UHD Graphics 630] vendor: Micro-Star MSI
    driver: i915 v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20
    ports: active: none empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2 bus-ID: 00:02.0
    chip-ID: 8086:3e98 class-ID: 0380
  Device-2: NVIDIA GA104 [GeForce RTX 3060 Ti] vendor: Micro-Star MSI
    driver: nvidia v: 525.89.02 alternate: nouveau,nvidia_drm non-free: 525.xx+
    status: current (as of 2023-02) arch: Ampere code: GAxxx
    process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 01:00.0 chip-ID: 10de:2486
    class-ID: 0300
  Display: x11 server: X.Org v: 21.1.7 with: Xwayland v: 22.1.8
    compositor: kwin_x11 driver: X: loaded: modesetting,nvidia unloaded: nouveau
    alternate: fbdev,intel,nv,vesa dri: iris gpu: i915,nvidia display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 5560x1920 s-dpi: 107 s-size: 1320x456mm (51.97x17.95")
    s-diag: 1397mm (54.98")
  Monitor-1: DP-2 pos: top-left res: 1080x1920 hz: 144 dpi: 90
    size: 304x532mm (11.97x20.94") diag: 613mm (24.12") modes: N/A
  Monitor-2: DP-4 pos: primary,middle-c res: 2560x1440 hz: 144 dpi: 109
    size: 597x336mm (23.5x13.23") diag: 685mm (26.97") modes: N/A
  Monitor-3: HDMI-0 pos: bottom-r res: 1920x1080 hz: 60 dpi: 94
    size: 521x293mm (20.51x11.54") diag: 598mm (23.53") modes: N/A
  API: OpenGL v: 4.6.0 NVIDIA 525.89.02 renderer: NVIDIA GeForce RTX 3060
    Ti/PCIe/SSE2 direct-render: Yes
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel bus-ID: 1-9:7 chip-ID: 9886:002c
    alternate: snd_soc_skl,snd_sof_pci_intel_cnl class-ID: 0300
    bus-ID: 00:1f.3 chip-ID: 8086:a348 class-ID: 0403
  Device-2: NVIDIA GA104 High Definition Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 01:00.1 chip-ID: 10de:228b
    class-ID: 0403
  Device-3: Astro Gaming A50 type: USB
    driver: hid-generic,snd-usb-audio,usbhid
  Sound API: ALSA v: k6.2.6-zen1-1-zen running: yes
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.67 running: yes
Network:
  Device-1: Intel Ethernet I219-V vendor: Micro-Star MSI driver: e1000e
    v: kernel port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15bc class-ID: 0200
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 bus-ID: 03:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlp3s0 state: down mac: <filter>
  IF-ID-1: virbr0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-7:6
    chip-ID: 8087:0029 class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 0 state: down
    bt-service: enabled,running rfk-block: hardware: no software: yes
    address: <filter>
Drives:
  Local Storage: total: 5.91 TiB used: 3.05 TiB (51.5%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
    model: SSD 970 EVO Plus 500GB size: 465.76 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 2B2QEXM7 temp: 39.9 C scheme: MBR
  ID-2: /dev/sda maj-min: 8:0 vendor: SanDisk model: SSD PLUS 1000GB
    size: 931.52 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 00RL scheme: MBR
  ID-3: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST1000DM010-2EP102
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    type: HDD rpm: 7200 serial: <filter> rev: CC43 scheme: GPT
  ID-4: /dev/sdc maj-min: 8:32 vendor: Seagate model: ST4000DM004-2CV104
    size: 3.64 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    type: HDD rpm: 5425 serial: <filter> rev: 0001 scheme: GPT
Partition:
  ID-1: / raw-size: 465.76 GiB size: 465.76 GiB (100.00%)
    used: 229.97 GiB (49.4%) fs: btrfs dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-2: /home raw-size: 465.76 GiB size: 465.76 GiB (100.00%)
    used: 229.97 GiB (49.4%) fs: btrfs dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /var/log raw-size: 465.76 GiB size: 465.76 GiB (100.00%)
    used: 229.97 GiB (49.4%) fs: btrfs dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-4: /var/tmp raw-size: 465.76 GiB size: 465.76 GiB (100.00%)
    used: 229.97 GiB (49.4%) fs: btrfs dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 31.09 GiB used: 232.2 MiB (0.7%)
    priority: 100 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 53.0 C pch: 48.0 C mobo: N/A gpu: nvidia
    temp: 40 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 30%
Info:
  Processes: 365 Uptime: 57m wakeups: 0 Memory: 31.09 GiB
  used: 11.53 GiB (37.1%) Init: systemd v: 253 default: graphical
  tool: systemctl Compilers: gcc: 12.2.1 Packages: pm: pacman pkgs: 2088
  libs: 545 tools: gnome-software,octopi,pamac,paru pm: appimage pkgs: 0
  Shell: fish v: 3.6.0 running-in: alacritty inxi: 3.3.25
Garuda (2.6.15-1):
  System install date:     2023-03-04
  Last full system update: 2023-03-15
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager mkinitcpio nvidia-dkms
  Windows dual boot:       <superuser required>
  Failed units:

I have tried all the settings there are in the system settings but I don't know what else I could so I'm asking here

For the best performance and frame rate in your games, you should turn the compositor off.

There is plenty of guidance online for disabling the compositor automatically when you start a game. Otherwise, you can toggle it off in the KDE settings, or use the keyboard shortcut Shift+Alt+F12 to disable/re-enable the compositor manually.

Turn it back on when your game is finished if you would like to continue to enjoy the various KDE desktop effects that have been enabled (animations, transparency, etc).

6 Likes

Awesome, thank you very much for providing an answer! :slight_smile: Marked it as solved now

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.