Having trouble disabling freesync

  Kernel: 6.12.4-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    systemd.unified_cgroup_hierarchy=true amdgpu.ppfeaturemask=0xffffffff
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.43 wm: xfwm4 v: 4.18.0
    with: xfce4-panel tools: light-locker vt: 7 dm: LightDM v: 1.32.0
    Distro: Manjaro base: Arch Linux
Machine:
  Type: Desktop Mobo: Gigabyte model: B660 DS3H DDR4 v: x.x
    Megatrends LLC. v: F3 date: 01/19/2022
CPU:
  Info: model: 12th Gen Intel Core i5-12400 bits: 64 type: MT MCP
    arch: Alder Lake gen: core 12 level: v3 note: check built: 2021+
    process: Intel 7 (10nm ESF) family: 6 model-id: 0x97 (151) stepping: 5
    microcode: 0x37
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Navi 23 [Radeon RX 6600/6600
    XT/6600M] vendor: Sapphire driver: amdgpu v: kernel arch: RDNA-2
    code: Navi-2x process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4
    speed: 16 GT/s lanes: 16 ports: active: HDMI-A-1 empty: DP-1, DP-2, DP-3,
    Writeback-1 bus-ID: 03:00.0 chip-ID: 1002:73ff class-ID: 0300
  Display: x11 server: X.Org v: 21.1.14 compositor: xfwm4 v: 4.18.0 driver:
    X: loaded: amdgpu unloaded: modesetting,radeon alternate: fbdev,vesa
    dri: radeonsi gpu: amdgpu display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: HDMI-A-1 mapped: HDMI-A-0 model: BenQ EX240 serial: <filter>
    built: 2022 res: 1920x1080 dpi: 93 gamma: 1.2 size: 526x296mm (20.71x11.65")
    diag: 604mm (23.8") ratio: 16:9 modes: max: 1920x1080 min: 720x400
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi x11:
    drv: radeonsi inactive: wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.2.8-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 6600 (radeonsi navi23
    LLVM 18.1.8 DRM 3.59 6.12.4-1-MANJARO) device-ID: 1002:73ff
    memory: 7.81 GiB unified: no
  API: Vulkan v: 1.4.303 layers: 8 device: 0 type: discrete-gpu name: AMD
    Radeon RX 6600 (RADV NAVI23) driver: N/A device-ID: 1002:73ff
    surfaces: xcb,xlib

After playing Path of exile 2 for a while Freesync seem to eventually bug out and get monitor stuck at 28 hz, changing displays hz afterwards to anything above 60 hz just keeps it stuck at 28 hz, only restarting pc /changing to another user and then changing back again resets it back to 165 hz

I tried:

  • /etc/X11/xorg.conf.d/20-amdgpu.conf
    Option “VariableRefresh” “false”

Does not actually work

  • adding the game(Path of Exile 2) executable to /usr/share/drirc.d/00-mesa-defaults.conf with

Did manage to disable freesync once on game launch, but then i could not reproduce it

Compositor is disabled
Freesync can’t be disabled in Monitor OSD settings

This?

xrandr --output HDMI-A-1 --set "freesync" "off"

https://www.amd.com/en/resources/support-articles/faqs/GPU-754.html#gpu-754-enabling-freesync

that doesn’t work either
xrandr --props
doesn’t list freesync as a property as well

Well, then your monitor is not capable of freesync. Therefore, freesync is most likely not the problem, since even set in the options the monitor is not able to do so.

i didn’t have any issues that one time when game launched with freesync off in monitor ocd

BenQ EX240 is absolutely capable of freesync

Could it be that freesync is not support via HDMI on linux anyway? So only DisplayPort is supported?

That could explain why freesync is not listed at the props of xrandr.

Some displays which implement (part of) the HDMI 2.1 specification also support VRR over HDMI. This is supported by the Nvidia driver and is supported by the AMD driver (pre HDMI 2.1) in Kernel 5.13 and later [17].
https://wiki.archlinux.org/title/VRR

Point is, even if it doesn’t work properly it still causes issues
When monitors ocd does show that freesync premium is on, then Poe 2 sometimes buggs out monitors refresh rate, monitors osd shows 28 hz

When monitors ocd had freesync off, then everything was smooth