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

Author Topic:  nvidia-legacy-340xx does not work with kernel 4.12.x  (Read 5042 times)

Offline harley-peter

  • User
  • Posts: 1.023
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.

Code: [Select]
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.

Offline ajavibp

  • User
  • Posts: 110
    • The website of the association where I collaborate.
Re: nvidia-legacy-340xx does not work with kernel 4.12.x
« Reply #1 on: 2017/07/26, 13:41:28 »
It still fails with 4.12.3-towo.3-siduction-amd64

Offline towo

  • Administrator
  • User
  • *****
  • Posts: 2.938
Re: nvidia-legacy-340xx does not work with kernel 4.12.x
« Reply #2 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.
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Offline ajavibp

  • User
  • Posts: 110
    • The website of the association where I collaborate.
Re: nvidia-legacy-340xx does not work with kernel 4.12.x
« Reply #3 on: 2017/07/26, 15:27:31 »
I was no sure about this.
Thanks!


Offline towo

  • Administrator
  • User
  • *****
  • Posts: 2.938
Re: nvidia-legacy-340xx does not work with kernel 4.12.x
« Reply #5 on: 2017/07/28, 07:10:57 »
Sure i know that, but that patches are for the driver, not the kernel.
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Offline axt

  • User
  • Posts: 494
    • axebase.net
Re: nvidia-legacy-340xx does not work with kernel 4.12.x
« Reply #6 on: 2017/07/28, 08:23:19 »
>  Also bleiben wir vorerst bei 4.11  :(

Mit Piotr Oniszczuks Patch läuft nvidia-340 mit dem Mainline-Kernel 4.12 unter LZesty einwandfrei, unter siduction sollte das genauso sein.

Offline ajavibp

  • User
  • Posts: 110
    • The website of the association where I collaborate.
Re: nvidia-legacy-340xx does not work with kernel 4.12.x
« Reply #7 on: 2017/07/31, 20:34:06 »
Thanks to 'seasons' for his post.
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.
« Last Edit: 2017/07/31, 20:39:56 by ajavibp »

Offline ReinerS

  • User
  • Posts: 1.061
Re: nvidia-legacy-340xx does not work with kernel 4.12.x
« Reply #8 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
slackware => SuSE => kanotix => sidux => aptosid  => siduction

Offline towo

  • Administrator
  • User
  • *****
  • Posts: 2.938
Re: nvidia-legacy-340xx does not work with kernel 4.12.x
« Reply #9 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.
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Offline ReinerS

  • User
  • Posts: 1.061
Re: nvidia-legacy-340xx does not work with kernel 4.12.x
« Reply #10 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
slackware => SuSE => kanotix => sidux => aptosid  => siduction

Offline samoht

  • User
  • Posts: 478
Re: nvidia-legacy-340xx does not work with kernel 4.12.x
« Reply #11 on: 2017/08/13, 21:17:37 »
Der nouveau-Treiber funktioniert hier wie gewohnt.

Offline ReinerS

  • User
  • Posts: 1.061
Re: nvidia-legacy-340xx does not work with kernel 4.12.x
« Reply #12 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
slackware => SuSE => kanotix => sidux => aptosid  => siduction

Offline Camelot

  • User
  • Posts: 81
[solved] nvidia-legacy-340xx does not work with kernel 4.12.x
« Reply #13 on: 2017/08/19, 17:07:57 »
The new nvidia-legacy-340xx-driver works with 4.12.xx-towo.x-siduction-amd64 kernel

Quote
nvidia-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)

Offline T-ampfer

  • User
  • Posts: 35
Re: nvidia-legacy-340xx does not work with kernel 4.12.x
« Reply #14 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