Package Details: nvitop 1.3.2-1

Git Clone URL: https://aur.archlinux.org/nvitop.git (read-only, click to copy)
Package Base: nvitop
Description: Interactive NVIDIA-GPU process viewer and GPU process management
Upstream URL: https://github.com/XuehaiPan/nvitop
Licenses: GPL3
Submitter: grandchild
Maintainer: fsyy
Last Packager: fsyy
Votes: 1
Popularity: 0.036264
First Submitted: 2021-07-11 11:44 (UTC)
Last Updated: 2024-01-31 10:00 (UTC)

Latest Comments

grandchild commented on 2023-12-18 09:26 (UTC)

I have disowned the package. I cannot bring myself to add a 5GiB dependency to such a small utility, and will probably be using nvtop instead. If someone wants to pick up the maintenance for this package feel free. Otherwise I will file a deletion request in a few months probably.

grandchild commented on 2023-11-27 17:55 (UTC)

@alexz the problem is that this pulls in cuda which is a 5GiB package, for such a small tool, it's just overkill. :/

alexz commented on 2023-10-16 01:00 (UTC) (edited on 2023-10-16 01:00 (UTC) by alexz)

Generated a .patch file using the following command.

$ git diff --patch

Please feel free to update your code using the following .patch:

diff --git a/.SRCINFO b/.SRCINFO
index 4e45128..15cb16d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = nvitop
        pkgdesc = Interactive NVIDIA-GPU process viewer and GPU process management
-       pkgver = 1.3.0
+       pkgver = 1.3.1
        pkgrel = 1
        url = https://github.com/XuehaiPan/nvitop
        arch = any
@@ -12,7 +12,7 @@ pkgbase = nvitop
        depends = python-cachetools
        depends = python-termcolor
        depends = ncurses
-       source = https://github.com/XuehaiPan/nvitop/archive/refs/tags/v1.3.0.tar.gz
-       sha256sums = 2cf49f9a5dcbe11ea838d3320708f5340f15e4449a131635e693cc948f66a9db
+       source = https://github.com/XuehaiPan/nvitop/archive/refs/tags/v1.3.1.tar.gz
+       sha256sums = 5099522f7481a118af64921e778289a96b440bcc08f3f09e54feebe0bc5a5cb1

 pkgname = nvitop
diff --git a/PKGBUILD b/PKGBUILD
index a7f0652..cd0aa4b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,12 +1,12 @@
 # Maintainer: jakob <grandchild@gmx.net>

 pkgname=nvitop
-pkgver=1.3.0
+pkgver=1.3.1
 pkgrel=1
 pkgdesc="Interactive NVIDIA-GPU process viewer and GPU process management"
 arch=(any)
 url="https://github.com/XuehaiPan/nvitop"
-license=('GPL3')
+license=('APL2.0')
 depends=(
     python
     # There are several packages that provide the "pynvml" module:
@@ -18,7 +18,7 @@ depends=(
     # Until this is resolved I'd rather go with the warning than waste that much disk
[alex@azx360 nvitop]$ git diff --patch > x.patch
[alex@azx360 nvitop]$ cat x.patch 
diff --git a/.SRCINFO b/.SRCINFO
index 4e45128..15cb16d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = nvitop
        pkgdesc = Interactive NVIDIA-GPU process viewer and GPU process management
-       pkgver = 1.3.0
+       pkgver = 1.3.1
        pkgrel = 1
        url = https://github.com/XuehaiPan/nvitop
        arch = any
@@ -12,7 +12,7 @@ pkgbase = nvitop
        depends = python-cachetools
        depends = python-termcolor
        depends = ncurses
-       source = https://github.com/XuehaiPan/nvitop/archive/refs/tags/v1.3.0.tar.gz
-       sha256sums = 2cf49f9a5dcbe11ea838d3320708f5340f15e4449a131635e693cc948f66a9db
+       source = https://github.com/XuehaiPan/nvitop/archive/refs/tags/v1.3.1.tar.gz
+       sha256sums = 5099522f7481a118af64921e778289a96b440bcc08f3f09e54feebe0bc5a5cb1

 pkgname = nvitop
diff --git a/PKGBUILD b/PKGBUILD
index a7f0652..cd0aa4b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,12 +1,12 @@
 # Maintainer: jakob <grandchild@gmx.net>

 pkgname=nvitop
-pkgver=1.3.0
+pkgver=1.3.1
 pkgrel=1
 pkgdesc="Interactive NVIDIA-GPU process viewer and GPU process management"
 arch=(any)
 url="https://github.com/XuehaiPan/nvitop"
-license=('GPL3')
+license=('APL2.0')
 depends=(
     python
     # There are several packages that provide the "pynvml" module:
@@ -18,7 +18,7 @@ depends=(
     # Until this is resolved I'd rather go with the warning than waste that much disk
     # space, because nvitop seems to work just the same (for me) with python-pynvml.
     # Feedback welcome!
-    python-pynvml
+    python-nvidia-ml-py
     python-psutil
     python-cachetools
     python-termcolor
@@ -26,7 +26,7 @@ depends=(
 )
 makedepends=('python-setuptools')
 source=("https://github.com/XuehaiPan/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
-sha256sums=('2cf49f9a5dcbe11ea838d3320708f5340f15e4449a131635e693cc948f66a9db')
+sha256sums=('5099522f7481a118af64921e778289a96b440bcc08f3f09e54feebe0bc5a5cb1')

 package() {
     cd "$pkgname-$pkgver"

To update the code, save the content from above into a file like: x.patch.

Apply the patch using:

git --am --keep-cr < x.patch

kemelzaidan commented on 2023-09-14 14:27 (UTC)

Receiving this error messages when running the application:

Your installed package `nvidia-ml-py` is corrupted. Skip patch functions `nvmlDeviceGet{Compute,Graphics,MPSCompute}RunningProcesses`. You may get incorrect or incomplete results. Please consider reinstall package `nvidia-ml-py` via `pip3 install --force-reinstall nvidia-ml-py nvitop`.
Your installed package `nvidia-ml-py` is corrupted. Skip patch functions `nvmlDeviceGetMemoryInfo`. You may get incorrect or incomplete results. Please consider reinstall package `nvidia-ml-py` via `pip3 install --force-reinstall nvidia-ml-py nvitop`.

Tio commented on 2021-12-06 21:37 (UTC)

Seems to work now. Thank you @grandchild

grandchild commented on 2021-12-01 09:49 (UTC)

@Tio To test the issue I just re-built myself and cannot confirm the checksum mismatch. Are you sure this is not a local network issue for you? Try and clean-build the package.

Tio commented on 2021-12-01 09:12 (UTC)

I get this error while updating it:

Building nvitop...
==> Making package: nvitop 0.5.1.4-2 (mié 01 dic 2021 10:11:44)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found v0.5.1.4.tar.gz
==> Validating source files with sha256sums...
    v0.5.1.4.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
Failed to build nvitop