question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Incorrect DPI settings on KDE Plasma when switched to Nvidia

See original GitHub issue

Describe 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: Screenshot_intel
  • Abnormal DPI settings when on Nvidia: Screenshot_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:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Soctereancommented, May 5, 2019

@Askannz I made an optimus-manager --cleanup, uninstalled optimus-manager 0.8.2 and then installed optimus-manager-git from the AUR 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 add Option "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.

0reactions
Askannzcommented, May 4, 2019

Closing this issue as it’s a duplicate of https://github.com/Askannz/optimus-manager/issues/50.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Nvidia Drivers and KDE Plasma Conflict Causes GUI DPI to ...
I have installed the latest official Nvidia drivers (515.76) and have enabled "High Performance" mode in the "PRIME Profiles" section of the ...
Read more >
DPI scaling is way off on KDE/Plasma - Linux
This is a bug report related to NVidia proprietary drivers. All the information and comments is here: DPI scaling is way off when...
Read more >
Taskbar and icons have incorrect resolution with NVIDIA : r/kde
I am running KDE Plasma 5.20 with NVIDIA GeoForce GTX 1050 on Arch Linux. ... Taskbar and icons have incorrect resolution with NVIDIA....
Read more >
[kwin] [Bug 443355] Incorrect DPI settings on KDE Plasma when ...
So I changed the script ~ / .config / plasma-workspace / env / nvdpi.sh QT_SCREEN_SCALE_FACTORS = "2.25; 2.25" This works on two monitors....
Read more >
HUGE scaling issue on Nvidia and KDE environment - Newbies
The problem is in the scaling option that in the settings doesn't make ... loglevel=3 Desktop: KDE Plasma v: 5.24.5 tk: Qt v:...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found