wine wayland windows not tearing (regression) #14225
Replies: 5 comments 1 reply
|
wine wayland tearing can be restored using the following patch: diff --git a/src/protocols/types/SurfaceState.cpp b/src/protocols/types/SurfaceState.cpp
index 7e1baaad8..b2e693073 100644
--- a/src/protocols/types/SurfaceState.cpp
+++ b/src/protocols/types/SurfaceState.cpp
@@ -88,8 +88,8 @@ void SSurfaceState::updateFrom(SSurfaceState& ref) {
bufferDamage = ref.bufferDamage;
} else {
// damage is always relative to the current commit
- damage.clear();
- bufferDamage.clear();
+ // damage.clear();
+ // bufferDamage.clear();
}
if (ref.updated.bits.input)though i dont really know if that patch fucks a bit how hyprland is supposed to handle those 2 vars. So long i've tested it for a week and nothing out of the ordinary. |
|
|
|
It seems this hasn't been fixed in the latest version I checked my hyprland.lua: hl.monitor({
output = "DP-1",
mode = "highres",
vrr = 2
})
hl.config({
...
allow_tearing = true
...
})
hl.window_rule({
name = "steamgames",
match = { class = "steam_app_.*"},
immediate = true
})and
GPU: RX 9060XT 16GB Should I ping to developers as written in issue guidelines? This discussion got 5 upvotes but not 👍️, so should I not? |
Uh oh!
There was an error while loading. Please reload this page.
Hi, i recently tried wine wayland driver/winewayland.drv=b and noticed how the game can get in solitary, and in DS, but it never tears, i tried disabling DS, no_hardware_cursors = 1, but it still didn't tear. Btw the problem is exclusive to wine wayland which is weird because i saw that in a pull (#11228) hyprland supported tearing just fine.
KDE wayland tears the game so i don't think is my PC, i've also tried different games, proton-cachyos and proton-ge to no avail.
i also found by bissecting that last time tearing worked with winewayland was before 17e77e0, but im completely lost on how current compositor impl blocks and damages.
All reactions