Summary: | DPI scaling is way off when using nvidia proprietary drivers instead of nouveau | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | gamma <losoc66598> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED UPSTREAM | ||
Severity: | minor | CC: | joe.yasi, kde, nate |
Priority: | NOR | ||
Version: | 5.25.4 | ||
Target Milestone: | 1.0 | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
notepadqq with nouveau
notepadqq with nouveau manjaro-kde-nvidia-kernels-screen1.png manjaro-kde-nvidia-kernels-screen2.png 3.pngmanjaro-kde-nvidia-kernels-screen manjaro-kde-nvidia-kernels-screen4.png manjaro-kde-nvidia-kernels-screen5.png manjaro-kde-nvidia-kernels-screen6.png manjaro-kde-nvidia-kernels-screen7.png manjaro-kde-nvidia-kernels-screen8.png manjaro-kde-nvidia-kernels-screen9.png |
Description
gamma
2022-08-26 02:37:40 UTC
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. 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. |