Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#64317 - [nvidia] patch in fs62142 no longer required

Attached to Project: Arch Linux
Opened by Joel Shapiro (jshap70) - Tuesday, 29 October 2019, 21:30 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 10 November 2019, 12:55 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture x86_64
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
A patch to nvidia's header kernel files was created due to a bug with nullptr de-referencing in https://bugs.archlinux.org/task/62142, however the module has been fixed upstream for some time.

I have tested the change on an SLI system with two Quadro P4000 and the `1_Utilities/p2pBandwidthLatencyTest` mentioned in that bug and confirmed it works without the patch. Patch is attached to this bug :)

Additional info:
upstream bug is internal only, sorry.

Steps to reproduce:
- have 2 identical nvidia gpu's
```
~ jshap@exodia
> nvidia-smi
Tue Oct 29 11:28:40 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 435.21 Driver Version: 435.21 CUDA Version: 10.1 |
|-------------------------------+----------------------+----------------------+
| 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 P4000 Off | 00000000:17:00.0 Off | N/A |
| 46% 32C P8 5W / 105W | 2MiB / 8119MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
| 1 Quadro P4000 Off | 00000000:65:00.0 Off | N/A |
| 46% 35C P8 9W / 105W | 2MiB / 8116MiB | 0% Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
```
- package driver with this patch applied to build (probably `rmmod` just to be sure)
- build and run p2p test
```
cd /opt/cuda/samples/1_Utilities/p2pBandwidthLatencyTest
make
./p2pBandwidthLatencyTest
```
- don't crash :)
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Sunday, 10 November 2019, 12:55 GMT
Reason for closing:  Fixed
Comment by Joel Shapiro (jshap70) - Tuesday, 29 October 2019, 21:32 GMT
Wording is weird, I meant to infer that the attached patch is for the abs/PKGBUILD to remove the old patch, not the patch already used in abs.
Comment by Sven-Hendrik Haase (Svenstaro) - Sunday, 10 November 2019, 12:54 GMT
Ok cool. Thanks for the report. Removed in svn.

Loading...