8

We are writing the year 2018 and it will not be the year of Linux again! I'm working on Wayland since the beginning of the year (full time!), but it's not that satisfying with a mixed/multi dpi setup.

I really don't need many applications:

  • PHPStorm
  • Chrome
  • Terminal
  • Docker (For me that's the only reason for Linux actually!)
  • Mail Client

So I'm using one native application: Terminal

This is the only one which is running as excepted on all monitors! When switching the app from one monitor to another with different dpi it's scaled automatically correct! That's what I'm expecting.

What I've found out yet:

  • Electron apps are not able to use the scale factor of Wayland
  • Java apps are not able to use the scale factor of Wayland
  • Chrome/Chromium/Firefox is not able to use the scale factor of Wayland

So I'm not sure where the problem is really located? In Mutter? In Electron? In Swing? In Chrome? In Chromium? In Firefox?

I hope someone can point me into the right direction to find out what I need to wait for.

  • 1
    Maybe i need to add my current versions: Ubuntu 18.04, Gnome 3.28.2 with Wayland – trickreich Jul 24 '18 at 13:51
  • Xorg reached it's current state over 34 years I think. Anyway it's hard to imagine Wayland in only 8 years will be the magic beans to the Goose that laid the Golden Year of Linux Egg. – WinEunuuchs2Unix Dec 17 '18 at 1:03
5

Scaling on Wayland is handled by the application, in practice that means the toolkit (GTK, QT, etc.) (support status). GTK 3 apps (like GNOME Terminal) are fine, as you've found.

Firefox has come a long way, but menus don't position correctly yet (issue and related) - a development version is available here. Thunderbird would hopefully follow after Firefox. For Chromium work is underway, but it isn't finished either. Electron uses Chromium under the hood, so that can't be fixed until Chromium is done.

Because these apps don't fully support Wayland yet, they still use the X11 protocol with XWayland, which doesn't handle MultiDPI well (GNOME has ideas, but I doubt whether this will happen).

So I guess you'll have to wait until all applications support Wayland, but there are some workarounds that may be useful to some. Archlinux has some notes on HiDPI and Wayland, for example.

  • 4
    Thanks for your reply! The problem is not HiDPI as you linked. The problem is a mixed DPI setup! That's a huge difference.. What I've also tried is to activate "fractional scaling". Then everything is blurry.. But the size is correct?! So how the problem could be in the application when I'm activating something in the OS? – trickreich Aug 6 '18 at 10:34
  • @trickreich blurry fonts were a big problem for me too – icc97 Jan 29 at 10:11
1

I created a fairly detailed question and answer about the issues I had with UHD screens.

Any attempts at scaling the external monitor or laptop screen caused blurry fonts.

For me this is a bigger issue than scaling of applications as I'm mostly staring at the terminal.

In the end I just gave up and accepted the default scaling (which on my UHD 3840x2160 laptop is 200%) and kept that the same as the monitor (3440 x 1440). I then put my terminal windows on the monitor and adjust the font size. Once I disconnect from the monitor I adjust the terminal font settings back. I could do this with separate font profiles but I prefer to be able to adjust all my terminal windows at once.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.