I stumbled upon this post regarding an earlier rant about wayland, but now it seems fine, according to the author.

After using Linux for nearly 5 years, using both depending on distros defaults, I have to admit that I never got the core/main/game changing differences between wayland and x11.

To be said, that I also dont do fancy linux things other than basic sysadmin stuff and from time to time repair the mess my curiosity left behind.

Could somebody explain the differences between those two and afterwards maybe also say some words about what this has to do with the difference between window managers and desktop environments?

I am also happy about links to good blog posts or stuff, that target this very questions (as long as the questions make sence of course). Thanks beforehand :)

  • cornshark@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    21 hours ago

    Why does Nvidia need to support night light? Can’t someone from Wayland just write a simple shader in any shader language that does colour adjustments and apply it to the desktop?

    • Zamundaaa@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      1
      ·
      18 minutes ago

      Why does Nvidia need to support night light?

      They don’t, but they needed to support the KMS API for applying lookup tables to the image sent to the screen - desktops relied on that functionality without a fallback, so when it wasn’t available, you just didn’t get the feature.

      Can’t someone from Wayland just write a simple shader in any shader language that does colour adjustments and apply it to the desktop?

      There’s no such thing as “someone from Wayland”, just the developers of the DEs (well, the project is named after a town, but I’m sure that’s not what you meant).

      But, yes, you can use a shader. We implemented that in KWin and we’re using it when the driver or hardware doesn’t support the functionality we need… but that has a noticeable performance impact, so it’s still necessary for the driver to support it natively.

    • Leaflet@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      ·
      20 hours ago

      The Nvidia driver didn’t support some protocol that AMD/Intel did that was used by desktops for the night light.

      Yes, they could have made the night light work. But why would they when Nvidia said the feature was coming soon? Well it turned out that soon was taking a very long time and eventually KDE actually did create a special night light implementation just for Nvidia. The problem was that it was a hack that had extra overhead. And in the end the hack didn’t get shipped because Nvidia finally starting supporting the protocol.