Error nvidia driver is not loaded ubuntu

После обновления, где-то в начале февраля, перестал работать драйвер nvidia. В nvidia-settings вообще пустота!!!
  • Печать

Страницы: [1]   Вниз

Тема: Не загружается драйвер nvidia  (Прочитано 1775 раз)

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

Оффлайн
Xmakc

После обновления, где-то в начале февраля, перестал работать драйвер nvidia. В nvidia-settings вообще пустота!!!

maks@maks-omen-by-HP-laptop:~$ uname -a
Linux maks-omen-by-HP-laptop 5.4.0-66-generic #74-Ubuntu SMP Wed Jan 27 22:54:38 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Еще немного инфы:

maks@maks-omen-by-HP-laptop:~$ lspci | grep -E -e "VGA" -e "3D"
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04)
01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1)
maks@maks-omen-by-HP-laptop:~$ glxinfo | grep vendor
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
OpenGL vendor string: Intel
maks@maks-omen-by-HP-laptop:~$ lsmod | grep nvidia
maks@maks-omen-by-HP-laptop:~$ lsmod | grep nouveau
maks@maks-omen-by-HP-laptop:~$ sudo apt-get install nvidia-driver-460 nvidia-settings
Чтение списков пакетов… Готово
Построение дерева зависимостей       
Чтение информации о состоянии… Готово
Уже установлен пакет nvidia-settings самой новой версии (460.39-0ubuntu0.20.04.1).
Уже установлен пакет nvidia-driver-460 самой новой версии (460.56-0ubuntu0.20.04.1).
Удалял драйвер purge, заново ставил. Драйвер не работает.

maks@maks-omen-by-HP-laptop:~$ sudo lshw -c video | grep driver
[sudo] password for maks:
       configuration: driver=i915 latency=0
Добавил blacklist i915, ни чего не поменялось. :idiot2:
SecureBoot выключен.

maks@maks-omen-by-HP-laptop:~$ sudo mokutil --sb-state
SecureBoot disabled
Platform is in Setup Mode

maks@maks-omen-by-HP-laptop:~$ nvidia-settings

ERROR: NVIDIA driver is not loaded

ERROR: Unable to load info from any available system
** Message: 22:15:01.856: PRIME: No offloading required. Abort
** Message: 22:15:01.856: PRIME: is it supported? no

« Последнее редактирование: 09 Марта 2021, 22:17:07 от Xmakc »


Оффлайн
Xmakc

Оказалось драйвер nvidia можно и ручками выбрать sudo prime-select nvidia или on-demand.
Но после ручного выбора имею черный экран. Alt+F2 работает. Правил xorg.conf по вики, загрузился, но экран весь кривой.
Вылечил вот так:
https://forums.developer.nvidia.com/t/black-screen-after-install-of-nvidia-driver-ubuntu/109312

    Please follow this:

        delete /etc/X11/xorg.conf
        make sure nvidia-prime is installed (sudo apt install --reinstall nvidia-prime)
        switch to nvidia (sudo prime-select nvidia)
        remove stray blacklist files (sudo rm /lib/modprobe.d/blacklist-nvidia.conf /etc/modprobe.d/blacklist-nvidia.conf)
        update the initrd (sudo update-initramfs -u)
        reboot

maks@maks-omen-by-HP-laptop:~$ sudo lshw -c video | grep driver
[sudo] password for maks:
       configuration: driver=nvidia latency=0
       configuration: driver=i915 latency=0


Оффлайн
snowin

Xmakc, да, с 460 у меня тоже были проблемы, после очередного обновления
поставил 450


Оффлайн
Xmakc

Xmakc, да, с 460 у меня тоже были проблемы, после очередного обновления
поставил 450

Вот тоже подумываю откатить. Перестал работать выход из ждущего режима, нормально только при выборе интел. Нет профилей аудио.
PS Откатил до 450 версии — спокойствие вернулось :2funny:!!! И видеовыход работает, появились аудиопрофили, да и ждущий режим работает!!!

« Последнее редактирование: 10 Апреля 2021, 07:55:53 от Xmakc »


  • Печать

Страницы: [1]   Вверх

  • Home
  • Forum
  • The Ubuntu Forum Community
  • Ubuntu Official Flavours Support
  • Desktop Environments
  • [SOLVED] Nvidia drivers not loading after 16.04->18.04

  1. Nvidia drivers not loading after 16.04->18.04

    Well, everything has been decent after the big upgrade until I tried to do some Steam gaming and noticed my NVIDIA dedicated GPU wasn’t loaded. So, I started toying around to try to fix it. Purged and reinstalled latest drivers to no avail. I am not using Wayland which I know had a support issue with NVIDIA at least in 17.10 which I was not using.

    ~$ nvidia-settings
    ERROR: NVIDIA driver is not loaded
    ERROR: Unable to load info from any available system

    ~$ lsmod | grep nvidia
    ~$ lsmod | grep nouveau
    nouveau 1716224 5
    ttm 106496 1 nouveau
    mxm_wmi 16384 1 nouveau
    wmi 24576 4 asus_wmi,wmi_bmof,mxm_wmi,nouveau
    i2c_algo_bit 16384 2 nouveau,i915
    drm_kms_helper 167936 2 nouveau,i915
    drm 401408 26 nouveau,i915,ttm,drm_kms_helper
    video 40960 3 asus_wmi,nouveau,i915

    The additional drivers section shows that it is using NVidia driver metapackage from nvidia-driver-396.

    I had nvidia-390 installed originally when I upgraded from 16.04 and purged it out.

    Any help would be greatly appreciated. Thanks!


  2. Re: Nvidia drivers not loading after 16.04->18.04

    There are some known issues with the latest published nvidia drivers; better trying <390 depending on your graphic stack (im neither sure about the used kernel able to support the latest nvidia drivers correctly)

    If you was a noob, i probably asked you checking about built-essential & kernel headers installation, but it cant be that dont you

    And as usual after a dist-upgrade, cleaning the system via gtkorphan & bleachbit (as root, carefully select options) is a good idea.

    Last edited by dino99; May 12th, 2018 at 03:02 PM.


  3. Re: Nvidia drivers not loading after 16.04->18.04

    Noob fun. Yeah, so turns out there is something new and annoying. I blacklisted the Nouveau drivers in the kernel, purged NVIDIA* again, and installed nvidia-390 for the 3rd time. It now functions. So, anyone out there having issues on 18.04 be sure to blacklist nouveau drivers from loading in the kernel.


  4. Re: Nvidia drivers not loading after 16.04->18.04

    Adding a «me too» here — I just cannot get these drivers to load.

    I’ve disabled wayland via /etc/gdm3/custom.conf
    I’ve blacklisted nouveau, lbm-nouveau
    I’ve installed nvidia-390 via the standard repo
    I’ve purged that, installed nvidia-396 via the nvidia ppa

    Each time I install an nvidia driver, it loads nouveau — I see it via lsmod and lshw

    Infuriating. Any ideas?

    Ubuntu 18.04 w/ xfce also installed
    NVIDIA GTX 750Ti


  5. Re: Nvidia drivers not loading after 16.04->18.04

    Hello dnamurphy, please start your own thread instead of posting in another members thread, especially one that is solved that way you are much more likely to get the help you need.

    Thanks


  6. Re: Nvidia drivers not loading after 16.04->18.04

    Two things assuming you blacklisted correctly:

    1. on your login page click the gear and be sure the option selected does not indicate wayland.
    2. apt-purge nvidia*; re-add the ppa for nvidia proprietary drivers; apt install nvidia-390

    I’m using the PPA for 390 which I think is newer (had an incremental update later on if I remember correctly) without issue.


  7. Re: Nvidia drivers not loading after 16.04->18.04

    Noob here. Take my words with a grain of salt. I think NVIDIA doesn’t yet support 18.04 officially.

    Once I couldn’t login to my desktop. X-server failed to start and I could see errors that no driver was found. Turns out that nouveau was loaded despite the existence of correct /etc/modprobe.d/blacklist-nouveau.conf file. I tried sudo update-initramfs and rebooted the computer. Got back my desktop. I’m using v390.48 for GeForce GTX 1060 3GB


  8. Re: Nvidia drivers not loading after 16.04->18.04

    Just be sure not to have any

    Code:

    /etc/X11/xorg.conf*

    files.
    Run this:

    Code:

    sudo rm -v /etc/X11/xorg.conf*

    and reboot.
    I had this problem recently on Ubuntu 18.04, and while being on intel, I ran
    then

    Code:

    sudo prime-select nvidia

    and rebooted; but gdm would no longer load. So I booted on an USB live image and noticed two /etc/X11/xorg.conf* files which I removed (one empty and the nvidia-xconfig file backed up). Then rebooted again and I could log in having nvidia driver perfectly working.

    Maybe this will help.


Bookmarks

Bookmarks


Posting Permissions

  • #1

I’ve been trying for a while now to install the Nvidia drivers in my laptop, but even though it seems to be installed the nvidia commands doesn’t work at all nor the HDMI displays works with an external screen (via HDMI).

The command nvidia-smi gives the following output:

NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

And the command nvidia-settings gives the following output, even thoug,it opens the Nvidia X Server Settings :

ERROR: NVIDIA driver is not loaded
ERROR: Unable to load info from any available system

I don’t have much experience with ubuntu, but I’ve managed to follow almost everything I found to install them going through:
1) Install using “Software & updates” → “Additional Drivers” and selecting the one is recommended by the ubuntu-drivers devices .
2) Install using sudo apt install nvidia-driver-470 and also sudo ubuntu-drivers autoinstall
3) Downloading the latest version for ubuntu from the Nvidia official page (last release september 20 if I’m not wrong)

