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
vsync not working correctly on xorg #16
Comments
|
AMDVLK uses copy to present even for fullscreen application. |
|
Thanks for your response, I created a bug entry in the xf86-video-amdgpu section of Xorg freedesktop tracker: |
|
Michel Dänzer informed me that tearing in windowed mode on Xorg can in no way get reliably prevented without a compositor. |
|
As I mentioned before, for some reason, AMDVLK did not enable page flip for fullscreen application for now. |
|
Thanks for the clarification, I'll gladly test it as soon it goes live. |
|
For testing, you can set useFlipHint true in xgl/icd/settings.cfg. |
|
Can I set this also with precompiled binaries? |
|
It's not necessary to rebuild the binary, just add following line into /etc/amd/amdPalSettings.cfg |
|
Thank you, seems to work like a charm. :) |
|
Btw.: Is there a reason why this is not enabled by default? |
|
normally "TearFree" should do it...
is still good or not? because most of them take it with Take tearing for example to have no input delays etc .. |
|
TearFree is not enabled by default for single display configurations. |
|
depends on the game in my opinion for example i would never vsync on shooter or racing games. |
|
@JacobHeAMD Could you please provide an update why this is not enabled by default? I don't experience any drawbacks with that option set. |
|
I also think it might be good to enable this by default, until i found this report i almost gave up on amdvlk because i thought the tearing was unfixable. |
|
At least please document this setting in the readme. |
|
Hm, Please implement proper vsync in amdvlk, and of course also FreeSync at this occasion. 👎 It's both available in RADV. |
|
Just in case: Please test vsync with either amdgpu.dc=0 (if you are on Polaris or older) or use the modesetting Xorg DDX driver, as there is this issue screwing up vsync in at least many Wine games with amdgpu.dc=1 + xf86-video-amdgpu-git: |
|
I've opened a new ticket for it. |
In an Xorg session, try out any application which is suitable to spot tearing (e.g. vkquake, set host_maxfps to a value well above display refreshrate) and enable vsync in it.
There is a small stripe of tearing very close to the top of the screen, which is not there with any OGL application and RadeonSI.
Side note: RadV has a similar issue, but only in windowed mode. amdvlk has it both in windowed and fullscreen.
The text was updated successfully, but these errors were encountered: