-
Notifications
You must be signed in to change notification settings - Fork 6
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
Acominer fails to compile #8
Comments
It's likely that you're using an extremely old shaderc binary. Either update it, or download a fresh copy of Vulkan SDK and set the environment variables according to https://github.com/google/shaderc-rs. If you're compiling acominer from source, you need to build the mesa fork as well. acominer only works on this modified version of driver. You don't need to install it system-wide; just follow the instructions to build it, install to a prefix inside the build directory, and override the driver when you run acominer. |
The good news, is that after updating many files on my system, acominer finally builds successfully! So I can close this issue. That bad news, is that the fork seems to fail to install:
So I might need to create a new issue for that. |
On second thought, I think what needed to be installed was installed correctly, I just accidentally used the wrong VK_ICD_FILENAMES path at first. So, I think it will work! |
You probably have something weird with your SELinux setup. If it runs fine, then there is no need to worry about the SELinux error. Note that there are previous reports that the hashrate is low on Polaris cards (#5). I have since given up on resolving that as I don't have such a card to debug on. |
It is true, that the hashrate is low, about half of what it is supposed to be and under 3/4th what it was on ethminer, at about 16.6 MH/s. It does, however, actually consistently work, submitting actually usable shares without freezing, crashing, or causing kernel panics, which is considerably better than what I was using before. Thank you so much for this wonderful program! I may work on debugging it myself in the future, since I do have this card and am currently learning Vulkan. For now, though I will increase the workgroup count, and let it be while I continue learning Vulkan. I may also try this "nsfminer" the other issue mentions, as I was not aware of it until now. |
I am looking into acominer as ethminer either does not work, or works intermittently and causes kernel panics, depending on which OpenCL implementation I use. Since I can't seem to find an OpenCL implementation that works consistently on my RX 480, I am seeing if Vulkan would work better instead.
When compiling acominer with cargo build --release, this results in the following error output:
I have not used the custom Mesa as I am unsure what its purpose is and I would have to find a way to get it to work with my package manager. This does not appear to be related to it, but if it is, I can also figure out a way to install that. Is there any patch of its changes available? Gentoo's portage should be able to work with patches easier than changing the entire source location of the repository.
The text was updated successfully, but these errors were encountered: