Siduction Forum
Siduction Forum => Upgrade Warnings => Topic started by: Jotlemat on 2024/01/03, 18:01:58
-
I tried to update the nvidia driver, but the following error occurred.
Photo in attachment.
I installed package nvidia-open-kernel-dkms, it didn’t help.
What can i do with it?
-
nvidia from unstable is not compatible with kernel 6.6.
You could try the experimental packages.
nvidia-driver:
Installed: (none)
Candidate: 545.29.02-0siduction2
Version table:
545.29.02-0siduction2 500
500 https://packages.siduction.org/extra experimental/non-free amd64 Packages
535.43.02-1 90
90 https://deb.debian.org/debian experimental/non-free amd64 Packages
525.147.05-4 500
500 https://deb.debian.org/debian unstable/non-free amd64 Packages
-
Please tell me how to do this from the console.
-
1. add the experimental sources
2. apt update
3. apt install -t experimental nvidia-driver
4. reboot
-
Tried installing driver 525.105.17-2 and 545.29.02-0siduction2, the result is the same as before.
I have the following packages installed:
firmware-nvidia-gsp 545.29.02-0siduction2
glx-alternative-nvidia 1.2.2
libegl-nvidia0:amd64 545.29.02-0siduction2
libgl1-nvidia-glvnd-glx:amd64 545.29.02-0siduction2
libglx-nvidia0:amd64 545.29.02-0siduction2
libnvidia-egl-wayland1:amd64 1:1.1.12-1
libnvidia-eglcore:amd64 545.29.02-0siduction2
libnvidia-glcore:amd64 545.29.02-0siduction2
libnvidia-ml1:amd64 545.29.02-0siduction2
nvidia-alternative 545.29.02-0siduction2
nvidia-driver 545.29.02-0siduction2
nvidia-driver-bin 545.29.02-0siduction2
nvidia-driver-libs:amd64 545.29.02-0siduction2
nvidia-egl-common 545.29.02-0siduction2
nvidia-egl-icd:amd64 545.29.02-0siduction2
nvidia-installer-cleanup 20220217+3
nvidia-kernel-common 20220217+3
nvidia-kernel-dkms 545.29.02-0siduction2
nvidia-kernel-support 545.29.02-0siduction2
nvidia-legacy-check 545.29.02-0siduction2
nvidia-modprobe 535.54.03-1
nvidia-settings 525.125.06-1
nvidia-support 20220217+3
nvidia-vdpau-driver:amd64 545.29.02-0siduction2
xserver-xorg-video-nvidia 545.29.02-0siduction2
Maybe some are missing?
-
show me the output of
dkms status (needs root)
and
dpkg -l | grep -Ei "x-imag|x-head"
-
bbswitch/0.8, 6.5.11-1-siduction-amd64, x86_64: installed
bbswitch/0.8, 6.6.2-1-siduction-amd64, x86_64: installed
bbswitch/0.8, 6.6.9-1-siduction-amd64, x86_64: installed
nvidia-current/545.29.02: added
ii linux-headers-6.6.9-1-siduction-amd64 6.6-9 amd64 Header files for Linux 6.6.9-1-siduction-amd64
ii linux-headers-siduction-amd64 6.6-9 amd64 Linux headers for siduction on 64-bit PCs
rc linux-image-6.4.5-1-siduction-amd64 6.4-5 amd64 Linux 6.4 for 64-bit PCs
ii linux-image-6.5.11-1-siduction-amd64 6.5-11 amd64 Linux 6.5 for 64-bit PCs
ii linux-image-6.6.2-1-siduction-amd64 6.6-2 amd64 Linux 6.6 for 64-bit PCs
ii linux-image-6.6.9-1-siduction-amd64 6.6-9 amd64 Linux 6.6 for 64-bit PCs
ii linux-image-6.6.9-amd64 6.6.9-1 amd64 Linux 6.6 for 64-bit PCs (signed)
ii linux-image-amd64 6.6.9-1 amd64 Linux for 64-bit PCs (meta-package)
ii linux-image-siduction-amd64 6.6-9 amd64 Linux image for siduction on 64-bit PCs
-
Since i do not have a nvidia card anymore, i can't say many.
From here: http://rglinuxtech.com/?p=3193 the driver shoukd be compatible with kernel 6.6.
-
HTTP ERROR 403
-
Link works well here.
-
Yes. Works.
-
Why kernel 6.6 didn't work with driver 525.105.17-2?
-
Because nvidia drivers, released way before the release of that kernel, never works.
-
Thank you.
-
I installed kernel 6.4.4, gcc-12, nvidia driver 525.105.17-2, but still the same error.
Clearly something else is missing...
-
Here are my two desktop systems with Nvidia graphics -- not the newest hardware, for sure. They are both fully updated and working well:
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
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:
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.
-
Kernel 6.4.4:
linux-6.4.4.tar.xz 19-Jul-2023
Nvidia 525.105.17
Release Date: 2023.3.30
You see the problem?
-
Removed nvidia driver.
apt-get purge nvidia.
Installed it again.
apt-get install nvidia-driver
The situation has not changed.
[ This attachment cannot be displayed inline in 'Print Page' view ]
[ This attachment cannot be displayed inline in 'Print Page' view ]
-
@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?
# apt update && sudo apt install linux-image-siduction-amd64 linux-headers-siduction-amd64
Next
# 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.
-
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.
-
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.
-
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.