Public bug reported:
[ Impact ]
* rocminfo 7.2.3 carries one upstream fix: an early-exit check in WSL
environments when `hsa_init()` fails due to no supported GPU being
present. Without this fix, `rocm_agent_enumerator` would silently keep
retrying `rocminfo` for up to one minute before giving up, causing
unnecessary startup delays for any caller (e.g. ROCm runtime detection
scripts) on Windows Subsystem for Linux systems without a supported GPU.
The fix adds a five-line guard that prints a clear error message and
returns immediately when in WSL and `hsa_init` returns a non-success
status.
* Packaging changes in this upload (no user-visible behaviour change):
- d/watch, d/copyright: track rocminfo from the ROCm/rocm-systems
monorepo release assets instead of the individual upstream repository.
- d/copyright: add dedicated Expat stanza for rocm_agent_enumerator
(SPDX: MIT), which has a distinct licence from the main Illinois-NCSA
body. Bump upstream copyright year range to 2014-2025.
[ Test Plan ]
1. Build:
- sbuild or dpkg-buildpackage succeeds.
- dpkg --compare-versions 7.2.3-0ubuntu1 gt 7.1.1-0ubuntu1 confirms
the new version is greater.
- No debian/*.symbols file exists for this package (binaries only,
no shared library); dpkg-gensymbols check is not applicable.
2. Installability:
- apt install rocminfo succeeds.
- Confirm reverse dependencies remain installable without rebuild.
3. Autopkgtest:
- Run autopkgtest suite (rocminfo, enumerator).
- All tests pass. Output:
autopkgtest [13:47:48]: test rocminfo: [-----------------------
Running rocminfo and expecting GPU information
autopkgtest [13:47:48]: test rocminfo: -----------------------]
autopkgtest [13:47:49]: test rocminfo: - - - - - - - - - - results - - -
- - - - - - -
rocminfo PASS (superficial)
autopkgtest [13:47:50]: test enumerator: preparing testbed
autopkgtest [13:47:51]: test enumerator: [-----------------------
autopkgtest [13:47:52]: test enumerator: -----------------------]
autopkgtest [13:47:52]: test enumerator: - - - - - - - - - - results - -
- - - - - - - -
enumerator PASS (superficial)
autopkgtest [13:47:53]: @@@@@@@@@@@@@@@@@@@@ summary
rocminfo PASS (superficial)
enumerator PASS (superficial)
2026-05-21 13:47:54 - Autopkg tests ended for rocminfo in
ppa:igorluppi/rocminfo-7.2.3.
Tests took: 0h 9m 30s. Logs saved in ./rocminfo_20260521_133824.log
[ Where problems could occur ]
* The only code change is the WSL early-exit path, which is guarded by an
existing `wsl_env` flag and only reached when `hsa_init()` fails. On
non-WSL systems and on WSL systems with a supported GPU the new code is
never executed. Risk is minimal and limited to WSL environments with no
supported GPU.
[ Other Info ]
* No shared library is shipped; ABI/symbols check is not applicable.
* This update is part of the coordinated ROCm 7.2.3 stack release.
* PPA: https://launchpad.net/~igorluppi/+archive/ubuntu/rocminfo-7.2.3
* Upstream version comparison:
https://github.com/ROCm/rocminfo/compare/rocm-7.1.1...rocm-7.2.3
* target: resolute
** Affects: rocminfo (Ubuntu)
Importance: Undecided
Assignee: Igor Luppi (igorluppi)
Status: New
** Changed in: rocminfo (Ubuntu)
Assignee: (unassigned) => Igor Luppi (igorluppi)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2153792
Title:
SRU: New upstream version 7.2.3
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rocminfo/+bug/2153792/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs