Package: ricks-amdgpu-utils Version: 3.5.0-1 Severity: normal X-Debbugs-Cc: tmo...@gmx.com
Plotting requires the python3-cairocffi package; without it installed, gpu-mon fails ungracefully with something like: ***** Traceback (most recent call last): File "/usr/lib/python3/dist-packages/matplotlib/backends/backend_cairo.py", line 15, in <module> import cairo ModuleNotFoundError: No module named 'cairo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/matplotlib/backends/backend_cairo.py", line 21, in <module> import cairocffi as cairo ModuleNotFoundError: No module named 'cairocffi' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/gpu-plot", line 66, in <module> from matplotlib.backends.backend_gtk3cairo import FigureCanvasGTK3Cairo as FigureCanvas File "/usr/lib/python3/dist-packages/matplotlib/backends/backend_gtk3cairo.py", line 6, in <module> from . import backend_cairo, backend_gtk3 File "/usr/lib/python3/dist-packages/matplotlib/backends/backend_cairo.py", line 23, in <module> raise ImportError( ImportError: cairo backend requires that pycairo>=1.11.0 or cairocffiis installed gpu-plot has closed Quitting... ***** It also requires the package python3-gi-cairo to work properly; without it, the plotting screen opens but the plotting doesn't work, with many copies of: TypeError: Couldn't find foreign struct converter for 'cairo.Context' being printed to the console. I think that in addition, python3-gi is necessary for any GUI functionality, and gnuplot is necessary for plotting. These various dependencies should either be specified as either recommends or at least suggests, and / or documented in the documentation. My personal opinion is that both should be done. ear Maintainer, -- System Information: Debian Release: bullseye/sid APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.9.0-1-amd64 (SMP w/8 CPU threads) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages ricks-amdgpu-utils depends on: ii python3 3.8.6-1 ii python3-gpumodules 3.5.0-1 ricks-amdgpu-utils recommends no packages. ricks-amdgpu-utils suggests no packages. -- no debconf information