Your message dated Tue, 9 Nov 2021 11:03:04 +0200
with message-id <[email protected]>
and subject line 995133: done
has caused the Debian Bug report #995133,
regarding python3-gpumodules: Error parsing amdfeaturemask
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
995133: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=995133
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-gpumodules
Version: 3.5.0-1
Severity: normal
Tags: upstream
X-Debbugs-Cc: [email protected]
Dear Maintainer,
gpu-pac currently fails on my system because of a hex string parsing issue in
python3-gpumodules:
Traceback (most recent call last):
File "/usr/bin/gpu-pac", line 1323, in <module>
main()
File "/usr/bin/gpu-pac", line 1274, in main
gpu_list.set_gpu_list()
File "/usr/lib/python3/dist-packages/GPUmodules/GPUmodule.py", line 1666, in
set_gpu_list
self.amd_featuremask = env.GUT_CONST.read_amdfeaturemask()
File "/usr/lib/python3/dist-packages/GPUmodules/env.py", line 205, in
read_amdfeaturemask
self.amdfeaturemask = int(fm_file.readline())
ValueError: invalid literal for int() with base 10: '0xffffbfff\n'
This issue is fixed in gpu-utils 3.6.0. Please push an upgrade.
In the meantime, there is a simple workaround:
In /usr/lib/python3/dist-packages/GPUmodules/env.py, line 205, add ", 0" so
int() will accept hex strings in addition to decimal.
The line should look like this:
self.amdfeaturemask = int(fm_file.readline(), 0)
Thank you very much.
-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.10.0-8-amd64 (SMP w/24 CPU threads)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3-gpumodules depends on:
ii lshw 02.18.85-0.7
ii python3 3.9.2-3
ii python3-cycler 0.10.0-3
ii python3-dateutil 2.8.1-6
ii python3-kiwisolver 1.3.1-1+b1
ii python3-matplotlib 3.3.4-1
ii python3-numpy 1:1.19.5-1
ii python3-pandas 1.1.5+dfsg-2
ii python3-pyparsing 2.4.7-1
ii python3-ruamel.yaml 0.16.12-2
ii python3-ruamel.yaml.clib 0.2.2-1+b2
ii python3-six 1.16.0-2
ii python3-tz 2021.1-1
python3-gpumodules recommends no packages.
Versions of packages python3-gpumodules suggests:
ii ricks-amdgpu-utils 3.5.0-1
--- End Message ---
--- Begin Message ---
Hello,
gpu-utils 3.6.0 are in unstable already. Therefore I close the bug.
Andrius
--- End Message ---