hyprland-wiki/content/Configuring/Tearing.md

57 lines
1.3 KiB
Markdown
Raw Permalink Normal View History

---
2025-08-28 11:20:34 +02:00
weight: 11
title: Tearing
---
2023-09-28 21:58:51 +01:00
Screen tearing is used to reduce latency and/or jitter in games.
## Enabling tearing
To enable tearing:
- Set `general:allow_tearing` to `true`. This is a "master toggle"
- Add an `immediate` windowrule to your game of choice. This makes sure that
Hyprland will tear it.
2025-10-29 20:52:11 +01:00
> [!WARNING]
> Please note that tearing will only be in effect when the game is in fullscreen
> and the only thing visible on the screen.
2023-09-28 21:58:51 +01:00
Example snippet:
2023-09-28 21:58:51 +01:00
```env
general {
allow_tearing = true
}
windowrule = match:class cs2, immediate yes
2023-09-28 21:58:51 +01:00
```
2025-10-29 20:52:11 +01:00
> [!WARNING]
> If you experience graphical issues, you may be out of luck. Tearing support is
> experimental.
2025-10-29 20:52:11 +01:00
> See the likely culprits below.
2023-09-28 21:58:51 +01:00
## Common issues
2023-09-28 22:06:29 +01:00
### No tearing at all
Make sure your window rules are matching and you have the master toggle enabled.
2023-09-28 22:06:29 +01:00
Also make sure nothing except for your game is showing on your monitor. No
notifications, overlays, lockscreens, bars, other windows, etc. (on a different
monitor is fine)
2023-09-29 01:19:40 +01:00
2023-09-28 22:06:29 +01:00
### Apps that should tear, freeze
Almost definitely means your GPU driver does not support tearing.
2023-09-28 22:06:29 +01:00
Please _do not_ report issues if this is the culprit.
2023-09-28 21:58:51 +01:00
### Graphical artifacts (random colorful pixels, etc)
2023-09-28 22:06:29 +01:00
Likely issue with your graphics driver.
2023-09-28 21:58:51 +01:00
Please _do not_ report issues if this is the culprit. Unfortunately, it's most
likely your GPU driver's fault.