protonscr

Vsync Not Working?

dxvkclosed
doitsujin/dxvk#265 · opened 2018-04-10 by ekianjo · updated 2018-05-12 · 7 comments · github
Eekianjo 2018-04-10 github

Software information

Seen in Witcher 3, but I have no idea if it is related to that game or a widespread issue at this stage.

System information

  • GPU:GTX970 nVidia
  • Driver: 390.x
  • Wine version: 3.5
  • DXVK version: 0.41
  • OS: Linux Mint 18.3
  • Compositor: Compton

Vsync on/off does not seem to change the rendering at all, which always shows some slight tearing especially visible in rapidly moving scenes. I do not have tearing problems with other games on the same distro/hardware, so wondering if it's just because Vsync is not properly supported yet or not.

Ddoitsujin maintainer 2018-04-10 github

Vsync is properly supported and should work fine, although it's not the first time I hear Nvidia users having issues with it (usually the other way around though). Can you try running the game from an X.org session rather than Wayland?

Also, do the FPS change when enabling Vsync? You can use export DXVK_HUD=fps to display the current frame rate.

TTiZ-HugLife 2018-04-10 github

It's not Wayland. Compton is an external compositor for Xorg. So if you're running a WM without a compositor or with a bad one (hi xfwm4), you run compton in addition and get a lot of configurability and some nice, subtle effects.

That said, OP, why did you mention compton? Have you tried running without it, or with different vsync options for compton?

Ddoitsujin maintainer 2018-04-10 github

Ah, must have mixed up Compton with Weston, sorry.

But yeah, compositors can very well cause vsync-related issues if not configured properly, that's worth checking.

Xxpander69 2018-04-10 github

go to nvidia-settings and under Display Configurations choose Advanced and enable ForceCompositionPipline for you monitor, that will fix the tearing. no need for vsync, which causes input lag.

You can also save this to your Xorg configuration so it will be enabled on every reboot.

that issue shouldn't even be here.

?ghost 2018-04-10 github

@xpander69 stop recommending that, it usually makes performance like 30% worse

Xxpander69 2018-04-10 github

what? what DE? i have ran several test with it on and off, performance is always about same, +/- 1-2%

Eekianjo 2018-04-10 github

@doitsujin you can close this issue. I changed compositor and the tearing disappeared, so it's probably a Compton related issue in my case. Thanks for your answer!

Launch options