ROCm: [Issue]: rocminfo error:./sources/wsl/libhsakmt/src/thunk_proxy/thunk_proxy.cpp:111: void thunk_proxy::QueryAdapterInfo(D3DKMT_HANDLE, ATIADAPTERINFO*): Assertion `ret == STATUS_SUCCESS' failed

Problem Description

  1. Follow the instructions at https://rocm.docs.amd.com/projects/radeon/en/latest/docs/install/wsl/install-radeon.html to install.
  2. execute “rocminfo”
  3. print: WSL environment detected. rocminfo: ./sources/wsl/libhsakmt/src/thunk_proxy/thunk_proxy.cpp:111: void thunk_proxy::QueryAdapterInfo(D3DKMT_HANDLE, ATIADAPTERINFO*): Assertion `ret == STATUS_SUCCESS’ failed. Aborted (core dumped)

Operating System

WSL-Ubuntu24.04

CPU

AMD 5900x

GPU

AMD 7900XTX

ROCm Version

ROCm 6.3.4

ROCm Component

No response

Steps to Reproduce

  1. Follow the instructions at https://rocm.docs.amd.com/projects/radeon/en/latest/docs/install/wsl/install-radeon.html to install.
  2. execute “rocminfo”
  3. print:
WSL environment detected.
rocminfo: ./sources/wsl/libhsakmt/src/thunk_proxy/thunk_proxy.cpp:111: void thunk_proxy::QueryAdapterInfo(D3DKMT_HANDLE, ATIADAPTERINFO*): Assertion `ret == STATUS_SUCCESS' failed.
Aborted (core dumped)

Image

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

still print:

WSL environment detected.
rocminfo: ./sources/wsl/libhsakmt/src/thunk_proxy/thunk_proxy.cpp:111: void thunk_proxy::QueryAdapterInfo(D3DKMT_HANDLE, ATIADAPTERINFO*): Assertion `ret == STATUS_SUCCESS' failed.
Aborted (core dumped)

Additional Information

AMD GPU driver version: 25.3.1 WSL version: 2.4.11.0 kernel version: 5.15.167.4-1 WSLg version: 1.0.65 MSRDC version: 1.2.5716 Direct3D version: 1.611.1-81528511 DXCore version: 10.0.26100.1-240331-1435.ge-release Windows version: 10.0.26100.3323

Image

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 27

Most upvoted comments

@imkow @ff2009 @CellerX @herokillerJ. Thank you for your patience! We have identified the root cause. A patch will be released with the next ROCm for WSL release. For now, please disable other unsupported GPUs on the system as a temporary workaround. Thanks!