Accepting request 1233722 from utilities

OBS-URL: https://build.opensuse.org/request/show/1233722
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvtop?expand=0&rev=6
This commit is contained in:
2024-12-30 11:52:10 +00:00
committed by Git OBS Bridge
7 changed files with 72 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/Syllo/nvtop.git</param>
<param name="changesrevision">a2faf1fad1e8b420085f6bafd630b236d9fcfe7d</param></service></servicedata>
<param name="changesrevision">19382d93086acf36f32a8d72173fb9968232e3c1</param></service></servicedata>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:759a43550c5b2c3f931dbb2355ec6052c34955255acbff76dd3fa349f5b341ad
size 896524

3
nvtop-3.1.0+89.obscpio Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:895b0a90f9bccf660c665023d4e14b063ec4255d0da9b005151e6dc8c6c28062
size 995340

View File

@@ -0,0 +1,11 @@
diff -Naur a/src/extract_gpuinfo_intel.c b/src/extract_gpuinfo_intel.c
--- a/src/extract_gpuinfo_intel.c 2024-12-13 16:39:32.000000000 -0600
+++ b/src/extract_gpuinfo_intel.c 2024-12-24 19:23:07.361394139 -0600
@@ -87,6 +87,7 @@
case DRIVER_XE:
return parse_drm_fdinfo_intel_xe(info, fdinfo_file, process_info);
}
+ return false;
}
static void add_intel_cards(struct nvtop_device *dev, struct list_head *devices, unsigned *count) {

View File

@@ -1,3 +1,52 @@
-------------------------------------------------------------------
Wed Dec 25 01:10:39 UTC 2024 - malcolmlewis@opensuse.org
- Update to version 3.1.0+89:
* Add missing i915_drm.h structs/definitions.
* Fix AMDGPU free memory calculation.
* Include xe_drm.h until it mades it into libdrm.
* Apply suggestions from code review.
* Display total memory if available.
* Add gtt to memory usage.
* Add i915 compute and fix xe compute + edit readme.
* Add xe encode/decode support.
* Split fdinfo and implement GPU utilisation.
* Split i915 & xe, implement xe ioctls and memory usage.
* Add support for using i915 ioctls & implement memory usage
using this.
* Use bool, not NCURSES bool.
* Display fan RPM when max is not available.
* Avoid deref udev null device on unref.
* v3d: migrate to standardised fdinfo info and add per-process
gpu memory support.
* Calculate power consumption for Xe driver.
* Calculate power consumption based on energy usage.
* Include libdrm for builds with panfrost and panthor support.
* Remove Intel GPU warning.
* i915 has drm-total-local0 (now?) for memory Also fix a logic
error.
* Fix process list randomly hiding in builds.
* Add Intel temp support Currently being worked on in Intel's
kernel branch: https://patchwork.freedesktop.org/series/137874.
* Add Intel fan support Now present in kernel 6.12
https://patchwork.freedesktop.org/patch/610458.
* Update CMakeLists.txt
* Add the necessary source file device_discovery_linux.c for
V3D_SUPPORT in CMakeLists.txt.
* Update README.
* Convert tid to pgid to match the process's pid.
* Fix some typos.
* Add the videocore support documentation.
* Fix strncat warning.
* Print some debug messages.
* Add decode info for h264 decode.
* Move info read functions to utils and add some info from vcio
device.
* Add process gpu usage support for raspberrypi.
* Add basic support for raspberrypi gpu.
- Add nvtop-fix-non-void-function.patch: Fix control reaches end of
non-void function error, (gh#Syllo/nvtop#350).
-------------------------------------------------------------------
Thu Oct 24 00:18:09 UTC 2024 - malcolmlewis@opensuse.org

View File

@@ -1,4 +1,4 @@
name: nvtop
version: 3.1.0+38
mtime: 1725099059
commit: a2faf1fad1e8b420085f6bafd630b236d9fcfe7d
version: 3.1.0+89
mtime: 1734129572
commit: 19382d93086acf36f32a8d72173fb9968232e3c1

View File

@@ -2,7 +2,7 @@
# spec file for package nvtop
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2020-2023 Malcolm J Lewis <malcolmlewis@opensuse.org>
# Copyright (c) 2020-2024 Malcolm J Lewis <malcolmlewis@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,12 +18,14 @@
Name: nvtop
Version: 3.1.0+38
Version: 3.1.0+89
Release: 0
Summary: A (h)top like task monitor for NVIDIA and AMD GPUs
License: GPL-3.0-or-later
URL: https://github.com/Syllo/nvtop
Source0: %{name}-%{version}.tar.xz
#PATCH-FIX-UPSTREAM nvtop-fix-non-void-function.patch (gh#Syllo/nvtop#350) malcolmlewis@opensuse.org -- Fix control reaches end of non-void function error
Patch0: nvtop-fix-non-void-function.patch
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
@@ -42,7 +44,7 @@ It can handle multiple GPUs and print information about them in a htop familiar
way.
%prep
%autosetup
%autosetup -p1
%build
%cmake -DCMAKE_BUILD_TYPE=Release \
@@ -51,7 +53,6 @@ way.
%install
%cmake_install
%suse_update_desktop_file %{name}
%files
%license LICENSE