by jancsika · 3y ago · 0 comments
I'd like to know more about this one.
I mean, suppose the digital signage hardware/software supported OpenGL GPU-accelerated rendering. In that case how would Xorg tearing/tearfree matter? The software is just rendering using OpenGL so Xorg vs. Wayland shouldn't make any difference. IIRC some game dev mentioned this once, how their game is just using a toolkit doing full-screen accelerated rendering-- the underlying display server didn't really make a difference.
If I'm right, then the signage hardware must have been using non-accelerated path under Xorg.
That leaves me wondering:
* is most modern digital signage running without any GPU acceleration?
* does software rendering work well enough under Wayland to deliver smooth animation for professional use cases on underpowered hardware?
I'm just having trouble thinking of digital signage constraints that need high-enough framerate that Xorg was a problem, but also low enough that software rendering was feasible.
[0] https://www.reddit.com/r/linux_gaming/comments/6voivr/can_an...
[1] https://unix.stackexchange.com/questions/510757/how-to-autom...
Man, folks talk about all sorts of things that X11 doesn't do. (And you have some manual steps that you do every boot (but (as you say) could easily automate.)
Me? I just have this one file:
cat /etc/X11/xorg.conf.d/20-tearfree.conf
Section "Device"
Identifier "AMD"
Driver "amdgpu"
Option "TearFree" "on"
Option "VariableRefresh" "on"
EndSection
and I get all these things that people say X11 doesn't do:* zero tearing... whether in KDE or WindowMaker
* zero problems with my mixed-DPI displays (one 32" 2160p display, and one 24" 16:10 1200p display)
* zero problems with my mixed-refresh-rate displays (one at 60Hz and one at 59.95) (This one I've tested with my eyes and also with MPV. MPV is 100% aware of the display's refresh rate, and will dynamically get updates to that information as its window moves between the two displays.)
I DO NOT get VRR, because (last I checked) kwin on xorg doesn't support that.
I wonder how many folks who think that this stuff doesn't work are on Nvidia hardware. (Which (by the sound of it) doesn't work all THAT much better on Wayland.) I also wonder how many are on AMD/ATI hardware and don't know about the 'TearFree' option.