I am just having the same problem with U20.04. Just installed fresh today Jan 9, 2022. My computer is freezing only when I open Libreoffice Calc with fullscreen 2560x1440 (lower res works fine), so I wanted to try a new install with nothing in it, just as-is from the download. In this new install my kernel is 5.11-0-44 generic. My other install of 20.04 the kernel is 5.4 (I tried to do an update to 5.11 since I read that it fixes a really nasty bug but it would not upgrade.) I would not downgrade kernel 5.11 since this is happening to me with the kernel that came with the original U20.04, my freeze may be a different issue. In today's install when I go to SW & Updates -- Additional Drivers and click on the Using Nvidia driver, after a few minutes I get a window with Error while applying changes and "pk-client-error-quark: Error while installing package: installed nvidia-340 package post-installation script subprocess returned error exit status 10 (313)"
-- You received this bug notification because you are a member of Kernel Packages, which is subscribed to nvidia-graphics-drivers-440 in Ubuntu. https://bugs.launchpad.net/bugs/1878946 Title: Cannot install proprietary NVIDIA driver Status in nvidia-graphics-drivers-440 package in Ubuntu: Confirmed Bug description: 1) Distro: Kubuntu 20.04 2) Package version: nvidia-driver-440 version "440.82+really.440.64-0ubuntu6" I have started the driver management from system settings, selected "Using NVIDIA driver metapackage from nvidia-driver-440 (proprietary, tested). 3) What I expected to happen: The proprietary driver should be installed. OpenCL should work (e.g. for darktable). 4) What happened instead: An error window pops up. Title: "Error wh... changes", content: "pk-client-error-quark: Error while installing package: >>neues libnidia-gl-440 (313)". The additional drivers selector still shows "Using X.ORg X server - Nouveau display driver from xserver-xorg-nouveau (open source)", although this package is NOT installed. Checking with muon, it shows that some nvidia 440 related packages have been installed, but nvidia-driver-440 is shown with status 'corrupt' ('Defekt' in German). The packages libnvidia-ifr1-440 and libnvidia-ifr1-440 are also shown with status 'corrupt'. Discover offers 'libnvidia-gl-440 version 440.82+really.440.64-0ubuntu6', but that cannot be installed. Trying to clear up the situation on the commandline results in: "sudo apt install -f Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Abhängigkeiten werden korrigiert ... Fertig Die folgenden zusätzlichen Pakete werden installiert: libnvidia-gl-440 libnvidia-gl-440:i386 Die folgenden NEUEN Pakete werden installiert: libnvidia-gl-440 libnvidia-gl-440:i386 0 aktualisiert, 2 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. 63 nicht vollständig installiert oder entfernt. Es müssen noch 0 B von 79,6 MB an Archiven heruntergeladen werden. Nach dieser Operation werden 281 MB Plattenplatz zusätzlich benutzt. Möchten Sie fortfahren? [J/n] (Lese Datenbank ... 276127 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von .../libnvidia-gl-440_440.82+really.440.64-0ubuntu6_i386.deb ... Umleitung von /usr/lib/i386-linux-gnu/libGL.so.1 zu /usr/lib/i386-linux-gnu/libGL.so.1.distrib durch nvidia-340 dpkg-divert: Fehler: Keine Übereinstimmung mit Paket beim Entfernen von »Umleitung von /usr/lib/i386-linux-gnu/libGL.so.1 durch libnvidia-gl-440« »Umleitung von /usr/lib/i386-linux-gnu/libGL.so.1 zu /usr/lib/i386-linux-gnu/libGL.so.1.distrib durch nvidia-340« gefunden dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/libnvidia-gl-440_440.82+really.440.64-0ubuntu6_i386.deb (--unpack): »neues libnvidia-gl-440:i386-Skript des Paketes pre-installation«-Unterprozess gab den Fehlerwert 2 zurück Vorbereitung zum Entpacken von .../libnvidia-gl-440_440.82+really.440.64-0ubuntu6_amd64.deb ... Umleitung von /usr/lib/x86_64-linux-gnu/libGL.so.1 zu /usr/lib/x86_64-linux-gnu/libGL.so.1.distrib durch nvidia-340 dpkg-divert: Fehler: Keine Übereinstimmung mit Paket beim Entfernen von »Umleitung von /usr/lib/x86_64-linux-gnu/libGL.so.1 durch libnvidia-gl-440« »Umleitung von /usr/lib/x86_64-linux-gnu/libGL.so.1 zu /usr/lib/x86_64-linux-gnu/libGL.so.1.distrib durch nvidia-340« gefunden dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/libnvidia-gl-440_440.82+really.440.64-0ubuntu6_amd64.deb (--unpack): »neues libnvidia-gl-440:amd64-Skript des Paketes pre-installation«-Unterprozess gab den Fehlerwert 2 zurück Fehler traten auf beim Bearbeiten von: /var/cache/apt/archives/libnvidia-gl-440_440.82+really.440.64-0ubuntu6_i386.deb /var/cache/apt/archives/libnvidia-gl-440_440.82+really.440.64-0ubuntu6_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)" [Sorry for this being partially in German] darktable shows OpenCL as being unavailable, even if the nvidia kernel modules (nvidia, nvidia_uvm, nvidia_modeset, nvidia_drm modeset=1) have been loaded. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-440/+bug/1878946/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp