You are not logged in.

#1 2025-06-24 19:56:10

Adzinasty
Member
Registered: 2025-03-19
Posts: 18

[SOLVED] Monitor flickering in Sway

My monitor flickers when it has higher refresh rate than 60Hz on Sway,
here is output from:

swaymsg -t get_outputs
Output HDMI-A-1 'GIGA-BYTE TECHNOLOGY CO., LTD. GS27FC 25015B001620' (focused)
  Current mode: 1920x1080 @ 179.998 Hz
  Power: on
  Position: 1920,0
  Scale factor: 1.000000
  Scale filter: nearest
  Subpixel hinting: unknown
  Transform: normal
  Workspace: 3
  Max render time: off
  Adaptive sync: disabled
  Allow tearing: no
  Available modes:
    1920x1080 @ 60.000 Hz
    1920x1080 @ 179.998 Hz
    1920x1080 @ 165.001 Hz
    1920x1080 @ 144.003 Hz
    1920x1080 @ 120.000 Hz (16:9)
    1920x1080 @ 119.880 Hz (16:9)
    1920x1080 @ 100.000 Hz (16:9)
    1920x1080 @ 60.000 Hz (16:9)
    1920x1080 @ 59.940 Hz (16:9)
    1920x1080 @ 50.000 Hz (16:9)
    1680x1050 @ 59.883 Hz
    1600x900 @ 60.000 Hz
    1280x1024 @ 75.025 Hz
    1280x1024 @ 60.020 Hz
    1440x900 @ 59.901 Hz
    1280x960 @ 60.000 Hz
    1280x800 @ 59.910 Hz
    1152x864 @ 75.000 Hz
    1280x720 @ 100.000 Hz (16:9)
    1280x720 @ 60.000 Hz
    1280x720 @ 60.000 Hz (16:9)
    1280x720 @ 59.940 Hz (16:9)
    1280x720 @ 50.000 Hz (16:9)
    1024x768 @ 75.029 Hz
    1024x768 @ 70.069 Hz
    1024x768 @ 60.004 Hz
    1440x480 @ 60.000 Hz (16:9)
    1440x480 @ 59.940 Hz (16:9)
    832x624 @ 74.551 Hz
    800x600 @ 75.000 Hz
    800x600 @ 72.188 Hz
    800x600 @ 60.317 Hz
    800x600 @ 56.250 Hz
    720x480 @ 60.000 Hz (16:9)
    720x480 @ 59.940 Hz (16:9)
    640x480 @ 75.000 Hz
    640x480 @ 72.809 Hz
    640x480 @ 66.667 Hz
    640x480 @ 60.000 Hz (4:3)
    640x480 @ 59.940 Hz
    720x400 @ 70.082 Hz

And here is part of my config regarding the output:

output HDMI-A-1 resolution 1920x1080@179.998Hz position 1920 0

Please help

Last edited by Adzinasty (2025-06-25 09:01:05)

Offline

#2 2025-06-24 21:33:31

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,278

Re: [SOLVED] Monitor flickering in Sway

"Higher than 60Hz" or "180Hz"
What about 100Hz?
Do you get the same on X11 or other WL compositors (weston, hyprland, …)?

Online

#3 2025-06-24 22:01:55

Adzinasty
Member
Registered: 2025-03-19
Posts: 18

Re: [SOLVED] Monitor flickering in Sway

on hyprland it flicker but only when i change the refresh rate(does not matter if its higher or lower), after rebooting it stops flickering
have not tried x11 or any other wayland comositors, besides hyprland

on 100Hz it seems that flickering stopped, but Im not sure, because it may just become rarer

I will try i3

EDIT:
On 100Hz in sway there was no flickering, however screen flickers with 144Hz and 165Hz and 180Hz on i3 works fine, also I forgot to mention that i use amd gpu

Last edited by Adzinasty (2025-06-24 22:53:50)

Offline

#4 2025-06-25 06:05:07

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,278

Re: [SOLVED] Monitor flickering in Sway

I forgot to mention that i use amd gpu

There's been a lot of issues w/ the amdgpu firmware recently - one reporter claiming that some firmware version fixed their crashes but locked them into 60Hz…
20250613.12fe085f-9 has just moved out of testing, if that doesn't fix it, try 20250613.12fe085f-5 and 20250613.12fe085f-6 (both seem to have different bugs) and in very doubt to step down to the latest  20250508 (which will unfortunately move you into the linux-firmware versions before the recent split and you'll have to redo that dance…)

Ultimately, since you do not seem to get this w/ i3/X11, what if you enforce the high performance mode or 3D fullscreen power profile, https://wiki.archlinux.org/title/AMDGPU … nce_levels ?

Online

#5 2025-06-25 09:00:37

Adzinasty
Member
Registered: 2025-03-19
Posts: 18

Re: [SOLVED] Monitor flickering in Sway

Omg setting the high performance mode works just fine, thank you sir

I will mark this as solved

Offline

Board footer

Powered by FluxBB