Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

driverInitialized check not valid #102

Closed
mrusme opened this issue Mar 27, 2022 · 4 comments · May be fixed by #104
Closed

driverInitialized check not valid #102

mrusme opened this issue Mar 27, 2022 · 4 comments · May be fixed by #104

Comments

@mrusme
Copy link

mrusme commented Mar 27, 2022

This check is not valid since one can have the GPU module baked into the kernel. In that case, lsmod//proc/modules won't report it.

@littlewu2508
Copy link

ROCm/rocminfo#42 (comment) may help

littlewu2508 added a commit to littlewu2508/rocm_smi_lib that referenced this issue Apr 2, 2022
Closes: ROCm#102

Signed-off-by: YiyangWu <xgreenlandforwyy@gmail.com>
@dmitrii-galantsev
Copy link
Collaborator

Fixed as of 9f6614e. Please reopen if you disagree :)

littlewu2508 added a commit to littlewu2508/rocm_smi_lib that referenced this issue Jan 1, 2024
In case amdgpu is builtin

Closes: ROCm#102

Signed-off-by: YiyangWu <xgreenlandforwyy@gmail.com>
littlewu2508 added a commit to littlewu2508/rocm_smi_lib that referenced this issue Jan 1, 2024
In case amdgpu is builtin

Closes: ROCm#102

Signed-off-by: YiyangWu <xgreenlandforwyy@gmail.com>
LtdJorge added a commit to LtdJorge/rocm_smi_lib that referenced this issue Aug 5, 2024
… as kernel built-in. Fixes ROCm#102 and is an updated version of ROCm#104
@LtdJorge
Copy link
Contributor

Hi @dmitrii-galantsev could you check #189 out? It's based on @littlewu2508's #104 and simplifies the code a bit by not spawning a shell, as @keryell mentioned in that PR.

I patched my rocm-smi with this:
image
(Ignore the weird path, just Gentoo things)

It works correctly:
image

My AMDGPU is built-in:
image

@taylding-amd
Copy link

Thank you very much for the PR, @LtdJorge! I will go ahead and close the issue, as the PR will resolve it and will be merged through AMD's internal system.

rocm-ci pushed a commit to ROCm/amdsmi that referenced this issue Nov 6, 2024
… as kernel built-in. Fixes ROCm/rocm_smi_lib#102 and is an updated version of ROCm/rocm_smi_lib#104

Change-Id: Icb3abe820bc67035b822358a1c04bd09a7c22b6b
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
Reviewed-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
rocm-ci pushed a commit that referenced this issue Nov 6, 2024
… as kernel built-in. Fixes #102 and is an updated version of #104

Change-Id: Icb3abe820bc67035b822358a1c04bd09a7c22b6b
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
Reviewed-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants