You are not logged in.

#1 2024-11-15 04:11:17

Aldis Bārbelis
Member
Registered: 2024-09-30
Posts: 6

Libadwaita apps have blurry text on KDE Plasma

I used to use KDE Plasma around a month ago, but stopped because I wanted to try out a WM. Back then all of the libadwaita apps worked properly, and the apps worked properly in Hyprland too, but now if I go back to Plasma, the apps have very blurry text. The issue is not present while using Hyprland and only happens with libadwaita apps (GNOME Calendar, pwvucontrol)

I have uploaded pictures of what the GNOME Calendar looks like: https://imgur.com/a/gRkigi2

How could I solve this issue?

Offline

#2 2024-11-15 08:02:42

seth
Member
Registered: 2012-09-03
Posts: 59,588

Re: Libadwaita apps have blurry text on KDE Plasma

KDE on wayland? Do those clients end up runing on xwayland?
https://wiki.archlinux.org/title/Waylan … s_visually

printenv

Offline

#3 2024-11-15 13:13:04

Aldis Bārbelis
Member
Registered: 2024-09-30
Posts: 6

Re: Libadwaita apps have blurry text on KDE Plasma

> KDE on wayland? Do those clients end up runing on xwayland?
Yes, I am using the Wayland session. I used xeyes, and the applications are running native wayland.

Here is the output of `printenv`:

SHELL=/usr/bin/bash
SESSION_MANAGER=local/Arka:@/tmp/.ICE-unix/2153,unix/Arka:/tmp/.ICE-unix/2153
WINDOWID=3
COLORTERM=truecolor
XDG_CONFIG_DIRS=/home/***/.config/kdedefaults:/etc/xdg
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session3
XDG_MENU_PREFIX=plasma-
VCPKG_DISABLE_METRICS=1
ICEAUTHORITY=/run/user/1000/iceauth_PcSVOf
LANGUAGE=en_US
LC_ADDRESS=lv_LV.UTF-8
LC_NAME=lv_LV.UTF-8
SHELL_SESSION_ID=69d9e2ef07da4562ac2763e3970a6766
MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA=
DESKTOP_SESSION=plasma
LC_MONETARY=lv_LV.UTF-8
GTK_RC_FILES=/etc/gtk/gtkrc:/home/***/.gtkrc:/home/***/.config/gtkrc
XDG_SEAT=seat0
PWD=/home/***
XDG_SESSION_DESKTOP=KDE
LOGNAME=***
QT_QPA_PLATFORMTHEME=qt6ct
XDG_SESSION_TYPE=wayland
SYSTEMD_EXEC_PID=2224
XAUTHORITY=/run/user/1000/xauth_uAOvXu
MOTD_SHOWN=pam
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/***/.gtkrc-2.0:/home/***/.config/gtkrc-2.0
HOME=/home/***
LC_PAPER=lv_LV.UTF-8
LANG=en_US.UTF-8
XDG_CURRENT_DESKTOP=KDE
KONSOLE_DBUS_SERVICE=:1.112
MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/session.slice/plasma-plasmashell.service/memory.pressure
WAYLAND_DISPLAY=wayland-0
KONSOLE_DBUS_SESSION=/Sessions/1
PROFILEHOME=
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
INVOCATION_ID=1b8fc0c8e4d84a06a9d0e8eece5130f5
KONSOLE_VERSION=240803
MANAGERPID=751
KDE_SESSION_UID=1000
QV4_GC_TIMELIMIT=0
GEM_HOME=/home/***/.local/share/gem/ruby/3.3.0
XDG_SESSION_CLASS=user
TERM=xterm-256color
USER=***
COLORFGBG=15;0
QT_WAYLAND_RECONNECT=1
KDE_SESSION_VERSION=6
DISPLAY=:1
GSK_RENDERER=ngl
SHLVL=1
LC_TELEPHONE=lv_LV.UTF-8
LC_MEASUREMENT=lv_LV.UTF-8
XDG_VTNR=1
XDG_SESSION_ID=5
XDG_RUNTIME_DIR=/run/user/1000
DEBUGINFOD_URLS=https://debuginfod.archlinux.org 
LC_TIME=lv_LV.UTF-8
QT_AUTO_SCREEN_SCALE_FACTOR=0
JOURNAL_STREAM=9:20601
XDG_DATA_DIRS=/home/***/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
KDE_FULL_SESSION=true
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/home/***/.local/share/flatpak/exports/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin:/home/***/.local/bin:/home/***/.local/share/gem/ruby/3.3.0/bin
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
KDE_APPLICATIONS_AS_SCOPE=1
MAIL=/var/spool/mail/***
LC_NUMERIC=lv_LV.UTF-8
KONSOLE_DBUS_WINDOW=/Windows/1
_=/usr/bin/printenv

Offline

#4 2024-11-15 15:13:51

seth
Member
Registered: 2012-09-03
Posts: 59,588

Re: Libadwaita apps have blurry text on KDE Plasma

QT_AUTO_SCREEN_SCALE_FACTOR=0

I assume this is some HiDPI screen?

But looking at the screenshot: https://i.imgur.com/n3eAVjS.png
Where is that "blurry"?
Do you simply mean that the text is antialiased?

Offline

#5 2024-11-15 15:25:29

Aldis Bārbelis
Member
Registered: 2024-09-30
Posts: 6

Re: Libadwaita apps have blurry text on KDE Plasma

seth wrote:

But looking at the screenshot: https://i.imgur.com/n3eAVjS.png
Where is that "blurry"?
Do you simply mean that the text is antialiased?

You are looking at the wrong image - the image you attached shows what it looks like on Hyprland or how it's supposed to look like. The other image of the album shows what the text looks like on KDE.

Offline

#6 2024-11-15 15:40:24

seth
Member
Registered: 2012-09-03
Posts: 59,588

Re: Libadwaita apps have blurry text on KDE Plasma

Ah, sorry.
https://i.imgur.com/eVadwTz.png

That's some font hinting. Notice the (bold) 47.0 is the exact same rendering. Either fontconfig or the gtk config.
Do you get the same w/ a fresh user?
If not

printenv # you're looking for gtk config paths, maybe set by KDE.
# If not:
strace pwvucontrol 2>&1 | grep $HOME

there's probably some difference because KDE injects a file?

Offline

#7 2024-11-15 16:58:18

Aldis Bārbelis
Member
Registered: 2024-09-30
Posts: 6

Re: Libadwaita apps have blurry text on KDE Plasma

seth wrote:
printenv # you're looking for gtk config paths, maybe set by KDE.
# If not:
strace pwvucontrol 2>&1 | grep $HOME

there's probably some difference because KDE injects a file?

I was unable to find any special GTK configuration files, besides directly at the home folder and at ~/.config/gtk-X.0/.

seth wrote:

I assume this is some HiDPI screen?

Sorry, I somehow missed reading this sentence. Upon doing some research, I have come to the conclusion that HiDPI is some modern standard for Apple monitors. I have nothing like that, and I am unable to find any system settings related to HiDPI.

Offline

#8 2024-11-15 19:58:40

seth
Member
Registered: 2012-09-03
Posts: 59,588

Re: Libadwaita apps have blurry text on KDE Plasma

No, HiDPI outputs are simply if your DPI is somewhere north of 144.

qdbus6 org.kde.KWin /KWin supportInformation

Did you try the behavior w/ a fresh user?
Probably post the strace and printenv outputs.

Offline

#9 2024-11-16 10:08:12

Aldis Bārbelis
Member
Registered: 2024-09-30
Posts: 6

Re: Libadwaita apps have blurry text on KDE Plasma

The issue still occurs with a fresh user.

`printenv` of the fresh user:

SHELL=/usr/bin/bash
SESSION_MANAGER=local/Arka:@/tmp/.ICE-unix/24603,unix/Arka:/tmp/.ICE-unix/24603
WINDOWID=3
COLORTERM=truecolor
XDG_CONFIG_DIRS=/home/testuser1/.config/kdedefaults:/etc/xdg
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session6
XDG_MENU_PREFIX=plasma-
ICEAUTHORITY=/run/user/1001/iceauth_VriuxG
LANGUAGE=
SHELL_SESSION_ID=1b28c42a48b14b12b23d5e8c660da32f
MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA=
DESKTOP_SESSION=plasma
GTK_RC_FILES=/etc/gtk/gtkrc:/home/testuser1/.gtkrc:/home/testuser1/.config/gtkrc
XDG_SEAT=seat0
PWD=/home/testuser1
XDG_SESSION_DESKTOP=KDE
LOGNAME=testuser1
QT_QPA_PLATFORMTHEME=qt6ct
XDG_SESSION_TYPE=wayland
SYSTEMD_EXEC_PID=24666
XAUTHORITY=/run/user/1001/xauth_vpVNPD
MOTD_SHOWN=pam
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/testuser1/.gtkrc-2.0:/home/testuser1/.config/gtkrc-2.0
HOME=/home/testuser1
LANG=en_US.UTF-8
XDG_CURRENT_DESKTOP=KDE
KONSOLE_DBUS_SERVICE=:1.69
MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/user.slice/user-1001.slice/user@1001.service/session.slice/plasma-plasmashell.service/memory.pressure
WAYLAND_DISPLAY=wayland-0
KONSOLE_DBUS_SESSION=/Sessions/1
PROFILEHOME=
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
INVOCATION_ID=30046933a94140b0914aa72ef21449ba
KONSOLE_VERSION=240803
MANAGERPID=24404
KDE_SESSION_UID=1001
QV4_GC_TIMELIMIT=0
XDG_SESSION_CLASS=user
TERM=xterm-256color
USER=testuser1
COLORFGBG=15;0
QT_WAYLAND_RECONNECT=1
KDE_SESSION_VERSION=6
DISPLAY=:1
GSK_RENDERER=ngl
SHLVL=1
XDG_VTNR=1
XDG_SESSION_ID=9
XDG_RUNTIME_DIR=/run/user/1001
DEBUGINFOD_URLS=https://debuginfod.archlinux.org 
LC_TIME=lv_LV.UTF-8
QT_AUTO_SCREEN_SCALE_FACTOR=0
JOURNAL_STREAM=9:344180
XDG_DATA_DIRS=/home/testuser1/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
KDE_FULL_SESSION=true
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus
KDE_APPLICATIONS_AS_SCOPE=1
MAIL=/var/spool/mail/testuser1
KONSOLE_DBUS_WINDOW=/Windows/1
_=/usr/bin/printenv

`qdbus6 org.kde.KWin /KWin supportInformation` of the fresh user:

KWin Support Information:
The following information should be used when requesting support on e.g. https://discuss.kde.org.
It provides information about the currently running instance, which options are used,
what OpenGL driver and which effects are running.
Please post the information provided underneath this introductory text to a paste bin service
like https://paste.kde.org instead of pasting into support threads.

==========================

Version
=======
KWin version: 6.2.3
Qt Version: 6.8.0
Qt compile version: 6.8.0
XCB compile version: 1.17.0

Operation Mode: Xwayland

Build Options
=============
KWIN_BUILD_DECORATIONS: yes
KWIN_BUILD_TABBOX: yes
KWIN_BUILD_ACTIVITIES: yes
HAVE_X11_XCB: yes
HAVE_GLX: yes

X11
===
Vendor: The X.Org Foundation
Vendor Release: 12401004
Protocol Version/Revision: 11/0
SHAPE: yes; Version: 0x11
RANDR: yes; Version: 0x14
DAMAGE: yes; Version: 0x11
Composite: yes; Version: 0x4
RENDER: yes; Version: 0xb
XFIXES: yes; Version: 0x50
SYNC: yes; Version: 0x31
GLX: yes; Version: 0x0

Decoration
==========
Plugin: org.kde.breeze
Theme: Breeze
Plugin recommends border size: None
onAllDesktopsAvailable: false
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 0, 2
decorationButtonsRight: 6, 3, 4, 5
borderSize: 0
gridUnit: 10
font: Noto Sans,10,-1,0,400,0,0,0,0,0,0,0,0,0,0,1
smallSpacing: 2
largeSpacing: 10

Output backend
==============
Name: DRM
Atomic Mode Setting on GPU 0: true

Cursor
======
themeName: breeze_cursors
themeSize: 24

Options
=======
focusPolicy: ClickToFocus
xwaylandCrashPolicy: 1
xwaylandMaxCrashCount: 3
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: false
autoRaiseInterval: 0
delayFocusInterval: 0
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: true
placement: 5
activationDesktopPolicy: SwitchToOtherDesktop
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
edgeBarrier: 100
cornerBarrier: 1
rollOverDesktops: false
focusStealingPreventionLevel: 1
operationTitlebarDblClick: 5000
operationMaxButtonLeftClick: 5000
operationMaxButtonMiddleClick: 5015
operationMaxButtonRightClick: 5014
commandActiveTitlebar1: MouseRaise
commandActiveTitlebar2: MouseNothing
commandActiveTitlebar3: MouseOperationsMenu
commandInactiveTitlebar1: MouseActivateAndRaise
commandInactiveTitlebar2: MouseNothing
commandInactiveTitlebar3: MouseOperationsMenu
commandWindow1: MouseActivateRaiseAndPassClick
commandWindow2: MouseActivateAndPassClick
commandWindow3: MouseActivateAndPassClick
commandWindowWheel: MouseNothing
commandAll1: MouseUnrestrictedMove
commandAll2: MouseToggleRaiseAndLower
commandAll3: MouseUnrestrictedResize
keyCmdAllModKey: 16777250
condensedTitle: false
electricBorderMaximize: true
electricBorderTiling: true
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: false
killPingTimeout: 5000
compositingMode: 1
useCompositing: true
hiddenPreviews: 1
glSmoothScale: 2
glStrictBinding: true
glStrictBindingFollowsDriver: true
glPreferBufferSwap: AutoSwapStrategy
glPlatformInterface: 2
windowsBlockCompositing: true
allowTearing: true

Screen Edges
============
desktopSwitching: false
desktopSwitchingMovingClients: false
cursorPushBackDistance: 1x1
timeThreshold: 75
reActivateThreshold: 350
actionTopLeft: 0
actionTop: 0
actionTopRight: 0
actionRight: 0
actionBottomRight: 0
actionBottom: 0
actionBottomLeft: 0
actionLeft: 0

Screens
=======
Number of Screens: 1

Screen 0:
---------
Name: DP-1
Enabled: 1
Geometry: 0,0,1920x1080
Scale: 1
Refresh Rate: 60000
Adaptive Sync: incapable

Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon RX 6700 XT (radeonsi, navi22, LLVM 18.1.8, DRM 3.59, 6.11.7-arch1-1)
OpenGL version string: 4.6 (Core Profile) Mesa 24.2.7-arch1.1
OpenGL platform interface: EGL
OpenGL shading language version string: 4.60
Driver: Unknown
GPU class: Unknown
OpenGL version: 4.6
GLSL version: 4.60
Mesa version: 24.2.7
X server version: 1.24.1
Linux kernel version: 6.11.7
Direct rendering: Requires strict binding: no
Virtual Machine:  no
OpenGL 2 Shaders are used

Loaded Effects:
---------------
shakecursor
screenshot
outputlocator
colorpicker
zoom
screenedge
blur
contrast
sessionquit
login
logout
slidingpopups
windowaperture
slide
frozenapp
fullscreen
fadingpopups
maximize
squash
scale
dialogparent
windowview
tileseditor
overview
highlightwindow
blendchanges
startupfeedback
systembell
screentransform
kscreen

Currently Active Effects:
-------------------------
blur
contrast

Effect Settings:
----------------
shakecursor:

screenshot:

outputlocator:

colorpicker:

zoom:
zoomFactor: 1.2
mousePointer: 0
mouseTracking: 0
focusTrackingEnabled: false
textCaretTrackingEnabled: false
focusDelay: 350
moveFactor: 20
targetZoom: 1

screenedge:

blur:

contrast:

sessionquit:
pluginId: sessionquit
isActiveFullScreenEffect: false

login:
pluginId: login
isActiveFullScreenEffect: false

logout:
pluginId: logout
isActiveFullScreenEffect: false

slidingpopups:
slideInDuration: 200
slideOutDuration: 200

windowaperture:
pluginId: windowaperture
isActiveFullScreenEffect: false

slide:
horizontalGap: 45
verticalGap: 20
slideBackground: true

frozenapp:
pluginId: frozenapp
isActiveFullScreenEffect: false

fullscreen:
pluginId: fullscreen
isActiveFullScreenEffect: false

fadingpopups:
pluginId: fadingpopups
isActiveFullScreenEffect: false

maximize:
pluginId: maximize
isActiveFullScreenEffect: false

squash:
pluginId: squash
isActiveFullScreenEffect: false

scale:
pluginId: scale
isActiveFullScreenEffect: false

dialogparent:
pluginId: dialogparent
isActiveFullScreenEffect: false

windowview:
activeView: 
delegate: 
animationDuration: 300
ignoreMinimized: false
mode: 
partialActivationFactor: 0
gestureInProgress: false
searchText: 
selectedIds: 

tileseditor:
activeView: 
delegate: 
animationDuration: 200

overview:
activeView: 
delegate: 
animationDuration: 300
ignoreMinimized: false
filterWindows: true
organizedGrid: true
overviewPartialActivationFactor: 0
overviewGestureInProgress: false
transitionPartialActivationFactor: 0
transitionGestureInProgress: false
gridPartialActivationFactor: 0
gridGestureInProgress: false
desktopOffset: 
searchText: 

highlightwindow:

blendchanges:

startupfeedback:
type: 1

systembell:

screentransform:

kscreen:


Loaded Plugins:
---------------
BounceKeysPlugin
KeyNotificationPlugin
StickyKeysPlugin
buttonsrebind
eis
krunnerintegration
nightlight
screencast

Available Plugins:
------------------
BounceKeysPlugin
KeyNotificationPlugin
StickyKeysPlugin
buttonsrebind
eis
krunnerintegration
nightlight
screencast

Offline

#10 2024-11-16 14:58:49

seth
Member
Registered: 2012-09-03
Posts: 59,588

Re: Libadwaita apps have blurry text on KDE Plasma

Geometry: 0,0,1920x1080

So probably not HiDPI

XDG_CONFIG_DIRS=/home/testuser1/.config/kdedefaults:/etc/xdg

is probably not the case in Hyprland?
Anything in /home/testuser1/.config/kdedefaults ?
Though

The issue still occurs with a fresh user.

doesn't sound like it's local.

Also do you have

GSK_RENDERER=ngl

in a  Hyprland session?

In general it will be helpful to compare the KDE and Hyprland strace and printenv's and on a completely whacko theory

xrdb -q | grep -i xft

Finally, do you get this behavior in a KDE/X11 session?
And since idk what "poor" means in that context but gnome reads its config via xdg-portal… https://wiki.archlinux.org/title/XDG_De … KDE_Plasma

Offline

Board footer

Powered by FluxBB