6 ms·
> Xorg is 16 years old Xorg is a fork of Xfree86 which started in 1991 but feature parity minus the cruft has been reached years ago. Some people disagree abou
by brmgb 6y ago
> Xorg is 16 years old
Xorg is a fork of Xfree86 which started in 1991 but feature parity minus the cruft has been reached years ago. Some people disagree about what is cruft however.
For example, I view 90% of the list in the posted articles to be minor softwares relying on undesirable behaviour and unwilling to adapt (the remaining 10% being misrepresentation of actually solved issues listed in bad faith). The original author would obviously disagree.
Then again, I consider X.org to be and always have been completely unusable. How can people accept to use a display manager with constant screen tearing is beside me.
- noname120 6y ago> How can people accept to use a display manager with constant screen tearing is beside me That's solved by using a compositing window manager such as Compton.
- brmgb 6y agoThat's also solved by using Wayland with Gnome 3 which comes by default and doesn't require me to tweak anything.
- scarygliders 6y agoYou don't even need a compositor. Just activate Force Full Composition Pipeline if you have an nvidia card. see: https://imgur.com/a/lDfObqw https://imgur.com/a/lDfObqw It's in the advanced settings. Silky smooth Xorg web browsing and video at no extra compositor cost.
- account42 6y agoOr `Option "TearFree" "on"` in your xorg.conf for AMD users. Might even be the default by now.
- oceliker 6y agoThank you so much for this! I've been looking for a solution in picom config for way, way too long.
- scarygliders 6y agoYou're welcome. Frankly I have no idea why it's not enabled by default.
- adrusi 6y agoNo, that does not solve the issue. Not using a compositor definitely makes tearing worse, on top of a number of other things, but even with a compositor, you'll get tearing on X, at least using intel graphics.
- wander_homer 6y agoMy notebook is using Intel graphics and there's definitely no screen tearing nowadays on X.org with compositing enabled.
- arp242 6y ago> How can people accept to use a display manager with constant screen tearing is beside me. I never even noticed it, and I never quite understood what people are on about with this. I had to go to YouTube to watch a demo video to see what it really looks like. And if I try it, then yes, I suppose I see some tearing if I move a window and pay close attention to it. But I never even noticed on my own, and am not bothered by it in the slightest. Would it be better without it? Sure. But the amount of effort to eliminate what I experience as basically a non-issue is a poor trade-off IMO.
- nerdponx 6y agoSame here on all points, including Youtube. I always envisioned some kind of critical graphics failure from the way people talk about it. Maybe my standards are too low.
- adrusi 6y agoMaybe it's overhyped, but tearing does make me feel like I'm using an amateur OS, especially when I'm using X for some weeks and then hop over to wayland or Mac or Windows, and the picture looks stable.
- josefx 6y agoTearing can be a gigantic issue when you have full screen videos or render games. However as far as I could find these are caused by the KDE/Gnome/etc. compositor not running in sync with the screen refresh rate. Find a way to bypass the compositor(KDE options to disable it, GNOME with full screen windows, or tell the X window to override the compositor) and it goes away. Its easy to lob all problems on X but whats next? Did it also cause 9/11?
- adrusi 6y agoI'm not familiar with the internals enough to know if you're right about tearing being the compositor's fault, though I'd be quite surprised if disabling the compositor resulted in less tearing. But I do know that I experienced tearing using compton with i3 (though much less than i3 with no compositor). If Gnome, KDE and compton all manage to get compositing wrong on X, and yet every wayland compositor manages to get it right, then maybe it is a problem with X, even if there is some arcane way to fix the issue.
- executesorder66 6y ago> How can people accept to use a display manager with constant screen tearing is beside me. I'm not saying this isn't true, but I always find it interesting when I see people complain about screen tearing. How often does it actually happen to you, and under which circumstances? Personally I've been using computers since 1995, (Windows and Linux) and I practically never encounter screen tearing. And this is on a wide variety of hardware. Spread evenly over intel, nvidia, and AMD. The rare times I did encounter it, was only on one PC with an ancient nvidia graphics card (running Arch linux, bspwm). And it would only ever (if even) happen right before a restart after updating the nvidia drivers.
- phkahler 6y ago>> I'm not saying this isn't true, but I always find it interesting when I see people complain about screen tearing. >> How often does it actually happen to you, and under which circumstances? It happens every time I Watch a video on X, which is really annoying. It also happens when dragging large windows on my 4k. Wayland is fantastic in this regard.
- brmgb 6y ago> How often does it actually happen to you, and under which circumstances? Scrolling, moving windows, resizing windows, approximately constantly.
- scarygliders 6y agoThen you haven't switched on Full Composition Pipeline on your nvidia card (if you're using nvidia that is). I've been enjoying silky smooth Xorg and video for a very, very long time.
- sokoloff 6y agoScreen sharing seems a critical feature to enough people to rise well above mere “minor feature” if the goal is to replace Xorg. That was probably true 12 months ago, but definitely true 8 months ago. If the goal is to have a different display protocol that a significant fraction of the possible user base can’t reasonably use as their root display because it provides yet another way in which “Linux isn’t ready for this to be the year of the desktop”, that’s a perfectly reasonable aim, but it seems like Wayland is targeting replacing X, in which case supporting screen sharing (and recording) is probably not an ignorable “minor feature degradation”.
- adrusi 6y agoWayland definitely supports screen capture.
- Filligree 6y agoCan you write an application which uses screen capture on Wayland, and which works equally well regardless of compositor? If not, then Wayland doesn't support screen capture. Individual compositors might, but asking developers to implement five separate screen capture protocols is a big ask.
- adrusi 6y agoYou can. The standard is new, but it exists, and now works on Gnome, KDE and wlroots based compositors https://wiki.archlinux.org/index.php/PipeWire https://wiki.archlinux.org/index.php/PipeWire (read past the intro paragraph to where it talks about the various backends available)
- scarygliders 6y agoScreen tearing for me has been a thing of the past for years now - just switch on "Force Full Composition Pipeline" on your Nvidia card and hey presto, no more tearing.
- paulie_a 6y agoIn 25 years I've never noticed any screen tearing on a variety of hardware. I'm sure it's happened but it's never been a noticeable issue Is this really a problem for people?
- haspok 6y agoYes. Even scrolling a long page (like this HN thread) in a web browser can easily produce it. Can be very, very annoying.
- mrob 6y agoI consider tearing a feature. Tearing is an unavoidable consequence of writing to the front buffer, and writing to the front buffer is required if you want the minimum latency possible. If you write to the front buffer, then so long as the part of the screen you're updating is below the raster position you'll see it that same display frame. If you write to the back buffer and then wait for vsync to swap buffers and avoid tearing then you won't see it until the next display frame. I value latency more than aesthetics, so I never use a compositor or Xorg's TearFree feature. The goal of Wayland is "every frame perfect", which means I consider it broken by design. I want imperfect frames right away, not perfect frames later.
- stragies 6y agoIn an ideal world that would be an option to toggle. I can see use-cases/occasions for both "fast&nearly_perfect" and "slow&pixel-perfect"