Skip to content

[amdsmi] Implement amdsmi support in ROCDXG (WSL) #6

@fcui-amd

Description

@fcui-amd

Suggestion Description

Steps to Reproduce:

  1. Open Windows Command Prompt in administrator mode, install WSL with following command:
    $ wsl --update
    $ wsl --install -d Ubuntu-24.04
  2. Install latest TheRock package:
    https://github.com/ROCm/TheRock/blob/main/RELEASES.md
  3. Install librocdxg 1.1.0 deb and set env var
    $ wget https://github.com/ROCm/librocdxg/releases/download/v1.1.0/rocdxg-roct_1.1.0_amd64.deb
    $ sudo dpkg -i rocdxg-roct_1.1.0_amd64.deb
    $ export HSA_ENABLE_DXG_DETECTION=1
  4. Run:
    $ amd-smi list

Description:
AMD SMI support has not been implemented in ROCDXG. This is a feature request to add AMD SMI capability for WSL so that AMD GPU information can be queried under WSL.

Expected
amd-smi initializes successfully on WSL and returns valid AMD GPU device information.

Actual
ERROR:root:Unable to get devices, driver not initialized (amdgpu not found in modules)
ERROR:root:Unable to detect any GPU devices, check amdgpu version and module status (sudo modprobe amdgpu)
ERROR:root:Unable to detect any CPU devices, check amd_hsmp (or) hsmp_acpi version and module status (sudo modprobe amd_hsmp (or) sudo modprobe hsmp_acpi)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions