-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
ethminer-free no longer works with rocm #151994
Comments
Hi, I’m not sure what the output should look like, but it seems to work fine for me (using the unstable channel, which should include the rocm update now). # configuration.nix
hardware.opengl.extraPackages = with pkgs; [
rocm-opencl-icd
rocm-opencl-runtime
]; $ nix-shell -p ethminer-free --command 'ethminer --list-devices'
ethminer 0.19.0
Build: linux/release/gnu
Id Pci Id Type Name CL Total Memory Cl Max Alloc Cl Max W.Grp
--- --------- ---- ----------------------------- ---- ------------ ------------ ------------
0 0e:00.0 Gpu gfx1010:xnack- Yes 7.98 GB 7.98 GB 256.00 B |
That's the exact same setup I have, weird. Are you sure you've got the rocm update? I build directly from git and reverting your PR fixed the issue. |
Weird. I checked again, but I got the update: $ ll /run/opengl-driver
lrwxrwxrwx 69 root root 1 Jan 1970 etc -> /nix/store/y15n95blhmlyrv8gp7z2jbhvwkwn9naw-rocm-opencl-icd-4.5.2/etc
lrwxrwxrwx 77 root root 1 Jan 1970 include -> /nix/store/d9j5dcd0q0j77wvkgpwyszf1y1z6bb13-rocm-opencl-runtime-4.5.2/include
dr-xr-xr-x - root root 1 Jan 1970 lib
dr-xr-xr-x - root root 1 Jan 1970 share I also tried $ nix-build -A rocm-opencl-icd # In a nixpkgs checkout
/nix/store/y15n95blhmlyrv8gp7z2jbhvwkwn9naw-rocm-opencl-icd-4.5.2
$ export OCL_ICD_VENDORS="$(pwd)/result/etc/OpenCL/vendors/"
$ nix run '.#ethminer-free' -- --list-devices
ethminer 0.19.0
Build: linux/release/gnu
Id Pci Id Type Name CL Total Memory Cl Max Alloc Cl Max W.Grp
--- --------- ---- ----------------------------- ---- ------------ ------------ ------------
0 0e:00.0 Gpu gfx1010:xnack- Yes 7.98 GB 7.98 GB 256.00 B |
I tried on another machine with an older GPU (RX 480) and there it fails after the update: # Before the update
$ nix run nixpkgs#ethminer-free -- --list-devices
ethminer 0.19.0
Build: linux/release/gnu
Id Pci Id Type Name CL Total Memory Cl Max Alloc Cl Max W.Grp
--- --------- ---- ----------------------------- ---- ------------ ------------ ------------
0 03:00.0 Gpu gfx803 Yes 8.00 GB 8.00 GB 256.00 B
# After the update
$ nix run nixpkgs#ethminer-free -- --list-devices
ethminer 0.19.0
Build: linux/release/gnu
Error: No usable mining devices found Looks like Polaris (gfx8) support was |
This is an upstream issue. |
Describe the bug
A clear and concise description of what the bug is.
Caused by #150767
Not sure whether this is an upstream issue or ours.
Steps To Reproduce
Steps to reproduce the behavior:
nix-shell -p ethminer-free --command 'ethminer --list-devices'
Notify maintainers
@Flakebi
The text was updated successfully, but these errors were encountered: