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

Author Topic: [DE] Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl  (Read 6126 times)

Online towo

  • Administrator
  • User
  • *****
  • Posts: 2.941
[DE] Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
« Reply #15 on: 2024/03/29, 21:16:02 »
Nuja, dann ist eine Distro, die für moderne Hardware konzipiert ist, wohl eher nicht das Richtige für ein "altes Eisen".
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Offline ro_sid

  • User
  • Posts: 227
Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
« Reply #16 on: 2024/03/30, 11:25:23 »
@towo: Danke fürs Nachlegen beim (550) Nvidia-Treiber! Alle (von mir vermißten) Pakete (nvidia-suspend-commn, pkcs12) sind nun wieder "an Bord".

Offline sempfer3

  • User
  • Posts: 5
Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
« Reply #17 on: 2024/03/31, 18:03:45 »
Ich habe einen ähnlichen Fall (aktuelle Grafikkarte: RTX 3080 TI (mobile):  6.8.2-1-siduction-amd64 nach dem letzten Update:

Log beim dist-upgrade:
Code: [Select]
Setting up nvidia-kernel-dkms (535.161.08-1) ...
Removing old nvidia-current-535.161.08 DKMS files...
Deleting module nvidia-current-535.161.08 completely from the DKMS tree.
Loading new nvidia-current-535.161.08 DKMS files...
Building for 6.8.2-1-siduction-amd64
Building initial module for 6.8.2-1-siduction-amd64
Error! Bad return status for module build on kernel: 6.8.2-1-siduction-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/535.161.08/build/make.log for more information.
dpkg: error processing package nvidia-kernel-dkms (--configure):
 installed nvidia-kernel-dkms package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of nvidia-driver:
 nvidia-driver depends on nvidia-kernel-dkms (= 535.161.08-1) | nvidia-kernel-535.161.08 | nvidia-open-kernel-535.161.08; however:
  Package nvidia-kernel-dkms is not configured yet.
  Package nvidia-kernel-535.161.08 is not installed.
  Package nvidia-kernel-dkms which provides nvidia-kernel-535.161.08 is not configured yet.
  Package nvidia-open-kernel-535.161.08 is not installed.
Full log:
http://martindeutsch.de/download/2024-03-31_nvidia-dkms_make.log

Bisher konnte ich meine Probleme immer selber anhand dieses Forum lösen. Vielen Dank an alle, ich hoffe, ich kann in Zukunft auch etwa beitragen.

Edit: Formatierung verbessert.
« Last Edit: 2024/03/31, 18:17:08 by sempfer3 »

Online towo

  • Administrator
  • User
  • *****
  • Posts: 2.941
Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
« Reply #18 on: 2024/03/31, 18:53:15 »
Code: [Select]
~/Downloads/Games/Assetto/Mods
towo:Defiant> apt policy nvidia-driver
nvidia-driver:
  Installiert:           (keine)
  Installationskandidat: 550.67-0siduction2
  Versionstabelle:
     550.67-0siduction2 500
        500 https://packages.siduction.org/fixes unstable/non-free amd64 Packages
     545.23.06-1 90
         90 https://deb.debian.org/debian experimental/non-free amd64 Packages
     535.171.04-0siduction1 500
        500 https://packages.siduction.org/extra unstable/non-free amd64 Packages
     535.161.08-1 500
        500 https://deb.debian.org/debian unstable/non-free amd64 Packages
Das der Treiber aus Debian nicht funktioniert, das ist bekannt. Du wirst schon einen der beiden Treiber aus unserem Repo nehmen müssen.
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Offline sempfer3

  • User
  • Posts: 5
Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
« Reply #19 on: 2024/03/31, 19:51:57 »
Perfekt, vielen Dank @towo.

Die Zeile:
Code: [Select]
deb https://packages.siduction.org/extra unstable non-freein meinen apt-sources hat mich weiter gebracht (die hatte ich seit langem auskommentiert  :-[).

Ich bekomme jetzt das normale
Code: [Select]
The following packages have unmet dependencies:
 nvidia-driver : Depends: nvidia-kernel-dkms (= 535.171.04-0siduction1) but 535.161.08-1 is installed or
                          nvidia-kernel-535.171.04 or
                          nvidia-open-kernel-535.171.04 but it is not installable
Dann warte ich einfach :-).

Remark:
Adding the line in your apt sources:
Code: [Select]
deb https://packages.siduction.org/extra unstable non-freegives an unmet the dependency which should be resolved in the future.

Edit: Formatierung bearbeitet.



Online towo

  • Administrator
  • User
  • *****
  • Posts: 2.941
Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
« Reply #20 on: 2024/03/31, 20:00:30 »
Code: [Select]
deb https://packages.siduction.org/extra unstable non-free contrib non-free-firmware
Dann klappts auch mit dem Treiber.
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Offline sempfer3

  • User
  • Posts: 5
Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
« Reply #21 on: 2024/03/31, 20:27:05 »
Super, danke, einen Schritt weiter:

Code: [Select]
The following packages have unmet dependencies:
 nvidia-driver : Depends: nvidia-kernel-dkms (= 550.67-0siduction2) but 535.161.08-1 is installed or
                          nvidia-kernel-550.67 or
                          nvidia-open-kernel-550.67 but it is not installable
                 Recommends: nvidia-settings (>= 550) but 535.171.04-1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Nvidia hat wohl vor kurzem die 550-Treiber https://www.nvidia.com/download/driverResults.aspx/223432/en-us/ ausgerollt.

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.364
    • Land of the Buckeye
Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
« Reply #22 on: 2024/03/31, 23:12:07 »

Nvidia hat wohl vor kurzem die 550-Treiber https://www.nvidia.com/download/driverResults.aspx/223432/en-us/ ausgerollt.

The 550.x driver is available in the siduction fixes repo:

deb  https://liquorix.net/siduction/fixes unstable main contrib non-free non-free-firmware

(use your mirror)


One one machine, it installed correctly and is working well:

Code: [Select]
don@Hibiscus:~$ inxi -SG
System:
  Host: Hibiscus Kernel: 6.7.6-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)
Graphics:
  Device-1: NVIDIA GM107 [GeForce GTX 750 Ti] driver: nvidia v: 550.67
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.4 driver: X:
    loaded: nvidia unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia
    resolution: 1366x768~60Hz
  API: EGL v: 1.5 drivers: kms_swrast,nvidia,swrast
    platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 550.67
    renderer: NVIDIA GeForce GTX 750 Ti/PCIe/SSE2
   
   
However, on another machine, it appeared to install correctly, but it broke the transition to graphical.target, so booting to the desktop hangs there and the desktop does not come up.

Code: [Select]
don@dibl-MOW:~$ inxi -SG
System:
  Host: dibl-MOW Kernel: 6.7.6-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)
Graphics:
  Device-1: NVIDIA GP106 [GeForce GTX 1060 6GB] driver: nouveau v: kernel
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.4 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: nouveau gpu: nouveau
    resolution: 1: 1920x1200~60Hz 2: 1920x1080~60Hz
  API: EGL v: 1.5 drivers: nouveau,swrast
    platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.5 compat-v: 4.3 vendor: mesa v: 24.0.4-1 renderer: NV136

So this one is now using the nouveau driver (which actually looks pretty good ...).

Tomorrow if time permits, I will try again with the new driver and see if I can find out what is going wrong.


Entschuldigung sie, bitte, für englisch.



« Last Edit: 2024/04/01, 03:05:48 by dibl »
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 michaa7

  • User
  • Posts: 2.304
Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
« Reply #23 on: 2024/03/31, 23:18:13 »
Quote
driver: nouveau v: kernel

seems odd
Ok, you can't code, but you still might be able to write a bug report for Debian's sake

Offline sempfer3

  • User
  • Posts: 5
Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
« Reply #24 on: 2024/04/01, 00:38:15 »
Vielen Dank! Thx a lot!

I changed the repo and get a better error:
Ich habe das Repo geändert und bekomme einen besseren Fehler:
Code: [Select]
Setting up nvidia-kernel-dkms (550.67-0siduction2) ...
Removing old nvidia-current-550.67 DKMS files...
Deleting module nvidia-current-550.67 completely from the DKMS tree.
Loading new nvidia-current-550.67 DKMS files...
Building for 6.8.2-1-siduction-amd64
Building initial module for 6.8.2-1-siduction-amd64
Error! Bad return status for module build on kernel: 6.8.2-1-siduction-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/550.67/build/make.log for more information.
dpkg: error processing package nvidia-kernel-dkms (--configure):
 installed nvidia-kernel-dkms package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of nvidia-driver:
 nvidia-driver depends on nvidia-kernel-dkms (= 550.67-0siduction2) | nvidia-kernel-550.67 | nvidia-open-kernel-550.67; however:
  Package nvidia-kernel-dkms is not configured yet.
  Package nvidia-kernel-550.67 is not installed.
  Package nvidia-kernel-dkms which provides nvidia-kernel-550.67 is not configured yet.
  Package nvidia-open-kernel-550.67 is not installed.

dpkg: error processing package nvidia-driver (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 nvidia-kernel-dkms
 nvidia-driver
E: Sub-process /usr/bin/dpkg returned an error code (1)

Log in /var/lib/dkms/nvidia-current/550.67/build/make.log contains/enthält:

Code: [Select]
DKMS make.log for nvidia-current-550.67 for kernel 6.8.2-1-siduction-amd64 (x86_64)
Mo 1. Apr 00:26:05 CEST 2024
make V=1 -C /lib/modules/6.8.2-1-siduction-amd64/build M=/var/lib/dkms/nvidia-current/550.67/build ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/6.8.2-1-siduction-amd64/build NV_KERNEL_OUTPUT=/lib/modules/6.8.2-1-siduction-amd64/build NV_KERNEL_MODULES="nvidia nvidia-uvm nvidia-modeset nvidia-drm nvidia-peermem" INSTALL_MOD_DIR="kernel/drivers/video" NV_SPECTRE_V2=0 modules
make[1]: Entering directory '/usr/src/linux-headers-6.8.2-1-siduction-amd64'
make --no-print-directory -C /usr/src/linux-headers-6.8.2-1-siduction-amd64 \
-f /usr/src/linux-headers-6.8.2-1-siduction-amd64/Makefile modules

  ERROR: Kernel configuration is invalid.
         include/generated/autoconf.h or include/config/auto.conf are missing.
         Run 'make oldconfig && make prepare' on kernel src to fix it.

make[2]: *** [/usr/src/linux-headers-6.8.2-1-siduction-amd64/Makefile:809: include/config/auto.conf] Error 1
make[1]: *** [Makefile:252: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.8.2-1-siduction-amd64'
make: *** [Makefile:85: modules] Error 2

Offline sempfer3

  • User
  • Posts: 5
Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
« Reply #25 on: 2024/04/01, 02:12:36 »
I was able to solve it based on the make error, I had to reinstall the linux-headers:

Code: [Select]
sudo apt install --reinstall linux-headers-$(uname -r)
Thx a lot for your help!

Edit:
Before I installed the generic Linux headers:
Code: [Select]
sudo apt install linux-headers-generic

Offline Mte90

  • User
  • Posts: 224
  • KDE & Debian lover
    • http://www.mte90.net
Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
« Reply #26 on: 2024/04/02, 14:43:52 »
I tried reinstalling the headers and adding the other repository but I still have issues with Virtualbox dkms.


Update:

Code: [Select]
Error: Installation has failed.
If you'd like to file a bug report please include '/var/log/nala/dpkg-debug.log'
dkms autoinstall on 6.8.2-1-siduction-amd64/x86_64 succeeded for virtualbox
dkms autoinstall on 6.8.2-1-siduction-amd64/x86_64 failed for nvidia-current(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.8.2-1-siduction-amd64 failed!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-headers-6.8.2-1-siduction-amd64.postinst line 11.
« Last Edit: 2024/04/02, 16:13:40 by Mte90 »

Offline ro_sid

  • User
  • Posts: 227
Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
« Reply #27 on: 2024/04/02, 16:29:21 »
I tried reinstalling the headers and adding the other repository but I still have issues with Virtualbox dkms.
No, not with "Virtualbox dkms", but with "nvidia( dkms)":
Quote
Update:
Error: Installation has failed.
If you'd like to file a bug report please include '/var/log/nala/dpkg-debug.log'
dkms autoinstall on 6.8.2-1-siduction-amd64/x86_64 succeeded for virtualbox
dkms autoinstall on 6.8.2-1-siduction-amd64/x86_64 failed for nvidia-current(10)
Error! One or more modules failed to install during autoinstall.
[...]
Most likely, you (still) have not installed the "right" nvidia-package from the Siduction(!), not Debian repository.

Offline Mte90

  • User
  • Posts: 224
  • KDE & Debian lover
    • http://www.mte90.net
Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
« Reply #28 on: 2024/04/02, 16:36:48 »
You are right.
I have the nvidia debian repository because I have cuda installed so this is the reason why I am not getting the siduction package.

I will wait for nvidia do update those packages for the latest linux kernel.

Offline Mte90

  • User
  • Posts: 224
  • KDE & Debian lover
    • http://www.mte90.net
Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
« Reply #29 on: 2024/04/10, 10:31:39 »
It is possible to know the patch you did in the package?
Just to see if I can patch the nvidia-driver I am using from the nvidia repository as I am using it for cuda.