Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] Failed upgrate Nvidia driver. [SOLVED]  (Read 1774 times)

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.358
    • Land of the Buckeye
[EN] Re: Failed upgrate Nvidia driver.
« Reply #15 on: 2024/01/04, 10:45:44 »
Here are my two desktop systems with Nvidia graphics -- not the newest hardware, for sure. They are both fully updated and working well:

Code: [Select]
Host: Hibiscus Kernel: 6.6.9-1-siduction-amd64 arch: x86_64 bits: 64
    Desktop: KDE Plasma v: 5.27.10 Distro: siduction 22.1.2 Masters_of_War -
    kde - (202303151559)
CPU:
  Info: quad core model: Intel Core i7-4770 bits: 64 type: MT MCP cache:
    L2: 1024 KiB
  Speed (MHz): avg: 1117 min/max: 800/3900 cores: 1: 800 2: 3188 3: 800
    4: 824 5: 800 6: 800 7: 927 8: 800
Graphics:
  Device-1: NVIDIA GM107 [GeForce GTX 750 Ti] driver: nvidia v: 525.147.05
  Display: x11 server: X.Org v: 21.1.10 with: Xwayland v: 23.2.3 driver: X:
    loaded: nvidia unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia
    resolution: 1366x768~60Hz
  API: EGL v: 1.5 drivers: nvidia platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.6.0 vendor: nvidia v: 525.147.05 renderer: NVIDIA
    GeForce GTX 750 Ti/PCIe/SSE2

 
Code: [Select]
Host: dibl-MOW Kernel: 6.6.9-1-siduction-amd64 arch: x86_64 bits: 64
    Desktop: KDE Plasma v: 5.27.10 Distro: siduction 22.1.2 Masters_of_War -
    kde - (202303151559)
CPU:
  Info: quad core model: Intel Core i7-7740X bits: 64 type: MT MCP cache:
    L2: 1024 KiB
  Speed (MHz): avg: 1262 min/max: 800/4500 cores: 1: 800 2: 800 3: 800
    4: 4500 5: 800 6: 800 7: 800 8: 800
Graphics:
  Device-1: NVIDIA GP106 [GeForce GTX 1060 6GB] driver: nvidia v: 525.147.05
  Display: x11 server: X.Org v: 21.1.10 with: Xwayland v: 23.2.3 driver: X:
    loaded: nvidia unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia
    resolution: 1: 1920x1200~60Hz 2: 1920x1080~60Hz
  API: EGL v: 1.5 drivers: nvidia platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.6.0 vendor: nvidia v: 525.147.05 renderer: NVIDIA
    GeForce GTX 1060 6GB/PCIe/SSE2
   
   
You wrote that you "tried to update the nvidia driver ...". I am not sure what that means -- did you have a previous nvidia driver installed and working?

For my systems, there is nothing special about updating the nvidia driver, except when sometimes a new linux kernel is not backward compatible to the current driver in unstable, then you have to do as @towo says and go to the experimental repo for a newer version. But that is not the case for the current 525.147.05-4 driver -- at least it is not a problem on my hardware, as you see above.

Here is the list of the packages that you need:

Code: [Select]
don@dibl-MOW:~$ apt depends nvidia-driver
nvidia-driver
  PreDepends: nvidia-installer-cleanup
  PreDepends: nvidia-legacy-check (>= 495)
  Depends: nvidia-driver-libs (= 525.147.05-4)
  Depends: nvidia-driver-bin (= 525.147.05-4)
  Depends: xserver-xorg-video-nvidia (= 525.147.05-4)
  Depends: nvidia-vdpau-driver (= 525.147.05-4)
  Depends: nvidia-alternative (= 525.147.05-4)
 |Depends: nvidia-kernel-dkms (= 525.147.05-4)
 |Depends: <nvidia-kernel-525.147.05>
    nvidia-kernel-dkms
 |Depends: <nvidia-open-kernel-525.147.05>
    nvidia-open-kernel-dkms
  Depends: <nvidia-open-kernel-525.147.05>
    nvidia-open-kernel-dkms
  Depends: nvidia-support
  Recommends: nvidia-settings (>= 525)
  Recommends: libnvidia-cfg1 (= 525.147.05-4)
  Recommends: nvidia-persistenced
 |Suggests: nvidia-kernel-dkms (>= 525.147.05)
 |Suggests: nvidia-kernel-source (>= 525.147.05)
 |Suggests: nvidia-open-kernel-source (>= 525.147.05)
  Suggests: nvidia-open-kernel-source (>= 525.147.05)
 
  I think maybe you need to remove all nvidia related packages, then try again with nvidia-driver.
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline towo

  • Administrator
  • User
  • *****
  • Posts: 2.939
Re: Failed upgrate Nvidia driver.
« Reply #16 on: 2024/01/04, 10:49:49 »
Kernel 6.4.4:
Code: [Select]
linux-6.4.4.tar.xz                                 19-Jul-2023
Nvidia 525.105.17
Code: [Select]
Release Date: 2023.3.30
You see the problem?
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Offline Jotlemat

  • User
  • Posts: 17
Re: Failed upgrate Nvidia driver.
« Reply #17 on: 2024/01/04, 13:04:32 »
Removed nvidia driver.

apt-get purge nvidia.

Installed it again.

apt-get install nvidia-driver

The situation has not changed.

  [ You are not allowed to view this attachment ]  

  [ You are not allowed to view this attachment ]  

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.358
    • Land of the Buckeye
Re: Failed upgrate Nvidia driver.
« Reply #18 on: 2024/01/04, 13:53:37 »
@towo has shown that you are running a kernel (6.4.4) that is too old for the new nvidia driver version.

Do you have the siduction linux-image and linux-headers packages installed?

Code: [Select]
# apt update && sudo apt install linux-image-siduction-amd64 linux-headers-siduction-amd64
Next

Code: [Select]
# apt update && apt full-upgrade
This will bring in the latest released siduction kernel.  After you have the the new kernel, then the lastest nvidia driver should install correctly.
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline Jotlemat

  • User
  • Posts: 17
Re: Failed upgrate Nvidia driver.
« Reply #19 on: 2024/01/04, 14:08:25 »
I installed the old kernel and driver because @towo said that 6.6 kernels and the new driver do not work together.
At the beginning of the update and now I have kernel 6.6.9 and a new driver.
The errors are the same all the time.

Offline Jotlemat

  • User
  • Posts: 17
Re: Failed upgrate Nvidia driver.
« Reply #20 on: 2024/01/04, 14:41:36 »
Yesterday I did:

apt-get update && apt-get upgrade

But mistakes remained.

This morning I reinstalled the new driver (mistakes remained.).
Now I did it again:

apt-get update && apt-get upgrade

Everything worked.
Kernels 6.6.9 and 6.4.4 work with the new driver.


Thank you all very much.

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.358
    • Land of the Buckeye
Re: Failed upgrate Nvidia driver.
« Reply #21 on: 2024/01/04, 16:12:25 »
Cool.  (You need to use apt full-upgrade with sid, not upgrade, or your system will not receive new Debian packages that are released into sid, and eventually it will break.)

Now for the benefit of others, please open your original post for editing, and add "SOLVED" to the beginning of the title, and thank you.
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO