[opensuse-factory] NVIDIA proprietary driver on kernel 4.16 (was: New Tumbleweed snapshot 20180406 released!)
Hi list, There are issue reports about subj (http://rglinuxtech.com/?p=2232), which, along with the lack of any traces of swiotlb-related patches in https://build.opensuse.org/package/show/X11:Drivers:Video/nvidia-gfxG04, begs for question whether we are affected. Did someone using NVIDIA driver try new kernel yet? @Stefan Dirsch, have you maybe? Thanks! -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On lundi, 9 avril 2018 09.58:52 h CEST Andrei Dziahel wrote:
Hi list,
There are issue reports about subj (http://rglinuxtech.com/?p=2232), which, along with the lack of any traces of swiotlb-related patches in https://build.opensuse.org/package/show/X11:Drivers:Video/nvidia-gfxG04, begs for question whether we are affected. Did someone using NVIDIA driver try new kernel yet? @Stefan Dirsch, have you maybe?
Thanks!
I've extracted and formatted the patch in the devtalk forums. see attached (It more a tape type fix than a patch) I've used it like this. (boot in single mode) login as root Be sure no nvidia modules is loaded (normally true as yours are broken) lsmod | grep nvidia rmmod any of those ... cd /usr/src/kernel-modules/nvidia-390.48-default/ patch -p1 < /var/tmp/nvidia-4.16.patch make clean make afterward you will have the following kernel modules nvidia-drm.ko nvidia.ko nvidia-modeset.ko nvidia-uvm.ko copy those to /lib/modules/4.16.0-1-default/updates/ depmod -a mkinitrd then reboot was enough for me. sddm and my autologin has failed first time, so I clean up and .nv cache. the second reboot was ok. [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.16.0-1-default root=UUID=a856e118-9bb9-4842-9c7e-37d1486a141b nosplash silent plymouth.enabled=0 noresume crashkernel=256M-:128M rd.vconsole.font=ter- v32b.psfu rd.vconsole.keymap=ch-fr rd.locale.LANG=en_US.UTF-8 audit=0 apparmor=0 blacklist=nouveau nvidia-drm.modeset=1 nvme_core.default_ps_max_latency_us=5500 [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.16.0-1-default root=UUID=a856e118-9bb9-4842-9c7e-37d1486a141b nosplash silent plymouth.enabled=0 noresume crashkernel=256M-:128M rd.vconsole.font=ter- v32b.psfu rd.vconsole.keymap=ch-fr rd.locale.LANG=en_US.UTF-8 audit=0 apparmor=0 blacklist=nouveau nvidia-drm.modeset=1 nvme_core.default_ps_max_latency_us=5500 [ 3.471776] nvidia: loading out-of-tree module taints kernel. [ 3.471786] nvidia: module license 'NVIDIA' taints kernel. [ 3.475091] nvidia: module verification failed: signature and/or required key missing - tainting kernel [ 3.491988] nvidia-nvlink: Nvlink Core is being initialized, major device number 244 [ 3.495085] nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io +mem,decodes=none:owns=io+mem [ 3.510684] nvidia-uvm: Loaded the UVM driver in 8 mode, major device number 243 [ 3.554051] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 390.48 Wed Mar 21 23:48:34 PDT 2018 [ 3.560463] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver [ 4.509160] nvidia-modeset: Allocated GPU:0 (GPU-5ea7f91c-70e7-1610-9d92-502f106afeab) @ PCI:0000:01:00.0 [ 5.824069] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 0 nvidia-smi Mon Apr 9 10:57:03 2018 +----------------------------------------------------------------------------- + | NVIDIA-SMI 390.48 Driver Version: 390.48 | |-------------------------------+----------------------+---------------------- + | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+====================== +======================| | 0 Quadro M2000M Off | 00000000:01:00.0 On | N/A | | N/A 51C P0 N/A / N/A | 1318MiB / 4010MiB | 0% Default | +-------------------------------+----------------------+---------------------- + +----------------------------------------------------------------------------- + | Processes: GPU Memory | | GPU PID Type Process name Usage | | =============================================================================| | 0 1767 G /usr/bin/X 403MiB | | 0 2068 G /usr/bin/krunner 7MiB | | 0 2070 G /usr/bin/plasmashell 456MiB | | 0 2347 G /usr/bin/akonadi_archivemail_agent 1MiB | | 0 2351 G /usr/bin/akonadi_imap_resource 1MiB | | 0 2352 G /usr/bin/akonadi_imap_resource 1MiB | | 0 2354 G /usr/bin/akonadi_imap_resource 1MiB | | 0 2355 G /usr/bin/akonadi_imap_resource 1MiB | | 0 2357 G /usr/bin/akonadi_imap_resource 1MiB | | 0 2358 G /usr/bin/akonadi_imap_resource 1MiB | | 0 2360 G /usr/bin/akonadi_imap_resource 1MiB | | 0 2381 G /usr/bin/akonadi_mailfilter_agent 105MiB | | 0 2398 G /usr/bin/akonadi_sendlater_agent 1MiB | | 0 3374 G /usr/bin/kmail 74MiB | | 0 3940 G ...-token=2104FA9F05E0DAC5777CD7F206EF2DFF 233MiB | +----------------------------------------------------------------------------- + -- Bruno Friedmann Ioda-Net Sàrl www.ioda-net.ch Bareos Partner, openSUSE Member, fsfe fellowship GPG KEY : D5C9B751C4653227 irc: tigerfoot
Am Montag, den 09.04.2018, 10:57 +0200 schrieb Bruno Friedmann:
On lundi, 9 avril 2018 09.58:52 h CEST Andrei Dziahel wrote:
(boot in single mode) login as root Be sure no nvidia modules is loaded (normally true as yours are broken) lsmod | grep nvidia rmmod any of those ...
cd /usr/src/kernel-modules/nvidia-390.48-default/ patch -p1 < /var/tmp/nvidia-4.16.patch
make clean make
afterward you will have the following kernel modules nvidia-drm.ko nvidia.ko nvidia-modeset.ko nvidia-uvm.ko
copy those to /lib/modules/4.16.0-1-default/updates/ depmod -a mkinitrd
or use the original driver package from nvidia http://www.nvidia.com/download/driverResults.aspx/132530/en-us and then do: chmod +x NVIDIA-Linux-x86_64-390.48.run ./NVIDIA-Linux-x86_64-390.48.run --apply-patch /var/tmp/nvidia-4.16.patch ./NVIDIA-Linux-x86_64-390.48-custom.run --extract-only cd NVIDIA-Linux-x86_64-390.48-custom ./nvidia-installer -a -N --no-cc-version-check --install-compat32-libs -- Best Regards | Freundliche Grüße | Cordialement | Cordiali Saluti | Atenciosamente | Saludos Cordiales DI Rainer Klier Research & Development, DevOps Namirial GmbH
* Rainer Klier <rainer.klier@xyzmo.com> [04-09-18 05:44]:
Am Montag, den 09.04.2018, 10:57 +0200 schrieb Bruno Friedmann:
On lundi, 9 avril 2018 09.58:52 h CEST Andrei Dziahel wrote:
(boot in single mode) login as root Be sure no nvidia modules is loaded (normally true as yours are broken) lsmod | grep nvidia rmmod any of those ...
cd /usr/src/kernel-modules/nvidia-390.48-default/ patch -p1 < /var/tmp/nvidia-4.16.patch
make clean make
afterward you will have the following kernel modules nvidia-drm.ko nvidia.ko nvidia-modeset.ko nvidia-uvm.ko
copy those to /lib/modules/4.16.0-1-default/updates/ depmod -a mkinitrd
or use the original driver package from nvidia http://www.nvidia.com/download/driverResults.aspx/132530/en-us and then do: chmod +x NVIDIA-Linux-x86_64-390.48.run ./NVIDIA-Linux-x86_64-390.48.run --apply-patch /var/tmp/nvidia-4.16.patch
I follow to here, but 11:01 Crash: ~ # ./NVIDIA-Linux-x86_64-390.48.run --apply-patch ./nvidia_4.16.patch Verifying archive integrity... OK Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 390.48............................................................ can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- a/common/inc/nv-linux.h 2018-01-25 06:09:41.000000000 +0100 |+++ b/common/inc/nv-linux.h 2018-03-05 13:58:17.746725638 +0100 -------------------------- File to patch:
./NVIDIA-Linux-x86_64-390.48-custom.run --extract-only cd NVIDIA-Linux-x86_64-390.48-custom ./nvidia-installer -a -N --no-cc-version-check --install-compat32-libs
tks, -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Registered Linux User #207535 @ http://linuxcounter.net Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Mon 09 Apr 2018 11:23:23 AM CDT, Patrick Shanahan wrote: <snip>
11:01 Crash: ~ # ./NVIDIA-Linux-x86_64-390.48.run --apply-patch ./nvidia_4.16.patch Verifying archive integrity... OK Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 390.48............................................................ can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- a/common/inc/nv-linux.h 2018-01-25 06:09:41.000000000 +0100 |+++ b/common/inc/nv-linux.h 2018-03-05 13:58:17.746725638 +0100 --------------------------
<snip> Hi The nvidia patch always assumes it's applied at the top level of the extracted source, so you need to remove (edit all three lines) the a/ and b/ from the patch your trying to apply. So it would become common/inc/nv-linux.h For example this is the one I use for the 340.106 driver http://paste.opensuse.org/0a7baa63 -- Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890) openSUSE Leap 42.3 | GNOME 3.20.2 | 4.4.120-45-default HP 255 G4 Notebook | A6-6310 X4 @ 1.80 GHz | AMD Radeon R4 up 1 day 23:53, 1 user, load average: 0.73, 0.62, 0.84 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Guys, please don't. Consider building https://build.opensuse.org/package/show/X11:Drivers:Video/nvidia-gfxG04 locally instead in case you can't boot to 4.15 somehow. On Mon, Apr 9, 2018 at 6:57 PM, Malcolm <malcolmlewis@cableone.net> wrote:
On Mon 09 Apr 2018 11:23:23 AM CDT, Patrick Shanahan wrote: <snip>
11:01 Crash: ~ # ./NVIDIA-Linux-x86_64-390.48.run --apply-patch ./nvidia_4.16.patch Verifying archive integrity... OK Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 390.48............................................................ can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- a/common/inc/nv-linux.h 2018-01-25 06:09:41.000000000 +0100 |+++ b/common/inc/nv-linux.h 2018-03-05 13:58:17.746725638 +0100 --------------------------
<snip> Hi The nvidia patch always assumes it's applied at the top level of the extracted source, so you need to remove (edit all three lines) the a/ and b/ from the patch your trying to apply.
So it would become common/inc/nv-linux.h
For example this is the one I use for the 340.106 driver http://paste.opensuse.org/0a7baa63
-- Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890) openSUSE Leap 42.3 | GNOME 3.20.2 | 4.4.120-45-default HP 255 G4 Notebook | A6-6310 X4 @ 1.80 GHz | AMD Radeon R4 up 1 day 23:53, 1 user, load average: 0.73, 0.62, 0.84
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- Regards, Andrei Dziahel -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hi Andrei,
Guys, please don't. Consider building https://build.opensuse.org/package/show/X11:Drivers:Video/nvidia-gfxG04 locally instead in case you can't boot to 4.15 somehow.
just a side note: Booting to 4.15 doesn't help. I got lots of other error messages, then. Note that the kernel modules for version 390.42 have been loaded before without any errors. ... kernel: nvidia: loading out-of-tree module taints kernel. kernel: nvidia: module license 'NVIDIA' taints kernel. kernel: Disabling lock debugging due to kernel taint kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 245 kernel: nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+me m kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 390.42 Sat Mar 3 04:10:22 PST 2018 (using threaded interrupts) kernel: nvidia-uvm: Loaded the UVM driver in 8 mode, major device number 244 kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 390.42 Sat M ar 3 03:30:48 PST 2018 kernel: [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver kernel: [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 0 ... sddm[1580]: Running: /usr/bin/X -nolisten tcp -auth /run/sddm/{60d6337f-fb17-4c05-87ee-2a34c35c6c31} -background none -noreset -displayfd 17 -seat seat0 vt7 kernel: NVRM: API mismatch: the client has the version 390.48, but NVRM: this kernel module has the version 390.42. Please NVRM: make sure that this kernel module and all NVIDIA driver NVRM: components have the same version. kernel: NVRM: API mismatch: the client has the version 390.48, but NVRM: this kernel module has the version 390.42. Please NVRM: make sure that this kernel module and all NVIDIA driver NVRM: components have the same version. ... No matter what kernel I tried, they all gave errors like that. Bye. Michael. -- Michael Hirmke -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Op maandag 9 april 2018 19:25:00 CEST schreef Michael Hirmke:
Hi Andrei,
Guys, please don't. Consider building https://build.opensuse.org/package/show/X11:Drivers:Video/nvidia-gfxG04 locally instead in case you can't boot to 4.15 somehow.
just a side note: Booting to 4.15 doesn't help. I got lots of other error messages, then. Note that the kernel modules for version 390.42 have been loaded before without any errors.
... kernel: nvidia: loading out-of-tree module taints kernel. kernel: nvidia: module license 'NVIDIA' taints kernel. kernel: Disabling lock debugging due to kernel taint kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 245 kernel: nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+me m kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 390.42 Sat Mar 3 04:10:22 PST 2018 (using threaded interrupts) kernel: nvidia-uvm: Loaded the UVM driver in 8 mode, major device number 244 kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 390.42 Sat M ar 3 03:30:48 PST 2018 kernel: [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver kernel: [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 0 ... sddm[1580]: Running: /usr/bin/X -nolisten tcp -auth /run/sddm/{60d6337f-fb17-4c05-87ee-2a34c35c6c31} -background none -noreset -displayfd 17 -seat seat0 vt7 kernel: NVRM: API mismatch: the client has the version 390.48, but NVRM: this kernel module has the version 390.42. Please NVRM: make sure that this kernel module and all NVIDIA driver NVRM: components have the same version. kernel: NVRM: API mismatch: the client has the version 390.48, but NVRM: this kernel module has the version 390.42. Please NVRM: make sure that this kernel module and all NVIDIA driver NVRM: components have the same version. ...
No matter what kernel I tried, they all gave errors like that.
Bye. Michael. You have a mix of two NVIDIA driver installs on your system, i.e. 390.48 and 390.42
-- Gertjan Lettink a.k.a. Knurpht openSUSE Board Member openSUSE Forums Team -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hi,
Op maandag 9 april 2018 19:25:00 CEST schreef Michael Hirmke:
Hi Andrei,
Guys, please don't. Consider building https://build.opensuse.org/package/show/X11:Drivers:Video/nvidia-gfxG04 locally instead in case you can't boot to 4.15 somehow.
just a side note: Booting to 4.15 doesn't help. I got lots of other error messages, then. Note that the kernel modules for version 390.42 have been loaded before without any errors.
... [...]
Bye. Michael. You have a mix of two NVIDIA driver installs on your system, i.e. 390.48 and 390.42
yes, but because I didn't install anything else besides the rpms from the Tumbleweed nvidia repo, this is nothing I caused by manual actions. The mix must come from the zypper dup and/or zypper in actions.
-- Gertjan Lettink a.k.a. Knurpht
bye. Michael. -- Michael Hirmke -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Op maandag 9 april 2018 22:30:00 CEST schreef Michael Hirmke:
Hi,
Op maandag 9 april 2018 19:25:00 CEST schreef Michael Hirmke:
Hi Andrei,
Guys, please don't. Consider building https://build.opensuse.org/package/show/X11:Drivers:Video/nvidia-gfxG04 locally instead in case you can't boot to 4.15 somehow.
just a side note: Booting to 4.15 doesn't help. I got lots of other error messages, then. Note that the kernel modules for version 390.42 have been loaded before without any errors.
...
[...]
Bye. Michael.
You have a mix of two NVIDIA driver installs on your system, i.e. 390.48 and 390.42
yes, but because I didn't install anything else besides the rpms from the Tumbleweed nvidia repo, this is nothing I caused by manual actions. The mix must come from the zypper dup and/or zypper in actions.
-- Gertjan Lettink a.k.a. Knurpht
bye. Michael. Sure, no doubts. What does rpm -qa | grep -i nvidia say
-- Gertjan Lettink a.k.a. Knurpht openSUSE Board Member openSUSE Forums Team -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hi, [...]
You have a mix of two NVIDIA driver installs on your system, i.e. 390.48 and 390.42
yes, but because I didn't install anything else besides the rpms from the Tumbleweed nvidia repo, this is nothing I caused by manual actions. The mix must come from the zypper dup and/or zypper in actions.
-- Gertjan Lettink a.k.a. Knurpht
bye. Michael. Sure, no doubts. What does
:) This is the same, I'd say to my users in a similar case :))
rpm -qa | grep -i nvidia say
nvidia-glG04-390.48-6.1.x86_64 x11-video-nvidiaG04-390.48-6.1.x86_64 nvidia-gfxG04-kmp-default-390.48_k4.15.13_1-6.1.x86_64 nvidia-computeG04-390.48-6.1.x86_64 nvidia-texture-tools-2.0.8-3.4.x86_64
-- Gertjan Lettink a.k.a. Knurpht
Bye. Michael. -- Michael Hirmke -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Mon, Apr 09, 2018 at 07:53:11PM +0300, Andrei Dziahel wrote:
Guys, please don't. Consider building https://build.opensuse.org/package/show/X11:Drivers:Video/nvidia-gfxG04 locally instead in case you can't boot to 4.15 somehow.
Yes, indeed. That would be great! I haven't tested this yet myself. :-( The sooner I get positive feedback the sooner I can push the packages. ;-) Thanks, Stefan
On Mon, Apr 9, 2018 at 6:57 PM, Malcolm <malcolmlewis@cableone.net> wrote:
On Mon 09 Apr 2018 11:23:23 AM CDT, Patrick Shanahan wrote: <snip>
11:01 Crash: ~ # ./NVIDIA-Linux-x86_64-390.48.run --apply-patch ./nvidia_4.16.patch Verifying archive integrity... OK Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 390.48............................................................ can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- a/common/inc/nv-linux.h 2018-01-25 06:09:41.000000000 +0100 |+++ b/common/inc/nv-linux.h 2018-03-05 13:58:17.746725638 +0100 --------------------------
<snip> Hi The nvidia patch always assumes it's applied at the top level of the extracted source, so you need to remove (edit all three lines) the a/ and b/ from the patch your trying to apply.
So it would become common/inc/nv-linux.h
For example this is the one I use for the 340.106 driver http://paste.opensuse.org/0a7baa63
Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany --------------------------------------------------------------- SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --------------------------------------------------------------- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Tue, Apr 10, 2018 at 11:26:59AM +0200, Stefan Dirsch wrote:
On Mon, Apr 09, 2018 at 07:53:11PM +0300, Andrei Dziahel wrote:
Guys, please don't. Consider building https://build.opensuse.org/package/show/X11:Drivers:Video/nvidia-gfxG04 locally instead in case you can't boot to 4.15 somehow.
Yes, indeed. That would be great! I haven't tested this yet myself. :-( The sooner I get positive feedback the sooner I can push the packages. ;-)
More details in the bugreport. https://bugzilla.opensuse.org/show_bug.cgi?id=1088651 Thanks, Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany --------------------------------------------------------------- SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --------------------------------------------------------------- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Thank you Stefan for heads up BTW! I've built it locally, going to test it sometime today, maybe tomorrow. On Tue, Apr 10, 2018 at 12:26 PM, Stefan Dirsch <sndirsch@suse.de> wrote:
On Mon, Apr 09, 2018 at 07:53:11PM +0300, Andrei Dziahel wrote:
Guys, please don't. Consider building https://build.opensuse.org/package/show/X11:Drivers:Video/nvidia-gfxG04 locally instead in case you can't boot to 4.15 somehow.
Yes, indeed. That would be great! I haven't tested this yet myself. :-( The sooner I get positive feedback the sooner I can push the packages. ;-)
Thanks, Stefan
On Mon, Apr 9, 2018 at 6:57 PM, Malcolm <malcolmlewis@cableone.net> wrote:
On Mon 09 Apr 2018 11:23:23 AM CDT, Patrick Shanahan wrote: <snip>
11:01 Crash: ~ # ./NVIDIA-Linux-x86_64-390.48.run --apply-patch ./nvidia_4.16.patch Verifying archive integrity... OK Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 390.48............................................................ can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- a/common/inc/nv-linux.h 2018-01-25 06:09:41.000000000 +0100 |+++ b/common/inc/nv-linux.h 2018-03-05 13:58:17.746725638 +0100 --------------------------
<snip> Hi The nvidia patch always assumes it's applied at the top level of the extracted source, so you need to remove (edit all three lines) the a/ and b/ from the patch your trying to apply.
So it would become common/inc/nv-linux.h
For example this is the one I use for the 340.106 driver http://paste.opensuse.org/0a7baa63
Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany --------------------------------------------------------------- SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --------------------------------------------------------------- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- Regards, Andrei Dziahel -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* Malcolm <malcolmlewis@cableone.net> [04-09-18 12:00]:
On Mon 09 Apr 2018 11:23:23 AM CDT, Patrick Shanahan wrote: <snip>
11:01 Crash: ~ # ./NVIDIA-Linux-x86_64-390.48.run --apply-patch ./nvidia_4.16.patch Verifying archive integrity... OK Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 390.48............................................................ can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- a/common/inc/nv-linux.h 2018-01-25 06:09:41.000000000 +0100 |+++ b/common/inc/nv-linux.h 2018-03-05 13:58:17.746725638 +0100 --------------------------
<snip> Hi The nvidia patch always assumes it's applied at the top level of the extracted source, so you need to remove (edit all three lines) the a/ and b/ from the patch your trying to apply.
So it would become common/inc/nv-linux.h
For example this is the one I use for the 340.106 driver http://paste.opensuse.org/0a7baa63
works, but different. had to change x/common to kernel/common and only two lines. see http://wahoo.no-ip.org/~paka/nvidia_4.16.patch tks much, and next time I will know. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Registered Linux User #207535 @ http://linuxcounter.net Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* Patrick Shanahan <paka@opensuse.org> [04-09-18 13:41]:
* Malcolm <malcolmlewis@cableone.net> [04-09-18 12:00]:
On Mon 09 Apr 2018 11:23:23 AM CDT, Patrick Shanahan wrote: <snip>
11:01 Crash: ~ # ./NVIDIA-Linux-x86_64-390.48.run --apply-patch ./nvidia_4.16.patch Verifying archive integrity... OK Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 390.48............................................................ can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- a/common/inc/nv-linux.h 2018-01-25 06:09:41.000000000 +0100 |+++ b/common/inc/nv-linux.h 2018-03-05 13:58:17.746725638 +0100 --------------------------
<snip> Hi The nvidia patch always assumes it's applied at the top level of the extracted source, so you need to remove (edit all three lines) the a/ and b/ from the patch your trying to apply.
So it would become common/inc/nv-linux.h
For example this is the one I use for the 340.106 driver http://paste.opensuse.org/0a7baa63
works, but different. had to change x/common to kernel/common and only two lines.
sorry, correct url: http://wahoo.no-ip.org/~paka/nvidia-4.16.patch
tks much, and next time I will know.
-- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Registered Linux User #207535 @ http://linuxcounter.net Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hi Bruno, thx for these instructions - works without any problem yet. Bye. Michael.
On lundi, 9 avril 2018 09.58:52 h CEST Andrei Dziahel wrote:
Hi list,
There are issue reports about subj (http://rglinuxtech.com/?p=2232), which, along with the lack of any traces of swiotlb-related patches in https://build.opensuse.org/package/show/X11:Drivers:Video/nvidia-gfxG04, begs for question whether we are affected. Did someone using NVIDIA driver try new kernel yet? @Stefan Dirsch, have you maybe?
Thanks!
I've extracted and formatted the patch in the devtalk forums. see attached (It more a tape type fix than a patch)
I've used it like this. (boot in single mode) login as root Be sure no nvidia modules is loaded (normally true as yours are broken) lsmod | grep nvidia rmmod any of those ...
cd /usr/src/kernel-modules/nvidia-390.48-default/ patch -p1 < /var/tmp/nvidia-4.16.patch
make clean make
afterward you will have the following kernel modules nvidia-drm.ko nvidia.ko nvidia-modeset.ko nvidia-uvm.ko
copy those to /lib/modules/4.16.0-1-default/updates/ depmod -a mkinitrd
then reboot was enough for me. sddm and my autologin has failed first time, so I clean up and .nv cache.
the second reboot was ok.
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.16.0-1-default root=UUID=a856e118-9bb9-4842-9c7e-37d1486a141b nosplash silent plymouth.enabled=0 noresume crashkernel=256M-:128M rd.vconsole.font=ter- v32b.psfu rd.vconsole.keymap=ch-fr rd.locale.LANG=en_US.UTF-8 audit=0 apparmor=0 blacklist=nouveau nvidia-drm.modeset=1 nvme_core.default_ps_max_latency_us=5500 [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.16.0-1-default root=UUID=a856e118-9bb9-4842-9c7e-37d1486a141b nosplash silent plymouth.enabled=0 noresume crashkernel=256M-:128M rd.vconsole.font=ter- v32b.psfu rd.vconsole.keymap=ch-fr rd.locale.LANG=en_US.UTF-8 audit=0 apparmor=0 blacklist=nouveau nvidia-drm.modeset=1 nvme_core.default_ps_max_latency_us=5500 [ 3.471776] nvidia: loading out-of-tree module taints kernel. [ 3.471786] nvidia: module license 'NVIDIA' taints kernel. [ 3.475091] nvidia: module verification failed: signature and/or required key missing - tainting kernel [ 3.491988] nvidia-nvlink: Nvlink Core is being initialized, major device number 244 [ 3.495085] nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io +mem,decodes=none:owns=io+mem [ 3.510684] nvidia-uvm: Loaded the UVM driver in 8 mode, major device number 243 [ 3.554051] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 390.48 Wed Mar 21 23:48:34 PDT 2018 [ 3.560463] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver [ 4.509160] nvidia-modeset: Allocated GPU:0 (GPU-5ea7f91c-70e7-1610-9d92-502f106afeab) @ PCI:0000:01:00.0 [ 5.824069] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 0
nvidia-smi Mon Apr 9 10:57:03 2018 +---------------------------------------------------------------------------- - + | NVIDIA-SMI 390.48 Driver Version: 390.48 | |-------------------------------+----------------------+--------------------- - + | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+====================== +======================| | 0 Quadro M2000M Off | 00000000:01:00.0 On | N/A | | N/A 51C P0 N/A / N/A | 1318MiB / 4010MiB | 0% Default | +-------------------------------+----------------------+--------------------- - +
+---------------------------------------------------------------------------- - + | Processes: GPU Memory | | GPU PID Type Process name Usage | | ============================================================================= | | 0 1767 G /usr/bin/X 403MiB | | 0 2068 G /usr/bin/krunner 7MiB | | 0 2070 G /usr/bin/plasmashell 456MiB | | 0 2347 G /usr/bin/akonadi_archivemail_agent 1MiB | | 0 2351 G /usr/bin/akonadi_imap_resource 1MiB | | 0 2352 G /usr/bin/akonadi_imap_resource 1MiB | | 0 2354 G /usr/bin/akonadi_imap_resource 1MiB | | 0 2355 G /usr/bin/akonadi_imap_resource 1MiB | | 0 2357 G /usr/bin/akonadi_imap_resource 1MiB | | 0 2358 G /usr/bin/akonadi_imap_resource 1MiB | | 0 2360 G /usr/bin/akonadi_imap_resource 1MiB | | 0 2381 G /usr/bin/akonadi_mailfilter_agent 105MiB | | 0 2398 G /usr/bin/akonadi_sendlater_agent 1MiB | | 0 3374 G /usr/bin/kmail 74MiB | | 0 3940 G ...-token=2104FA9F05E0DAC5777CD7F206EF2DFF 233MiB | +---------------------------------------------------------------------------- - + --
Bruno Friedmann Ioda-Net Sàrl www.ioda-net.ch Bareos Partner, openSUSE Member, fsfe fellowship GPG KEY : D5C9B751C4653227 irc: tigerfoot
-- Michael Hirmke -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Mon, Apr 09, 2018 at 10:58:52AM +0300, Andrei Dziahel wrote:
Hi list,
There are issue reports about subj (http://rglinuxtech.com/?p=2232), which, along with the lack of any traces of swiotlb-related patches in https://build.opensuse.org/package/show/X11:Drivers:Video/nvidia-gfxG04, begs for question whether we are affected. Did someone using NVIDIA driver try new kernel yet? @Stefan Dirsch, have you maybe?
Could you please open a bugreport for this, please? Thanks! Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany --------------------------------------------------------------- SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --------------------------------------------------------------- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Here, https://bugzilla.opensuse.org/show_bug.cgi?id=1088651 Thanks! On Mon, Apr 9, 2018 at 1:28 PM, Stefan Dirsch <sndirsch@suse.de> wrote:
On Mon, Apr 09, 2018 at 10:58:52AM +0300, Andrei Dziahel wrote:
Hi list,
There are issue reports about subj (http://rglinuxtech.com/?p=2232), which, along with the lack of any traces of swiotlb-related patches in https://build.opensuse.org/package/show/X11:Drivers:Video/nvidia-gfxG04, begs for question whether we are affected. Did someone using NVIDIA driver try new kernel yet? @Stefan Dirsch, have you maybe?
Could you please open a bugreport for this, please? Thanks!
Stefan
Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany --------------------------------------------------------------- SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --------------------------------------------------------------- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- Regards, Andrei Dziahel -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Mon, Apr 09, 2018 at 10:58:52AM +0300, Andrei Dziahel wrote:
There are issue reports about subj (http://rglinuxtech.com/?p=2232), which, along with the lack of any traces of swiotlb-related patches in https://build.opensuse.org/package/show/X11:Drivers:Video/nvidia-gfxG04, begs for question whether we are affected. Did someone using NVIDIA driver try new kernel yet? @Stefan Dirsch, have you maybe? Building is disabled in the repository X11:Drivers:Video/nvidia-gfxG04
I tried to build the driver package myself, but this fails: $ osc checkout X11:Drivers:Video nvidia-gfxG04 $ cd X11:Drivers:Video/nvidia-gfxG04 ... Download NVIDIA-Linux-x86_64-390.48.run ... $ osc build openSUSE_Tumbleweed nvidia-gfxG04.spec [...] [ 164s] calling /usr/lib/rpm/brp-suse.d/brp-60-hook [ 164s] calling /usr/lib/rpm/brp-suse.d/brp-65-lib64-linux [ 164s] calling /usr/lib/rpm/brp-suse.d/brp-72-extract-appdata [ 164s] calling /usr/lib/rpm/brp-suse.d/brp-99-compress-vmlinux [ 165s] calling /usr/lib/rpm/brp-suse.d/brp-99-pesign [ 165s] error: Bad file: /home/abuild/rpmbuild/SOURCES/NVIDIA-Linux-x86-390.48.run: No such file or directory [ 165s] [ 165s] [ 165s] RPM build errors: [ 165s] Bad file: /home/abuild/rpmbuild/SOURCES/NVIDIA-Linux-x86-390.48.run: No such file or directory [ 165s] [ 165s] mybox failed "build nvidia-gfxG04.spec" at Wed Apr 11 11:38:56 UTC 2018. [ 165s] The buildroot was: /var/tmp/build-root/openSUSE_Tumbleweed-x86_64 Greetings, Björn -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Wed, Apr 11, 2018 at 01:41:18PM +0200, Bjoern Voigt wrote:
On Mon, Apr 09, 2018 at 10:58:52AM +0300, Andrei Dziahel wrote:
There are issue reports about subj (http://rglinuxtech.com/?p=2232), which, along with the lack of any traces of swiotlb-related patches in https://build.opensuse.org/package/show/X11:Drivers:Video/nvidia-gfxG04, begs for question whether we are affected. Did someone using NVIDIA driver try new kernel yet? @Stefan Dirsch, have you maybe? Building is disabled in the repository X11:Drivers:Video/nvidia-gfxG04
Due to license reasons.
I tried to build the driver package myself, but this fails:
$ osc checkout X11:Drivers:Video nvidia-gfxG04 $ cd X11:Drivers:Video/nvidia-gfxG04 ... Download NVIDIA-Linux-x86_64-390.48.run ... $ osc build openSUSE_Tumbleweed nvidia-gfxG04.spec [...] [ 164s] calling /usr/lib/rpm/brp-suse.d/brp-60-hook [ 164s] calling /usr/lib/rpm/brp-suse.d/brp-65-lib64-linux [ 164s] calling /usr/lib/rpm/brp-suse.d/brp-72-extract-appdata [ 164s] calling /usr/lib/rpm/brp-suse.d/brp-99-compress-vmlinux [ 165s] calling /usr/lib/rpm/brp-suse.d/brp-99-pesign [ 165s] error: Bad file: /home/abuild/rpmbuild/SOURCES/NVIDIA-Linux-x86-390.48.run: No such file or directory [ 165s] [ 165s] [ 165s] RPM build errors: [ 165s] Bad file: /home/abuild/rpmbuild/SOURCES/NVIDIA-Linux-x86-390.48.run: No such file or directory [ 165s] [ 165s] mybox failed "build nvidia-gfxG04.spec" at Wed Apr 11 11:38:56 UTC 2018. [ 165s]
Please follow the instructions in the README file. ;-) Thanks, Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany --------------------------------------------------------------- SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --------------------------------------------------------------- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am Montag, den 09.04.2018, 10:58 +0300 schrieb Andrei Dziahel:
There are issue reports about subj (<a href="http://rglinuxtech.com/?p=2232">http://rglinuxtech.com/?p=2232</a>;), which, along with the lack of any traces of swiotlb-related patches in <a href="https://build.opensuse.org/package/show/X11:Drivers:Video/nvidia-gfxG04">https://build.opensuse.org/package/s how/X11:Drivers:Video/nvidia-gfxG04</a>;, begs for question whether we are affected. Did someone using NVIDIA driver try new kernel yet? @Stefan Dirsch, have you maybe?
new package 396.18 BETA which works out-of-the-box: http://www.nvidia.com/download/driverResults.aspx/133571/en-us -- Best Regards | Freundliche Grüße | Cordialement | Cordiali Saluti | Atenciosamente | Saludos Cordiales DI Rainer Klier Research & Development, DevOps Namirial GmbH N�����r��y隊Z)z{.���r�+�맲��r��z�^�ˬz��N�(�֜��^� ޭ隊Z)z{.���r�+��0�����Ǩ�
* Rainer Klier <rainer.klier@xyzmo.com> [04-11-18 08:22]:
Am Montag, den 09.04.2018, 10:58 +0300 schrieb Andrei Dziahel:
There are issue reports about subj (<a href="http://rglinuxtech.com/?p=2232">http://rglinuxtech.com/?p=2232</a>;), which, along with the lack of any traces of swiotlb-related patches in <a href="https://build.opensuse.org/package/show/X11:Drivers:Video/nvidia-gfxG04">https://build.opensuse.org/package/s how/X11:Drivers:Video/nvidia-gfxG04</a>;, begs for question whether we are affected. Did someone using NVIDIA driver try new kernel yet? @Stefan Dirsch, have you maybe?
new package 396.18 BETA which works out-of-the-box: http://www.nvidia.com/download/driverResults.aspx/133571/en-us
except they have dropped support for my GeForce GTS 450/PCIe/SSE2 :^( -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Registered Linux User #207535 @ http://linuxcounter.net Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Nah, https://bugzilla.opensuse.org/show_bug.cgi?id=1088651#c7 got us covered On Wed, Apr 11, 2018 at 3:20 PM, Rainer Klier <rainer.klier@xyzmo.com> wrote:
Am Montag, den 09.04.2018, 10:58 +0300 schrieb Andrei Dziahel:
There are issue reports about subj (<a href="http://rglinuxtech.com/?p=2232">http://rglinuxtech.com/?p=2232</a>;), which, along with the lack of any traces of swiotlb-related patches in <a href="https://build.opensuse.org/package/show/X11:Drivers:Video/nvidia-gfxG04">https://build.opensuse.org/package/s how/X11:Drivers:Video/nvidia-gfxG04</a>;, begs for question whether we are affected. Did someone using NVIDIA driver try new kernel yet? @Stefan Dirsch, have you maybe?
new package 396.18 BETA which works out-of-the-box: http://www.nvidia.com/download/driverResults.aspx/133571/en-us
--
Best Regards | Freundliche Grüße | Cordialement | Cordiali Saluti | Atenciosamente | Saludos Cordiales
DI Rainer Klier
Research & Development, DevOps
Namirial GmbH
-- Regards, Andrei Dziahel -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (9)
-
Andrei Dziahel
-
Bjoern Voigt
-
Bruno Friedmann
-
Knurpht @ openSUSE
-
Malcolm
-
mh@mike.franken.de
-
Patrick Shanahan
-
Rainer Klier
-
Stefan Dirsch