In 2024, with GNOME 45, Wayland, and 1.25 fractional scaling, regular DPI displays still look better than HiDPI displays. This is a photo of Discord on two laptops side by side.

The blurry one is the HiDPI display from Framework 13. The sharp one is a regular DPI display from Dell XPS 13. Both laptops.

The difference is even more stark in person.

Even the screenshots from the Framework are blurrier than the screen shots from the Dell.

  • Pasta Dental@sh.itjust.works
    link
    fedilink
    arrow-up
    122
    ·
    8 months ago

    This is an Xwayland and Electron issue, not a Discord or Gnome or a Display issue. This is because Electron under Xwayland (and also somewhat under Wayland) doesn’t behave well with fractional scaling. If you want a true comparison, try opening Discord on Firefox with Wayland. It will be night and day in terms of sharpness compared to regular DPI displays

    • exu@feditown.com
      link
      fedilink
      English
      arrow-up
      13
      ·
      8 months ago

      It’s also posaible to open Discord with Wayland directly by editing the exec command in the .desktop file. Can’t remember what it was ofd the top of my head, but it’s the same for all electron apps.

      • SteveTech@programming.dev
        link
        fedilink
        English
        arrow-up
        20
        ·
        edit-2
        8 months ago

        Add --ozone-platform-hint=auto to the command, I’ve done it so may times for electron stuff it’s engrained into my head now haha. You can check that it works with xlsclients.

        Also QT_QPA_PLATFORM=wayland for QT based apps is handy to know too if they’re not behaving.

      • 30p87@feddit.de
        link
        fedilink
        arrow-up
        4
        ·
        8 months ago

        For me, many electron apps (especially Discord and Spotify) start to spasm out with this. As in, they open blank windows and can’t be focused etc. So using spotify-player in foot and canary.discord.com in FF Nightly is the only option.

        • Pasta Dental@sh.itjust.works
          link
          fedilink
          arrow-up
          2
          ·
          8 months ago

          Discord is best enjoyed in Firefox with uBlock origin anyways, I find it faster and it can’t spy on your entire computer!!

          • 30p87@feddit.de
            link
            fedilink
            arrow-up
            2
            ·
            8 months ago

            Also with Vencord (Which is not in the Mozilla addon store anymore unfortunately, so you’ll need to use Tampermonkey or FF Nightly/Dev and compile the extension yourself). Then add an Adblock theme to hide all the premium trash you can get for free with Vencord and voilá, you have yourself a usable, still spying and not E2EE, messenger.