Giter Club home page Giter Club logo

bfcl's People

Contributors

jimmy-z avatar xbfool avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

zoogie lupinthird

bfcl's Issues

Improve Compute Device Selection

I have both a 1080 Ti and RX480 running in my system.
Due to this "metric" determining speed:

bfCL/ocl_util.c

Line 183 in 6730c32

cl_ulong cap = 1ull * devices[j].max_compute_units * devices[j].freq;

...the program selects my RX480 over the 1080 Ti.
A command line option to select the compute device number would probably work.

"Out of resource" when trying to mine movable folders

Can anyone help me out with this part? Im trying to install a custom firmware on my 3ds. Im at the Seedminer part where i need to type these two commands for the movable files to pop up

py -3 seedminer_launcher3.py update-db
py -3 seedminer_launcher3.py gpu

But it keeps showing "out of resource" which i am guessing my gpu isn't strong enough to gather the movable files. Can anyone give any advice to resolve this issue?

Here's the full "text" on the windowspowershell

Old3DS msed - this can happen on a New3DS
LFCS : 0x6632e2c
msed3 est : 0x146f9e2
Error est : 3930
ID0 hash 0: c7934b018b7a0a392a1e46ac5db68b7a
Hash total: 1
movable_part2.sed generation success
bfcl msky 2c2e63060000000000000000e2f94601 c7934b018b7a0a392a1e46ac5db68b7a 00000000
selected device GeForce 840M on platform NVIDIA CUDA
0.004 seconds for OpenCL compiling
local work size: 1024
ocl_assert: ocl_brute.c, function ocl_brute_msky, line 383
clEnqueueReadBuffer(command_queue, mem_out, CL_TRUE, 0, sizeof(cl_uint), &out, 0, NULL, NULL)
error: out of resources

ARM/Mali GPU compatibility (Linux)

I am attempting to compile this program to run on ARM chips with a Mali GPU, but am running into compiler errors. Has anyone tested ARM chips running Linux? If not, how much of the program relies on Windows/x86 specific compiler options?

Licensing

This project's README does not explicitly state whether or not the repository is licensed, and there is also no sort of licensing file. Apache 2.0 is not a copyleft license, thus this project is not subject to having to be licensed under it as well so I am wondering if you would consider licensing this project, as in its current state, it's fully copyrighted. Thank you.

“out of resource" error on certain nvidia GPUs

Related:

zoogie/seedminer#16
https://gbatemp.net/posts/7851408/
https://gbatemp.net/posts/7879961/
https://gbatemp.net/posts/7826386/
https://gbatemp.net/posts/7851868/
https://gbatemp.net/posts/7884725/
https://gbatemp.net/posts/7881547/

I'll need testers and reports, including these info:

your GPU model, GPU RAM size, OS version, driver version.
bfcl info output
does seedminer's GPU mode throw a "out of resources" error for you? (yes I also need successful reports)
if the former is true, try the following build with two test commands, does it also say "out of resources"?

Test build:
bfCL-test-reduced-work-size-msky-lfcs-20.zip

Two test commands:
bfcl lfcs 00000007 0000 17f5c00d8b581e5e
bfcl msky c27164f2e0994db8000000007dd5c901 afcb0cc132bd2aeb8e0a6b6a841c51c0

Techy stuff

Despite what it looks like, this doesn't mean your GPU is not powerful/big enough, this program works on Intel IGPU and uses about several KB of GPU RAM, it's more like a OpenCL runtime bug from nvidia to me.

A reduced work size(from a little above 100,000,000 to 1,000,000) helped this guy with a GTX 980, so I guess this is the problem.

from OpenCL SDK document:

global_work_size
Points to an array of work_dim unsigned values that describe the number of global work-items in work_dim dimensions that will execute the kernel function. The total number of global work-items is computed as global_work_size[0] ... global_work_size[work_dim - 1].

The values specified in global_work_size cannot exceed the range given by the sizeof(size_t) for the device on which the kernel execution will be enqueued. The sizeof(size_t) for a device can be determined using CL_DEVICE_ADDRESS_BITS in the table of OpenCL Device Queries for clGetDeviceInfo. If, for example, CL_DEVICE_ADDRESS_BITS = 32, i.e. the device uses a 32-bit address space, size_t is a 32-bit unsigned integer and global_work_size values must be in the range 1 .. 2^32 - 1. Values outside this range return a CL_OUT_OF_RESOURCES error.

nvidia runtime announces GTX 980's address bits = 64, and 100,000,000 is no where near that.

absurd speed, never hits

./bfcl msky a888d30500000000000000008f432a01 bd1c2425900e71f1ef8b81f8a257739d 00000000 00400000
selected device AMD Radeon R9 380 Series (tonga, LLVM 14.0.6, DRM 3.47, 5.19.12-arch1-1) on platform Clover
0.846 seconds for OpenCL compiling
local work size: 256
22.01 seconds, 3197043.68 M/s
Max offset reached! Brute-forcing will now terminate!

is an example, I'm using the mesa drivers in Linux. Windows with the drivers from amd's website works fine

parameters.

i want to known how to use this thing help me please

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.