Skip to content

Instantly share code, notes, and snippets.

@berenm
Last active March 21, 2016 21:03
Show Gist options
  • Save berenm/4c593e666c6c8714758e to your computer and use it in GitHub Desktop.
Save berenm/4c593e666c6c8714758e to your computer and use it in GitHub Desktop.
diff --git a/debian/changelog b/debian/changelog
index 221b198..ed0722e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-nvidia-graphics-drivers (361.28-1) UNRELEASED; urgency=medium
+nvidia-graphics-drivers (364.12-1) UNRELEASED; urgency=medium
[ Luca Boccassi ]
* New upstream long lived branch release 361.28 (2016-02-09).
@@ -67,6 +67,9 @@ nvidia-graphics-drivers (361.28-1) UNRELEASED; urgency=medium
[ Andreas Beckmann ]
* Update lintian overrides.
+ [ Beren Minor ]
+ * New upstream release.
+
-- Luca Boccassi <luca.boccassi@gmail.com> Sun, 07 Feb 2016 16:45:08 +0000
nvidia-graphics-drivers (358.16-1) UNRELEASED; urgency=medium
diff --git a/debian/libcuda1.symbols b/debian/libcuda1.symbols
index 463ca53..2607fef 100644
--- a/debian/libcuda1.symbols
+++ b/debian/libcuda1.symbols
@@ -284,6 +284,8 @@ libcuda.so.1 #PACKAGE# #MINVER#
cuStreamAddCallback_ptsz@Base 346
cuStreamAttachMemAsync@Base 331.38
cuStreamAttachMemAsync_ptsz@Base 346
+ cuStreamBatchMemOp@Base 364.12
+ cuStreamBatchMemOp_ptsz@Base 364.12
cuStreamCreate@Base 169
cuStreamCreateWithPriority@Base 319
cuStreamDestroy@Base 169
@@ -298,6 +300,10 @@ libcuda.so.1 #PACKAGE# #MINVER#
cuStreamSynchronize_ptsz@Base 346
cuStreamWaitEvent@Base 260
cuStreamWaitEvent_ptsz@Base 346
+ cuStreamWaitValue32@Base 364.12
+ cuStreamWaitValue32_ptsz@Base 364.12
+ cuStreamWriteValue32@Base 364.12
+ cuStreamWriteValue32_ptsz@Base 364.12
cuSurfObjectCreate@Base 304
cuSurfObjectDestroy@Base 304
cuSurfObjectGetResourceDesc@Base 304
diff --git a/debian/libegl1-nvidia.symbols b/debian/libegl1-nvidia.symbols
index 449be4a..19199e2 100644
--- a/debian/libegl1-nvidia.symbols
+++ b/debian/libegl1-nvidia.symbols
@@ -1,10 +1,10 @@
libEGL.so.1 libegl1-mesa
AllocExecPages@Base 355
FreeExecPages@Base 355
- GLVND_THREAD_NULL@Base 355
+#MISSING: 364.12# GLVND_THREAD_NULL@Base 355
#MISSING: 355# NvEglRegClientApi@Base 331
__eglLookupVendorByName@Base 355
- __eglPthreadFuncs@Base 355
+#MISSING: 364.12# __eglPthreadFuncs@Base 355
__eglTeardownVendor@Base 355
__glvnd_dbg_printf@Base 355
eglBindAPI@Base 331
@@ -41,14 +41,14 @@ libEGL.so.1 libegl1-mesa
eglWaitClient@Base 331
eglWaitGL@Base 331
eglWaitNative@Base 331
- glvndSetupPthreads@Base 355
+#MISSING: 364.12# glvndSetupPthreads@Base 355
glvnd_asprintf@Base 355
glvnd_byte_swap16@Base 355
- mt_mutexattr_destroy@Base 361.18
- mt_mutexattr_init@Base 361.18
- mt_mutexattr_settype@Base 361.18
- st_mutexattr_destroy@Base 361.18
- st_mutexattr_init@Base 361.18
- st_mutexattr_settype@Base 361.18
- st_rwlock_destroy@Base 355
- st_rwlock_init@Base 355
+#MISSING: 364.12# mt_mutexattr_destroy@Base 361.18
+#MISSING: 364.12# mt_mutexattr_init@Base 361.18
+#MISSING: 364.12# mt_mutexattr_settype@Base 361.18
+#MISSING: 364.12# st_mutexattr_destroy@Base 361.18
+#MISSING: 364.12# st_mutexattr_init@Base 361.18
+#MISSING: 364.12# st_mutexattr_settype@Base 361.18
+#MISSING: 364.12# st_rwlock_destroy@Base 355
+#MISSING: 364.12# st_rwlock_init@Base 355
diff --git a/debian/libglx-nvidia0.symbols b/debian/libglx-nvidia0.symbols
index 59d5685..0ce53c0 100644
--- a/debian/libglx-nvidia0.symbols
+++ b/debian/libglx-nvidia0.symbols
@@ -469,6 +469,7 @@ libGLX_nvidia.so.0 #PACKAGE# #MINVER#
glDrawTransformFeedbackNV@Base 361.28
glDrawTransformFeedbackStream@Base 361.28
glDrawTransformFeedbackStreamInstanced@Base 361.28
+ glDrawVkImageNV@Base 364.12
glEdgeFlag@Base 361.28
glEdgeFlagFormatNV@Base 361.28
glEdgeFlagPointer@Base 361.28
@@ -977,6 +978,7 @@ libGLX_nvidia.so.0 #PACKAGE# #MINVER#
glGetVideoivNV@Base 361.28
glGetVideoui64vNV@Base 361.28
glGetVideouivNV@Base 361.28
+ glGetVkProcAddrNV@Base 364.12
glGetnColorTable@Base 361.28
glGetnColorTableARB@Base 361.28
glGetnCompressedTexImage@Base 361.28
@@ -1132,6 +1134,7 @@ libGLX_nvidia.so.0 #PACKAGE# #MINVER#
glLoadTransposeMatrixf@Base 361.28
glLoadTransposeMatrixfARB@Base 361.28
glLockArraysEXT@Base 361.28
+ glLogTokenFlushNVX@Base 364.12
glLogicOp@Base 361.28
glMakeBufferNonResidentNV@Base 361.28
glMakeBufferResidentNV@Base 361.28
@@ -1822,6 +1825,8 @@ libGLX_nvidia.so.0 #PACKAGE# #MINVER#
glShaderSource@Base 361.28
glShaderSourceARB@Base 361.28
glShaderStorageBlockBinding@Base 361.28
+ glSignalVkFenceNV@Base 364.12
+ glSignalVkSemaphoreNV@Base 364.12
glStateCaptureNV@Base 361.28
glStencilFillPathInstancedNV@Base 361.28
glStencilFillPathNV@Base 361.28
@@ -2465,6 +2470,7 @@ libGLX_nvidia.so.0 #PACKAGE# #MINVER#
glViewportSwizzleNV@Base 361.28
glWaitSync@Base 361.28
glWaitSyncValueuiNVX@Base 361.28
+ glWaitVkSemaphoreNV@Base 364.12
glWeightPathsNV@Base 361.28
glWeightPointerOES@Base 361.28
glWindowBackBufferHintAutodesk@Base 361.28
@@ -2596,3 +2602,4 @@ libGLX_nvidia.so.0 #PACKAGE# #MINVER#
glXWaitX@Base 361.28
glcuR0d4nX@Base 361.18
gldbc3cfnX@Base 361.28
+ vk_icdGetInstanceProcAddr@Base 364.12
diff --git a/debian/libglx0-nvidia.symbols b/debian/libglx0-nvidia.symbols
index 622a538..b4c5e2b 100644
--- a/debian/libglx0-nvidia.symbols
+++ b/debian/libglx0-nvidia.symbols
@@ -4,14 +4,14 @@ libGLX.so.0 #PACKAGE# #MINVER#
AtomicDecrementClampAtZero@Base 361.18
AtomicIncrement@Base 361.18
AtomicSwap@Base 361.18
- CurrentContextHashCleanup@Base 361.18
+#MISSING: 364.12# CurrentContextHashCleanup@Base 361.18
DisplayClosed@Base 361.18
FindNextExtensionName@Base 361.18
FreeExecPages@Base 361.18
GLVND_THREAD_NULL@Base 361.18
IsExtensionInString@Base 361.18
ParseClientVersionString@Base 361.18
- TeardownVendor@Base 361.18
+#MISSING: 364.12# TeardownVendor@Base 361.18
XGLVQueryExtension@Base 361.18
XGLVQueryScreenVendorMapping@Base 361.18
XGLVQueryVersion@Base 361.18
@@ -27,7 +27,7 @@ libGLX.so.0 #PACKAGE# #MINVER#
__glXAddVendorFBConfigMapping@Base 361.28
__glXDispatchNoop@Base 361.18
__glXDispatchNoopPtr@Base 361.18
- __glXFetchDispatchEntry@Base 361.18
+#MISSING: 364.12# __glXFetchDispatchEntry@Base 361.18
__glXFreeDisplay@Base 361.18
__glXGLLoadGLXFunction@Base 361.18
__glXGenerateGLXEntrypoint@Base 361.18
@@ -41,8 +41,8 @@ libGLX.so.0 #PACKAGE# #MINVER#
__glXLookupVendorByName@Base 361.18
__glXLookupVendorByScreen@Base 361.18
__glXMappingTeardown@Base 361.18
- __glXNotifyContextDestroyed@Base 361.18
- __glXPthreadFuncs@Base 361.18
+#MISSING: 364.12# __glXNotifyContextDestroyed@Base 361.18
+#MISSING: 364.12# __glXPthreadFuncs@Base 361.18
#MISSING: 361.28# __glXRemoveScreenContextMapping@Base 361.18
#MISSING: 361.28# __glXRemoveScreenDrawableMapping@Base 361.18
#MISSING: 361.28# __glXRemoveScreenFBConfigMapping@Base 361.18
@@ -58,6 +58,7 @@ libGLX.so.0 #PACKAGE# #MINVER#
__glXVendorFromDrawable@Base 361.18
__glXVendorFromFBConfig@Base 361.18
__glXVendorFromVisual@Base 361.18
+ __glvndPthreadFuncs@Base 364.12
__glvnd_dbg_printf@Base 361.18
cacheInitializeOnce@Base 361.18
glXChooseFBConfig@Base 361.18
diff --git a/debian/libnvidia-eglcore.symbols.in b/debian/libnvidia-eglcore.symbols.in
index 89fe6c1..2ff5a21 100644
--- a/debian/libnvidia-eglcore.symbols.in
+++ b/debian/libnvidia-eglcore.symbols.in
@@ -469,6 +469,7 @@ libnvidia-eglcore.so.#VERSION# #PACKAGE# #MINVER#
_glDrawTransformFeedbackNV@Base 346
_glDrawTransformFeedbackStream@Base 346
_glDrawTransformFeedbackStreamInstanced@Base 346
+ _glDrawVkImageNV@Base 364.12
_glEGLImageTargetRenderbufferStorageOES@Base 346
_glEGLImageTargetTexture2DOES@Base 346
_glEdgeFlag@Base 346
@@ -979,6 +980,7 @@ libnvidia-eglcore.so.#VERSION# #PACKAGE# #MINVER#
_glGetVideoivNV@Base 346
_glGetVideoui64vNV@Base 346
_glGetVideouivNV@Base 346
+ _glGetVkProcAddrNV@Base 364.12
_glGetnColorTable@Base 346
_glGetnColorTableARB@Base 346
_glGetnCompressedTexImage@Base 346
@@ -1134,6 +1136,7 @@ libnvidia-eglcore.so.#VERSION# #PACKAGE# #MINVER#
_glLoadTransposeMatrixf@Base 346
_glLoadTransposeMatrixfARB@Base 346
_glLockArraysEXT@Base 346
+ _glLogTokenFlushNVX@Base 364.12
_glLogicOp@Base 346
_glMakeBufferNonResidentNV@Base 346
_glMakeBufferResidentNV@Base 346
@@ -1823,6 +1826,8 @@ libnvidia-eglcore.so.#VERSION# #PACKAGE# #MINVER#
_glShaderSource@Base 346
_glShaderSourceARB@Base 346
_glShaderStorageBlockBinding@Base 346
+ _glSignalVkFenceNV@Base 364.12
+ _glSignalVkSemaphoreNV@Base 364.12
_glStateCaptureNV@Base 346
_glStencilFillPathInstancedNV@Base 346
_glStencilFillPathNV@Base 346
@@ -2456,6 +2461,7 @@ libnvidia-eglcore.so.#VERSION# #PACKAGE# #MINVER#
_glViewportSwizzleNV@Base 346
_glWaitSync@Base 346
_glWaitSyncValueuiNVX@Base 346
+ _glWaitVkSemaphoreNV@Base 364.12
_glWeightPathsNV@Base 346
_glWeightPointerOES@Base 349
_glWindowBackBufferHintAutodesk@Base 346
diff --git a/debian/libnvidia-fatbinaryloader.symbols.in b/debian/libnvidia-fatbinaryloader.symbols.in
index fcb0a18..44b7ece 100644
--- a/debian/libnvidia-fatbinaryloader.symbols.in
+++ b/debian/libnvidia-fatbinaryloader.symbols.in
@@ -21,6 +21,7 @@ libnvidia-fatbinaryloader.so.#VERSION# #PACKAGE# #MINVER#
elf32_named_section_header@Base 361.18
elf32_next_section_in_segment@Base 361.18
elf32_program_header@Base 361.18
+ elf32_section_contents@Base 364.12
elf32_section_header@Base 361.18
elf32_section_is_in_segment@Base 361.18
elf32_section_name@Base 361.18
@@ -76,6 +77,9 @@ libnvidia-fatbinaryloader.so.#VERSION# #PACKAGE# #MINVER#
gpuGetFeaturesProfile@Base 361.18
gpuInfoRunsOn@Base 361.18
gpuSupportedArchitectures@Base 361.18
+ gpucompRestoreLogLine@Base 364.12
+ gpucompSetLogLine@Base 364.12
+ gpucompSetTerminators@Base 364.12
gpuinfMsgIgnoredOption@Base 361.18
gpuinfMsgInvalidOptionValue@Base 361.18
gpuinfMsgNoRealProfile@Base 361.18
@@ -114,20 +118,26 @@ libnvidia-fatbinaryloader.so.#VERSION# #PACKAGE# #MINVER#
memspFree@Base 361.18
memspMalloc@Base 361.18
memspPrint@Base 361.18
- msgAddErrorClassPrefixes@Base 361.18
+#MISSING: 364.12# msgAddErrorClassPrefixes@Base 361.18
msgCppUpdateSourceStruct@Base 361.18
msgCreateSourceStructure@Base 361.18
msgDeleteSourceStructure@Base 361.18
- msgDontPrefixErrorLines@Base 361.18
- msgIgnoreWarnings@Base 361.18
+#MISSING: 364.12# msgDontPrefixErrorLines@Base 361.18
+#MISSING: 364.12# msgIgnoreWarnings@Base 361.18
+ msgGetIgnoreWarnings@Base 364.12
+ msgGetToolName@Base 364.12
+ msgGetWarnAsError@Base 364.12
msgPopInclude@Base 361.18
msgPushInclude@Base 361.18
msgReport@Base 361.18
msgReportWithPos@Base 361.18
- msgToolName@Base 361.18
- msgWarnAsError@Base 361.18
- nvTrace@Base 361.18
- nvTraceLevel@Base 361.18
+#MISSING: 364.12# msgToolName@Base 361.18
+#MISSING: 364.12# msgWarnAsError@Base 361.18
+#MISSING: 364.12# nvTrace@Base 361.18
+#MISSING: 364.12# nvTraceLevel@Base 361.18
+ msgSetIgnoreWarnings@Base 364.12
+ msgSetToolName@Base 364.12
+ msgSetWarnAsError@Base 364.12
procGetTempName@Base 361.18
procSetTrapOnError@Base 361.18
rangemapApply@Base 361.18
@@ -179,6 +189,7 @@ libnvidia-fatbinaryloader.so.#VERSION# #PACKAGE# #MINVER#
stdSwapMemSpace@Base 361.18
stdTimerInit@Base 361.18
stdTokenizeString@Base 361.18
+ stdVSYSLOG@Base 364.12
stdpInt64Equal@Base 361.18
stdpInt64Hash@Base 361.18
stringAddBuf@Base 361.18
@@ -191,7 +202,7 @@ libnvidia-fatbinaryloader.so.#VERSION# #PACKAGE# #MINVER#
stringSize@Base 361.18
stringStripToBuf@Base 361.18
stringToBuf@Base 361.18
- tprintf@Base 361.18
+#MISSING: 364.12# tprintf@Base 361.18
vectorAddTo@Base 361.18
vectorCreate@Base 361.18
vectorDelete@Base 361.18
diff --git a/debian/libnvidia-ml1.symbols b/debian/libnvidia-ml1.symbols
index 3040744..5f650b8 100644
--- a/debian/libnvidia-ml1.symbols
+++ b/debian/libnvidia-ml1.symbols
@@ -2,7 +2,7 @@ libnvidia-ml.so.1 #PACKAGE# #MINVER#
nvmlDeviceClearAccountingPids@Base 319
nvmlDeviceClearCpuAffinity@Base 340
nvmlDeviceClearEccErrorCounts@Base 270
- nvmlDeviceDiscoverGpus@Base 361.28
+#MISSING: 364.12# nvmlDeviceDiscoverGpus@Base 361.28
nvmlDeviceFreezeNvLinkUtilizationCounter@Base 361.18
nvmlDeviceGetAPIRestriction@Base 319.60
nvmlDeviceGetAccountingBufferSize@Base 319
@@ -90,12 +90,12 @@ libnvidia-ml.so.1 #PACKAGE# #MINVER#
nvmlDeviceGetUtilizationRates@Base 270
nvmlDeviceGetVbiosVersion@Base 285
nvmlDeviceGetViolationStatus@Base 340
- nvmlDeviceGetVirtualizationMode@Base 361.28
- nvmlDeviceModifyDrainState@Base 361.28
+#MISSING: 364.12# nvmlDeviceGetVirtualizationMode@Base 361.28
+#MISSING: 364.12# nvmlDeviceModifyDrainState@Base 361.28
nvmlDeviceOnSameBoard@Base 295
- nvmlDeviceQueryDrainState@Base 361.28
+#MISSING: 364.12# nvmlDeviceQueryDrainState@Base 361.28
nvmlDeviceRegisterEvents@Base 285
- nvmlDeviceRemoveGpu@Base 361.28
+#MISSING: 364.12# nvmlDeviceRemoveGpu@Base 361.28
nvmlDeviceResetApplicationsClocks@Base 304.30
nvmlDeviceResetNvLinkUtilizationCounter@Base 361.18
nvmlDeviceSetAPIRestriction@Base 319.60
@@ -111,7 +111,7 @@ libnvidia-ml.so.1 #PACKAGE# #MINVER#
nvmlDeviceSetNvLinkUtilizationControl@Base 361.18
nvmlDeviceSetPersistenceMode@Base 270
nvmlDeviceSetPowerManagementLimit@Base 304
- nvmlDeviceSetVirtualizationMode@Base 361.28
+#MISSING: 364.12# nvmlDeviceSetVirtualizationMode@Base 361.28
nvmlDeviceValidateInforom@Base 304
nvmlErrorString@Base 280
#MISSING: 295# nvmlEventDataGetEccErrorCount@Base 285
diff --git a/debian/module/debian/rules.in b/debian/module/debian/rules.in
index 4dce2e3..c41ccf1 100755
--- a/debian/module/debian/rules.in
+++ b/debian/module/debian/rules.in
@@ -47,6 +47,7 @@ build-stamp: configure-stamp
$(MAKE) KERNEL_UNAME=$(KVERS) modules
test "#MODULE#" = "nvidia" || mv nvidia.ko #MODULE#.ko
test "#MODULE#" = "nvidia" || mv nvidia-modeset.ko #MODULE#-modeset.ko
+ test "#MODULE#" = "nvidia" || mv nvidia-drm.ko #MODULE#-drm.ko
#HAS_UVM# test "#MODULE#" = "nvidia" || mv nvidia-uvm.ko #MODULE#-uvm.ko
touch $@
diff --git a/debian/nv-readme.ids b/debian/nv-readme.ids
index 7e62ade..c0370d7 100644
--- a/debian/nv-readme.ids
+++ b/debian/nv-readme.ids
@@ -250,6 +250,8 @@
10DE1349
10DE134B
10DE134D
+10DE134E
+10DE134F
10DE137A
10DE137D
10DE1380
@@ -295,6 +297,7 @@
10DE1619
10DE161A
10DE1667
+10DE179C
10DE17C2
10DE17C8
10DE17F0
diff --git a/debian/nvidia-kernel-dkms.dkms.in b/debian/nvidia-kernel-dkms.dkms.in
index 01a1cec..b1d8ea1 100644
--- a/debian/nvidia-kernel-dkms.dkms.in
+++ b/debian/nvidia-kernel-dkms.dkms.in
@@ -17,6 +17,10 @@ BUILT_MODULE_NAME[1]="nvidia-modeset"
DEST_MODULE_NAME[1]="$PACKAGE_NAME-modeset"
DEST_MODULE_LOCATION[1]="/updates/dkms"
-#HAS_UVM#BUILT_MODULE_NAME[2]="nvidia-uvm"
-#HAS_UVM#DEST_MODULE_NAME[2]="$PACKAGE_NAME-uvm"
-#HAS_UVM#DEST_MODULE_LOCATION[2]="/updates/dkms"
+BUILT_MODULE_NAME[2]="nvidia-drm"
+DEST_MODULE_NAME[2]="$PACKAGE_NAME-drm"
+DEST_MODULE_LOCATION[2]="/updates/dkms"
+
+#HAS_UVM#BUILT_MODULE_NAME[3]="nvidia-uvm"
+#HAS_UVM#DEST_MODULE_NAME[3]="$PACKAGE_NAME-uvm"
+#HAS_UVM#DEST_MODULE_LOCATION[3]="/updates/dkms"
diff --git a/debian/nvidia-modprobe.conf.in b/debian/nvidia-modprobe.conf.in
index 4fd7d7b..f274abb 100644
--- a/debian/nvidia-modprobe.conf.in
+++ b/debian/nvidia-modprobe.conf.in
@@ -2,6 +2,8 @@ install nvidia modprobe -i #MODULE# $CMDLINE_OPTS
install nvidia-modeset modprobe nvidia ; modprobe -i #MODULE#-modeset $CMDLINE_OPTS
+install nvidia-drm modprobe nvidia ; modprobe -i #MODULE#-drm $CMDLINE_OPTS
+
#HAS_UVM#install nvidia-uvm modprobe nvidia ; modprobe -i #MODULE#-uvm $CMDLINE_OPTS
remove nvidia modprobe -r -i #UNLOAD_MODULES#
diff --git a/debian/patches/man-fixes-nvidia-smi.patch b/debian/patches/man-fixes-nvidia-smi.patch
deleted file mode 100644
index 462f83b..0000000
--- a/debian/patches/man-fixes-nvidia-smi.patch
+++ /dev/null
@@ -1,342 +0,0 @@
-Author: Andreas Beckmann <anbe@debian.org>
-Description: fix hyphenation and spelling in nvidia-smi.1
-
---- a/NVIDIA-Linux/nvidia-smi.1
-+++ b/NVIDIA-Linux/nvidia-smi.1
-@@ -8,7 +8,7 @@ nvidia\-smi \- NVIDIA System Management
-
- .SH "SYNOPSIS"
- .PP
--nvidia-smi [OPTION1 [ARG1]] [OPTION2 [ARG2]] ...
-+nvidia\-smi [OPTION1 [ARG1]] [OPTION2 [ARG2]] ...
-
-
- .PP
-@@ -85,7 +85,7 @@ Display only selected information: MEMOR
- Flags can be combined with comma e.g.
- "MEMORY,ECC".
- Sampling data with max, min and avg is also returned for POWER, UTILIZATION and CLOCK display types.
--Doesn\(aqt work with -u/--unit or -x/--xml-format flags.
-+Doesn\(aqt work with \-u/\-\-unit or \-x/\-\-xml-format flags.
-
-
- .SS "\-l SEC, \-\-loop=SEC"
-@@ -224,7 +224,7 @@ Can be used to clear GPU HW and SW state
- Typically useful if a double bit ECC error has occurred.
- Requires \fI\-i\fR switch to target specific device.
- Requires root.
--There can\(aqt be any applications using this particular device (e.g. CUDA application, graphics application like X server, monitoring application like other instance of nvidia-smi).
-+There can\(aqt be any applications using this particular device (e.g. CUDA application, graphics application like X server, monitoring application like other instance of nvidia\-smi).
- There also can\(aqt be any compute applications running on any other GPU in the system.
- Only on supported devices from Fermi and Kepler family running on Linux.
-
-@@ -259,7 +259,7 @@ Specifies maximum power limit in watts.
- Accepts integer and floating point numbers.
- Only on supported devices from Kepler family.
- Requires administrator privileges.
--Value needs to be between Min and Max Power Limit as reported by nvidia-smi.
-+Value needs to be between Min and Max Power Limit as reported by nvidia\-smi.
-
- .SS "\-am, \-\-accounting\-mode=MODE"
- Enables or disables GPU Accounting.
-@@ -334,10 +334,10 @@ The specified file will be overwritten.
- Display Unit DTD instead of device DTD.
-
- .SS "stats"
--Display statistics information about the GPU. Use "nvidia-smi stats -h" for more information. Linux only.
-+Display statistics information about the GPU. Use "nvidia-smi stats \-h" for more information. Linux only.
-
- .SS "topo"
--Display topology information about the system. Use "nvidia-smi topo -h" for more information. Linux only.
-+Display topology information about the system. Use "nvidia-smi topo \-h" for more information. Linux only.
- Shows all GPUs NVML is able to detect but CPU affinity information will only be shown for GPUs with Kepler or
- newer architectures.
- Note: GPU enumeration is the same as NVML.
-@@ -416,7 +416,7 @@ Display can be active even when no monit
- .SS "Persistence Mode"
- A flag that indicates whether persistence mode is enabled for the GPU.
- Value is either "Enabled" or "Disabled".
--When persistence mode is enabled the NVIDIA driver remains loaded even when no active clients, such as X11 or nvidia-smi, exist.
-+When persistence mode is enabled the NVIDIA driver remains loaded even when no active clients, such as X11 or nvidia\-smi, exist.
- This minimizes the driver load latency associated with running dependent apps, such as CUDA programs.
- For all CUDA-capable products.
- Linux only.
-@@ -426,7 +426,7 @@ A flag that indicates whether accounting
- Value is either \"Enabled\" or \"Disabled\"
- When accounting is enabled statistics are calculated for each compute process running on the GPU.
- Statistics can be queried during the lifetime or after termination of the process. The execution time of process is reported as 0 while the process is in running state and updated to actual execution time after the process has terminated.
--See --help-query-accounted-apps for more info.
-+See \-\-help\-query\-accounted\-apps for more info.
-
- .SS "Accounting Mode Buffer Size"
- Returns the size of the circular buffer that holds list of processes that can be queried for accounting stats.
-@@ -500,7 +500,7 @@ Version for the power management data.
-
-
- .SS "GPU Operation Mode"
--GOM allows to reduce power usage and optimize GPU throughput by disabling GPU features.
-+GOM allows one to reduce power usage and optimize GPU throughput by disabling GPU features.
-
- Each GOM is designed to meet specific user needs.
-
-@@ -829,7 +829,7 @@ Requires Inforom PWR object version 3.0
-
- .TP 15
- .B "Power Limit"
--The software power limit, in watts. Set by software such as nvidia-smi.
-+The software power limit, in watts. Set by software such as nvidia\-smi.
- Only available if power management is supported.
- Requires Inforom PWR object version 3.0 or higher or Kepler device.
- On Kepler devices Power Limit can be adjusted using \-pl,\-\-power\-limit= switches.
-@@ -1299,7 +1299,7 @@ Legend:
- .PP
- .SH "UNIT ATTRIBUTES"
- .PP
--The following list describes all possible data returned by the \fB\-q -u\fR unit query option.
-+The following list describes all possible data returned by the \fB\-q \-u\fR unit query option.
- Unless otherwise noted all numerical results are base 10 and unitless.
-
- .SS "Timestamp"
-@@ -1411,7 +1411,7 @@ For all S-class products.
- .PP
- .SH "NOTES"
- .PP
--On Linux, NVIDIA device files may be modified by nvidia-smi if run as root.
-+On Linux, NVIDIA device files may be modified by nvidia\-smi if run as root.
- Please see the relevant section of the driver README file.
-
- .PP
-@@ -1428,8 +1428,8 @@ Query UUID and persistence mode of all G
- .SS "nvidia\-smi -q -d ECC,POWER -i 0 -l 10 -f out.log"
- Query ECC errors and power consumption for GPU 0 at a frequency of 10 seconds, indefinitely, and record to the file out.log.
- .SS
--"nvidia\-smi -c 2 -i GPU\-b2f5f1b745e3d23d\-65a3a26d-097db358\-7303e0b6\-149642ff3d219f8587cde3a8"
--Set the compute mode to "PROHIBITED" for GPU with UUID "GPU\-b2f5f1b745e3d23d\-65a3a26d-097db358\-7303e0b6\-149642ff3d219f8587cde3a8".
-+"nvidia\-smi -c 1 -i GPU-b2f5f1b745e3d23d-65a3a26d-097db358-7303e0b6-149642ff3d219f8587cde3a8"
-+Set the compute mode to "PROHIBITED" for GPU with UUID "GPU-b2f5f1b745e3d23d-65a3a26d-097db358-7303e0b6-149642ff3d219f8587cde3a8".
- .SS "nvidia\-smi -q -u -x --dtd"
- Query attributes for all Units once, and display in XML format with embedded DTD to stdout.
- .SS "nvidia\-smi --dtd -u -f nvsmi_unit.dtd"
-@@ -1516,13 +1516,13 @@ Set applications clocks to 2500 MHz memo
- * Added support for K40d and K80.
- .PP 1
-
-- * Added reporting of max, min and avg for samples (power, utilization, clock changes). Example commandline: nvidia-smi -q -d power,utilization, clock
-+ * Added reporting of max, min and avg for samples (power, utilization, clock changes). Example commandline: nvidia-smi \-q \-d power,utilization, clock
- .PP 1
-
- * Added nvidia-smi stats interface to collect statistics such as power, utilization, clock changes, xid events and perf capping counters with a notion of time attached to each sample. Example commandline: nvidia-smi stats
- .PP 1
-
-- * Added support for collectively reporting metrics on more than one GPU. Used with comma separated with "-i" option. Example: nvidia-smi -i 0,1,2
-+ * Added support for collectively reporting metrics on more than one GPU. Used with comma separated with "\-i" option. Example: nvidia-smi \-i 0,1,2
- .PP 1
-
- * Added support for displaying the GPU encoder and decoder utilizations
-@@ -1555,19 +1555,19 @@ Set applications clocks to 2500 MHz memo
-
- .PP 1
-
-- === Changes between nvidia-smi v4.319 Production and v4.319 Update ===
-+ === Changes between nvidia\-smi v4.319 Production and v4.319 Update ===
- .PP 1
-
-
- .PP 1
-
-- * Added new --applications-clocks-permission switch to change permission requirements for setting and resetting applications clocks.
-+ * Added new \-\-applications\-clocks\-permission switch to change permission requirements for setting and resetting applications clocks.
- .PP 1
-
-
- .PP 1
-
-- === Changes between nvidia-smi v4.304 and v4.319 Production ===
-+ === Changes between nvidia\-smi v4.304 and v4.319 Production ===
- .PP 1
-
-
-@@ -1576,13 +1576,13 @@ Set applications clocks to 2500 MHz memo
- * Added reporting of Display Active state and updated documentation to clarify how it differs from Display Mode and Display Active state
- .PP 1
-
-- * For consistency on multi-GPU boards nvidia-smi -L always displays UUID instead of serial number
-+ * For consistency on multi-GPU boards nvidia\-smi \-L always displays UUID instead of serial number
- .PP 1
-
-- * Added machine readable selective reporting. See SELECTIVE QUERY OPTIONS section of nvidia-smi -h
-+ * Added machine readable selective reporting. See SELECTIVE QUERY OPTIONS section of nvidia\-smi \-h
- .PP 1
-
-- * Added queries for page retirement information. See --help-query-retired-pages and -d PAGE_RETIREMENT
-+ * Added queries for page retirement information. See \-\-help\-query\-retired\-pages and \-d PAGE_RETIREMENT
- .PP 1
-
- * Renamed Clock Throttle Reason User Defined Clocks to Applications Clocks Setting
-@@ -1591,16 +1591,16 @@ Set applications clocks to 2500 MHz memo
- * On error, return codes have distinct non zero values for each error class. See RETURN VALUE section
- .PP 1
-
-- * nvidia-smi -i can now query information from healthy GPU when there is a problem with other GPU in the system
-+ * nvidia\-smi \-i can now query information from healthy GPU when there is a problem with other GPU in the system
- .PP 1
-
- * All messages that point to a problem with a GPU print pci bus id of a GPU at fault
- .PP 1
-
-- * New flag --loop-ms for querying information at higher rates than once a second (can have negative impact on system performance)
-+ * New flag \-\-loop\-ms for querying information at higher rates than once a second (can have negative impact on system performance)
- .PP 1
-
-- * Added queries for accounting procsses. See --help-query-accounted-apps and -d ACCOUNTING
-+ * Added queries for accounting procsses. See \-\-help\-query\-accounted\-apps and \-d ACCOUNTING
- .PP 1
-
- * Added the enforced power limit to the query output
-@@ -1609,7 +1609,7 @@ Set applications clocks to 2500 MHz memo
-
- .PP 1
-
-- === Changes between nvidia-smi v4.304 RC and v4.304 Production ===
-+ === Changes between nvidia\-smi v4.304 RC and v4.304 Production ===
- .PP 1
-
-
-@@ -1618,13 +1618,13 @@ Set applications clocks to 2500 MHz memo
- * Added reporting of GPU Operation Mode (GOM)
- .PP 1
-
-- * Added new --gom switch to set GPU Operation Mode
-+ * Added new \-\-gom switch to set GPU Operation Mode
- .PP 1
-
-
- .PP 1
-
-- === Changes between nvidia-smi v3.295 and v4.304 RC ===
-+ === Changes between nvidia\-smi v3.295 and v4.304 RC ===
- .PP 1
-
-
-@@ -1639,10 +1639,10 @@ Set applications clocks to 2500 MHz memo
- * Better error handling when NVML shared library is not present in the system
- .PP 1
-
-- * Added new --applications-clocks switch
-+ * Added new \-\-applications-clocks switch
- .PP 1
-
-- * Added new filter to --display switch. Run with -d SUPPORTED_CLOCKS to list possible clocks on a GPU
-+ * Added new filter to \-\-display switch. Run with \-d SUPPORTED_CLOCKS to list possible clocks on a GPU
- .PP 1
-
- * When reporting free memory, calculate it from the rounded total and used memory so that values add up
-@@ -1651,7 +1651,7 @@ Set applications clocks to 2500 MHz memo
- * Added reporting of power management limit constraints and default limit
- .PP 1
-
-- * Added new --power-limit switch
-+ * Added new \-\-power\-limit switch
- .PP 1
-
- * Added reporting of texture memory ECC errors
-@@ -1663,7 +1663,7 @@ Set applications clocks to 2500 MHz memo
-
- .PP 1
-
-- === Changes between nvidia-smi v2.285 and v3.295 ===
-+ === Changes between nvidia\-smi v2.285 and v3.295 ===
- .PP 1
-
-
-@@ -1675,7 +1675,7 @@ Set applications clocks to 2500 MHz memo
- * When running commands on multiple GPUs at once N/A errors are treated as warnings.
- .PP 1
-
-- * nvidia-smi -i now also supports UUID
-+ * nvidia\-smi \-i now also supports UUID
- .PP 1
-
- * UUID format changed to match UUID standard and will report a different value.
-@@ -1684,7 +1684,7 @@ Set applications clocks to 2500 MHz memo
-
- .PP 1
-
-- === Changes between nvidia-smi v2.0 and v2.285 ===
-+ === Changes between nvidia\-smi v2.0 and v2.285 ===
- .PP 1
-
-
-@@ -1693,7 +1693,7 @@ Set applications clocks to 2500 MHz memo
- * Report VBIOS version.
- .PP 1
-
-- * Added -d/--display flag to filter parts of data
-+ * Added \-d/\-\-display flag to filter parts of data
- .PP 1
-
- * Added reporting of PCI Sub System ID
-@@ -1702,13 +1702,13 @@ Set applications clocks to 2500 MHz memo
- * Updated docs to indicate we support M2075 and C2075
- .PP 1
-
-- * Report HIC HWBC firmware version with -u switch
-+ * Report HIC HWBC firmware version with \-u switch
- .PP 1
-
- * Report max(P0) clocks next to current clocks
- .PP 1
-
-- * Added --dtd flag to print the device or unit DTD
-+ * Added \-\-dtd flag to print the device or unit DTD
- .PP 1
-
- * Added message when NVIDIA driver is not running
-@@ -1720,19 +1720,19 @@ Set applications clocks to 2500 MHz memo
- * Getting pending driver model works on non-admin
- .PP 1
-
-- * Added support for running nvidia-smi on Windows Guest accounts
-+ * Added support for running nvidia\-smi on Windows Guest accounts
- .PP 1
-
-- * Running nvidia-smi without -q command will output non verbose version of -q instead of help
-+ * Running nvidia\-smi without \-q command will output non verbose version of \-q instead of help
- .PP 1
-
-- * Fixed parsing of -l/--loop= argument (default value, 0, to big value)
-+ * Fixed parsing of \-l/\-\-loop= argument (default value, 0, to big value)
- .PP 1
-
- * Changed format of pciBusId (to XXXX:XX:XX.X - this change was visible in 280)
- .PP 1
-
-- * Parsing of busId for -i command is less restrictive. You can pass 0:2:0.0 or 0000:02:00 and other variations
-+ * Parsing of busId for \-i command is less restrictive. You can pass 0:2:0.0 or 0000:02:00 and other variations
- .PP 1
-
- * Changed versioning scheme to also include "driver version"
-@@ -1741,10 +1741,10 @@ Set applications clocks to 2500 MHz memo
- * XML format always conforms to DTD, even when error conditions occur
- .PP 1
-
-- * Added support for single and double bit ECC events and XID errors (enabled by default with -l flag disabled for -x flag)
-+ * Added support for single and double bit ECC events and XID errors (enabled by default with \-l flag disabled for \-x flag)
- .PP 1
-
-- * Added device reset -r --gpu-reset flags
-+ * Added device reset \-r \-\-gpu\-reset flags
- .PP 1
-
- * Added listing of compute running processes
---- a/NVIDIA-Linux/nvidia-cuda-mps-control.1
-+++ b/NVIDIA-Linux/nvidia-cuda-mps-control.1
-@@ -25,7 +25,7 @@ existing server has terminated, the cont
- id same as that of the queued client process.
- .PP
- The MPS server creates the shared GPU context, manages its clients, and issues work to
--the GPU on behalf of its clients. An MPS server can support upto 16 client CUDA contexts
-+the GPU on behalf of its clients. An MPS server can support up to 16 client CUDA contexts
- at a time. MPS is transparent to CUDA programs, with all the complexity of communication
- between the client process, the server and the control daemon hidden within the driver binaries.
- .PP
diff --git a/debian/patches/series-postunpack b/debian/patches/series-postunpack
deleted file mode 100644
index 7d4c5a0..0000000
--- a/debian/patches/series-postunpack
+++ /dev/null
@@ -1 +0,0 @@
-man-fixes-nvidia-smi.patch
diff --git a/debian/rules b/debian/rules
index ec075e3..c3d87b2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -36,6 +36,7 @@ watch_pattern = $(or $(WATCH_PATTERN),$(if $(WATCH_VERSION),$(WATCH_VERSION)(?
# this needs the internal names (i.e. upstream's names, not our renamed files)
unload_modules =
unload_modules += nvidia-modeset
+unload_modules += nvidia-drm
unload_modules += $(if $(has_uvm),nvidia-uvm)
unload_modules += nvidia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment