protonscr

Horizontal lines glitch in fast movement

dxvkclosed
doitsujin/dxvk#4490 · opened 2024-11-25 by RaduNastase · updated 2024-11-27 · 4 comments · github
RRaduNastase 2024-11-25 github

Hello,

In multiple Winlator versions there is this glitch with dxvk, where these tearing-like lines appear. In some games it is more obvious than in others.
Tried all Turnip and dxvk conbos, no fix sadly.
Am i overlooking some obvious setting that instantly fixes it?

received_1290670928624862
received_2069260970169410
received_1287836472533884

Qqinlili23333 2024-11-26 github

Seems to be some issue with x11 and turnip, and most probably vsync regarding.
Vsync is always on for Android, but not always on inside Winlator. So x11 need to handle vsync presentation. These glitches are likely to come from vsync presentation.

Can you try to limit framerate to half of screen refreshrate and enable vsync in game? If this can fix, that's probably not dxvk issue.

RRaduNastase 2024-11-26 github

A person found a fix for it:

They say that in a Winlator version that has DRI3 extension on by default (with no option to disable it), adding these values fixes it:

MESA_VK_WSI_PRESENT_MODE = immediate
MESA_VK_WSI_DEBUG = sw

However, my Winlator version has the option to disable DRI3, but even then the glitches persist. But if i insert these Environment Variables suggested, it looks perfect, no more horizontal tearing-like glitch.

Thank you for your efforts friend 🤗

Qqinlili23333 2024-11-27 github

These variables control the presentation mode.

So this is just a presentation issue.

Issue can be closed as not our bug.

RRaduNastase 2024-11-27 github

Yes, sorry for wasting your time guys!

Have a great day.

Launch options