Nothing has solved the issue and I can’t change to the Nvidia graphic card (in “Settings” → “About” → “Graphics” appears the intel card “Mesa Intel® UHD Graphics (CML GT2)”) nor use the nvidia commands
My laptop specs are the following:

  • — Laptop: MSI GF65 Thin 10UE
  • — CPU: Intel Core i5-10500H Processor
  • — GPU: GeForce RTX3060/6GB GDDR6
  • — OS: Ubuntu 20.04.3 LTS
    And using uname -s -r I get:
    Linux 5.11.0-36-generic

I will appreciate so much any kind of advice or help because I’m totally lost here, I don’t know what else to do… :/
PS. I tried installing the 18.04 ubuntu version and it didn’t work it neither
THANK YOU A LOT IN ADVANCE!!

badboy2k


  • #3

Hi!! Yes, I tried the Latest Production Branch Version the new 470.74 version, and was still unable to make it work!
Thank you for your answer!!

  • #4

Hi!!
In the following link the solution to the problem can be found:

forums.developer.nvidia.com

GeForce RTX 3060 not working with Ubuntu 20.04 (Focal Fossa)

I’ve been trying for a while now to install the Nvidia drivers in my laptop, but even though it seems to be installed the nvidia commands doesn’t work at all nor the HDMI displays works with an external screen (via HDMI). The command: nvidia-smi gives the following output: NVIDIA-SMI has…

forums.developer.nvidia.com


forums.developer.nvidia.com

Thanks a lot!

Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

sinderel

Level 1
Level 1
Posts: 40
Joined: Fri Oct 20, 2017 5:50 am

[SOLVED] Nvidia driver not loading

I have Linux Mint on an MSI laptop with an Nvidia card (inxi report coming later). I installed the nvidia driver through the GUI Driver Manager (the reccommended version, 450). When I run nvidia-smi, it tells me that it could not connect to driver. nvidia-settings also says that the driver is not loaded. The nvidia settings GUI-app shows me a blank window, only with the options of Help and Quit.

I have tried uninstalling and installing the driver again, as I have seen it worked for others with this problem, but it’s not solving it.

Any other workaround?

inxi report:

System: Kernel: 5.4.0-52-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: MATE 1.24.0 Distro: Linux Mint 20 Ulyana
base: Ubuntu 20.04 focal
Machine: Type: Laptop System: Micro-Star product: Prestige 14 A10SC v: REV:1.0 serial: <filter>
Mobo: Micro-Star model: MS-14C1 v: REV:1.0 serial: <filter> UEFI: American Megatrends v: E14C1IMS.106
date: 11/29/2019
Battery: ID-1: BAT1 charge: 39.6 Wh condition: 49.5/52.4 Wh (94%) model: MSI BIF0_9 status: Unknown
Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard K270 charge: 100% (should be ignored)
status: Discharging
CPU: Topology: 6-Core model: Intel Core i7-10710U bits: 64 type: MT MCP arch: N/A L2 cache: 12.0 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 38399
Speed: 400 MHz min/max: 400/4700 MHz Core speeds (MHz): 1: 400 2: 400 3: 400 4: 400 5: 400 6: 400 7: 400 8: 400
9: 400 10: 400 11: 400 12: 400
Graphics: Device-1: Intel vendor: Micro-Star MSI driver: i915 v: kernel bus ID: 00:02.0
Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] vendor: Micro-Star MSI driver: N/A bus ID: 02:00.0
Display: x11 server: X.Org 1.20.8 driver: modesetting unloaded: fbdev,vesa
resolution: 1920×1080~60Hz, 1920×1080~60Hz
OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 20.0.8 direct render: Yes
Audio: Device-1: Intel vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus ID: 00:1f.3
Sound Server: ALSA v: k5.4.0-52-generic
Network: Device-1: Intel Wireless-AC 9462 driver: iwlwifi v: kernel port: 4000 bus ID: 00:14.3
IF: wlo1 state: up mac: <filter>
Device-2: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152 bus ID: 4-1.2:3
IF: enx9cebe8e6da63 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives: Local Storage: total: 476.94 GiB used: 45.65 GiB (9.6%)
ID-1: /dev/nvme0n1 vendor: Western Digital model: PC SN730 SDBPNTY-512G-1032 size: 476.94 GiB
Partition: ID-1: / size: 36.42 GiB used: 16.64 GiB (45.7%) fs: ext4 dev: /dev/nvme0n1p6
ID-2: /home size: 329.00 GiB used: 28.98 GiB (8.8%) fs: ext4 dev: /dev/nvme0n1p7
Sensors: System Temperatures: cpu: 69.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info: Processes: 309 Uptime: 25m Memory: 15.47 GiB used: 5.03 GiB (32.5%) Init: systemd runlevel: 5 Compilers: gcc: 9.3.0
Shell: bash v: 5.0.17 inxi: 3.0.38

Thanks!!

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.

Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

User avatar

SMG

Level 24
Level 24
Posts: 20861
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Nvidia driver not loading

Post

by SMG » Wed Oct 28, 2020 5:26 pm

I do not see any sign the Nvidia driver is loaded. Do you have secure boot turned on? Some computers required it be off for the Nvidia driver to load while for other computers it can be left on, but the Nvidia driver has to be signed for it to load.

Graphics:
Device-1: Intel vendor: Micro-Star MSI driver: i915 v: kernel bus ID: 00:02.0
Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] vendor: Micro-Star MSI driver: N/A bus ID: 02:00.0
Display: x11 server: X.Org 1.20.8 driver: modesetting unloaded: fbdev,vesa
resolution: 1920×1080~60Hz, 1920×1080~60Hz
OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 20.0.8 direct render: Yes

Image
A woman typing on a laptop with LM20.3 Cinnamon.

sinderel

Level 1
Level 1
Posts: 40
Joined: Fri Oct 20, 2017 5:50 am

Re: Nvidia driver not loading

Post

by sinderel » Thu Oct 29, 2020 5:13 am

SMG wrote: ↑

Wed Oct 28, 2020 5:26 pm


I do not see any sign the Nvidia driver is loaded. Do you have secure boot turned on? Some computers required it be off for the Nvidia driver to load while for other computers it can be left on, but the Nvidia driver has to be signed for it to load.

Graphics:
Device-1: Intel vendor: Micro-Star MSI driver: i915 v: kernel bus ID: 00:02.0
Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] vendor: Micro-Star MSI driver: N/A bus ID: 02:00.0
Display: x11 server: X.Org 1.20.8 driver: modesetting unloaded: fbdev,vesa
resolution: 1920×1080~60Hz, 1920×1080~60Hz
OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 20.0.8 direct render: Yes

The nvidia-settings command returns this:

Code: Select all

ERROR: NVIDIA driver is not loaded


ERROR: Unable to load info from any available system


(nvidia-settings:5622): GLib-GObject-CRITICAL **: 10:12:16.799: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
** Message: 10:12:16.802: PRIME: No offloading required. Abort
** Message: 10:12:16.802: PRIME: is it supported? no

I do not have secure boot on.

Thanks.

User avatar

Kadaitcha Man

Level 16
Level 16
Posts: 6098
Joined: Mon Aug 27, 2012 10:17 pm

Re: Nvidia driver not loading

Post

by Kadaitcha Man » Thu Oct 29, 2020 5:16 am

sinderel wrote: ↑

Thu Oct 29, 2020 5:13 am


ERROR: Unable to load info from any available system

Purge the current installation with sudo apt remove --purge *nvidia*

Next, go here: https://www.linuxmint.com/rel_ulyana_cinnamon.php

See the section titled, Solving freezes during the boot sequence

You need to start at the line that reads, «After the installation…» to boot with the nomodeset option. You should also play the video.

[*] All kadaitcha men are liars

sinderel

Level 1
Level 1
Posts: 40
Joined: Fri Oct 20, 2017 5:50 am

Re: Nvidia driver not loading

Post

by sinderel » Mon Nov 02, 2020 2:36 am

Kadaitcha Man wrote: ↑

Thu Oct 29, 2020 5:16 am

sinderel wrote: ↑

Thu Oct 29, 2020 5:13 am


ERROR: Unable to load info from any available system

Purge the current installation with sudo apt remove --purge *nvidia*

Next, go here: https://www.linuxmint.com/rel_ulyana_cinnamon.php

See the section titled, Solving freezes during the boot sequence

You need to start at the line that reads, «After the installation…» to boot with the nomodeset option. You should also play the video.

Thank you for your reply. I tried this, but I do not see any change in the nvidia-smi or nvidia-settings: the driver still seems to be not loaded.

Here is the current system report:

Code: Select all

System:    Kernel: 5.4.0-52-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: MATE 1.24.0 
           wm: marco dm: LightDM Distro: Linux Mint 20 Ulyana base: Ubuntu 20.04 focal 
Machine:   Type: Laptop System: Micro-Star product: Prestige 14 A10SC v: REV:1.0 serial: <filter> 
           Chassis: type: 10 serial: <filter> 
           Mobo: Micro-Star model: MS-14C1 v: REV:1.0 serial: <filter> UEFI: American Megatrends 
           v: E14C1IMS.106 date: 11/29/2019 
Battery:   ID-1: BAT1 charge: 36.1 Wh condition: 47.9/52.4 Wh (91%) volts: 12.2/11.4 
           model: MSI BIF0_9 serial: N/A status: Unknown 
           Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard serial: <filter> 
           charge: 55% (should be ignored) status: Discharging 
CPU:       Topology: 6-Core model: Intel Core i7-10710U bits: 64 type: MT MCP arch: N/A 
           L2 cache: 12.0 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 38399 
           Speed: 3889 MHz min/max: 400/4700 MHz Core speeds (MHz): 1: 3902 2: 3900 3: 3900 
           4: 3900 5: 3904 6: 3900 7: 3900 8: 3900 9: 3910 10: 3900 11: 3899 12: 3902 
