4 ms·
> X11 also doesn't have all the features we'd like it to have, such as the ability to render frames without tearing What exactly do you mean? My Xorg setup can
by badsectoracula 3y ago
> X11 also doesn't have all the features we'd like it to have, such as the ability to render frames without tearing
What exactly do you mean? My Xorg setup can render frames without tearing just fine, both in video playback (VLC) and in games.
TBH i don't really care about tearing (since it tends to come with input lag even on desktop usage) aside from videos, so i haven't looked much into it. However people are working on tearing in Xorg - see the latest commits by Sultan Alsawaf on the xfree86 subtree[0] (which is the standalone X server). Specifically this[1] commit adds a "TearFree" page flip mode in the modesetting driver for not having any sort of tearing at any setup.
[0] https://gitlab.freedesktop.org/xorg/xserver/-/commits/master/hw/xfree86 https://gitlab.freedesktop.org/xorg/xserver/-/commits/master...
[1] https://gitlab.freedesktop.org/xorg/xserver/-/commit/a94dd95369941471774cc78d22474db95fc4bb50 https://gitlab.freedesktop.org/xorg/xserver/-/commit/a94dd95...
- mort96 3y agoI don't know what sort of magic you're doing. I haven't been able to get a proper tear free experience on X11 across a very wide range of hardware and distros and desktop environments/compositors.
- badsectoracula 3y agoI'm using the amdgpu driver with Window Maker, i didn't need to do anything special for it to work. FWIW variable refresh rate also works (my monitor has VRR support and displays the current refresh rate in an overlay), though it needs an option in xorg.conf to enable. Note that i do have tearing in the desktop if i -e.g.- move windows around, but this is something i want as i do not like the slight input lag compositors add (even on my 165Hz monitor). However there isn't any tearing in VLC or in games (which, depending on the game, i might also run with VRR). AFAIK the modesetting driver got VRR support only recently and the TearFree mode only just a few months ago so if you used that you might have used some older version. Though if you tried a compositor, i don't remember using any compositor that didn't do some form of vsync to avoid tearing. I just started KDE Plasma with Xorg in another virtual terminal with its compositor and default settings (i started it as a different user with default settings that i sometimes use for testing) and there wasn't any tearing at all even on the desktop (again using the amdgpu driver).
- account42 3y agoTearFree has been working with the amdgpu DDX for ages btw. Zero tearing and with FreeSync the latency hit is negligible.
- badsectoracula 3y agoI am actually using amdgpu myself but i mentioned the modesetting driver since that is new development to show that people actually still work on that stuff.