SUMMARY When using the nvidia proprietary drivers instead of nouveau/Intel, looks like text is bigger and some apps don't fit it properly, so is partially or totally "cut". Setting "Force font DPI:" to some value like 80 fixed the issue. Several screenshots will be attached below comparing the same window in nouveau vs nvidia. Several distros are affected, at least Ubuntu and Manjaro. This could be related to https://bugs.kde.org/show_bug.cgi?id=374978 STEPS TO REPRODUCE 1. Run KDE/plasma installed or live distro on any hardware with nvidia graphics cards. 2. Install and enable the proprietary nvidia driver so it's in use after reboot 3. Reboot 4. Install notepadqq v1.4.8 5. Open it and press F1 to open the About dialog OBSERVED RESULT The version number and Copyright text is cut partially. EXPECTED RESULT Behave with nvidia proprietary driver like with nouveau, so display everything properly. SOFTWARE/OS VERSIONS Operating System: Manjaro Linux KDE Plasma Version: 5.25.4 KDE Frameworks Version: 5.97.0 Qt Version: 5.15.5 Kernel Version: 5.19.3-2-MANJARO (64-bit) Graphics Platform: X11 Graphics Processor: NVIDIA GeForce GTX 1080/PCIe/SSE2
Issue follow-up: https://github.com/notepadqq/notepadqq/issues/1055
Related issues: https://forum.garudalinux.org/t/huge-scaling-issue-on-nvidia-and-kde-environment/19279 https://www.reddit.com/r/kde/comments/l0658p/new_nvidia_card_and_everything_is_too_big/ https://github.com/sddm/sddm/issues/1576 https://gitlab.manjaro.org/applications/manjaro-settings-manager/-/issues/188 https://gitlab.manjaro.org/applications/manjaro-settings-manager/-/issues/216
Created attachment 151597 [details] notepadqq with nouveau
Created attachment 151598 [details] notepadqq with nouveau
$ xrandr | grep -w connected DP-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 381mm x 214mm
Adding more screenshots with Manjaro using KDE and nvidia proprietary drivers.
Created attachment 151634 [details] manjaro-kde-nvidia-kernels-screen1.png
Created attachment 151635 [details] manjaro-kde-nvidia-kernels-screen2.png
Created attachment 151636 [details] 3.pngmanjaro-kde-nvidia-kernels-screen
Created attachment 151637 [details] manjaro-kde-nvidia-kernels-screen4.png
Created attachment 151638 [details] manjaro-kde-nvidia-kernels-screen5.png
Created attachment 151639 [details] manjaro-kde-nvidia-kernels-screen6.png
Created attachment 151640 [details] manjaro-kde-nvidia-kernels-screen7.png
Created attachment 151641 [details] manjaro-kde-nvidia-kernels-screen8.png
Created attachment 151642 [details] manjaro-kde-nvidia-kernels-screen9.png
This is a bug in the NVIDIA driver itself, unfortunately. Please report it to the NVIDIA folks, either by sending an email to linux-bugs@nvidia.com or making a post at https://forums.developer.nvidia.com/c/gpu-unix-graphics/linux/ It would be helpful to the NVIDIA developers if you could run nvidia-bug-report.sh and attach the resulting file in your report. Thanks!
The link you provided https://forums.developer.nvidia.com/c/gpu-unix-graphics/linux/ Is not available: Page Not Found Sorry, this page may have moved, doesn’t exist or is private.
Bug reported: https://forums.developer.nvidia.com/t/dpi-scaling-is-way-off-on-kde-plasma/227317
KDE/Plasma are not handling native DPIs properly.
It's KDE's fault not resolved upstream.
This isn't KDE's fault either for most of the screenshots you provided. Notepadqq has to handle HiDPI properly. So does the Manjaro Settings Manager. The fonts are supposed to be scaled up based on the DPI. 72 point = 1 inch. The UI needs to adjust for that.
Unfortunately this is kind of a mismatch between different projects' expectations. In the Xorg world, the DPI basically has to remain 96 or else all hell breaks loose. Gobs and gobs of software was designed with that assumption, and doing anything else makes it look subtly weird with wrong margins and paddings everywhere. In the KDE and Qt world, we do scaling by using a Qt-specific scaling system which also sets the DPI to something other than 96, but in a way that works in conjunction with the Qt-specific thing. By setting the DPI alone, without also doing the Qt-specific thing, the NVIDIA driver is basically ensuring that lots of software will look mildly wrong all the time. So the NVIDIA driver needs top stop doing setting the DPI at all, and trust the host system to do scaling in its own way. By trying to take over this job itself, it's just making everything worse, not better.