Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Screen flickers on higher refresh rates #7087

Open
Richard-Fritsch opened this issue Jun 26, 2022 · 6 comments
Open

Screen flickers on higher refresh rates #7087

Richard-Fritsch opened this issue Jun 26, 2022 · 6 comments
Labels
bug Not working as intended

Comments

@Richard-Fritsch
Copy link

  • Sway Version:

    • sway version 1.7
  • Debug Log:

  • Configuration File:

  • Description:

    • When starting sway with a higher refresh rate than 60Hz or changing to it while it is running makes the screen flicker. The flickering occurs at different intensities, being almost unnoticeable on 120Hz, varying on 144Hz and being completely obnoxious on 75Hz.
@Richard-Fritsch Richard-Fritsch added the bug Not working as intended label Jun 26, 2022
@bragmore
Copy link

Hello,

I'm experiencing the same problem. Using anything above 60Hz causes the screen to flicker. As previously described 120Hz is almost unnoticable. My screen does however support 240Hz and it's flickering like crazy on that refresh rate.

@GrabbenD
Copy link

GrabbenD commented Aug 23, 2023

Experiencing this even without VRR.

Are there any workarounds?
Edit: #7087 (comment)

@ozwaldorf
Copy link

Getting extremely bad flickering on a 240Hz monitor, which unfortunately does not provide any alternative refresh rate options to workaround the issue

@emersion
Copy link
Member

Can you reproduce the same issue on other Wayland compositors?

@ozwaldorf
Copy link

ozwaldorf commented Apr 17, 2024

Can you reproduce the same issue on other Wayland compositors?

Hyprland works fine, swayfx fork suffers from the same upstream issue though. Can try some other compositors out too if needed (just wlroots based or others as well?)

Also, I don't have any VRR enabled

@GrabbenD
Copy link

GrabbenD commented Apr 17, 2024

Anecdotally I've experienced flicking when switching between various Wayland compositors (Sway -> RiverWM -> Hyprland -> Sway) within a short time span. Sticking with Sway for months-on-end usually never triggers this issue.

Workaround(s)

  • My monitor supports multiple refresh rates per resolution when inspecting: $ swaymsg -t get_outputs or $ wlr-randr. Changing from mode 3840x1600@119.982Hz to mode 3840x1600@120.045Hz was one way to solve it.
  • Next time it happened I unplugged the monitor from the wall socket for 24 hours to let all the capacitors drain.
  • With my standing desk the Displayport cable have risk of becoming loose. I've had success fixing intermittent flickering by re-seating the Displayport cable (plugging it out from the monitor + GPU and putting it back in on both ends).
  • I believe damage tracking reduces amount of re-draws to conserve power but as a consequence causes my refresh rate to dip to the minimum supported value (which is 8Hz for my specific monitor) when VRR is enabled. Because of this I have to make sure to only use VRR when playing fullscreened video or games to avoid flickering in desktop:
    Automatic VRR management #5076 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Not working as intended
Development

No branches or pull requests

5 participants