gpu-utils icon indicating copy to clipboard operation
gpu-utils copied to clipboard

Support for MacOS-X ?

Open ka0s opened this issue 2 years ago • 2 comments

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 avatar Oct 09 '23 14:10 ka0s

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.

ka0s avatar Oct 10 '23 08:10 ka0s

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.

Ricks-Lab avatar Oct 14 '23 03:10 Ricks-Lab