5 ms·
One of the funniest instances of software intentionally kneecapping itself are compositors. As far as I know compositors universally treat all monitors together
by formerly_proven 6y ago
One of the funniest instances of software intentionally kneecapping itself are compositors. As far as I know compositors universally treat all monitors together as a single surface and just assume that they're synchronized. On Windows, this causes all sorts of hilarious stuttering and hitching. On Linux, compositors just vsync on the slowest display.
- simcop2387 6y agoFrom what I understand, on linux wayland makes it possible to do this properly but I'm not sure that any environment on top of it is doing it. I think it's in a "nice to have" holding pattern for them because there's still so much to do to getting a stable and usable desktop environment there to begin with.
- juergbi 6y agoShould be fixed in the upcoming GNOME 3.38: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1285 https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1285
- phkahler 6y agoI wrote a gtk program in Rust that did all its work in the wrong place. It locked up the ability to move ANY windows on the desktop for several seconds. That's a compositor design issue if ever there was one. Is that going to get fixed?
- kevincox 6y agoThis is changing, I believe that the next release of mutter (GNOME) will remove the global clock on Wayland so it can drive each monitor at it's native frequency[1]. IIUC input is still driven at 60Hz but changing this is in discussion [2]. [1] https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1285 https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1285 [2] https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/168 https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/168
- The_rationalist 6y agoHow does mutter behave for X?
- Shared404 6y agoMutter is a compositor for Wayland iirc, so it's non-applicable to X.
- The_rationalist 6y ago?? If so what's the X gnome compositor?
- Shared404 6y agoDid a little more research, Mutter is used on X as well it looks like, or at least used to be [0]. Sorry for the inaccuracy. https://en.wikipedia.org/wiki/Mutter_(window_manager) https://en.wikipedia.org/wiki/Mutter_(window_manager) Edit: I missed the part where you were asking specifically about GNOME. Removed everything unrelated to that.
- formerly_proven 6y ago> IIUC input is still driven at 60Hz but changing this is in discussion [2]. Why are inputs synchronized to the frame in Wayland? What the f---? That's just... wow.
- bonestormii_ 6y agoAbsolutely. I have a laptop with a 1080p screen that's like 15-inches and a 27-inch 1080p monitor that I connect to it. When I scroll in MS Word, there is this insane black tearing across the white surface when I scroll, but only on the laptop monitor. It's A WORD PROCESSOR! It's just a word processor... It's.... weeps
- max38 6y agoI have a similar setup, but experience no such issues. maybe it's specific to your hardware/drivers?
- bonestormii_ 6y agoMaybe, but I have drivers for the monitors and everything else factory default windows install. It’s some ASUS predator gaming laptop that I inherited, but it’s reasonably powerful.
- signal11 6y agoYou may need a driver for the laptop's video card. The 'tearing' you describe is very characteristic of Microsoft's generic display drivers, perhaps for some reason the OS was unable to auto-install the driver? Or the graphics card isn't being used for some reason? E.g., if your laptop has NVidia's Optimus[1], the graphics card may be inactive while Word's running. There's usually a way to force applications to use the GPU with Optimus. [1] https://www.nvidia.com/en-us/geforce/technologies/optimus/ https://www.nvidia.com/en-us/geforce/technologies/optimus/
- bonestormii_ 6y agoDefinitely have actual Nvidia drivers installed.
- PeterStuer 6y agoPredator is an Acer line, not ASUS. Are you sure Word is using the nVidia gpu and not the Intel (on processor) gpu?
- wlesieutre 6y agoWindows 10 has improved this earlier this year (2004 = 2020 April): https://www.reddit.com/r/Windows10/comments/f57tk4/dwm_multiple_monitors_with_different_refresh_rate/ https://www.reddit.com/r/Windows10/comments/f57tk4/dwm_multi...
- scotty79 6y agoI just yesterday tried current stable debian with kde and after installing nvidia drivers it started vsyncing to my fastest display, not the slowest. (I checked with glxgears).