Po čisté instalaci Mintu 20.3 na zformátovaný HD mi v GUI zatuhla hláška, že systém hledá drivery pro nVidia, takže po restartu jsem v terminálu použil příkaz:
sudo apt install nvidia-driver-525 nvidia-dkms-525
a systém mi vrátil toto:
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 2489 (packagekitd). Od toho momentu není nabídka driverů pro nVidia vidět ani v GUI.
Výpis inxi -F:
System: Host: notebook Kernel: 5.4.0-144-generic x86_64 bits: 64 Desktop: Cinnamon 5.2.7 Distro: Linux Mint 20.3 Una
Machine: Type: Laptop System: Acer product: Aspire E5-571G v: V1.26 serial: <superuser/root required>
Mobo: Acer model: EA50_HB v: V1.26 serial: <superuser/root required> UEFI: Insyde v: 1.26 date: 12/18/2014
Battery: ID-1: BAT1 charge: 51.8 Wh condition: 55.0/55.9 Wh (98%)
CPU: Topology: Dual Core model: Intel Core i5-5200U bits: 64 type: MT MCP L2 cache: 3072 KiB
Speed: 1999 MHz min/max: 500/2700 MHz Core speeds (MHz): 1: 2070 2: 2058 3: 2078 4: 2077
Graphics: Device-1: Intel HD Graphics 5500 driver: i915 v: kernel
Device-2: NVIDIA GM108M [GeForce 840M] driver: nouveau v: kernel
Display: x11 server: X.Org 1.20.13 driver: modesetting unloaded: fbdev,vesa resolution: 1366x768~60Hz
OpenGL: renderer: Mesa Intel HD Graphics 5500 (BDW GT2) v: 4.6 Mesa 21.2.6
Audio: Device-1: Intel Broadwell-U Audio driver: snd_hda_intel
Device-2: Intel Wildcat Point-LP High Definition Audio driver: snd_hda_intel
Sound Server: ALSA v: k5.4.0-144-generic
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169
IF: enp2s0f1 state: down mac: f0:76:1c:c1:85:46
Device-2: Intel Wireless 3160 driver: iwlwifi
IF: wlp3s0 state: up mac: 34:e6:ad:7b:df:9f
Device-3: KYE Systems (Mouse Systems) GF3000F Ethernet Adapter type: USB driver: hid-generic,usbhid
Drives: Local Storage: total: 465.76 GiB used: 14.61 GiB (3.1%)
ID-1: /dev/sda vendor: Seagate model: ST500LT012-1DG142 size: 465.76 GiB
Partition: ID-1: / size: 456.89 GiB used: 14.61 GiB (3.2%) fs: ext4 dev: /dev/sda2
Sensors: System Temperatures: cpu: 49.5 C mobo: N/A
Fan Speeds (RPM): N/A
Info: Processes: 226 Uptime: 1h 51m Memory: 3.76 GiB used: 2.11 GiB (56.3%) Shell: bash inxi: 3.0.38
Ještě výsledek příkazu apt search nvidia-driver
p nvidia-driver-390 - NVIDIA driver metapackage
p nvidia-driver-390:i386 - NVIDIA driver metapackage
p nvidia-driver-418 - Transitional package for nvidia-driver-430
p nvidia-driver-418-server - NVIDIA Server Driver metapackage
p nvidia-driver-430 - Transitional package for nvidia-driver-440
p nvidia-driver-435 - Transitional package for nvidia-driver-455
p nvidia-driver-440 - Transitional package for nvidia-driver-450
p nvidia-driver-440-server - Transitional package for nvidia-driver-450-server
p nvidia-driver-450 - Transitional package for nvidia-driver-460
p nvidia-driver-450-server - NVIDIA Server Driver metapackage
p nvidia-driver-455 - Transitional package for nvidia-driver-460
p nvidia-driver-460 - Transitional package for nvidia-driver-470
p nvidia-driver-460-server - Transitional package for nvidia-driver-470-server
p nvidia-driver-465 - Transitional package for nvidia-driver-470
p nvidia-driver-470 - NVIDIA driver metapackage
p nvidia-driver-470-server - NVIDIA Server Driver metapackage
p nvidia-driver-495 - Transitional package for nvidia-driver-510
p nvidia-driver-510 - NVIDIA driver metapackage
p nvidia-driver-510-server - Transitional package for nvidia-driver-515-server
p nvidia-driver-515 - NVIDIA driver metapackage
p nvidia-driver-515-open - NVIDIA driver (open kernel) metapackage
p nvidia-driver-515-server - NVIDIA Server Driver metapackage
p nvidia-driver-520 - Transitional package for nvidia-driver-525
p nvidia-driver-520-open - Transitional package for nvidia-driver-525
u nvidia-driver-525 - NVIDIA driver metapackage
p nvidia-driver-525-open - NVIDIA driver (open kernel) metapackage
p nvidia-driver-525-server - NVIDIA Server Driver metapackage
v nvidia-driver-binary -
v nvidia-driver-binary:i386
Rozumím tomu dobře, že všechny ty vypsané drivery jsou někde v systému připravené? A co to je "process 2489", který zřejmě něco blokuje? Na nějakém fóru jsem našel postup, jak se dá ten cache lock killnout, ale to už mi připadá příliš riskantní - moc jsem to nepochopil a nechci to dělat stylem cvičené opice...
Děkuji předem za rady a doporučení.
Nelze nainstalovat ovladač nVidia
Re: Nelze nainstalovat ovladač nVidia
.hank píše: ↑24 bře 2023, 18:00 Po čisté instalaci Mintu 20.3 na zformátovaný HD mi v GUI zatuhla hláška, že systém hledá drivery pro nVidia, takže po restartu jsem v terminálu použil příkaz:
sudo apt install nvidia-driver-525 nvidia-dkms-525
a systém mi vrátil toto:
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 2489 (packagekitd). Od toho momentu není nabídka driverů pro nVidia vidět ani v GUI.
Kód: Vybrat vše
Výpis inxi -F: System: Host: notebook Kernel: 5.4.0-144-generic x86_64 bits: 64 Desktop: Cinnamon 5.2.7 Distro: Linux Mint 20.3 Una Machine: Type: Laptop System: Acer product: Aspire E5-571G v: V1.26 serial: <superuser/root required> Mobo: Acer model: EA50_HB v: V1.26 serial: <superuser/root required> UEFI: Insyde v: 1.26 date: 12/18/2014 Battery: ID-1: BAT1 charge: 51.8 Wh condition: 55.0/55.9 Wh (98%) CPU: Topology: Dual Core model: Intel Core i5-5200U bits: 64 type: MT MCP L2 cache: 3072 KiB Speed: 1999 MHz min/max: 500/2700 MHz Core speeds (MHz): 1: 2070 2: 2058 3: 2078 4: 2077 Graphics: Device-1: Intel HD Graphics 5500 driver: i915 v: kernel Device-2: NVIDIA GM108M [GeForce 840M] driver: nouveau v: kernel Display: x11 server: X.Org 1.20.13 driver: modesetting unloaded: fbdev,vesa resolution: 1366x768~60Hz OpenGL: renderer: Mesa Intel HD Graphics 5500 (BDW GT2) v: 4.6 Mesa 21.2.6 Audio: Device-1: Intel Broadwell-U Audio driver: snd_hda_intel Device-2: Intel Wildcat Point-LP High Definition Audio driver: snd_hda_intel Sound Server: ALSA v: k5.4.0-144-generic Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 IF: enp2s0f1 state: down mac: f0:76:1c:c1:85:46 Device-2: Intel Wireless 3160 driver: iwlwifi IF: wlp3s0 state: up mac: 34:e6:ad:7b:df:9f Device-3: KYE Systems (Mouse Systems) GF3000F Ethernet Adapter type: USB driver: hid-generic,usbhid Drives: Local Storage: total: 465.76 GiB used: 14.61 GiB (3.1%) ID-1: /dev/sda vendor: Seagate model: ST500LT012-1DG142 size: 465.76 GiB Partition: ID-1: / size: 456.89 GiB used: 14.61 GiB (3.2%) fs: ext4 dev: /dev/sda2 Sensors: System Temperatures: cpu: 49.5 C mobo: N/A Fan Speeds (RPM): N/A Info: Processes: 226 Uptime: 1h 51m Memory: 3.76 GiB used: 2.11 GiB (56.3%) Shell: bash inxi: 3.0.38
Rozumím tomu dobře, že všechny ty vypsané drivery jsou někde v systému připravené?
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 2489 (packagekitd). Od toho momentu není nabídka driverů pro nVidia vidět ani v GUI.
To sa bezne stane ak nejaky program uz pouziva dpkg, a terminalovy apt sa nedostane k dpkg.
Treba si zvolit bud GUI a vydrzat, kym nacita - obnovi zdroje softveru, potom instalovat.
Ten proces je v zatvorke packagekitd, packagekit daemon.
Malo by stacit vypnut a zapnut PC a nepustit GUI Spravca ovladacov, a pouzit terminal.
Tu neviem, ktory ovladac pouzit, su 3 :
Kód: Vybrat vše
nvidia-driver-525 - NVIDIA driver metapackage
nvidia-driver-525-open - NVIDIA driver (open kernel) metapackage
nvidia-driver-525-server - NVIDIA Server Driver metapackage
Nie su v systeme, len v zozname repozitarov - zdrojov softveru.
Nedavno, som to robil a nechal na GUI Spravca ovladacov, trvalo to dost dlho, lebo ten metabalik si stahoval a instaloval okolo 500 MB aj 32-bit kniznice a myslim, ze mnoho nepotrebneho. Vo vysledku to vsak funguje.
.
.
Re: Nelze nainstalovat ovladač nVidia
Děkuji. Ono je to nakonec ještě trochu složitější. Někde na začátku instalace mě systém požádal o heslo pro Secure Boot UEFI, bez kterého nelze nainstalovat videokodeky 3. stran. To jsem při prvním pokusu o instalaci OS odignoroval, ale když jsem pak zadal v terminálu příkaz pro instalaci driveru nVidia, zarazila se ve 62% s chybovou hláškou, že je potřeba mít povolený Secure Boot UEFI.
Takže jsem provedl novou čistou instalaci včetně povolení Secure Boot a příkazem v terminálu sudo apt install nvidia-driver-525 nvidia-dkms-525 se driver nainstaloval.
Tož tak. Třeba bude tento poznatek někomu taky užitečný.
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
Tož tak. Třeba bude tento poznatek někomu taky užitečný.
Re: Nelze nainstalovat ovladač nVidia
.
Diky za info, v mojom pripade bol LM 21.1 xfce instalovany s vypnutym Secure boot v BIOS(UEFI) ale v UEFI mode na disk s rozdelenim GPT.
Tym padom nepytalo nijake heslo pre Secure boot, ovladac nainstalovany a funguje.
Nedalo mi to, tak som patral ako to je v terminali po zadani prikazu na instalaciu nvidia ovladaca:
Tak to je "pokrok" "Je potrebné stiahnuť 530 MB archívov." Kde su casy ked ovladac mal 60 ci 100 MB .....
.
Diky za info, v mojom pripade bol LM 21.1 xfce instalovany s vypnutym Secure boot v BIOS(UEFI) ale v UEFI mode na disk s rozdelenim GPT.
Tym padom nepytalo nijake heslo pre Secure boot, ovladac nainstalovany a funguje.
Nedalo mi to, tak som patral ako to je v terminali po zadani prikazu na instalaciu nvidia ovladaca:
Kód: Vybrat vše
sudo apt install nvidia-driver-525 nvidia-dkms-525
Kód: Vybrat vše
menom@unknown:~$ sudo apt install nvidia-driver-525 nvidia-dkms-525
[sudo] password for menom:
Načítavajú sa zoznamy balíkov... Hotovo
Vytvára sa strom závislostí... Hotovo
Načítavajú sa stavové informácie... Hotovo
The following additional packages will be installed:
gcc-12-base:i386 libatomic1:i386 libbsd0:i386 libc6:i386 libcom-err2:i386 libcrypt1:i386 libdrm-amdgpu1 libdrm-amdgpu1:i386 libdrm-common libdrm-nouveau2 libdrm-nouveau2:i386
libdrm-radeon1 libdrm-radeon1:i386 libdrm2 libdrm2:i386 libedit2:i386 libegl-mesa0 libelf1:i386 libexpat1:i386 libffi8:i386 libgbm1 libgcc-s1:i386 libgl1:i386 libgl1-mesa-dri:i386
libgl1-mesa-dri libglapi-mesa:i386 libglapi-mesa libglvnd0:i386 libglx-mesa0 libglx-mesa0:i386 libglx0:i386 libgssapi-krb5-2 libgssapi-krb5-2:i386 libicu70:i386 libidn2-0:i386
libk5crypto3 libk5crypto3:i386 libkeyutils1:i386 libkrb5-3 libkrb5-3:i386 libkrb5support0 libkrb5support0:i386 libllvm15 libllvm15:i386 liblzma5:i386 libmd0:i386 libnsl2:i386
libnss-nis:i386 libnss-nisplus:i386 libnvidia-cfg1-525 libnvidia-common-525 libnvidia-compute-525 libnvidia-compute-525:i386 libnvidia-decode-525 libnvidia-decode-525:i386
libnvidia-egl-wayland1 libnvidia-encode-525 libnvidia-encode-525:i386 libnvidia-extra-525 libnvidia-fbc1-525 libnvidia-fbc1-525:i386 libnvidia-gl-525 libnvidia-gl-525:i386
libsensors5:i386 libssl3 libssl3:i386 libstdc++6:i386 libtinfo6:i386 libtirpc3:i386 libunistring2:i386 libx11-6:i386 libx11-xcb1:i386 libxau6:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386
libxcb-glx0:i386 libxcb-present0:i386 libxcb-shm0:i386 libxcb-sync1:i386 libxcb-xfixes0:i386 libxcb1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxml2:i386 libxnvctrl0
libxshmfence1:i386 libxxf86vm1:i386 libzstd1:i386 nvidia-compute-utils-525 nvidia-kernel-common-525 nvidia-kernel-source-525 nvidia-prime nvidia-settings nvidia-utils-525
screen-resolution-extra xserver-xorg-video-nvidia-525 zlib1g:i386
Navrhované balíky:
glibc-doc:i386 locales:i386 krb5-doc krb5-user krb5-doc:i386 krb5-user:i386 lm-sensors:i386
Odporúčané balíky:
libgl1-amber-dri:i386 libgl1-amber-dri
Nainštalujú sa nasledovné NOVÉ balíky:
gcc-12-base:i386 libatomic1:i386 libbsd0:i386 libc6:i386 libcom-err2:i386 libcrypt1:i386 libdrm-amdgpu1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386 libedit2:i386
libelf1:i386 libexpat1:i386 libffi8:i386 libgcc-s1:i386 libgl1:i386 libgl1-mesa-dri:i386 libglapi-mesa:i386 libglvnd0:i386 libglx-mesa0:i386 libglx0:i386 libgssapi-krb5-2:i386
libicu70:i386 libidn2-0:i386 libk5crypto3:i386 libkeyutils1:i386 libkrb5-3:i386 libkrb5support0:i386 libllvm15 libllvm15:i386 liblzma5:i386 libmd0:i386 libnsl2:i386 libnss-nis:i386
libnss-nisplus:i386 libnvidia-cfg1-525 libnvidia-common-525 libnvidia-compute-525 libnvidia-compute-525:i386 libnvidia-decode-525 libnvidia-decode-525:i386 libnvidia-egl-wayland1
libnvidia-encode-525 libnvidia-encode-525:i386 libnvidia-extra-525 libnvidia-fbc1-525 libnvidia-fbc1-525:i386 libnvidia-gl-525 libnvidia-gl-525:i386 libsensors5:i386 libssl3:i386
libstdc++6:i386 libtinfo6:i386 libtirpc3:i386 libunistring2:i386 libx11-6:i386 libx11-xcb1:i386 libxau6:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386
libxcb-shm0:i386 libxcb-sync1:i386 libxcb-xfixes0:i386 libxcb1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxml2:i386 libxnvctrl0 libxshmfence1:i386 libxxf86vm1:i386
libzstd1:i386 nvidia-compute-utils-525 nvidia-dkms-525 nvidia-driver-525 nvidia-kernel-common-525 nvidia-kernel-source-525 nvidia-prime nvidia-settings nvidia-utils-525
screen-resolution-extra xserver-xorg-video-nvidia-525 zlib1g:i386
Nasledovné balíky sa aktualizujú:
libdrm-amdgpu1 libdrm-common libdrm-nouveau2 libdrm-radeon1 libdrm2 libegl-mesa0 libgbm1 libgl1-mesa-dri libglapi-mesa libglx-mesa0 libgssapi-krb5-2 libk5crypto3 libkrb5-3
libkrb5support0 libssl3
15 aktualizovaných, 85 nových nainštalovaných, 0 na odstránenie a 256 neaktualizovaných.
Je potrebné stiahnuť 530 MB archívov.
Po tejto operácii sa na disku použije ďalších 1 545 MB.
Chcete pokračovať? [Y/n]
![Naštvaný :x](./images/smilies/icon_mad.gif)
.
.