• 0 Posts
  • 204 Comments
Joined 2 years ago
cake
Cake day: June 11th, 2023

help-circle






  • 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.


  • why is Xwayland not just automatically shunting the actual directive to set the permission over to xdg-desktop-portal, which you say can correctly handle this, on kde.

    It is doing that. It just doesn’t give the portal any information at all - neither that the request is coming from Xwayland, nor what X11 app is trying to emulate input.

    Like I said, the feature has been really poorly thought out.

    How can it be the case that XWayland can grant you an app temporary permission, but not permanent?

    It keeps the handle around until the X11 app’s process exits, then it’s gone. It’s how all on-demand permissions work, unless you do special stuff to restore it later without user interaction.

    that or Bazzite is doing some kind of special something that others are not.

    Yes, they patch permission prompts out entirely. They do that on their KDE edition too.


  • ZamundaaatoKDE@lemmy.kde.socialHow do I never see this again?
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    27 days ago

    xdg-desktop-portal-gnome has actually properly been updated to handle this, whereas xdg-desktop-portal-kde has not.

    No, that’s completely wrong. Like I said, Xwayland doesn’t remember the permission, which xdg-desktop-portal-kde would very much support.

    You get the exact same prompts every single time on Gnome too.


  • ZamundaaatoKDE@lemmy.kde.socialHow do I never see this again?
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    27 days ago

    The problem has persisted for years

    This feature hasn’t existed for years, it’s quite new.

    This has absolutely nothing to do with GTK or system trays, and it is in no way or form specific to KDE Plasma or a bug in it. It’s an Xwayland feature that was poorly thought out and that’s challenging to work around.


  • kde on wayland issue is making it pop up over and over again

    Unfortunately it’s an Xwayland issue. It doesn’t remember the permission, and it also doesn’t give the desktop any information to work around it. Because of how portals work, the desktop doesn’t even know the request is coming from Xwayland :/


  • That’s not right. Most monitors use 8 bits per color / 24 bits per pixel, though some are still using 6 bpc / 18bpp.

    HDR doesn’t mean or really require more than 8bpc, it’s more complicated than that. To skip all the complicated details, it means more brightness, more contrast and better colors, and it makes a big difference for OLED displays especially.