Incorrect DPI settings on KDE Plasma when switched to Nvidia
See original GitHub issueDescribe the bug Currently, at leas with my video card, everytime I want to switch on to Nvidia, no matter what solution I use (optimus-manager, nvidia-xrun, optimus-switch, etc.) the text changes and becomes smaller, and also the titles of apps as you can see in the pictures below:
- Normal DPI settings when on Intel:
- Abnormal DPI settings when on Nvidia:
Found a fix
Currently I have found a fix for this by adding two lines in the /etc/optimus-manager/xorg-nvidia.conf
Option "UseEdidDpi" "FALSE" (it seems to work without this line as well)
Option "DPI" "96 x 96"
I know that this is not an optimus-manager specific issue, but it would be awesome if somehow this workaround can be included in a release of optimus-manager for me and for other not-so-techy users who just want to install optimus-manager and everything to work as smoothly as possible.
Thank you!
System info OS: Manjaro Linux x86_64 Host: 20217 Lenovo IdeaPad Y510P Kernel: 5.0.5-1-MANJARO Resolution: 1920x1080 DE: KDE 5.15.3-1 CPU: Intel i7-4700MQ (8) @ 3.400GHz GPU: Intel 4th Gen Core Processor GPU: NVIDIA GeForce GT 750M Memory: 1958MiB / 7892MiB
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top GitHub Comments
@Askannz I made an
optimus-manager --cleanup
, uninstalledoptimus-manager 0.8.2
and then installedoptimus-manager-git
from theAUR
and the problem remains the same.I can see that the
DPI=96
in /usr/share/optimus-manager.conf but I still get incorrect DPI until I specifically addOption "DPI" "96 x 96"
to /etc/optimus-manager/xorg-nvidia.conf.For some reason what is set in /usr/share/optimus-manager.conf doesn’t properly apply as what is set in /etc/optimus-manager/xorg-nvidia.conf
I want to also add that the same problem has ocured to me on other two Lenovo laptops one from 2017 with GT 940mx and one from 2018 with mx150 video cards on wich I installed Manjaro recently. So I had to add that line manually for the DPI do work correctly.
Closing this issue as it’s a duplicate of https://github.com/Askannz/optimus-manager/issues/50.