Siduction Forum

Siduction Forum => Upgrade Warnings => Topic started by: ro_sid on 2024/03/29, 10:43:36

Title: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: ro_sid on 2024/03/29, 10:43:36
DKMS kann für den neuen (Siduction-)Kernel 6.8(.2) kein  Modul aus dem "neuen" proprietären (nicht-Siduction) "unstable" Nvidia-Treiber bauen. Der "Build" schlägt fehl.
Title: Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: Mte90 on 2024/03/29, 17:24:03
I can confirm the issue with kernel 6.8 and nvidia drivers.
Title: Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: reddark on 2024/03/29, 17:47:48
hier das selbe  :o

Quote
Building module:
Cleaning build area...
Building module(s).....(bad exit status: 2)
Failed command:
env NV_VERBOSE=1 make -j20 modules KERNEL_UNAME=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-tesla-470/470.239.06/build/make.log for more information.
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) nvidia-tesla-470(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/postinst.d/dkms exited with return code 11
dpkg: Fehler beim Bearbeiten des Paketes linux-image-6.8.2-1-siduction-amd64 (--configure):
 »installiertes post-installation-Skript des Paketes linux-image-6.8.2-1-siduction-amd64«-Unterprozess gab den Fehlerwert 11 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von linux-image-siduction-amd64:
 linux-image-siduction-amd64 hängt ab von linux-image-6.8.2-1-siduction-amd64 (= 6.8-2); aber:
  Paket linux-image-6.8.2-1-siduction-amd64 ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes linux-image-siduction-amd64 (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von linux-headers-siduction-amd64:
 linux-headers-siduction-amd64 hängt ab von linux-headers-6.8.2-1-siduction-amd64 (= 6.8-2); aber:
  Paket linux-headers-6.8.2-1-siduction-amd64 ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes linux-headers-siduction-amd64 (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
Fehler traten auf beim Bearbeiten von:
 linux-headers-6.8.2-1-siduction-amd64
 linux-image-6.8.2-1-siduction-amd64
 linux-image-siduction-amd64
 linux-headers-siduction-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
Title: Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: towo on 2024/03/29, 18:04:33
Und

/var/lib/dkms/nvidia-tesla-470/470.239.06/build/make.log

sagt was?
Title: Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: reddark on 2024/03/29, 18:32:08
bekomme es hier nicht reinkopiert ... überschreitet die 20000 zeichen   :-X

hier per link
http://klangruinen.de/make.log (http://klangruinen.de/make.log)
Title: Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: ro_sid on 2024/03/29, 18:37:40
@towo: Bei mir ist es nvidia(-current) [nicht "tesla"], aber ich vermute denselben Fehler.
Gerne liefere ich auch die gesamte make.log-Datei, aber sie ist 1.3MB groß und ich vermute folgendes reicht auch [es sind die einzigen Zeilen, die " error" enthalten]:
Code: [Select]
/var/lib/dkms/nvidia-current/535.161.08/build/nvidia-drm/nvidia-drm-gem.c:115:16: error: initialization of ‘int (*)(struct drm_gem_object *, struct iosys_map *)’ from incompatible pointer type ‘void * (*)(struct drm_gem_object *)’ [-Wincompatible-pointer-types]
  115 |     .vmap    = nv_drm_gem_prime_vmap,
      |                ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/nvidia-current/535.161.08/build/nvidia-drm/nvidia-drm-gem.c:115:16: note: (near initialization for ‘nv_drm_gem_funcs.vmap’)
/var/lib/dkms/nvidia-current/535.161.08/build/nvidia-drm/nvidia-drm-gem.c:116:16: error: initialization of ‘void (*)(struct drm_gem_object *, struct iosys_map *)’ from incompatible pointer type ‘void (*)(struct drm_gem_object *, void *)’ [-Wincompatible-pointer-types]
  116 |     .vunmap  = nv_drm_gem_prime_vunmap,
      |                ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/nvidia-current/535.161.08/build/nvidia-drm/nvidia-drm-gem.c:116:16: note: (near initialization for ‘nv_drm_gem_funcs.vunmap’)
make[3]: *** [scripts/Makefile.build:248: /var/lib/dkms/nvidia-current/535.161.08/build/nvidia-drm/nvidia-drm-gem.o] Error 1
make[3]: *** Waiting for unfinished jobs....
[...]
make[2]: *** [/usr/src/linux-headers-6.8.2-1-siduction-amd64/Makefile:1946: /var/lib/dkms/nvidia-current/535.161.08/build] Error 2
make[1]: *** [Makefile:252: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.8.2-1-siduction-amd64'
make: *** [Makefile:82: modules] Error 2
Title: Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: towo on 2024/03/29, 18:49:52
Jupp, bestätigt, da wurde wohl nachträglich im Kernel etwas geändert. Für Leute, die keine Legacy Treiber benötigen, habe ich Nvidia 550.67 ins fixes Repo gepackt, der kompiliert gegen 6.8.2.

für 535 und 470 habe ich noch keine Patches gefunden, aber ich gucke.
Title: Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: ro_sid on 2024/03/29, 19:54:11
@towo: Ja danke, die 550er-Version kompiliert (zumindest) unter den Kerneln 6.7(.10) und 6.8(.2).
Das nvidia-suspend-common (535) Paket wird für überflüssig erklärt. Ob es das ist oder nur das 550er fehlt, kann ich nicht sagen. Eventuell ist es (wieder einmal) ein "Redesign" von Nvidia.
["Verloren" ist (zur Zeit) ein nvidia-pkcs12-Paket.]
Soweit mein Befund. Nochmals danke.
Title: Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: michaa7 on 2024/03/29, 19:59:18
...
für 535 und 470 habe ich noch keine Patches gefunden, aber ich gucke.

Super! Danke vorab.
Title: Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: samtfalterblau on 2024/03/29, 20:31:07
Jupp, bestätigt, da wurde wohl nachträglich im Kernel etwas geändert. Für Leute, die keine Legacy Treiber benötigen, habe ich Nvidia 550.67 ins fixes Repo gepackt, der kompiliert gegen 6.8.2.

Legacy-Treiber werden vermutlich nicht mehr unterstützt?
Title: Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: towo on 2024/03/29, 20:33:45
Legacy wird schon lange nicht mehr unterstützt, Patches kommen nur noch von der Community.
Title: Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: samtfalterblau on 2024/03/29, 20:42:44
Legacy wird schon lange nicht mehr unterstützt, Patches kommen nur noch von der Community.
Und gibt es noch Liebhaber des "nvidia-legacy-340xx-driver"?  8)
Den würde ich gerne noch verwenden.
Title: Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: towo on 2024/03/29, 20:42:51
einen neuen 535 gibt es in kürze, Build läuft gerade, der hat für nvidia-drm-gem.c die erforderliche Änderung drin.
Title: Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: towo on 2024/03/29, 20:43:32
Legacy wird schon lange nicht mehr unterstützt, Patches kommen nur noch von der Community.
Und gibt es noch Liebhaber des "nvidia-legacy-340xx-driver"?  8)
Den würde ich gerne noch verwenden.

Das weiss ich nicht, ich habe keinerlei Nvidia in meinem privaten Rechnern.
Title: Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: samtfalterblau on 2024/03/29, 20:45:37
Legacy wird schon lange nicht mehr unterstützt, Patches kommen nur noch von der Community.
Und gibt es noch Liebhaber des "nvidia-legacy-340xx-driver"?  8)
Den würde ich gerne noch verwenden.
Das weiss ich nicht, ich habe keinerlei Nvidia in meinem privaten Rechnern.
Würde ich auch nicht mehr nehmen. Ich kann mich nur noch nicht von meinem alten "Eisen" trennen.
Title: Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: towo 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".
Title: Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: ro_sid 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".
Title: Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: sempfer3 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.
Title: Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: towo 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.
Title: Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: sempfer3 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.


Title: Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: towo 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.
Title: Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: sempfer3 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/ (https://www.nvidia.com/download/driverResults.aspx/223432/en-us/) ausgerollt.
Title: Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: dibl 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/ (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.



Title: Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: michaa7 on 2024/03/31, 23:18:13
Quote
driver: nouveau v: kernel

seems odd
Title: Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: sempfer3 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
Title: Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: sempfer3 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
Title: Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: Mte90 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.
Title: Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: ro_sid 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.
Title: Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: Mte90 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.
Title: Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: Mte90 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.
Title: Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: towo on 2024/04/10, 10:46:07
I have no added any patch. The problem is the kernel is build with gcc-14 and the midule-sorce was not compatible with gcc-14. Nvidia upstream has fixed that in the new versions of the driver.

You can try the following:

put

make CC=/bin/gcc-13 IGNORE_CC_MISMATCH=1 ...

in your dkms.conf. But that only works, if your nvidia version is generaly compatible with kernel 6.8.
Besides of that, we do not support packages, installed from 3rd party repos.

You even can wait for the next kernel-update, which use gcc-13 for compiling.
Title: Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: Mte90 on 2024/04/10, 10:49:52
I will wait for the next kernel version :-)
Title: Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: Pip on 2024/04/13, 10:24:40
And that all seems to work nicely now - Linux sidomen 6.8.5-1-siduction-amd64.
Title: Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: DrJuanNadie on 2024/04/13, 17:29:26
It worked for me too with kernel 6.8.5-1
Title: Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: charlyheinz on 2024/04/15, 17:42:13
Hello- which Nvidia-driver are you using? I would like to have the 550... Nvidia proprietary driver running on my system with the actual kernel (6.8.6-1), but for me it dos not work!
Are you using the Nouveau- driver?
The only Nvidia-driver running with this kernel for me is 535.171.04-0siduction1.

Am I right?
Title: Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: towo on 2024/04/15, 18:32:33
You will never get help with such a description:
Quote
but for me it dos not work!
Title: Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: charlyheinz on 2024/04/15, 18:48:47
Sorry towo

With nvidia-driver 550... from the fix repro glxinfo tells me that I am using mesa as glx- implementation not Nvidia. That is all.

Any help / idea...

But I can live with that using Nvidia-driver 535.171.04-0siduction1 as it works out of the box!
Title: Re: Nvidia-Treiber Modulbau schlägt mit Kernel 6.8 fehl
Post by: ro_sid on 2024/04/15, 20:48:08
What shall I say? I am using an "Optimus"-Laptop. A "primusrun glxinfo" works just fine, reporting the Nvidia-driver. It is the "550.67-0siduction2" version with the  "6.8.6-1-siduction-amd64_6.8-6" linux kernel (- it also worked with the 6.8.5-1-siduction kernel).
It certainly is not a general problem, unlike the one that started this thread.
So you have to be a little more specific.