Hi everyone.
I have been pulling my hairs for some time, trying to get Nvidia driver working on my PC. I have done quite some reading and haven’t found the solution. I need more hints and knowledge sharing.
The issue I have, after installing x11-video-nvidiaG05 for my GT 1030 graphic card, is the icones on the task manager area of the toolbar are oversize (including the application menu) and the window bars are oversize too with huge font size. Of course, I haven’t change the KDE configuration moving from Nouveau to Nvidia driver. The screen resolution is correct (1920x1080). Here are a few screenshots of the **full screen **to illustrate :
http://pix.toile-libre.org/upload/img/1596697666.png](http://pix.toile-libre.org/?img=1596697666.png)
http://pix.toile-libre.org/upload/img/1596697762.png](http://pix.toile-libre.org/?img=1596697762.png)
http://pix.toile-libre.org/upload/img/1596697741.png](http://pix.toile-libre.org/?img=1596697741.png)
Interesting enough maybe, the last screen shot shows a spotify window with the correct size inside despite the oversize window bar and buttons. I have installed spotify with flatpak.
I have followed the instruction of the wiki https://en.opensuse.org/SDB:NVIDIA_drivers and used zypper for the installation.
I have the following hardware and configuration (inxi -SGxxz) :
System:
Kernel: 5.3.18-lp152.33-default x86_64 bits: 64 compiler: gcc v: 7.5.0
Desktop: N/A dm: SDDM Distro: openSUSE Leap 15.2
Graphics:
Device-1: NVIDIA GP108 [GeForce GT 1030] vendor: Gigabyte driver: nvidia
v: 450.57 bus ID: 01:00.0 chip ID: 10de:1d01
Display: x11 server: X.Org 1.20.3 compositor: kwin_x11 driver: nvidia
unloaded: fbdev,modesetting,nouveau,vesa alternate: nv
resolution: 1920x1080~60Hz s-dpi: 305
OpenGL: renderer: GeForce GT 1030/PCIe/SSE2 v: 4.6.0 NVIDIA 450.57
direct render: Yes
I have installed openSUSE in legacy mode and I am not using UEFI neither secure boot. But I have tried before with an UEFI installation (without secure boot still) and I got the same result…
The Nvidia driver seems to load even if I get a complain on the log file about nvidia module signature verification failure. I don’t have the folder /var/lib/nvidia-pubkeys as pointed out by the wiki. I don’t get the EFI tool starting at reboot either.
Here below is the outpout of journalctl -xe | grep -i nvidia
Aug 06 07:13:28 localhost kernel: nvidia: module verification failed: signature and/or required key missing - tainting kernel
Aug 06 07:13:28 localhost kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 242
Aug 06 07:13:28 localhost kernel: nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
Aug 06 07:13:28 localhost kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 450.57 Sun Jul 5 14:42:25 UTC 2020
Aug 06 07:13:28 localhost kernel: audit: type=1400 audit(1596690808.785:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=783 comm="apparmor_parser"
Aug 06 07:13:28 localhost kernel: audit: type=1400 audit(1596690808.785:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=783 comm="apparmor_parser"
Aug 06 07:13:28 localhost kernel: input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input16
Aug 06 07:13:28 localhost kernel: input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input17
Aug 06 07:13:28 localhost kernel: input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input18
Aug 06 07:13:28 localhost kernel: input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input19
Aug 06 07:13:28 localhost kernel: input: HDA NVidia HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input20
Aug 06 07:13:29 localhost kernel: nvidia-uvm: Loaded the UVM driver, major device number 240.
Aug 06 07:13:29 localhost kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 450.57 Sun Jul 5 14:52:29 UTC 2020
Aug 06 07:13:29 localhost kernel: [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
Aug 06 07:13:29 localhost kernel: [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 0
Aug 06 07:13:37 localhost.localdomain dbus-daemon[2339]: [session uid=1000 pid=2339] Activating via systemd: service name='org.gtk.vfs.Daemon' unit='gvfs-daemon.service' requested by ':1.2' (uid=1000 pid=2347 comm="nvidia-settings --load-config-only ")
Aug 06 07:13:37 localhost.localdomain dbus-daemon[2339]: [session uid=1000 pid=2339] Activating via systemd: service name='org.a11y.Bus' unit='at-spi-dbus-bus.service' requested by ':1.5' (uid=1000 pid=2347 comm="nvidia-settings --load-config-only ")
Aug 06 07:31:27 localhost.localdomain sudo[2886]: barthol : TTY=pts/2 ; PWD=/home/barthol ; USER=root ; COMMAND=/usr/bin/nvidia-xconfig
Aug 06 07:32:37 localhost.localdomain sudo[2902]: barthol : TTY=pts/2 ; PWD=/home/barthol ; USER=root ; COMMAND=/usr/bin/nvidia-xconfig
Aug 06 07:32:56 localhost.localdomain at-spi-bus-launcher[2397]: dbus-daemon[2402]: Activating service name='org.a11y.atspi.Registry' requested by ':1.19' (uid=1000 pid=2923 comm="/usr/bin/nvidia-settings ")
Running nvidia-xconfig as root has not changed anything.
When I installed the nvidia driver, I got 104 new packages installed and no error (a few warnings though). Here below is the output of the installation using sudo zypper in x11-video-nvidiaG05
Chargement des données du dépôt...
Lecture des paquets installés...
Résolution des dépendances des paquets...
Les 104 NOUVEAUX paquets suivants vont être installés :
gcc gcc7 glibc-32bit glibc-devel kernel-default-devel kernel-devel kernel-macros krb5-32bit libacl1-32bit libargon2-1-32bit libasan4 libatomic1 libattr1-32bit libaudit1-32bit libavahi-client3-32bit libavahi-common3-32bit libblkid1-32bit libcap2-32bit libcilkrts5 libcom_err2-32bit libcrack2-32bit libcryptsetup12-32bit libcups2-32bit libdbus-1-3-32bit libdcerpc0-32bit libdcerpc-binding0-32bit libdevmapper1_03-32bit libelf-devel libfam0-gamin-32bit libffi7-32bit libgcrypt20-32bit libglvnd-32bit libgmp10-32bit libgnutls30-32bit libgpg-error0-32bit libhogweed4-32bit libidn2-0-32bit libitm1 libjansson4-32bit libjson-c3-32bit libkeyutils1-32bit libldap-2_4-2-32bit libldb2-32bit liblsan0 liblz4-1-32bit liblzma5-32bit libmpx2 libmpxwrappers2 libndr0-32bit libndr-krb5pac0-32bit libndr-nbt0-32bit libndr-standard0-32bit libnetapi0-32bit libnettle6-32bit libnscd1-32bit libnsl2-32bit libopenssl1_1-32bit libp11-kit0-32bit libpcre1-32bit libpopt0-32bit libsamba-credentials0-32bit libsamba-errors0-32bit libsamba-hostconfig0-32bit libsamba-passdb0-32bit libsamba-util0-32bit libsamdb0-32bit libsasl2-3-32bit libseccomp2-32bit libselinux1-32bit libsmbconf0-32bit libsmbldap2-32bit libsystemd0-32bit libtalloc2-32bit libtasn1-6-32bit libtdb1-32bit libtevent0-32bit libtevent-util0-32bit libtirpc3-32bit libtsan0 libubsan0 libudev1-32bit libunistring2-32bit libuuid1-32bit libverto1-32bit libwbclient0-32bit libX11-6-32bit libXau6-32bit libxcb1-32bit libXext6-32bit libz1-32bit linux-glibc-devel Mesa-libGLESv1_CM1 Mesa-libGLESv2-2 mokutil nss-mdns-32bit nvidia-computeG05 nvidia-gfxG05-kmp-default nvidia-glG05 pam-32bit samba-client-32bit samba-libs-32bit systemd-32bit x11-video-nvidiaG05 zlib-devel
Les 5 paquets recommandés suivants ont été automatiquement sélectionnés :
gcc Mesa-libGLESv1_CM1 Mesa-libGLESv2-2 nvidia-glG05 x11-video-nvidiaG05
.....
.....
(101/104) Installation de : nvidia-gfxG05-kmp-default-450.57_k5.3.18_lp152.19-lp152.38.1.x86_64 ............fait]
.....
/usr/src/kernel-modules/nvidia-450.57-default/nvidia/nv-mmap.c: In function ‘nvidia_mmap’:
/usr/src/kernel-modules/nvidia-450.57-default/nvidia/nv-mmap.c:662:9: warning: unused variable ‘i’ -Wunused-variable]
int i = 0;
^
/usr/src/kernel-modules/nvidia-450.57-default/nvidia/nv-mmap.c: In function ‘nv_encode_caching’:
/usr/src/kernel-modules/nvidia-450.57-default/nvidia/nv-mmap.c:334:16: warning: this statement may fall through -Wimplicit-fallthrough=]
if (NV_ALLOW_CACHING(memory_type))
^
/usr/src/kernel-modules/nvidia-450.57-default/nvidia/nv-mmap.c:336:9: note: here
default:
^~~~~~~
.......
.......
rm: cannot remove '/lib/modules/5.3.18-lp152.33-default/updates/nvidia*.ko': No such file or directory
depmod: WARNING: could not open modules.order at /lib/modules/5.3.18-lp152.19-default: No such file or directory
depmod: WARNING: could not open modules.builtin at /lib/modules/5.3.18-lp152.19-default: No such file or directory
EFI variables are not supported on this system
update-alternatives: using /usr/lib/nvidia/alternate-install-present-default to provide /usr/lib/nvidia/alternate-install-present (alternate-install-present) in auto mode
Modprobe blacklist files have been created at /etc/modprobe.d to prevent Nouveau from loading. This can be reverted by deleting /etc/modprobe.d/nvidia-*.conf.
*** Reboot your computer and verify that the NVIDIA graphics driver can be loaded. ***
grep: /etc/sysconfig/kernel: No such file or directory
What did I miss ?
Thanks!