this post was submitted on 19 Oct 2023
25 points (90.3% liked)

Linux

48656 readers
515 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I’m running KDE Wayland session on a Surface Pro 6 and the UI is much too small.

I changed the UI scale in System Settings which works for all my apps except for the system text (panels, menus, Dolphin). The text in my system UI is super blurry.

I’ve done a bit of research and it looks like Wayland may not support fractional scaling properly, but I’m finding conflicting info on this.

At this time, is it possible to run a Wayland session in KDE with 150-200% UI scaling?

top 10 comments
sorted by: hot top controversial new old
[–] [email protected] 8 points 1 year ago (1 children)

200% definitely works, it isn't fractional.

Make sure it isn't image scaling X11 apps. That can cause blurriness if something isn't running in native Wayland. There's a setting in the display config about legacy apps.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

The only things that are blurry are icons and text in KDE panels. Does that mean that KDE panels are not compatible with Wayland?

[–] [email protected] 2 points 1 year ago (1 children)

No, my KDE panels work fine, so that's not the issue.

Tried restarting?

[–] [email protected] 2 points 1 year ago (1 children)

Haha so embarrassingly enough a full restart fixed it. I was restarting KDE by command line and logging out and in because it seemed sufficient but not in every case.

The old turn it off and on again.

[–] [email protected] 3 points 1 year ago

Yeah, some things check DPI when they start and then won't respond to changes or receive new environment variables. A reboot makes sure everything is using the newest settings.

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (1 children)

That should work. One of the benefits of Wayland is that it's better at scaling than X11. What version of KDE are you running? Is there a switch between two different types of scaling (one is blurry for XWayland applications but works for all of them, the other is sharp for all applications but only some XWayland applications and all Wayland applications work)?

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

I’m on the latest version of KDE (5.27.8) and scaling works in an X11 session but makes text and icons of my KDE panels blurry in a Wayland session at 200% scaling.

Edit: one has to restart the computer after setting scaling for it to work properly. Otherwise it can cause weird glitches like what I reported 😅

[–] [email protected] 4 points 1 year ago (1 children)

I'm running a 4k monitor at 150% scaling along a 1080p monitor at 100% scaling. Works fine for me.

What is currently still happening though afaik is that the screen buffer is rendered at a higher resolution at 200% scaling and then downscaled to 150%. Hopefully there will be fractional scaling on a protocol level in the future. But it should be barely noticeable unless you have a direct comparison, since downscaling generally retains quality well.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

How are you downscaling after upscaling? There is just the option to up the scaling (which makes everything blurry).

Edit: never mind, got it working. It’s not sufficient to restart KDE or log out. A full restart is required.

[–] [email protected] 2 points 1 year ago

I run 2 x 4K monitors with 125% scaliong each. Works really well.