Graphics:  Device-1: Intel vendor: Micro-Star MSI driver: i915 v: kernel bus ID: 00:02.0 
           chip ID: 8086:9bca 
           Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] vendor: Micro-Star MSI 
           driver: N/A bus ID: 02:00.0 chip ID: 10de:1f96 
           Display: x11 server: X.Org 1.20.8 driver: modesetting unloaded: fbdev,vesa 
           alternate: nvidia compositor: marco resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 20.0.8 
           direct render: Yes 
Audio:     Device-1: Intel vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
           chip ID: 8086:02c8 
           Sound Server: ALSA v: k5.4.0-52-generic 
Network:   Device-1: Intel Wireless-AC 9462 driver: iwlwifi v: kernel port: 4000 bus ID: 00:14.3 
           chip ID: 8086:02f0 
           IF: wlo1 state: up mac: <filter> 
Drives:    Local Storage: total: 476.94 GiB used: 46.70 GiB (9.8%) 
           ID-1: /dev/nvme0n1 vendor: Western Digital model: PC SN730 SDBPNTY-512G-1032 
           size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> 
Partition: ID-1: / size: 36.42 GiB used: 16.48 GiB (45.3%) fs: ext4 dev: /dev/nvme0n1p6 
           ID-2: /home size: 329.00 GiB used: 30.18 GiB (9.2%) fs: ext4 dev: /dev/nvme0n1p7 
USB:       Hub: 1-0:1 info: Full speed (or root) Hub ports: 12 rev: 2.0 chip ID: 1d6b:0002 
           Device-1: 1-1:2 info: Logitech Unifying Receiver type: Keyboard,Mouse 
           driver: logitech-djreceiver,usbhid rev: 2.0 chip ID: 046d:c534 
           Device-2: 1-5:3 info: NXP s PTN5002 type: N/A driver: N/A rev: 2.0 chip ID: 1fc9:5002 
           Device-3: 1-6:4 info: Acer HD Camera type: Video driver: uvcvideo rev: 2.0 
           chip ID: 5986:2127 
           Device-4: 1-8:5 info: Synaptics type: <vendor specific> driver: N/A rev: 2.0 
           chip ID: 06cb:009b 
           Device-5: 1-10:6 info: Intel type: Bluetooth driver: btusb rev: 2.0 chip ID: 8087:0026 
           Hub: 2-0:1 info: Full speed (or root) Hub ports: 6 rev: 3.1 chip ID: 1d6b:0003 
           Hub: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 chip ID: 1d6b:0002 
           Hub: 4-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 chip ID: 1d6b:0003 
Sensors:   System Temperatures: cpu: 78.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
           1: deb [arch=amd64] http: //dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/megasync.list 
           1: deb https: //mega.nz/linux/MEGAsync/xUbuntu_20.04/ ./
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb http: //ftp.nluug.nl/os/Linux/distr/linuxmint/packages ulyana main upstream import backport
           2: deb http: //mirror.previder.nl/ubuntu focal main restricted universe multiverse
           3: deb http: //mirror.previder.nl/ubuntu focal-updates main restricted universe multiverse
           4: deb http: //mirror.previder.nl/ubuntu focal-backports main restricted universe multiverse
           5: deb http: //security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
           6: deb http: //archive.canonical.com/ubuntu/ focal partner
           Active apt repos in: /etc/apt/sources.list.d/skype-stable.list 
           1: deb [arch=amd64] https: //repo.skype.com/deb stable main
           Active apt repos in: /etc/apt/sources.list.d/steam.list 
           1: deb [arch=amd64,i386] https: //repo.steampowered.com/steam/ stable steam
           2: deb-src [arch=amd64,i386] https: //repo.steampowered.com/steam/ stable steam
Info:      Processes: 284 Uptime: 7m Memory: 15.47 GiB used: 2.15 GiB (13.9%) Init: systemd v: 245 
           runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Client: Unknown python3.8 client inxi: 3.0.38 

User avatar

Kadaitcha Man

Level 16
Level 16
Posts: 6098
Joined: Mon Aug 27, 2012 10:17 pm

Re: Nvidia driver not loading

Post

by Kadaitcha Man » Mon Nov 02, 2020 2:53 am

sinderel wrote: ↑

Mon Nov 02, 2020 2:36 am


Thank you for your reply. I tried this, but I do not see any change in the nvidia-smi or nvidia-settings: the driver still seems to be not loaded.

Code: Select all

CPU: Topology: 6-Core model: Intel Core i7-10710U

Ok, start the Update Manager, install kernel 5.8, choose the highest numbered kernel. THe problem may be related to the fact that your machine is too new for the older 5.4 kernel. If it isn’t fixed after a reboot, repeat the nomodeset procedure.

[*] All kadaitcha men are liars

sinderel

Level 1
Level 1
Posts: 40
Joined: Fri Oct 20, 2017 5:50 am

Re: Nvidia driver not loading

Post

by sinderel » Sun Nov 08, 2020 2:00 pm

Ok, start the Update Manager, install kernel 5.8, choose the highest numbered kernel. The problem may be related to the fact that your machine is too new for the older 5.4 kernel. If it isn’t fixed after a reboot, repeat the nomodeset procedure.

Thanks for this advice. I have tried this but still didn’t fix it.
I said before that I didn’t have Secure boot on, but now I realize that I do boot on UEFI (I had to change this to have dual boot). I can’t seem to be able to boot anything on Legacy; I just get the grub rescue command line.

Is booting on Legacy the only way to solve this problem with the driver (and if so, how do I go about this grub issue?)

User avatar

SMG

Level 24
Level 24
Posts: 20861
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Nvidia driver not loading

Post

by SMG » Sun Nov 08, 2020 2:37 pm

sinderel wrote: ↑

Sun Nov 08, 2020 2:00 pm

Thanks for this advice. I have tried this but still didn’t fix it.
I said before that I didn’t have Secure boot on, but now I realize that I do boot on UEFI (I had to change this to have dual boot). I can’t seem to be able to boot anything on Legacy; I just get the grub rescue command line.

Is booting on Legacy the only way to solve this problem with the driver (and if so, how do I go about this grub issue?)

If your Win10 installation was done in UEFI then your Mint install should be UEFI as well. You can boot UEFI and Secure Boot on and sign your Nvidia drivers when you install them, or you can boot UEFI with Secure Boot off. Legacy mode is not a factor in this.

Please provide the output of mokutil --sb-state.

Normally X Server probes the video cards in order to initialize. Let’s see if your Nvidia card is being probed. Use this command in a terminal to upload the X Server log file to pastebin:
cat /var/log/Xorg.0.log | nc termbin.com 9999
It will return with a url address that you should post in your next reply.

Last edited by SMG on Tue Nov 10, 2020 4:16 pm, edited 1 time in total.

Image
A woman typing on a laptop with LM20.3 Cinnamon.

sinderel

Level 1
Level 1
Posts: 40
Joined: Fri Oct 20, 2017 5:50 am

Re: Nvidia driver not loading

Post

by sinderel » Tue Nov 10, 2020 3:53 pm

The problem is that, if I disable Secure Boot, Linux Mint won’t boot anymore: it just goes to a black screen and it only responds to the power button.

So mokutil returns:

(since, as I mention, I cannot boot with SecureBoot disabled).

The link to know if the Nvidia card is being probed:

https://termbin.com/rvl9

I found these lines in that link:
[ 5.098] (II) LoadModule: «nvidia»
[ 5.098] (WW) Warning, couldn’t open module nvidia
[ 5.098] (EE) Failed to load module «nvidia» (module does not exist, 0)

Thanks a lot for your help!

User avatar

SMG

Level 24
Level 24
Posts: 20861
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Nvidia driver not loading

Post

by SMG » Tue Nov 10, 2020 5:47 pm

sinderel wrote: ↑

Tue Nov 10, 2020 3:53 pm


The problem is that, if I disable Secure Boot, Linux Mint won’t boot anymore: it just goes to a black screen and it only responds to the power button.

If you installed Mint with Secure Boot on then you would leave it on and sign the Nvidia driver on the first reboot after you installed the Nvidia driver.

The eighth post in this thread [SOLVED] System settings list my monitor as Laptop. Not true! has an image of an attachment of an «Enroll MOK» text window for Secure Boot. Presuming the Nvidia driver modules did install, I would assume you would see something similar on your laptop so you could sign the Nvidia driver. Everyone’s hardware is slightly different, so I do not know how your system would handle this.

Your inxi graphics information showed two graphics devices.

Code: Select all

Graphics: 
Device-1: Intel vendor: Micro-Star MSI driver: i915 v: kernel bus ID: 00:02.0
Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] vendor: Micro-Star MSI driver: N/A bus ID: 02:00.0 

If you look at the bus ID (end of line) of each of the above, you will notice those bus IDs being probed in the following lines from the XOrg log file. The first one is the Intel and the second one is the Nvidia card.

Code: Select all

[    42.095] Markers: (--) probed
[     5.094] (--) PCI:*(0@0:2:0) 8086:9bca:1462:1297 rev 4, Mem @ 0xd3000000/16777216, 0x30000000/268435456, I/O @ 0x00004000/64, BIOS @ 0x????????/131072
[     5.094] (--) PCI: (2@0:0:0) 10de:1f96:1462:1297 rev 161, Mem @ 0xd4000000/16777216, 0x90000000/268435456, 0xa0000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x????????/524288

It appears you are using a custom config file, but I wouldn’t expect that to affect the Nvidia card.
[ 5.064] (==) Using config file: «/etc/X11/xorg.conf»

Maybe if you describe the specific steps you are taking we might get some other ideas of what might be happening.

Image
A woman typing on a laptop with LM20.3 Cinnamon.

sinderel

