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

Support for MacOS-X ? #146

Open
ka0s opened this issue Oct 9, 2023 · 2 comments
Open

Support for MacOS-X ? #146

ka0s opened this issue Oct 9, 2023 · 2 comments

Comments

@ka0s
Copy link

ka0s commented Oct 9, 2023

I think this is a great tool and I would love to see it working on Mac.
Using the 'pip3 install rickslab-gpu-utils' works just fine and installs all dependencies.

However when trying the gpu-ls command in a new window I get the following Error:
Error: Invalid pciid path
OS command [lsb_release] executable not found.
Error: OS command [lspci] executable not found.
Error in environment. Exiting...

After having installed clinfo and dpkg I tried gpu-chk with the following output:

Using rickslab-gpu-utils 3.8.2
Using python 3.11.6
Python version OK.
Using Linux Kernel: 21.6.0
OS kernel OK.
System type has not been verified.
Using Linux distribution: unknown
[lsb_release] executable not found.
amdgpu/rocm version: UNKNOWN
rickslab-gpu-utils can still be used.
{'python': True, 'kernel': True, 'system': False, 'distribution': True, 'driver': True}
Error in environment. Exiting...

I also installed the python vext and vext.gi modules but still no luck so far.
My system has a Radeon VII.

If you think that getting the gpu-utils to work on OS-X (depending on hardware of course ) is a possibility I would be happy to beta test.

Regards,
Bob

@ka0s
Copy link
Author

ka0s commented Oct 10, 2023

I see now that one of the dependencies is lsb_release ( Linux only )
Guess it would probably take some in-depth coding to bypass lsb_release for another OS-X based framework functionality.

@Ricks-Lab
Copy link
Owner

lspci is critical in the way gpu-utils interacts with GPUs. Also, open source drivers are needed. Probably won't be a priority for me to support non-opensource platforms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants