Форум русскоязычного сообщества Ubuntu


Следите за новостями русскоязычного сообщества Ubuntu в Twitter-ленте @ubuntu_ru_loco

Автор Тема: Ошибки при запуске nvidia-settings под Kubuntu 20  (Прочитано 174 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн mstdmstd

  • Автор темы
  • Активист
  • *
  • Сообщений: 318
    • Просмотр профиля
Всем привет,
установил Kubuntu 20 и проблемы с настройками видеодрайвера (GeForce 840M)
Код: (htmlphp) [Выделить]
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


Погуглив нашел команду(полагаю, я правильно выбрал драйвер) :


Код: (htmlphp) [Выделить]
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)

Многочисленные варнинги :
Код: (htmlphp) [Выделить]
Possible missing firmware кажутся некритичными

В системе:
Код: (htmlphp) [Выделить]
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
Как это лечить?

Спасибо !

Пользователь добавил сообщение 21 Сентябрь 2021, 07:48:29:
Я переустановил Kubuntu и открыв "Параметры системы"/"Диспетчер драйверов". выбрал 340 драйвер ( Using NVIDIA bynary driver - version 340.108 from nvidia-340(proprietary) )
И перезапустив систему опять ошибка при запуске nvidia-settings :

** (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


Я вытаюсь устанвоить nvidia-prime :

master@master-laptop:~$ sudo apt-get install  nvidia-prime
Reading package lists... Done
Building dependency tree       
Reading state information... Done
nvidia-prime is already the newest version (0.8.16~0.20.04.1).
The following packages were automatically installed and are no longer required:
  appmenu-gtk-module-common libappmenu-gtk3-parser0 libllvm11 libreoffice-help-common
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
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/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
Removing old nvidia-340-340.108 DKMS files...

------------------------------
Deleting module version: 340.108
completely from the DKMS tree.
------------------------------
Done.
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: Cannot create report: [Errno 17] File exists: '/var/crash/nvidia-340.0.crash'
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 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)

Совершенно непонятна строка
I: The initramfs will attempt to resume from /dev/sdb6
так как это у меня своп :
Disk /dev/sdb: 476,96 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: Samsung SSD 850  
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0003d842
 
Device     Boot     Start        End   Sectors   Size Id Type
/dev/sdb1  *         2048     718847    716800   350M 83 Linux
/dev/sdb2          718848  104859647 104140800  49,7G 83 Linux
/dev/sdb3       104872381 1000206899 895334519   427G  f W95 Ext'd (LBA)
/dev/sdb5       104872383  159412994  54540612    26G 83 Linux
/dev/sdb6       159413058  163622024   4208967     2G 82 Linux swap / Solaris
/dev/sdb7       163622088  222355664  58733577    28G 83 Linux
/dev/sdb8       222355731 1000206899 777851169 370,9G  7 HPFS/NTFS/exFAT
 

Чего-то не настроено ?

« Последнее редактирование: 21 Сентябрь 2021, 07:48:29 от mstdmstd »

 

Страница сгенерирована за 0.081 секунд. Запросов: 25.