Level 1
Level 1
Posts: 40
Joined: Fri Oct 20, 2017 5:50 am

Re: Nvidia driver not loading

Post

by sinderel » Mon Nov 30, 2020 5:57 am

I attempted to enroll the MOK but I did something wrong and I cannot boot into my installation anymore, I get a black screen.

I am copying the information of the system report that I am getting with a Live usb drive:

Code: Select all

System:    Kernel: 5.4.0-26-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: MATE 1.24.0 
           wm: marco dm: LightDM Distro: Linux Mint 20 Ulyana base: Ubuntu 20.04 focal 
Machine:   Type: Laptop System: Micro-Star product: Prestige 14 A10SC v: REV:1.0 serial: <filter> 
           Chassis: type: 10 serial: <filter> 
           Mobo: Micro-Star model: MS-14C1 v: REV:1.0 serial: <filter> UEFI: American Megatrends 
           v: E14C1IMS.106 date: 11/29/2019 
Battery:   ID-1: BAT1 charge: 36.1 Wh condition: 47.7/52.4 Wh (91%) volts: 10.9/11.4 
           model: MSI BIF0_9 serial: N/A status: Discharging 
CPU:       Topology: 6-Core model: Intel Core i7-10710U bits: 64 type: MT MCP arch: N/A 
           L2 cache: 12.0 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 38399 
           Speed: 3767 MHz min/max: 400/4700 MHz Core speeds (MHz): 1: 3708 2: 2619 3: 2569 
           4: 2733 5: 3042 6: 2729 7: 2874 8: 2878 9: 3074 10: 2920 11: 3067 12: 2865 
Graphics:  Device-1: Intel vendor: Micro-Star MSI driver: i915 v: kernel bus ID: 00:02.0 
           chip ID: 8086:9bca 
           Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] vendor: Micro-Star MSI 
           driver: nouveau v: kernel bus ID: 02:00.0 chip ID: 10de:1f96 
           Display: x11 server: X.Org 1.20.8 driver: modesetting unloaded: fbdev,vesa 
           compositor: marco resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 20.0.4 
           direct render: Yes 
Audio:     Device-1: Intel vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
           chip ID: 8086:02c8 
           Sound Server: ALSA v: k5.4.0-26-generic 
Network:   Device-1: Intel Wireless-AC 9462 driver: iwlwifi v: kernel port: 4000 bus ID: 00:14.3 
           chip ID: 8086:02f0 
           IF: wlo1 state: up mac: <filter> 
Drives:    Local Storage: total: 480.67 GiB used: 2.43 GiB (0.5%) 
           ID-1: /dev/nvme0n1 vendor: Western Digital model: PC SN730 SDBPNTY-512G-1032 
           size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> 
           ID-2: /dev/sda type: USB model: USB Flash Disk size: 3.73 GiB serial: <filter> 
Partition: ID-1: / size: 7.74 GiB used: 488.5 MiB (6.2%) fs: overlay source: ERR-102 
USB:       Hub: 1-0:1 info: Full speed (or root) Hub ports: 12 rev: 2.0 chip ID: 1d6b:0002 
           Device-1: 1-1:2 info: Silicon Motion - Taiwan (formerly Feiya ) Flash Drive 
           type: Mass Storage driver: usb-storage rev: 2.0 chip ID: 090c:1000 
           Device-2: 1-8:3 info: Synthaptics type: <vendor specific> driver: N/A rev: 2.0 
           chip ID: 06cb:009b 
           Device-3: 1-10:4 info: Intel type: Bluetooth driver: btusb rev: 2.0 chip ID: 8087:0026 
           Hub: 2-0:1 info: Full speed (or root) Hub ports: 6 rev: 3.1 chip ID: 1d6b:0003 
           Hub: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 chip ID: 1d6b:0002 
           Hub: 4-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 chip ID: 1d6b:0003 
Sensors:   System Temperatures: cpu: 50.0 C mobo: N/A gpu: nouveau temp: 59 C 
           Fan Speeds (RPM): N/A 
Repos:     Active apt repos in: /etc/apt/sources.list 
           1: deb cdrom:[Linux Mint 20 _Ulyana_ - Release amd64 20200624]/ focal contrib main
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb http: //packages.linuxmint.com ulyana main upstream import backport #id:linuxmint_main
           2: deb http: //archive.ubuntu.com/ubuntu focal main restricted universe multiverse
           3: deb http: //archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
           4: deb http: //archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
           5: deb http: //security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
           6: deb http: //archive.canonical.com/ubuntu/ focal partner
Info:      Processes: 269 Uptime: 2d 17h 08m Memory: 15.47 GiB used: 2.04 GiB (13.2%) 
           Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 
           Client: Unknown python3.8 client inxi: 3.0.38 

How can I recover from this (even if without the driver loaded for now)?

Thanks!

User avatar

SMG

Level 24
Level 24
Posts: 20861
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Nvidia driver not loading

Post

by SMG » Mon Nov 30, 2020 11:07 am

sinderel wrote: ↑

Mon Nov 30, 2020 5:57 am


I attempted to enroll the MOK but I did something wrong and I cannot boot into my installation anymore, I get a black screen.

I do not know how you ended up with a custom config file, /etc/X11/xorg.conf, but based on some issues I’ve helped others with since you last posted, I think that file may be the reason you are getting a black screen when you boot.

Did you run nvidia-config after installing the Nvidia driver? That is not the appropriate command to run for a laptop with hybrid graphics which is what you have.

Make sure the graphics in your BIOS is set to «hybrid» or «switchable» graphics and not Discrete (which is Nvidia only).

Boot using the «nomodeset» parameter the same way you did per the instructions of Kadaitcha Man earlier in this thread so you can get into Mint.

When you get in, please provide the output of dpkg -l | grep -i nvidia and cat /etc/X11/xorg.conf.

Then I want you to remove that config file using sudo rm /etc/X11/xorg.conf.

Then reboot and see if your Mint install uses the Intel driver to give you a display. I’ll need to see your Nvidia files listing to get an idea of what might need to be done at that point.

Keep in mind, because you have Secure Boot turned on every time you update the kernel, you will need to go to Driver Manager to install the Nvidia driver again so you can rekey/resign it. The Nvidia driver and the kernel must be a matched pair for it to load, so each time you change one or the other, the matching needs to be redone. That is why we recommend you turn it off.

Image
A woman typing on a laptop with LM20.3 Cinnamon.

sinderel

Level 1
Level 1
Posts: 40
Joined: Fri Oct 20, 2017 5:50 am

Re: Nvidia driver not loading

Post

by sinderel » Mon Nov 30, 2020 2:05 pm

Thank you for your quick reply. I have looked through all the options in the BIOS Setup Utility and I really cannot find anything that seems to be related to graphics, or any option like Hybrid/Switchable/Discrete. Is it possible that there is no such option in my version of the BIOS, or am I overlooking something?

If it helps, the BIOS Setup Utility is:
Aptio Setup Utility (2019, American Megatrends)
Version 2.20.1276
BIOS Version E14C1IMS.106
BIOS Build 11/29/2019
EC Version 14C1EMS1.101

User avatar

SMG

Level 24
Level 24
Posts: 20861
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Nvidia driver not loading

Post

by SMG » Mon Nov 30, 2020 2:21 pm

sinderel wrote: ↑

Mon Nov 30, 2020 2:05 pm

Is it possible that there is no such option in my version of the BIOS, or am I overlooking something?

Yes, it is possible there is no option to switch.

I did find this link Support For Prestige 14 A10SC which seems to indicate there are some updates to your computer’s BIOS and firmware. I flipped through the manual to see if there was anything about the BIOS and all I saw were instructions on changing the boot mode. So it looks like your computer may only run in hybrid mode.

Image
A woman typing on a laptop with LM20.3 Cinnamon.

sinderel

Level 1
Level 1
Posts: 40
Joined: Fri Oct 20, 2017 5:50 am

Re: Nvidia driver not loading

Post

by sinderel » Tue Dec 01, 2020 5:07 am

Thanks for checking that, it’s good to know.

I tried to boot the following kernels with the nomodeset option:
5.8.0-29-generic
5.8.0-28-generic
5.8.0-25-generic
5.4.0-54-generic
5.4.0-53-generic
but they did not move past the black screen. Only 5.4.0-26-generic with the nomodeset option booted correctly.

This is the output of dpkg -l | grep -i nvidia:

Code: Select all

