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

How to even test this under Linux? #202

Open
rastarr opened this issue Apr 10, 2024 · 5 comments
Open

How to even test this under Linux? #202

rastarr opened this issue Apr 10, 2024 · 5 comments

Comments

@rastarr
Copy link

rastarr commented Apr 10, 2024

Before I dive to deep down the rabbit hole, I'm trying to install zluda in a distrobox running Ubuntu 22.04

I've installed rocm5.5 and unpacked the zluda tar.gz file

What is the simplies test I can run, to better understand that it is actually working?

This is a hot topic repo at the moment but, sadly, there's little in the way of installation doc for Linux.

Oh and BTW, a huge thank you for this code. It's huge for AMD users. I'm really hoping to extend the life of my RX580 if I can get this working. Thanks again

@vosen
Copy link
Owner

vosen commented Apr 10, 2024

For quick tests I usually use geekbench 5 (https://www.geekbench.com/legacy/, 6 does not support CUDA anymore): geekbench_x86_64 --compute CUDA

@rastarr
Copy link
Author

rastarr commented Apr 10, 2024

and on a clean bare bones Ubuntu install in distrobox, what does zludo need installed by way of dependencies or supporting packages?

@vosen
Copy link
Owner

vosen commented Apr 10, 2024

@rastarr
Copy link
Author

rastarr commented Apr 10, 2024

OK cool - that gives me a starting point and it doesn't work for me, at this stage.

martin@amdzluda:~/Geekbench-5.5.1-Linux$ LD_LIBRARY_PATH="./zluda:$LD_LIBRARY_PATH" ./geekbench_x86_64 --compute CUDA
[0410/235206:WARNING:src/halogen/cuda/cuda_library.cpp(1465)] Cannot find or load CUDA library.
Error: Compute API 'CUDA' is not available.
Geekbench 5.5.1 Tryout : https://www.geekbench.com/

@vosen
Copy link
Owner

vosen commented Apr 11, 2024

Try troubleshooting steps: https://github.com/vosen/ZLUDA/blob/master/TROUBLESHOOTING.md

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