btcrecover/seedrecover not detecting GPU

11 replies 92 views
Posts: 9 · Reputation: 114
#1Feb 16, 2018, 02:04 PM
I set up btcrecover on Ubuntu, but when I run: python seedrecover.py opencl-info it only detects my CPU. I installed OpenCL for Python with: sudo apt install pocl-opencl-icd pip install pyopencl Still, no GPU shows up.
5 Reply Quote Share
bridge2018Full Member
Posts: 50 · Reputation: 405
#2Feb 16, 2018, 05:31 PM
You already created two threads prior to this one. 1.Seed Recovery 2.btcrecover electrum change address I suggest you to lock this and continue the discussion in one thread only for better understanding and continuation of the subject.
2 Reply Quote Share
Posts: 9 · Reputation: 114
#3Feb 16, 2018, 09:00 PM
as you can see the discussion/problem in those threads is different from this one
5 Reply Quote Share
gr3g.0rbitHero Member
Posts: 1025 · Reputation: 2646
#4Feb 16, 2018, 09:28 PM
Since you've posted, I assume that the documentation didn't help. Is the GPU driver installed? e.g.: for AMD GPU: https://www.amd.com/en/support/download/linux-drivers.html for NVidia GPU: https://ubuntu.com/server/docs/nvidia-drivers-installation And people will need more information (as I noted in the PM) like the GPU's model and BTCRecover's version/fork. It's useful to know if BTCRecover supports that particular GPU and for other people with similar hardware to test.
0 Reply Quote Share
Posts: 9 · Reputation: 114
#5Feb 16, 2018, 09:55 PM
running with gpu (NVIDIA GeForce GTX 1070 Ti): PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():124: Resource temporarily unavailable (11) OpenBLAS blas_thread_init: pthread_create failed for thread 38 of 40: Resource temporarily unavailable OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max OpenBLAS blas_thread_init: pthread_create failed for thread 39 of 40: Resource temporarily unavailable OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():124: Resource temporarily unavailable (11) Exception in thread Thread-1 (_handle_workers): Traceback (most recent call last):   File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner     self.run()   File "/usr/lib/python3.10/threading.py", line 953, in run     self._target(*self._args, **self._kwargs)   File "/usr/lib/python3.10/multiprocessing/pool.py", line 516, in _handle_workers     cls._maintain_pool(ctx, Process, processes, pool, inqueue,   File "/usr/lib/python3.10/multiprocessing/pool.py", line 340, in _maintain_pool     Pool._repopulate_pool_static(ctx, Process, processes, pool,   File "/usr/lib/python3.10/multiprocessing/pool.py", line 329, in _repopulate_pool_static     w.start()   File "/usr/lib/python3.10/multiprocessing/process.py", line 121, in start     self._popen = self._Popen(self)   File "/usr/lib/python3.10/multiprocessing/context.py", line 288, in _Popen     return Popen(process_obj)   File "/usr/lib/python3.10/multiprocessing/popen_spawn_posix.py", line 32, in __init__     super().__init__(process_obj)   File "/usr/lib/python3.10/multiprocessing/popen_fork.py", line 19, in __init__     self._launch(process_obj)   File "/usr/lib/python3.10/multiprocessing/popen_spawn_posix.py", line 58, in _launch     self.pid = util.spawnv_passfds(spawn.get_executable(),   File "/usr/lib/python3.10/multiprocessing/util.py", line 452, in spawnv_passfds     return _posixsubprocess.fork_exec( BlockingIOError: [Errno 11] Resource temporarily unavailable PTHREAD ERROR in pthread_scheduler_init():124: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():124: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) Context failed: <unknown error -9999> PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():124: Resource temporarily unavailable (11) | 5909  elapsed: 0:00:21  rate: 275.06  P/s                                                                                                                                                                  PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():124: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():124: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) Context failed: <unknown error -9999> Context failed: <unknown error -9999> Context failed: <unknown error -9999> PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():124: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():124: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():124: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():124: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():124: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():124: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():124: Resource temporarily unavailable (11) name 'opencl' is not defined PTHREAD ERROR in pthread_scheduler_init():124: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) PTHREAD ERROR in pthread_scheduler_init():121: Resource temporarily unavailable (11) 1 warning generated. 1 warning generated. 1 warning generated. 1 warning generated. 1 warning generated. 1 warning generated. 1 warning generated. 1 warning generated. 1 warning generated. 1 warning generated. /usr/local/lib/python3.10/dist-packages/pyopencl/__init__.py:519: CompilerWarning: Non-empty compiler output encountered. Set the environment variable PYOPENCL_COMPILER_OUTPUT=1 to see more.   lambda: self._prg.build(options_bytes, devices), /usr/local/lib/python3.10/dist-packages/pyopencl/__init__.py:519: CompilerWarning: Non-empty compiler output encountered. Set the environment variable PYOPENCL_COMPILER_OUTPUT=1 to see more.   lambda: self._prg.build(options_bytes, devices), /usr/local/lib/python3.10/dist-packages/pyopencl/__init__.py:519: CompilerWarning: Non-empty compiler output encountered. Set the environment variable PYOPENCL_COMPILER_OUTPUT=1 to see more.   lambda: self._prg.build(options_bytes, devices), /usr/local/lib/python3.10/dist-packages/pyopencl/__init__.py:519: CompilerWarning: Non-empt
1 Reply Quote Share
gr3g.0rbitHero Member
Posts: 1025 · Reputation: 2646
#6Feb 17, 2018, 02:23 AM
Now, this doesn't look like an issue with your GPU but could be a bug or compatibility issue with your system. You must report this to their official GitHub repository (make sure that it's the version of BTCRecover that you're using) Link (post a "new issue"): https://github.com/3rdIteration/btcrecover/issues The owner is very active on replying to legitimate issues posted there. And as noted, include the necessary information specially your Ubuntu version (PC or a VPS, same as the PM?) and the mentioned GPU. Less information will just result with guesswork replies.
6 Reply Quote Share
yield_forkFull Member
Posts: 162 · Reputation: 728
#7Feb 17, 2018, 03:52 AM
Have you tried using FinderOuter which is easier to use because it has a graphical interface to help you? If you have the address or private key of one of them, as well as if you know the positions of the known words, the number of combinations can be significantly reduced. If you don't know, the process can become much more complex.
3 Reply Quote Share
gr3g.0rbitHero Member
Posts: 1025 · Reputation: 2646
#8Feb 17, 2018, 07:09 AM
Don't know why OP is so secretive on some basic information since he had been sending me PMs instead of posting those here And what I can tell is: apparently, what he aims for is GPU support. He can use BTCRecover's Seedrecover without --enable-opencl (GPU) just fine and the suggested token file is already optimized to minimize the possible number of combinations but it's not as simple as 3missing words. (refer to his other topic). Current version of FinderOuter doesn't have GPU support so using it wouldn't be any better, plus its "limit search space" feature is limited compared to BTCRecover's token file.
1 Reply Quote Share
Posts: 9 · Reputation: 114
#9Feb 17, 2018, 09:17 AM
ubuntu version 22 gpu 3080 looks like problem is python dont get the right opencl or right drivers
4 Reply Quote Share
seed_vaultFull Member
Posts: 71 · Reputation: 451
#10Feb 17, 2018, 02:58 PM
I've never used BTCRecover (never needed to,) but when it comes to mining with NVIDA GPUs on Linux I've always needed to install the CUDA toolkit.  Again, just speculation on my part since I've never seen that particular error.
5 Reply Quote Share
mikemoonMember
Posts: 16 · Reputation: 199
#11Feb 17, 2018, 05:19 PM
Agreed. It's an odd error. Are you using a VPS by any chance? Or other virtualized environments?
5 Reply Quote Share

Related topics