ii  libnvidia-cfg1-450:amd64                   450.80.02-0ubuntu0.20.04.2            amd64        NVIDIA binary OpenGL/GLX configuration library
ii  libnvidia-common-450                       450.80.02-0ubuntu0.20.04.2            all          Shared files used by the NVIDIA libraries
ii  libnvidia-compute-450:amd64                450.80.02-0ubuntu0.20.04.2            amd64        NVIDIA libcompute package
ii  libnvidia-compute-450:i386                 450.80.02-0ubuntu0.20.04.2            i386         NVIDIA libcompute package
ii  libnvidia-decode-450:amd64                 450.80.02-0ubuntu0.20.04.2            amd64        NVIDIA Video Decoding runtime libraries
ii  libnvidia-decode-450:i386                  450.80.02-0ubuntu0.20.04.2            i386         NVIDIA Video Decoding runtime libraries
ii  libnvidia-encode-450:amd64                 450.80.02-0ubuntu0.20.04.2            amd64        NVENC Video Encoding runtime library
ii  libnvidia-encode-450:i386                  450.80.02-0ubuntu0.20.04.2            i386         NVENC Video Encoding runtime library
ii  libnvidia-extra-450:amd64                  450.80.02-0ubuntu0.20.04.2            amd64        Extra libraries for the NVIDIA driver
ii  libnvidia-fbc1-450:amd64                   450.80.02-0ubuntu0.20.04.2            amd64        NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-fbc1-450:i386                    450.80.02-0ubuntu0.20.04.2            i386         NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-gl-450:amd64                     450.80.02-0ubuntu0.20.04.2            amd64        NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-gl-450:i386                      450.80.02-0ubuntu0.20.04.2            i386         NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-ifr1-450:amd64                   450.80.02-0ubuntu0.20.04.2            amd64        NVIDIA OpenGL-based Inband Frame Readback runtime library
ii  libnvidia-ifr1-450:i386                    450.80.02-0ubuntu0.20.04.2            i386         NVIDIA OpenGL-based Inband Frame Readback runtime library
ii  nvidia-common                              1:0.8.4~0.20.04.3                     amd64        transitional package for ubuntu-drivers-common
ii  nvidia-compute-utils-450                   450.80.02-0ubuntu0.20.04.2            amd64        NVIDIA compute utilities
ii  nvidia-dkms-450                            450.80.02-0ubuntu0.20.04.2            amd64        NVIDIA DKMS package
ii  nvidia-driver-450                          450.80.02-0ubuntu0.20.04.2            amd64        NVIDIA driver metapackage
ii  nvidia-kernel-common-450                   450.80.02-0ubuntu0.20.04.2            amd64        Shared files used with the kernel module
ii  nvidia-kernel-source-450                   450.80.02-0ubuntu0.20.04.2            amd64        NVIDIA kernel source package
ii  nvidia-prime                               0.8.14                                all          Tools to enable NVIDIA's Prime
ii  nvidia-prime-applet                        1.2.3                                 all          An applet for NVIDIA Prime
ii  nvidia-settings                            440.82-0ubuntu0.20.04.1               amd64        Tool for configuring the NVIDIA graphics driver
ii  nvidia-utils-450                           450.80.02-0ubuntu0.20.04.2            amd64        NVIDIA driver support binaries
ii  screen-resolution-extra                    0.18build1                            all          Extension for the nvidia-settings control panel
ii  xserver-xorg-video-nvidia-450              450.80.02-0ubuntu0.20.04.2            amd64        NVIDIA binary Xorg driver

And this is the content of /etc/X11/xorg.conf:

Code: Select all

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 450.80.02

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Then I have deleted the abovementioned file, and I have rebooted again with this same kernel. The Driver Manager tells me that the device uses nvidia-driver-450.80.02-0ubuntu0.20.04.2 Nvidia driver metapackage.

I have then tried to boot my latest kernel (5.8.0-29-generic) and now it does boot (yay!), and the Driver Manager also tells me that the device uses nvidia-driver-450.80.02-0ubuntu0.20.04.2 Nvidia driver metapackage. The nvidia-smi command now responds!

I understand then that the problem is solved and my system is now using the nvidia driver, am I right?

Re:

Keep in mind, because you have Secure Boot turned on every time you update the kernel, you will need to go to Driver Manager to install the Nvidia driver again so you can rekey/resign it. The Nvidia driver and the kernel must be a matched pair for it to load, so each time you change one or the other, the matching needs to be redone. That is why we recommend you turn it off.

This means that now with every update I should manually install the driver using the Driver Manager, is that so? May I just ask what is the correct way to rekey/resign? I am not sure I did this properly last time.

Thank you so much for all your help!

User avatar

SMG

Level 24
Level 24
Posts: 20861
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Nvidia driver not loading

Post

by SMG » Tue Dec 01, 2020 12:22 pm

sinderel wrote: ↑

Tue Dec 01, 2020 5:07 am

Only 5.4.0-26-generic with the nomodeset option booted correctly.

Thanks for that detailed feedback. I am not sure why the other kernels did not work. The oldest kernel does have a slightly older version of Xorg Mesa, but I do not know what else might have been different or why that might matter.

sinderel wrote: ↑

Tue Dec 01, 2020 5:07 am

This is the output of dpkg -l | grep -i nvidia:

It looks like all the 450-Driver files including nvidia-prime and nvidia-prime-applet and the 32 bit libraries are installed.

sinderel wrote: ↑

Tue Dec 01, 2020 5:07 am

And this is the content of /etc/X11/xorg.conf:

That file looks like it was part of the issue and it was appropriate for it to be removed.

sinderel wrote: ↑

Tue Dec 01, 2020 5:07 am

I understand then that the problem is solved and my system is now using the nvidia driver, am I right?

That is how I see the situation. You should now be able to use your nvidia-prime-applet or the Nvidia X Server Settings app to switch between Intel and Nvidia (or just use Nvidia as renderer while using Intel).

sinderel wrote: ↑

Tue Dec 01, 2020 5:07 am

Re:

Keep in mind, because you have Secure Boot turned on every time you update the kernel, you will need to go to Driver Manager to install the Nvidia driver again so you can rekey/resign it. The Nvidia driver and the kernel must be a matched pair for it to load, so each time you change one or the other, the matching needs to be redone. That is why we recommend you turn it off.

This means that now with every update I should manually install the driver using the Driver Manager, is that so? May I just ask what is the correct way to rekey/resign? I am not sure I did this properly last time.

Based on feedback I am getting from others on the forum, it seems like MOK is being handled in different manners by different manufacturers. Thus I am not really sure what you might see or what you should do to re-sign it.

If you notice when you open Nvidia X Server settings that you get a basically blank window then it probably means the driver is not loaded. You would also get N/A beside driver for Nvidia when you run inxi -G. If that is the case then check Driver Manager to see if it shows as being installed. One person indicated the driver was not showing as installed in Driver Manager and all they had to do was do the install and reboot and their computer came up with instructions for redoing the MOK keys. Your computer may handle the MOK situation differently, so I do not know what you might see.

If you feel your issue is resolved, then edit the title of the first post in this thread to add [SOLVED]. That will let others with a similar issue know this would be a good thread to read.

Image
A woman typing on a laptop with LM20.3 Cinnamon.

Hi guys!
I did follow the wiki guide to the letter but as you can see the driver that installs is the wrong one…
I installed debian 11 uefi and used the non-free installation so I didn’t need to change anything in /etc/apt/sources.list

Now I am going to show the full installation plus the questions…

Code: Select all

martyn@debian-test:~$ lspci -nn | egrep -i "3d|display|vga"
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM204 [GeForce GTX 970] [10de:13c2] (rev a1)
martyn@debian-test:~$ 

I checked the supported list and my card is there:
GeForce GTX 970 13C2 E

I installed nvidia-detect and ran it:

Code: Select all

martyn@debian-test:~$ sudo apt install nvidia-detect
[sudo] lösenord för martyn: 
Läser paketlistor… Färdig
Bygger beroendeträd… Färdig
Läser tillståndsinformation… Färdig
Följande paket har installerats automatiskt och är inte längre nödvändiga:
  dctrl-tools dkms glx-alternative-mesa libgles1 libgles2 libnvidia-cbl
  libnvidia-eglcore libnvidia-glcore libnvidia-glvkspirv
  libnvidia-ptxjitcompiler1 libnvidia-rtcore libopengl0 linux-headers-amd64
  update-glx
Använd ”sudo apt autoremove” för att ta bort dem.
Följande NYA paket kommer att installeras:
  nvidia-detect
0 att uppgradera, 1 att nyinstallera, 0 att ta bort och 0 att inte uppgradera.
Behöver hämta 233 kB arkiv.
Efter denna åtgärd kommer ytterligare 307 kB utrymme användas på disken.
Läs:1 http://deb.debian.org/debian bullseye/non-free amd64 nvidia-detect amd64 460.91.03-1 [233 kB]
Hämtade 233 kB på 0s (2 466 kB/s) 
Väljer tidigare ej valt paket nvidia-detect.
(Läser databasen ... 128825 filer och kataloger installerade.)
Förbereder att packa upp .../nvidia-detect_460.91.03-1_amd64.deb ...
Packar upp nvidia-detect (460.91.03-1) ...
Ställer in nvidia-detect (460.91.03-1) ...
martyn@debian-test:~$ 

martyn@debian-test:~$ nvidia-detect
Detected NVIDIA GPUs:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM204 [GeForce GTX 970] [10de:13c2] (rev a1)

Checking card:  NVIDIA Corporation GM204 [GeForce GTX 970] (rev a1)
Your card is supported by all driver versions.
Your card is also supported by the Tesla 460 drivers series.
Your card is also supported by the Tesla 450 drivers series.
Your card is also supported by the Tesla 418 drivers series.
It is recommended to install the
    nvidia-driver
package.
martyn@debian-test:~$ 

I then checked installation for

Code: Select all

martyn@debian-test:~$ sudo apt install linux-headers-amd64
Läser paketlistor… Färdig
Bygger beroendeträd… Färdig
Läser tillståndsinformation… Färdig
linux-headers-amd64 is already the newest version (5.10.46-5).
linux-headers-amd64 är satt till manuellt installerad.
Följande paket har installerats automatiskt och är inte längre nödvändiga:
  dctrl-tools dkms glx-alternative-mesa libgles1 libgles2 libnvidia-cbl
  libnvidia-eglcore libnvidia-glcore libnvidia-glvkspirv
  libnvidia-ptxjitcompiler1 libnvidia-rtcore libopengl0 update-glx
Använd ”sudo apt autoremove” för att ta bort dem.
0 att uppgradera, 0 att nyinstallera, 0 att ta bort och 0 att inte uppgradera.
martyn@debian-test:~$ 

I then proceeded with the rest of the installation_

Code: Select all

martyn@debian-test:~$ sudo apt install nvidia-driver firmware-misc-nonfree
Läser paketlistor… Färdig
Bygger beroendeträd… Färdig
Läser tillståndsinformation… Färdig
firmware-misc-nonfree is already the newest version (20210315-3).
The following additional packages will be installed:
  dctrl-tools dkms glx-alternative-mesa glx-alternative-nvidia glx-diversions
  libcuda1 libegl-nvidia0 libgl1-nvidia-glvnd-glx libgles-nvidia1
  libgles-nvidia2 libgles1 libgles2 libglx-nvidia0 libnvcuvid1 libnvidia-cbl
  libnvidia-cfg1 libnvidia-eglcore libnvidia-encode1 libnvidia-glcore
  libnvidia-glvkspirv libnvidia-ml1 libnvidia-ptxjitcompiler1 libnvidia-rtcore
  libopengl0 nvidia-alternative nvidia-driver-bin nvidia-driver-libs
  nvidia-egl-common nvidia-egl-icd nvidia-installer-cleanup
  nvidia-kernel-common nvidia-kernel-dkms nvidia-kernel-support
  nvidia-legacy-check nvidia-modprobe nvidia-persistenced nvidia-settings
  nvidia-smi nvidia-support nvidia-vdpau-driver nvidia-vulkan-common
  nvidia-vulkan-icd update-glx xserver-xorg-video-nvidia
Föreslagna paket:
  debtags menu nvidia-cuda-mps vulkan-utils
Rekommenderade paket:
  libcuda1:i386 nvidia-driver-libs:i386
Följande NYA paket kommer att installeras:
  dctrl-tools dkms glx-alternative-mesa glx-alternative-nvidia glx-diversions
  libcuda1 libegl-nvidia0 libgl1-nvidia-glvnd-glx libgles-nvidia1
  libgles-nvidia2 libgles1 libgles2 libglx-nvidia0 libnvcuvid1 libnvidia-cbl
  libnvidia-cfg1 libnvidia-eglcore libnvidia-encode1 libnvidia-glcore
  libnvidia-glvkspirv libnvidia-ml1 libnvidia-ptxjitcompiler1 libnvidia-rtcore
  libopengl0 nvidia-alternative nvidia-driver nvidia-driver-bin
  nvidia-driver-libs nvidia-egl-common nvidia-egl-icd nvidia-installer-cleanup
  nvidia-kernel-common nvidia-kernel-dkms nvidia-kernel-support
  nvidia-legacy-check nvidia-modprobe nvidia-persistenced nvidia-settings
  nvidia-smi nvidia-support nvidia-vdpau-driver nvidia-vulkan-common
  nvidia-vulkan-icd update-glx xserver-xorg-video-nvidia
