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

ProgPOW Cuda #23

Closed
MaynardMiner opened this issue Mar 11, 2019 · 4 comments
Closed

ProgPOW Cuda #23

MaynardMiner opened this issue Mar 11, 2019 · 4 comments
Assignees
Labels
linux This issue was reported in regard to linux version. wontfix This will not be worked on

Comments

@MaynardMiner
Copy link
Owner

Users on AMD side are reporting an issue with progminer.ps1,

For some reason I compiled last night, and opencl is missing. I will re-compile again tonight.

@MaynardMiner MaynardMiner self-assigned this Mar 11, 2019
@MaynardMiner MaynardMiner added the multi-user bug bug can affect multiple users. label Mar 11, 2019
@MaynardMiner
Copy link
Owner Author

Nvidia users are reporting an NVRTC error as well. I am investigating.

@MaynardMiner
Copy link
Owner Author

I believe the version now contained in 2.0.5 is not free from errors, and was compiled correctly.

Please post if you have issues, will leave open for a bit.

@MaynardMiner MaynardMiner added proposed fix applied a released was made with a potential fix for review. linux This issue was reported in regard to linux version. and removed proposed fix applied a released was made with a potential fix for review. labels Mar 12, 2019
@MaynardMiner
Copy link
Owner Author

Proposed fix did not work.

I will try to compile a 9.2 version, by their exact specifications, rather then trying to inject Cuda-10.0 toolkit, and see if that gives better success for users.

@MaynardMiner
Copy link
Owner Author

It has been determined, and pointed out in discord that the issue with ProgPOW miner in linux, is that it does not dlopen() NVRTC.

This means that in order to use ProgPOW, you must compile miner natively on rig.

HiveOS has a version that is compiled to their OS, but if you updated drivers- You broke the shared links.

I created the following script for users. I will not give support on its use:

#!/usr/bin/env bash

cd

##Download Cuda
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_10.1.105-1_amd64.deb
##dpkg it
sudo dpkg -i cuda-repo-ubuntu1604_10.1.105-1_amd64.deb
##add key
sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub
##update key
sudo apt-get update
##install it
sudo apt-get install cuda-toolkit-10-1 -y


##ProgPOW

##Increase /tmp folder size
sudo mount -o remount,size=5G /tmp/
##Install cmake
sudo apt install cmake -y
##clone Repo
git clone https://github.com/BitcoinInterestOfficial/ProgPOW.git
##cd to ProgPow
cd ProgPOW
##Install OpenCL
sudo apt-get install mesa-common-dev -y
##Update git
git submodule update --init --recursive
##mkdir build
mkdir build
cd build
cmake ..
cmake --build . --config Release

## Copy newly created binary, move to SWARM.2.0.8
cd
cd ProgPOW/build/ethminer
cp -u ethminer /hive/miners/custom/SWARM.2.0.8/bin/progminer-1/
chmod +x /hive/miners/custom/SWARM.2.0.8/bin/progminer-1/progminer

https://github.com/BitcoinInterestOfficial/ProgPOW
see DOC for more details

@MaynardMiner MaynardMiner added wontfix This will not be worked on and removed multi-user bug bug can affect multiple users. labels Mar 17, 2019
@MaynardMiner MaynardMiner changed the title ProgPOW opencl ProgPOW Cuda May 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linux This issue was reported in regard to linux version. wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant