Summary: | Incorrect DPI settings on KDE Plasma when switched GPU | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Andreas <opendreas> |
Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | bogdan, kde, nate, opendreas, xaver.hugl |
Priority: | NOR | ||
Version: | 5.24.4 | ||
Target Milestone: | --- | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
Latest Commit: | 16.04.2022 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: |
Intel GPU, 225% scaling
wrong image After switching to NVIDIA, Plasma shows 225% scaling, but this is 100% Intel GPU, 225% scaling After switching to NVIDIA, Plasma shows 225% scaling, but this is 100% After switching one GPU to another |
Description
Andreas
2021-10-05 15:50:12 UTC
Created attachment 142170 [details]
wrong image
Created attachment 142171 [details]
After switching to NVIDIA, Plasma shows 225% scaling, but this is 100%
Created attachment 142172 [details]
Intel GPU, 225% scaling
Created attachment 142173 [details]
After switching to NVIDIA, Plasma shows 225% scaling, but this is 100%
Which scaling are you referring to? Is this X11 or wayland? Please include output of env and `xrdb -q` in the broken setup (In reply to David Edmundson from comment #5) > Which scaling are you referring to? Scaling in Plasma settings. I have a UHD display and 225% scaling. When I switch the system from one GPU to another, Plasma shows 225% scaling, but in fact it is 100%. Look at the attached screenshot. > Is this X11 or wayland? X11 > Please include output of env and xrdb -q in the broken setup env https://paste.opensuse.org/37174141 xrdb -q https://paste.opensuse.org/16857491 Temporary solution I created a script ~/.config/plasma-workspace/env/nvdpi.sh and wrote in it export QT_SCREEN_SCALE_FACTORS=$QT_SCREEN_SCALE_FACTORS"eDP-1-1=2.25" eDP-1-1 <- xandr output on NVIDIA 2.25 <- 225% scaling Created attachment 142227 [details]
After switching one GPU to another
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! (In reply to Andreas from comment #6) > Temporary solution > > I created a script > ~/.config/plasma-workspace/env/nvdpi.sh > > and wrote in it > export QT_SCREEN_SCALE_FACTORS=$QT_SCREEN_SCALE_FACTORS"eDP-1-1=2.25" > > eDP-1-1 <- xandr output on NVIDIA > 2.25 <- 225% scaling This solution does not work with dual monitors. So I changed the script ~ / .config / plasma-workspace / env / nvdpi.sh QT_SCREEN_SCALE_FACTORS = "2.25; 2.25" This works on two monitors. Scaling problem when switching GPU only with QT applications, maybe there is a way to fix it? After installing the proprietary driver, the font in the Viber application is displayed in small font. In Xorg everything is smooth, but everything slows down. Thanks. После установки проприетарного драйвера, шрифт в приложении Вайбер, отображается мелким шрифтом. В Xorg всё ровно, но всё подтормаживает. Спасибо In Plasma 5.27 GTK applications don't scale when you switch to a second GPU. (In reply to Andreas from comment #11) > In Plasma 5.27 GTK applications don't scale when you switch to a second GPU. If I add GDK_SCALE=2 then applications are scaled 4x |