Всем привет,
установил Kubuntu 20 и проблемы с настройками видеодрайвера (GeForce 840M)
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
master@master-laptop:~$ nvidia-settings
ERROR: Unable to load info from any available system
(nvidia-settings:3557): GLib-GObject-CRITICAL **: 14:43:04.457: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
** (nvidia-settings:3557): WARNING **: 14:43:04.461: PRIME: Failed to execute child process “/usr/bin/prime-supported” (No such file or directory)
** Message: 14:43:04.461: PRIME: is it supported? no
master@master-laptop:~$ nvidia-settings
ERROR: Unable to load info from any available system
(nvidia-settings:3775): GLib-GObject-CRITICAL **: 14:43:29.581: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Обычноя в более ранних версиях ubuntu выбираю :
https://i.piccy.info/i9/96194615fb8a1bad48b64a49d72b52c2/1511193929/147244/1198267/1.png
Погуглив нашел команду(полагаю, я правильно выбрал драйвер) :
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
sudo apt-get install nvidia-340 nvidia-settings nvidia-prime
.8.16~0.20.04.1) ...
Setting up nvidia-prime (0.8.16~0.20.04.1) ...
Setting up nvidia-opencl-icd-340 (340.108-0ubuntu5.20.04.2) ...
Setting up libc6-i386 (2.31-0ubuntu9.2) ...
Setting up libcuda1-340 (340.108-0ubuntu5.20.04.2) ...
Setting up lib32gcc-s1 (10.3.0-1ubuntu1~20.04) ...
Setting up nvidia-340 (340.108-0ubuntu5.20.04.2) ...
dpkg: error: version '-' has bad syntax: revision number is empty
dpkg: error: version '-' has bad syntax: revision number is empty
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia-340
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
Adding system user `nvidia-persistenced' (UID 123) ...
Adding new group `nvidia-persistenced' (GID 133) ...
Adding new user `nvidia-persistenced' (UID 123) with group `nvidia-persistenced' ...
Not creating home directory `/'.
Loading new nvidia-340-340.108 DKMS files...
Building for 5.11.0-34-generic
Building for architecture x86_64
Building initial module for 5.11.0-34-generic
Error! Bad return status for module build on kernel: 5.11.0-34-generic (x86_64)
Consult /var/lib/dkms/nvidia-340/340.108/build/make.log for more information.
dpkg: error processing package nvidia-340 (--configure):
installed nvidia-340 package post-installation script subprocess returned error exit status 10
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for initramfs-tools (0.136ubuntu6.6) ...
update-initramfs: Generating /boot/initrd.img-5.11.0-34-generic
W: Possible missing firmware /lib/firmware/i915/skl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/glk_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/cml_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/icl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/ehl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/ehl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_huc_7.5.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_huc_7.5.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/dg1_dmc_ver2_02.bin for module i915
I: The initramfs will attempt to resume from /dev/sdb6
I: (UUID=28ee0d89-a0cc-45ab-bb0c-aeaee8072afa)
I: Set the RESUME variable to override this.
Errors were encountered while processing:
nvidia-340
E: Sub-process /usr/bin/dpkg returned an error code (1)
Многочисленные варнинги :
1.
Possible missing firmware
кажутся некритичными
В системе:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
root@master-laptop:/lib/firmware/i915# dpkg-query -W | grep -e linux -e nvidia
binutils-x86-64-linux-gnu 2.34-6ubuntu1.1
console-setup-linux 1.194ubuntu3
libselinux1:amd64 3.0-1build2
linux-base 4.5ubuntu3.6
linux-firmware 1.187.16
linux-generic-hwe-20.04 5.11.0.34.36~20.04.13
linux-headers-5.11.0-34-generic 5.11.0-34.36~20.04.1
linux-headers-5.8.0-43-generic 5.8.0-43.49~20.04.1
linux-headers-generic-hwe-20.04 5.11.0.34.36~20.04.13
linux-hwe-5.11-headers-5.11.0-34 5.11.0-34.36~20.04.1
linux-hwe-5.8-headers-5.8.0-43 5.8.0-43.49~20.04.1
linux-image-5.11.0-34-generic 5.11.0-34.36~20.04.1
linux-image-5.8.0-43-generic 5.8.0-43.49~20.04.1
linux-image-generic-hwe-20.04 5.11.0.34.36~20.04.13
linux-libc-dev:amd64 5.4.0-84.94
linux-modules-5.11.0-34-generic 5.11.0-34.36~20.04.1
linux-modules-5.8.0-43-generic 5.8.0-43.49~20.04.1
linux-modules-extra-5.11.0-34-generic 5.11.0-34.36~20.04.1
linux-modules-extra-5.8.0-43-generic 5.8.0-43.49~20.04.1
linux-sound-base 1.0.25+dfsg-0ubuntu5
nvidia-340 340.108-0ubuntu5.20.04.2
nvidia-dkms-460 460.91.03-0ubuntu0.20.04.1
nvidia-kernel-common-460 460.91.03-0ubuntu0.20.04.1
nvidia-kernel-source-460 460.91.03-0ubuntu0.20.04.1
nvidia-opencl-icd-340 340.108-0ubuntu5.20.04.2
nvidia-prime 0.8.16~0.20.04.1
nvidia-settings 470.57.01-0ubuntu0.20.04.1
pptp-linux 1.10.0-1build1
syslinux 3:6.04~git20190206.bf6db5b4+dfsg1-2
syslinux-common 3:6.04~git20190206.bf6db5b4+dfsg1-2
syslinux-legacy 2:3.63+dfsg-2ubuntu9
util-linux 2.34-0.1ubuntu9.1
root@master-laptop:/lib/firmware/i915# lspci -k| grep -EA2 'VGA|3D'
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
DeviceName: Onboard IGD
Subsystem: Micro-Star International Co., Ltd. [MSI] 4th Gen Core Processor Integrated Graphics Controller
--
01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev a2)
Subsystem: Micro-Star International Co., Ltd. [MSI] GM108M [GeForce 840M]
Kernel modules: nvidiafb, nouveau
Как это лечить?
Спасибо !