Siduction Forum

Siduction Forum => Upgrade Warnings => Topic started by: harley-peter on 2017/07/24, 12:36:21

Title: nvidia-legacy-340xx does not work with kernel 4.12.x
Post by: harley-peter on 2017/07/24, 12:36:21
Wie schon bei Kernel 4.11 ist auch bei der Nachfolger Version 4.12 wieder Geduld gefragt bis ein funktionierender Treiber zur Verfügung steht. Also bleiben wir vorerst bei 4.11  :(

Also for this kernel patience is necessary.

Building initial module for 4.12.3-towo.2-siduction-amd64
Error! Bad return status for module build on kernel: 4.12.3-towo.2-siduction-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-legacy-340xx/340.102/build/make.log for more information.
Title: Re: nvidia-legacy-340xx does not work with kernel 4.12.x
Post by: ajavibp on 2017/07/26, 13:41:28
It still fails with 4.12.3-towo.3-siduction-amd64
Title: Re: nvidia-legacy-340xx does not work with kernel 4.12.x
Post by: towo on 2017/07/26, 15:08:50
The change has to be done in the nvidia-driver, not in the kernel.
So you must not post on every kernel update.
The update of the kernel will not change the situation.
Title: Re: nvidia-legacy-340xx does not work with kernel 4.12.x
Post by: ajavibp on 2017/07/26, 15:27:31
I was no sure about this.
Thanks!
Title: Re: nvidia-legacy-340xx does not work with kernel 4.12.x
Post by: seasons on 2017/07/27, 23:03:28
https://devtalk.nvidia.com/default/topic/1019362/linux/fully-working-patch-for-nvidia-driver-340-102-compiler-installer-file-and-linux-kernel-4-12/

towo, I guess you've seen this by now?
Title: Re: nvidia-legacy-340xx does not work with kernel 4.12.x
Post by: towo on 2017/07/28, 07:10:57
Sure i know that, but that patches are for the driver, not the kernel.
Title: Re: nvidia-legacy-340xx does not work with kernel 4.12.x
Post by: axt on 2017/07/28, 08:23:19
>  Also bleiben wir vorerst bei 4.11  (https://forum.siduction.org/Smileys/default/sad.gif)

Mit Piotr Oniszczuks Patch läuft nvidia-340 mit dem Mainline-Kernel 4.12 unter LZesty einwandfrei (https://axebase.net/blog/2017/07/09/ubuntu-mainline-kernel-4-12-mit-nvidia-340/), unter siduction sollte das genauso sein.
Title: Re: nvidia-legacy-340xx does not work with kernel 4.12.x
Post by: ajavibp on 2017/07/31, 20:34:06
Thanks to 'seasons' for his post.
Quote from: seasons on 2017/07/27, 23:03:28
https://devtalk.nvidia.com/default/topic/1019362/linux/fully-working-patch-for-nvidia-driver-340-102-compiler-installer-file-and-linux-kernel-4-12/ (https://devtalk.nvidia.com/default/topic/1019362/linux/fully-working-patch-for-nvidia-driver-340-102-compiler-installer-file-and-linux-kernel-4-12/)

towo, I guess you've seen this by now?

If you do not want to install the drivers and prefer to keep the DKMS of the repository, you can do the following:

1) Extract the patch from the 'seasons' post
2) Copy nv_patch_340.102_linux_kernel_4.12 to /usr/src
3) Create a link for the 4.12 kernel: sudo ln -s nvidia-legacy-340xx-340.102 kernel
4) Apply the patch: sudo patch -p0 < nv_patch_340.102_linux_kernel_4.12
5) Recompile: sudo dpkg-reconfigure nvidia-legacy-340xx-kernel-dkms


He just did it! That worked for me.
Title: Re: nvidia-legacy-340xx does not work with kernel 4.12.x
Post by: ReinerS on 2017/08/13, 13:13:54
Hmm, da bei mir gerade neues GLX-Zeug reinrollt: Tut jetzt Nvidia-legacy-340xx wieder mit den 4.12er Kerneln?
Oder sollte ich da besser immer noch bei 4.11. bleiben?

Grüße

Reiner
Title: Re: nvidia-legacy-340xx does not work with kernel 4.12.x
Post by: towo on 2017/08/13, 15:31:32
Ich weiss ja nicht, was Du siehst, aber da is nix neues von nvidia-legacy-340xx-driver im update.
Ist immer noch version 340.102-2 vom 2. Juli.
Title: Re: nvidia-legacy-340xx does not work with kernel 4.12.x
Post by: ReinerS on 2017/08/13, 16:46:06
Ja, ich hatte was von glx gesehen aber der Treiber blieb leider der Alte.
Kommen die irgendwann wieder in die Gänge?

Ne Zeitlang konnte ich ja vorher den nouveau nehmen aber der tat letztens auch nicht mehr.

Grüße

Reiner
Title: Re: nvidia-legacy-340xx does not work with kernel 4.12.x
Post by: samoht on 2017/08/13, 21:17:37
Der nouveau-Treiber funktioniert hier wie gewohnt.
Title: Re: nvidia-legacy-340xx does not work with kernel 4.12.x
Post by: ReinerS on 2017/08/14, 07:53:56
Danke, werde ich dann mal wieder ausprobieren. Der konnte au einmal nur nch 1280x1024 Darstellung statt 1680x1050 und Widergabe von Videos ging gar nicht.

Grüße

Reiner
Title: [solved] nvidia-legacy-340xx does not work with kernel 4.12.x
Post by: Camelot on 2017/08/19, 17:07:57
The new nvidia-legacy-340xx-driver works with 4.12.xx-towo.x-siduction-amd64 kernel

Quotenvidia-graphics-drivers-legacy-340xx (340.102-3) unstable; urgency=medium

  [ Andreas Beckmann ]
  * disable-preempt_rt_sanity_check.patch: Remove, unsupported upstream.
  * Bump Standards-Version to 4.0.1. No changes needed.
  * nvidia-alternative: Explicitly use interest-await triggers.
  * Switch from dh_install --list-missing to dh_missing.
  * Use dpkg makefile snippets instead of manual parsing.
  * build-module-packages.sh: Order kernels by descending version.
  * Switch watch URL from ftp:// to https:// (375.82-1).
  * Update lintian overrides.

  [ Luca Boccassi ]
  * Add set-memory.patch to fix kernel module build on Linux 4.12 and newer.
    (Closes: #872330)
Title: Re: nvidia-legacy-340xx does not work with kernel 4.12.x
Post by: T-ampfer on 2017/08/29, 19:31:33
The new version of nvidia-legacy-340xx (340.102-3 ) works very well with kernel 4.12.9-towo.1-siduction-amd64.

But there is a warning from the KDE team for Version 384.xx
https://www.pro-linux.de/news/1/25088/kde-warnt-vor-aktuellen-nvidia-treibern.html