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

VRR Pink Screen Flicker #9230

Open
4 of 6 tasks
jncsotk30 opened this issue Jan 30, 2025 · 4 comments · May be fixed by #9334
Open
4 of 6 tasks

VRR Pink Screen Flicker #9230

jncsotk30 opened this issue Jan 30, 2025 · 4 comments · May be fixed by #9334
Labels
bug Something isn't working

Comments

@jncsotk30
Copy link

jncsotk30 commented Jan 30, 2025

Already reported ? *

  • I have searched the existing open and closed issues.

Regression?

I don't know, I started using Hyprland only recently

System Info and Hyprland Version

System/Version info
❯ Hyprland --version
Hyprland 0.47.0 built from branch  at commit 2a478c30cab89c8c608936ca966155da5b16728d  ().
Date: 2025-01-27
Tag: v0.47.0, commits:
built against:
 aquamarine 0.7.1
 hyprlang 0.6.0
 hyprutils 0.4.0
 hyprcursor 0.1.11
 hyprgraphics 0.1.1


no flags were set
Linux <redacted> 6.12.7 #1-NixOS SMP PREEMPT_DYNAMIC Fri Dec 27 13:02:20 UTC 2024 x86_64 GNU/Linux

System is a Zephyrus G14 2024 with an NVIDIA GeForce RTX 4070 Max-Q / Mobile GPU. It's running on a 4K monitor (3840x2160) at 240Hz with 1.333333 scaling.

Description

When setting the vrr property to 2 and rebuilding config (NixOS), if I switch between workspaces quickly, there is an obvious pink flash artifacting seen. If I disable vrr by setting to 0, the issues goes away. See video clip for example.

WARNING FOR EPILEPTICS: Video clip contains quick flashing changes on screen.

How to reproduce

  1. Set vrr property to 2
  2. Reload the config
  3. Quickly switch between workspaces with open clients.
  4. Set vrr to 0 to eliminate issue.

Attach not paste

  • I understand that all text files must be attached, and not pasted directly. If not respected, this issue will likely get closed as spam

Checklist of files to include below

  • Hyprland config - hyprctl systeminfo -c (always include)
  • Crash report (always include in case of crash)
  • Video (always include in case of a visual bug)
  • Logs (might contain useful info such as errors)

Additional info & File uploads

PXL_20250129_224409426.mp4
@jncsotk30 jncsotk30 added the bug Something isn't working label Jan 30, 2025
@jncsotk30
Copy link
Author

@UjinT34
Copy link
Contributor

UjinT34 commented Jan 30, 2025

Looks like one workspace has a fullscreen app and pink artifacts are caused by quick vrr on-off toggling.
Might be fixed with #9226 for regular fullscreen apps.

@jncsotk30
Copy link
Author

Looks like one workspace has a fullscreen app and pink artifacts are caused by quick vrr on-off toggling. Might be fixed with #9226 for regular fullscreen apps.

Thanks for your reply. I have two clients on WS1 and nautilus on WS2. Will check out your issue linked.

@UjinT34
Copy link
Contributor

UjinT34 commented Jan 30, 2025

ensureVRR gets called every time workspace changes but doesn't return early when vrr is in correct state already. resetExplicitFences and other stuff might be the cause of this issue. resetExplicitFences shouldn't be called without waiting for existing fences.

@UjinT34 UjinT34 linked a pull request Feb 5, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants