Is freesync working on the latest Xfce / Mesa?

Wile freesync is enabled and recognized on my system, it doesn’t actually work. When i exit the game the monitor flickers with bumps from 40Hz to 155Hz.

Have you studied the wiki already?

https://wiki.archlinux.org/title/Variable_refresh_rate#Enable_on_AMDGPU

You did not provide much info. Please, provide output of

inxi -Fza
2 Likes

Please help us help you:

System:
  Kernel: 6.8.8-2-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.8-x86_64
    root=UUID=ced79fb3-4485-450f-8dd8-8624a64c9365 rw apparmor=1
    security=apparmor udev.log_priority=3 amdgpu.ppfeaturemask=0xffffffff
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 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: ASRock model: B450 Gaming-ITX/ac
    serial: <superuser required> uuid: <superuser required>
    UEFI: American Megatrends v: P8.01 date: 03/13/2023
CPU:
  Info: model: AMD Ryzen 5 5500 bits: 64 type: MT MCP arch: Zen 3 gen: 4
    level: v3 note: check built: 2021-22 process: TSMC n7 (7nm)
    family: 0x19 (25) model-id: 0x50 (80) stepping: 0 microcode: 0xA50000D
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB
    L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 400 min/max: 400/5275 scaling: driver: amd-pstate-epp
    governor: powersave cores: 1: 400 2: 400 3: 400 4: 400 5: 400 6: 400 7: 400
    8: 400 9: 400 10: 400 11: 400 12: 400 bogomips: 106843
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Vulnerable: Safe RET, no microcode
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines; IBPB: conditional; IBRS_FW;
    STIBP: always-on; RSB filling; PBRSB-eIBRS: Not affected; BHI: Not
    affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Navi 23 [Radeon RX 6600/6600 XT/6600M]
    vendor: Tul / PowerColor 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: DP-1 empty: DP-2, DP-3, HDMI-A-1, Writeback-1
    bus-ID: 03:00.0 chip-ID: 1002:73ff class-ID: 0300
  Display: x11 server: X.Org v: 21.1.13 compositors: 1: Picom v: git-89c2c
    2: xfwm4 v: 4.18.0 driver: X: loaded: amdgpu dri: radeonsi gpu: amdgpu
    display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 677x381mm (26.65x15.00")
    s-diag: 777mm (30.58")
  Monitor-1: DP-1 mapped: DisplayPort-0 model: Dell S2719DGF
    serial: <filter> built: 2019 res: 2560x1440 dpi: 109 gamma: 1.2
    size: 597x336mm (23.5x13.23") diag: 685mm (27") ratio: 16:9 modes:
    max: 2560x1440 min: 720x400
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast surfaceless: drv: radeonsi x11: drv: radeonsi
    inactive: gbm,wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.0.6-manjaro1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 6600 (radeonsi navi23
    LLVM 17.0.6 DRM 3.57 6.8.8-2-MANJARO) device-ID: 1002:73ff
    memory: 7.81 GiB unified: no
  API: Vulkan v: 1.3.279 layers: 5 device: 0 type: discrete-gpu name: AMD
    Radeon RX 6600 (RADV NAVI23) driver: mesa radv v: 24.0.6-manjaro1.1
    device-ID: 1002:73ff surfaces: xcb,xlib
Audio:
  Device-1: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel v: kernel pcie:
    gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 03:00.1 chip-ID: 1002:ab28
    class-ID: 0403
  Device-2: AMD Renoir Radeon High Definition Audio 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: 0d:00.1 chip-ID: 1002:1637 class-ID: 0403
  Device-3: AMD Family 17h/19h HD Audio vendor: ASRock 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: 0d:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Device-4: Telink VR P10 Dongle driver: hid-generic,snd-usb-audio,usbhid
    type: USB rev: 1.1 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 5-2:2
    chip-ID: 291a:385d class-ID: 0300
  API: ALSA v: k6.8.8-2-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: JACK v: 1.9.22 status: off tools: N/A
  Server-3: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 0a:00.0
    chip-ID: 8086:24fb class-ID: 0280
  IF: wlp10s0 state: up mac: <filter>
  Device-2: Intel I211 Gigabit Network vendor: ASRock driver: igb v: kernel
    pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 0b:00.0
    chip-ID: 8086:1539 class-ID: 0200
  IF: enp11s0 state: down mac: <filter>
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: Intel Wireless-AC 3168 Bluetooth driver: btusb v: 0.8 type: USB
    rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-6:3 chip-ID: 8087:0aa7
    class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 4.2
    lmp-v: 8 status: discoverable: no pairing: no class-ID: 6c0104
Drives:
  Local Storage: total: 931.51 GiB used: 267.7 GiB (28.7%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: A-Data model: LEGEND 800
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: V1122B0 temp: 37.9 C
    scheme: GPT
Partition:
  ID-1: / raw-size: 465.41 GiB size: 457.03 GiB (98.20%)
    used: 267.68 GiB (58.6%) fs: ext4 dev: /dev/nvme0n1p5 maj-min: 259:5
  ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%)
    used: 26.5 MiB (27.6%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 44.0 C mobo: N/A gpu: amdgpu temp: 36.0 C
    mem: 38.0 C
  Fan Speeds (rpm): N/A gpu: amdgpu fan: 0
Info:
  Memory: total: 32 GiB available: 31.22 GiB used: 2.56 GiB (8.2%)
  Processes: 294 Power: uptime: 7m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 12.48 GiB
    services: upowerd,xfce4-power-manager Init: systemd v: 255
    default: graphical tool: systemctl
  Packages: pm: pacman pkgs: 1527 libs: 472 tools: pamac pm: flatpak pkgs: 0
    Compilers: clang: 17.0.6 gcc: 13.2.1 Shell: Bash v: 5.2.26
    running-in: xfce4-terminal inxi: 3.3.34

Please edit your reply and format the inxi output properly.

Please have a level of trust in others. When i say that Freesync is enabled on my system you should immediately understand that it was working until recently and still says enabled. Also you should trust that i already tested all the relevant parts like compositor or not. I don’t understand the way you people tray to help from afar. It’s actually very simple: in your system with an Amd Gpu, does Freesync work? If yes then start talking to me like the problem is on my side.

Is the above correct?

Yes, thank you for doing that. :+1:

Also:

sudo cat /sys/kernel/debug/dri/1/DP-1/vrr_range
Min: 40
Max: 155

Sorry to break it to you, but this is not how it works, especially on a technical support forum.

2 Likes

Well i just got it working with Gamescop Compositor. So the problem is Picom or Xfce i guess. The thing fooled me because i tried without Compositor to and failed. I understand little by little how many ages behind Linux is: requires Compositor for Freesync to work at all :rofl:. If someone has a clue please say.

Downgraded by a lot both Picom and Kernel. Nothing fixed. Problem is with Xfce or Mesa.

  • picom is a standalone compositor
  • xfce has it’s own compositor

don’t mix the two

In case this wasn’t plain enough;
remove picom; configure XFCE as needed.
Let’s hope for your sake it’s that simple. :wink:

If you have finished rolling on the floor laughing you might begin to understand that it was your lack of research that led to the problem. It can happen easily when you rely on limited assumptions.

I did the same initially, when trying to configure a stable instance of Wayland on BSD and wasted more time than I care to mention, in the process.

Cheers.

Nope, an Xfxe or Mesa update broke Picom’s correct connection. We must find it.