0 att uppgradera, 45 att nyinstallera, 0 att ta bort och 0 att inte uppgradera.
Behöver hämta 75,8 MB arkiv.
Efter denna åtgärd kommer ytterligare 266 MB utrymme användas på disken.
Vill du fortsätta? [J/n] J
Läs:1 http://deb.debian.org/debian bullseye/main amd64 dctrl-tools amd64 2.24-3+b1 [104 kB]
Läs:2 http://deb.debian.org/debian bullseye/main amd64 dkms all 2.8.4-3 [78,2 kB]
Läs:3 http://deb.debian.org/debian bullseye/contrib amd64 update-glx amd64 1.2.0 [10,5 kB]
Läs:4 http://deb.debian.org/debian bullseye/contrib amd64 glx-alternative-mesa amd64 1.2.0 [9 824 B]
Läs:5 http://deb.debian.org/debian bullseye/contrib amd64 nvidia-installer-cleanup amd64 20151021+13 [19,3 kB]
Läs:6 http://deb.debian.org/debian bullseye/contrib amd64 glx-diversions amd64 1.2.0 [12,1 kB]
Läs:7 http://deb.debian.org/debian bullseye/contrib amd64 glx-alternative-nvidia amd64 1.2.0 [10,8 kB]
Läs:8 http://deb.debian.org/debian bullseye/non-free amd64 nvidia-legacy-check amd64 460.91.03-1 [234 kB]
Läs:9 http://deb.debian.org/debian bullseye/contrib amd64 nvidia-support amd64 20151021+13 [20,2 kB]
Läs:10 http://deb.debian.org/debian bullseye/non-free amd64 nvidia-alternative amd64 460.91.03-1 [231 kB]
Läs:11 http://deb.debian.org/debian bullseye/non-free amd64 libnvidia-ptxjitcompiler1 amd64 460.91.03-1 [4 865 kB]
Läs:12 http://deb.debian.org/debian bullseye/non-free amd64 libcuda1 amd64 460.91.03-1 [2 627 kB]
Läs:13 http://deb.debian.org/debian bullseye/non-free amd64 libnvidia-glcore amd64 460.91.03-1 [7 570 kB]
Läs:14 http://deb.debian.org/debian bullseye/non-free amd64 libglx-nvidia0 amd64 460.91.03-1 [443 kB]
Läs:15 http://deb.debian.org/debian bullseye/non-free amd64 libgl1-nvidia-glvnd-glx amd64 460.91.03-1 [393 kB]
Läs:16 http://deb.debian.org/debian bullseye/non-free amd64 nvidia-egl-common amd64 460.91.03-1 [229 kB]
Läs:17 http://deb.debian.org/debian bullseye/non-free amd64 libnvidia-eglcore amd64 460.91.03-1 [7 464 kB]
Läs:18 http://deb.debian.org/debian bullseye/non-free amd64 libegl-nvidia0 amd64 460.91.03-1 [487 kB]
Läs:19 http://deb.debian.org/debian bullseye/non-free amd64 nvidia-egl-icd amd64 460.91.03-1 [229 kB]
Läs:20 http://deb.debian.org/debian bullseye/non-free amd64 nvidia-driver-libs amd64 460.91.03-1 [229 kB]
Läs:21 http://deb.debian.org/debian bullseye/non-free amd64 libnvidia-ml1 amd64 460.91.03-1 [693 kB]
Läs:22 http://deb.debian.org/debian bullseye/non-free amd64 nvidia-driver-bin amd64 460.91.03-1 [321 kB]
Läs:23 http://deb.debian.org/debian bullseye/non-free amd64 xserver-xorg-video-nvidia amd64 460.91.03-1 [2 432 kB]
Läs:24 http://deb.debian.org/debian bullseye/non-free amd64 nvidia-vdpau-driver amd64 460.91.03-1 [721 kB]
Läs:25 http://deb.debian.org/debian bullseye/contrib amd64 nvidia-kernel-common amd64 20151021+13 [11,0 kB]
Läs:26 http://deb.debian.org/debian bullseye/contrib amd64 nvidia-modprobe amd64 460.32.03-1 [20,3 kB]
Läs:27 http://deb.debian.org/debian bullseye/non-free amd64 nvidia-kernel-support amd64 460.91.03-1 [230 kB]
Läs:28 http://deb.debian.org/debian bullseye/non-free amd64 nvidia-kernel-dkms amd64 460.91.03-1 [25,0 MB]
Läs:29 http://deb.debian.org/debian bullseye/non-free amd64 nvidia-driver amd64 460.91.03-1 [559 kB]
Läs:30 http://deb.debian.org/debian bullseye/non-free amd64 libnvidia-cfg1 amd64 460.91.03-1 [301 kB]
Läs:31 http://deb.debian.org/debian bullseye/contrib amd64 nvidia-persistenced amd64 460.32.03-1 [27,1 kB]
Läs:32 http://deb.debian.org/debian bullseye/contrib amd64 nvidia-settings amd64 460.91.03-1 [784 kB]
Läs:33 http://deb.debian.org/debian bullseye/main amd64 libgles1 amd64 1.3.2-1 [12,6 kB]
Läs:34 http://deb.debian.org/debian bullseye/non-free amd64 libgles-nvidia1 amd64 460.91.03-1 [249 kB]
Läs:35 http://deb.debian.org/debian bullseye/main amd64 libgles2 amd64 1.3.2-1 [17,7 kB]
Läs:36 http://deb.debian.org/debian bullseye/non-free amd64 libgles-nvidia2 amd64 460.91.03-1 [257 kB]
Läs:37 http://deb.debian.org/debian bullseye/non-free amd64 libnvcuvid1 amd64 460.91.03-1 [1 206 kB]
Läs:38 http://deb.debian.org/debian bullseye/non-free amd64 libnvidia-cbl amd64 460.91.03-1 [477 kB]
Läs:39 http://deb.debian.org/debian bullseye/non-free amd64 libnvidia-encode1 amd64 460.91.03-1 [262 kB]
Läs:40 http://deb.debian.org/debian bullseye/non-free amd64 libnvidia-glvkspirv amd64 460.91.03-1 [4 046 kB]
Läs:41 http://deb.debian.org/debian bullseye/non-free amd64 libnvidia-rtcore amd64 460.91.03-1 [12,0 MB]
Läs:42 http://deb.debian.org/debian bullseye/non-free amd64 nvidia-smi amd64 460.91.03-1 [445 kB]
Läs:43 http://deb.debian.org/debian bullseye/non-free amd64 nvidia-vulkan-common amd64 460.91.03-1 [230 kB]
Läs:44 http://deb.debian.org/debian bullseye/non-free amd64 nvidia-vulkan-icd amd64 460.91.03-1 [229 kB]
Läs:45 http://deb.debian.org/debian bullseye/main amd64 libopengl0 amd64 1.3.2-1 [31,5 kB]
Hämtade 75,8 MB på 7s (11,6 MB/s)                                              
Plockar ut mallar från paketen: 100%
Förkonfigurerar paket ...
Väljer tidigare ej valt paket dctrl-tools.
(Läser databasen ... 128563 filer och kataloger installerade.)
Förbereder att packa upp .../dctrl-tools_2.24-3+b1_amd64.deb ...
Packar upp dctrl-tools (2.24-3+b1) ...
Väljer tidigare ej valt paket dkms.
Förbereder att packa upp .../archives/dkms_2.8.4-3_all.deb ...
Packar upp dkms (2.8.4-3) ...
Väljer tidigare ej valt paket update-glx.
Förbereder att packa upp .../update-glx_1.2.0_amd64.deb ...
Packar upp update-glx (1.2.0) ...
Väljer tidigare ej valt paket glx-alternative-mesa.
Förbereder att packa upp .../glx-alternative-mesa_1.2.0_amd64.deb ...
Packar upp glx-alternative-mesa (1.2.0) ...
Väljer tidigare ej valt paket nvidia-installer-cleanup.
Förbereder att packa upp .../nvidia-installer-cleanup_20151021+13_amd64.deb ...
Packar upp nvidia-installer-cleanup (20151021+13) ...
Ställer in nvidia-installer-cleanup (20151021+13) ...
Väljer tidigare ej valt paket glx-diversions.
(Läser databasen ... 128775 filer och kataloger installerade.)
Förbereder att packa upp .../glx-diversions_1.2.0_amd64.deb ...
Packar upp glx-diversions (1.2.0) ...
Väljer tidigare ej valt paket glx-alternative-nvidia.
Förbereder att packa upp .../glx-alternative-nvidia_1.2.0_amd64.deb ...
Packar upp glx-alternative-nvidia (1.2.0) ...
Väljer tidigare ej valt paket nvidia-legacy-check.
Förbereder att packa upp .../nvidia-legacy-check_460.91.03-1_amd64.deb ...
Packar upp nvidia-legacy-check (460.91.03-1) ...
Väljer tidigare ej valt paket nvidia-support.
Förbereder att packa upp .../nvidia-support_20151021+13_amd64.deb ...
Packar upp nvidia-support (20151021+13) ...
Ställer in nvidia-legacy-check (460.91.03-1) ...
Väljer tidigare ej valt paket nvidia-alternative.
(Läser databasen ... 128813 filer och kataloger installerade.)
Förbereder att packa upp .../00-nvidia-alternative_460.91.03-1_amd64.deb ...
Packar upp nvidia-alternative (460.91.03-1) ...
Väljer tidigare ej valt paket libnvidia-ptxjitcompiler1:amd64.
Förbereder att packa upp .../01-libnvidia-ptxjitcompiler1_460.91.03-1_amd64.deb 
...
Packar upp libnvidia-ptxjitcompiler1:amd64 (460.91.03-1) ...
Väljer tidigare ej valt paket libcuda1:amd64.
Förbereder att packa upp .../02-libcuda1_460.91.03-1_amd64.deb ...
Packar upp libcuda1:amd64 (460.91.03-1) ...
Väljer tidigare ej valt paket libnvidia-glcore:amd64.
Förbereder att packa upp .../03-libnvidia-glcore_460.91.03-1_amd64.deb ...
Packar upp libnvidia-glcore:amd64 (460.91.03-1) ...
Väljer tidigare ej valt paket libglx-nvidia0:amd64.
Förbereder att packa upp .../04-libglx-nvidia0_460.91.03-1_amd64.deb ...
Packar upp libglx-nvidia0:amd64 (460.91.03-1) ...
Väljer tidigare ej valt paket libgl1-nvidia-glvnd-glx:amd64.
Förbereder att packa upp .../05-libgl1-nvidia-glvnd-glx_460.91.03-1_amd64.deb ..
.
Packar upp libgl1-nvidia-glvnd-glx:amd64 (460.91.03-1) ...
Väljer tidigare ej valt paket nvidia-egl-common.
Förbereder att packa upp .../06-nvidia-egl-common_460.91.03-1_amd64.deb ...
Packar upp nvidia-egl-common (460.91.03-1) ...
Väljer tidigare ej valt paket libnvidia-eglcore:amd64.
Förbereder att packa upp .../07-libnvidia-eglcore_460.91.03-1_amd64.deb ...
Packar upp libnvidia-eglcore:amd64 (460.91.03-1) ...
Väljer tidigare ej valt paket libegl-nvidia0:amd64.
Förbereder att packa upp .../08-libegl-nvidia0_460.91.03-1_amd64.deb ...
Packar upp libegl-nvidia0:amd64 (460.91.03-1) ...
Väljer tidigare ej valt paket nvidia-egl-icd:amd64.
Förbereder att packa upp .../09-nvidia-egl-icd_460.91.03-1_amd64.deb ...
Packar upp nvidia-egl-icd:amd64 (460.91.03-1) ...
Väljer tidigare ej valt paket nvidia-driver-libs:amd64.
Förbereder att packa upp .../10-nvidia-driver-libs_460.91.03-1_amd64.deb ...
Packar upp nvidia-driver-libs:amd64 (460.91.03-1) ...
Väljer tidigare ej valt paket libnvidia-ml1:amd64.
Förbereder att packa upp .../11-libnvidia-ml1_460.91.03-1_amd64.deb ...
Packar upp libnvidia-ml1:amd64 (460.91.03-1) ...
Väljer tidigare ej valt paket nvidia-driver-bin.
Förbereder att packa upp .../12-nvidia-driver-bin_460.91.03-1_amd64.deb ...
Packar upp nvidia-driver-bin (460.91.03-1) ...
Väljer tidigare ej valt paket xserver-xorg-video-nvidia.
Förbereder att packa upp .../13-xserver-xorg-video-nvidia_460.91.03-1_amd64.deb 
...
Packar upp xserver-xorg-video-nvidia (460.91.03-1) ...
Väljer tidigare ej valt paket nvidia-vdpau-driver:amd64.
Förbereder att packa upp .../14-nvidia-vdpau-driver_460.91.03-1_amd64.deb ...
Packar upp nvidia-vdpau-driver:amd64 (460.91.03-1) ...
Väljer tidigare ej valt paket nvidia-kernel-common.
Förbereder att packa upp .../15-nvidia-kernel-common_20151021+13_amd64.deb ...
Packar upp nvidia-kernel-common (20151021+13) ...
Väljer tidigare ej valt paket nvidia-modprobe.
Förbereder att packa upp .../16-nvidia-modprobe_460.32.03-1_amd64.deb ...
Packar upp nvidia-modprobe (460.32.03-1) ...
Väljer tidigare ej valt paket nvidia-kernel-support.
Förbereder att packa upp .../17-nvidia-kernel-support_460.91.03-1_amd64.deb ...
Packar upp nvidia-kernel-support (460.91.03-1) ...
Väljer tidigare ej valt paket nvidia-kernel-dkms.
Förbereder att packa upp .../18-nvidia-kernel-dkms_460.91.03-1_amd64.deb ...
Packar upp nvidia-kernel-dkms (460.91.03-1) ...
Väljer tidigare ej valt paket nvidia-driver.
Förbereder att packa upp .../19-nvidia-driver_460.91.03-1_amd64.deb ...
Packar upp nvidia-driver (460.91.03-1) ...
Väljer tidigare ej valt paket libnvidia-cfg1:amd64.
Förbereder att packa upp .../20-libnvidia-cfg1_460.91.03-1_amd64.deb ...
Packar upp libnvidia-cfg1:amd64 (460.91.03-1) ...
Väljer tidigare ej valt paket nvidia-persistenced.
Förbereder att packa upp .../21-nvidia-persistenced_460.32.03-1_amd64.deb ...
Packar upp nvidia-persistenced (460.32.03-1) ...
Väljer tidigare ej valt paket nvidia-settings.
Förbereder att packa upp .../22-nvidia-settings_460.91.03-1_amd64.deb ...
Packar upp nvidia-settings (460.91.03-1) ...
Väljer tidigare ej valt paket libgles1:amd64.
Förbereder att packa upp .../23-libgles1_1.3.2-1_amd64.deb ...
Packar upp libgles1:amd64 (1.3.2-1) ...
Väljer tidigare ej valt paket libgles-nvidia1:amd64.
Förbereder att packa upp .../24-libgles-nvidia1_460.91.03-1_amd64.deb ...
Packar upp libgles-nvidia1:amd64 (460.91.03-1) ...
Väljer tidigare ej valt paket libgles2:amd64.
Förbereder att packa upp .../25-libgles2_1.3.2-1_amd64.deb ...
Packar upp libgles2:amd64 (1.3.2-1) ...
Väljer tidigare ej valt paket libgles-nvidia2:amd64.
Förbereder att packa upp .../26-libgles-nvidia2_460.91.03-1_amd64.deb ...
Packar upp libgles-nvidia2:amd64 (460.91.03-1) ...
Väljer tidigare ej valt paket libnvcuvid1:amd64.
Förbereder att packa upp .../27-libnvcuvid1_460.91.03-1_amd64.deb ...
Packar upp libnvcuvid1:amd64 (460.91.03-1) ...
Väljer tidigare ej valt paket libnvidia-cbl:amd64.
Förbereder att packa upp .../28-libnvidia-cbl_460.91.03-1_amd64.deb ...
Packar upp libnvidia-cbl:amd64 (460.91.03-1) ...
Väljer tidigare ej valt paket libnvidia-encode1:amd64.
Förbereder att packa upp .../29-libnvidia-encode1_460.91.03-1_amd64.deb ...
Packar upp libnvidia-encode1:amd64 (460.91.03-1) ...
Väljer tidigare ej valt paket libnvidia-glvkspirv:amd64.
Förbereder att packa upp .../30-libnvidia-glvkspirv_460.91.03-1_amd64.deb ...
Packar upp libnvidia-glvkspirv:amd64 (460.91.03-1) ...
Väljer tidigare ej valt paket libnvidia-rtcore:amd64.
Förbereder att packa upp .../31-libnvidia-rtcore_460.91.03-1_amd64.deb ...
Packar upp libnvidia-rtcore:amd64 (460.91.03-1) ...
Väljer tidigare ej valt paket nvidia-smi.
Förbereder att packa upp .../32-nvidia-smi_460.91.03-1_amd64.deb ...
Packar upp nvidia-smi (460.91.03-1) ...
Väljer tidigare ej valt paket nvidia-vulkan-common.
Förbereder att packa upp .../33-nvidia-vulkan-common_460.91.03-1_amd64.deb ...
Packar upp nvidia-vulkan-common (460.91.03-1) ...
Väljer tidigare ej valt paket nvidia-vulkan-icd:amd64.
Förbereder att packa upp .../34-nvidia-vulkan-icd_460.91.03-1_amd64.deb ...
Packar upp nvidia-vulkan-icd:amd64 (460.91.03-1) ...
Väljer tidigare ej valt paket libopengl0:amd64.
Förbereder att packa upp .../35-libopengl0_1.3.2-1_amd64.deb ...
Packar upp libopengl0:amd64 (1.3.2-1) ...
Ställer in nvidia-support (20151021+13) ...
Ställer in libnvidia-glvkspirv:amd64 (460.91.03-1) ...
Ställer in libnvidia-eglcore:amd64 (460.91.03-1) ...
Ställer in libnvidia-cbl:amd64 (460.91.03-1) ...
Ställer in nvidia-egl-common (460.91.03-1) ...
Ställer in nvidia-kernel-common (20151021+13) ...
Ställer in update-glx (1.2.0) ...
Ställer in libopengl0:amd64 (1.3.2-1) ...
Ställer in nvidia-modprobe (460.32.03-1) ...
Ställer in libgles2:amd64 (1.3.2-1) ...
Ställer in libgles1:amd64 (1.3.2-1) ...
Ställer in libnvidia-glcore:amd64 (460.91.03-1) ...
Ställer in libnvidia-ptxjitcompiler1:amd64 (460.91.03-1) ...
Ställer in nvidia-vulkan-common (460.91.03-1) ...
Ställer in dctrl-tools (2.24-3+b1) ...
Ställer in libnvidia-rtcore:amd64 (460.91.03-1) ...
Ställer in glx-alternative-mesa (1.2.0) ...
Ställer in dkms (2.8.4-3) ...
Ställer in glx-diversions (1.2.0) ...
Hanterar utlösare för mailcap (3.69) ...
Hanterar utlösare för desktop-file-utils (0.26-1) ...
Hanterar utlösare för initramfs-tools (0.140) ...
update-initramfs: Generating /boot/initrd.img-5.10.0-8-amd64
Hanterar utlösare för hicolor-icon-theme (0.17-2) ...
Hanterar utlösare för libc-bin (2.31-13) ...
Hanterar utlösare för man-db (2.9.4-2) ...
Hanterar utlösare för glx-alternative-mesa (1.2.0) ...
update-alternatives: använder /usr/lib/mesa-diverted för att tillhandahålla /usr
/lib/glx (glx) i autoläge
Ställer in glx-alternative-nvidia (1.2.0) ...
Hanterar utlösare för glx-alternative-nvidia (1.2.0) ...
Ställer in nvidia-alternative (460.91.03-1) ...
Hanterar utlösare för nvidia-alternative (460.91.03-1) ...
update-alternatives: använder /usr/lib/nvidia/current för att tillhandahålla /us
r/lib/nvidia/nvidia (nvidia) i autoläge
Ställer in libnvidia-ml1:amd64 (460.91.03-1) ...
Ställer in libcuda1:amd64 (460.91.03-1) ...
Ställer in libnvidia-cfg1:amd64 (460.91.03-1) ...
Ställer in libglx-nvidia0:amd64 (460.91.03-1) ...
Ställer in nvidia-kernel-support (460.91.03-1) ...
Ställer in xserver-xorg-video-nvidia (460.91.03-1) ...
Ställer in nvidia-vulkan-icd:amd64 (460.91.03-1) ...
Ställer in nvidia-vdpau-driver:amd64 (460.91.03-1) ...
Ställer in libgl1-nvidia-glvnd-glx:amd64 (460.91.03-1) ...
Ställer in libgles-nvidia1:amd64 (460.91.03-1) ...
Ställer in libegl-nvidia0:amd64 (460.91.03-1) ...
Ställer in nvidia-settings (460.91.03-1) ...
Ställer in nvidia-smi (460.91.03-1) ...
Ställer in libgles-nvidia2:amd64 (460.91.03-1) ...
Ställer in nvidia-driver-bin (460.91.03-1) ...
Ställer in libnvcuvid1:amd64 (460.91.03-1) ...
Ställer in nvidia-persistenced (460.32.03-1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/nvidia-persistenced.
service → /lib/systemd/system/nvidia-persistenced.service.
Job for nvidia-persistenced.service failed because the control process exited wi
th error code.
See "systemctl status nvidia-persistenced.service" and "journalctl -xe" for deta
ils.
Ställer in nvidia-egl-icd:amd64 (460.91.03-1) ...
Ställer in libnvidia-encode1:amd64 (460.91.03-1) ...
Ställer in nvidia-driver-libs:amd64 (460.91.03-1) ...
Hanterar utlösare för nvidia-alternative (460.91.03-1) ...
update-alternatives: uppdaterar alternativet /usr/lib/nvidia/current då länkgrup
pen nvidia har bytt slavlänkar
Ställer in nvidia-kernel-dkms (460.91.03-1) ...
Loading new nvidia-current-460.91.03 DKMS files...
Building for 5.10.0-8-amd64
Building initial module for 5.10.0-8-amd64
Done.

nvidia-current.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.10.0-8-amd64/updates/dkms/

nvidia-current-modeset.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.10.0-8-amd64/updates/dkms/

nvidia-current-drm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.10.0-8-amd64/updates/dkms/

nvidia-current-uvm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.10.0-8-amd64/updates/dkms/

depmod...

DKMS: install completed.
Ställer in nvidia-driver (460.91.03-1) ...
Hanterar utlösare för libc-bin (2.31-13) ...
Hanterar utlösare för initramfs-tools (0.140) ...
update-initramfs: Generating /boot/initrd.img-5.10.0-8-amd64
Hanterar utlösare för update-glx (1.2.0) ...
Hanterar utlösare för glx-alternative-nvidia (1.2.0) ...
update-alternatives: använder /usr/lib/nvidia för att tillhandahålla /usr/lib/gl
x (glx) i autoläge
Hanterar utlösare för glx-alternative-mesa (1.2.0) ...
Hanterar utlösare för libc-bin (2.31-13) ...
Hanterar utlösare för initramfs-tools (0.140) ...
update-initramfs: Generating /boot/initrd.img-5.10.0-8-amd64
martyn@debian-test:~$ 

So after this I rebooted I had low resolution and ran nvidia-settings in terminal:

Code: Select all

martyn@debian-test:~$ nvidia-settings

ERROR: NVIDIA driver is not loaded


ERROR: Unable to load info from any available system

martyn@debian-test:~$ 

I ran:

Code: Select all

martyn@debian-test:~$ sudo apt policy nvidia-driver
[sudo] lösenord för martyn: 
nvidia-driver:
  Installerad: 460.91.03-1
  Kandidat:    460.91.03-1
  Versionstabell:
 *** 460.91.03-1 500
        500 http://deb.debian.org/debian bullseye/non-free amd64 Packages
        100 /var/lib/dpkg/status
martyn@debian-test:~$ 

There lies the problem:
Even though I have the following /etc/apt/sources.list:

Code: Select all

  GNU nano 5.4                  /etc/apt/sources.list                           
# deb cdrom:[Debian GNU/Linux 11.0.0 _Bullseye_ - Unofficial amd64 DVD Binary-1>

# deb cdrom:[Debian GNU/Linux 11.0.0 _Bullseye_ - Unofficial amd64 DVD Binary-1>

deb http://deb.debian.org/debian/ bullseye main non-free contrib
deb-src http://deb.debian.org/debian/ bullseye main non-free contrib

deb http://security.debian.org/debian-security bullseye-security main contrib n>
deb-src http://security.debian.org/debian-security bullseye-security main contr>

# bullseye-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates>
deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free
deb-src http://deb.debian.org/debian/ bullseye-updates main contrib non-free

I have: Installerad: 460.91.03-1 and not Version 470.57.02?

Obviously something is wrong but I even ran:

Code: Select all

martyn@debian-test:~$ sudo dpkg-reconfigure nvidia-kernel-dkms

-------- Uninstall Beginning --------
Module:  nvidia-current
Version: 460.91.03
Kernel:  5.10.0-8-amd64 (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

nvidia-current.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.10.0-8-amd64/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


nvidia-current-modeset.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.10.0-8-amd64/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


nvidia-current-drm.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.10.0-8-amd64/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


nvidia-current-uvm.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.10.0-8-amd64/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod...

DKMS: uninstall completed.

------------------------------
Deleting module version: 460.91.03
completely from the DKMS tree.
------------------------------
Done.
Loading new nvidia-current-460.91.03 DKMS files...
Building for 5.10.0-8-amd64
Building initial module for 5.10.0-8-amd64
Done.

nvidia-current.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.10.0-8-amd64/updates/dkms/

nvidia-current-modeset.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.10.0-8-amd64/updates/dkms/

nvidia-current-drm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.10.0-8-amd64/updates/dkms/

nvidia-current-uvm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.10.0-8-amd64/updates/dkms/

depmod...

DKMS: install completed.

So where did I go wrong with following the wiki?
Sunrat you say you have my card….what was the installation for you to make it work….?

If I have made a cock up which by the driver installation — that seems the case….then please tell me what do and I can start over….

bookie

Понравилась статья? Поделить с друзьями:
  • Error number 8152
  • Error number 500
  • Error number 4060 state 1 class 11
  • Error number 3685
  • Error number 3241