NVIDIA driver the hard way - install works - fonts scaling not

So I did a fresh install on an old machine: Core2Quad + NVIDIA Geforce GTX 960 / Tumbleweed + X11 + KDE Plasma

Initialy the nouveau driver is installed and everything works fine except the video performance, so I installed the prop nvidia driver the easy way to get more performance: https://en.opensuse.org/SDB:NVIDIA_drivers

Rebooted and got this issue with the fonts in some applications. Not all like the file manager looks good: https://imgur.com/a/RB4g3sZ

I then reverted to nouvea to check if it’s the driver and it worked again. I then installed the nvidia driver the hard way to have the most recent version: https://en.opensuse.org/SDB:NVIDIA_the_hard_way

So the driver is installed properly but I still have the issue with the fonts.

The system fonts are untouched at 10 px. Changing it has no effect.


nvidia-smi 
Thu Dec 30 11:45:28 2021        
+-----------------------------------------------------------------------------+ 
| NVIDIA-SMI 495.46       Driver Version: 495.46       CUDA Version: 11.5     | 
|-------------------------------+----------------------+----------------------+ 
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC | 
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. | 
|                               |                      |               MIG M. | 
|===============================+======================+======================| 
|   0  NVIDIA GeForce ...  Off  | 00000000:04:00.0  On |                  N/A | 
| 22%   14C    P8    15W / 130W |    352MiB /  2000MiB |      0%      Default | 
|                               |                      |                  N/A | 
+-------------------------------+----------------------+----------------------+ 
                                                                                
+-----------------------------------------------------------------------------+ 
| Processes:                                                                  | 
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory | 
|        ID   ID                                                   Usage      | 
|=============================================================================| 
|    0   N/A  N/A      2041      G   /usr/bin/Xorg.bin                 160MiB | 
|    0   N/A  N/A      2115      G   /usr/bin/kwin_x11                  30MiB | 
|    0   N/A  N/A      2161      G   /usr/bin/plasmashell               34MiB | 
|    0   N/A  N/A      2331      G   /usr/lib64/firefox/firefox         76MiB | 
|    0   N/A  N/A      2619      G   /usr/bin/nvidia-settings            0MiB | 
|    0   N/A  N/A      2954      G   ...bexec/kscreenlocker_greet       39MiB | 
+-----------------------------------------------------------------------------+

hwinfo --gfxcard       
24: PCI 400.0: 0300 VGA compatible controller (VGA)              
  [Created at pci.386] 
  Unique ID: YmUS.D4hWus3_5u4 
  Parent ID: vSkL.sSQWPCkbidF 
  SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:04:00.0 
  SysFS BusID: 0000:04:00.0 
  Hardware Class: graphics card 
  Model: "nVidia GM206 [GeForce GTX 960]" 
  Vendor: pci 0x10de "nVidia Corporation" 
  Device: pci 0x1401 "GM206 [GeForce GTX 960]" 
  SubVendor: pci 0x1458 "Gigabyte Technology Co., Ltd" 
  SubDevice: pci 0x3690  
  Revision: 0xa1 
  Driver: "nvidia" 
  Driver Modules: "nvidia" 
  Memory Range: 0xfd000000-0xfdffffff (rw,non-prefetchable) 
  Memory Range: 0xe0000000-0xefffffff (ro,non-prefetchable) 
  Memory Range: 0xde000000-0xdfffffff (ro,non-prefetchable) 
  I/O Ports: 0xec00-0xec7f (rw) 
  Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled) 
  IRQ: 29 (17513 events) 
  I/O Ports: 0x3c0-0x3df (rw) 
  Module Alias: "pci:v000010DEd00001401sv00001458sd00003690bc03sc00i00" 
  Driver Info #0: 
    Driver Status: nouveau is not active 
    Driver Activation Cmd: "modprobe nouveau" 
  Driver Info #1: 
    Driver Status: nvidia_drm is active 
    Driver Activation Cmd: "modprobe nvidia_drm" 
  Driver Info #2: 
    Driver Status: nvidia is active 
    Driver Activation Cmd: "modprobe nvidia" 
  Config Status: cfg=new, avail=yes, need=no, active=unknown 
  Attached to: #12 (PCI bridge) 

Primary display adapter: #24



Uninstall both drivers, then install needed driver.

I already did “nomodeset 3” in grub and blacklisted the driver or is there another way?

You may not be understanding the realm of drivers. Nomodeset disables all competent FOSS drivers, though it possibly is compatible with some proprietary NVidia driver versions. It’s basically a troubleshooting and repairs-enabling tool. Blacklisting the nouveau kernel driver (module) also disables all competent FOSS drivers. Take a look at this primer to understand the drivers and their roles.

If /etc/X11/xorg.conf or *.conf in /etc/X11/xorg.conf.d/ affecting video/graphics exist after proprietary NVidia driver removal remain, remove them for best results with FOSS drivers.

If using NVidia’s proprietary drivers with anything related in /etc/X11/xorg.con*, make sure nothing in them sets DPI to any value other than whatever is most appropriate to your display density (DPI), as it can affect fonts in non-KDE, non-QT applications. In GTK applications, special customization may be required for acceptable fonts.

Please provide input/output from inxi -SGay using code tags.

inxi -SGay 

**System:**
  **Host:** gamer **Kernel:** 5.15.8-1-default x86_64 **bits:** 64 **compiler:** gcc **v:** 11.2.1 
  **parameters:** BOOT_IMAGE=/boot/vmlinuz-5.15.8-1-default 
  root=UUID=e95c6fee-a744-4eca-a894-4f5bd89656bf splash=silent 
  mitigations=auto quiet 
  **Console:** pty pts/0 **DM:** SDDM **Distro:** openSUSE Tumbleweed 20211226 
**Graphics:**
  **Device-1:** NVIDIA GM206 [GeForce GTX 960] **vendor:** Gigabyte **driver:** nvidia 
  **v:** 495.46 **alternate:** nouveau,nvidia_drm **bus-ID:** 04:00.0 **chip-ID:** 10de:1401 
  **class-ID:** 0300 
  **Display:****server:** X.org 1.21.1.2 **driver:****loaded:** nvidia **tty:** 179x62 
  **Message:** Advanced graphics data unavailable in console. Try -G --display

inxi -SGay --display 

**System:**
  **Host:** gamer **Kernel:** 5.15.8-1-default x86_64 **bits:** 64 **compiler:** gcc **v:** 11.2.1 
  **parameters:** BOOT_IMAGE=/boot/vmlinuz-5.15.8-1-default 
  root=UUID=e95c6fee-a744-4eca-a894-4f5bd89656bf splash=silent 
  mitigations=auto quiet 
  **Desktop:** N/A **dm:** SDDM **Distro:** openSUSE Tumbleweed 20211226 
**Graphics:**
  **Device-1:** NVIDIA GM206 [GeForce GTX 960] **vendor:** Gigabyte **driver:** nvidia 
  **v:** 495.46 **alternate:** nouveau,nvidia_drm **bus-ID:** 04:00.0 **chip-ID:** 10de:1401 
  **class-ID:** 0300 
  **Display:****server:** X.org 1.21.1.2 **compositor:** kwin_x11 **driver:****loaded:** nvidia 
  **resolution:** <missing: xdpyinfo> 
  **Message:** No advanced graphics data found on this system.

4-5 days after I made the request, I am unable to remember why I asked for this. It may have been evident in the information omitted by not running in X and/or without xdpyinfo installed. Most installations at least used to include xdpyinfo.

Could be an EDID detection problem from the nvidia proprietary driver.
You can try

nvidia-xconfig --no-use-edid-dpi

Then set your desired DPI in the monitor section of nvidia.conf.