Forum Home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    [Dev] NeoScrypt GPU Miner - Public Beta Test

    Technical Development
    52
    802
    574238
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      vehre last edited by

      What do i need to add the nvidia components to the build ?

      https://developer.nvidia.com/gpu-deployment-kit

      Google does the trick!

      Linux: Install it to default location, or like on

      Windows: add --with-nvml-dir= to the autogen.sh call.

      is the path containing the include and lib directory of nvml. Make sure the .so or .dll, respectively, is on the LD_LIBRARY_PATH (Linux) or PATH (Windows) or cgminer.exe’s directory (Windows).

      1 Reply Last reply Reply Quote 0
      • E
        einkerl last edited by

        i’ve installed the deployment kit but i do not use visual studio or have any nvidia hardware installed. Alot of the kit is not being installed.

        I’m building in win8.1 in mingw with amd sdk 2.9 and adl sdk 6. I have found a nvml.dl_ in anothers computer divers dir. Is that the one i need ?

        1 Reply Last reply Reply Quote 0
        • V
          vehre last edited by

          I am on Linux, so I can’t verify what I say:

          Most of all you need the includes of the NVML. The configuration process does not check for the nvml.dll anyway, because that is only tried at runtime and the initialisation is simply skipped if the .dll is not found. Furthermore, there is no need to distribute the .dll along with cgminer, because nvml.dll comes with all CUDA toolkits.

          That said: When autogen.sh aka configure reports it has found NVML support, then everything is fine for compilation.

          1 Reply Last reply Reply Quote 0
          • A
            Alpha Wolf last edited by

            Was anyone ever able to get 3.7.5 to work as a solo miner?

            I was unable to find a way to make it locate the wallet while trying to solo mine.

            1 Reply Last reply Reply Quote 0
            • E
              einkerl last edited by

              Ok found it, in windows you only need to install nvidia gpu deployment kit

              Install path is C:\Program Files\NVIDIA Corporation\GDK\nvml\

              How do i link this to MinGW ?

              Thank you

              1 Reply Last reply Reply Quote 0
              • D
                daimyo last edited by

                So folks, assuming the gpu miner is operational, is this going livenet?

                1 Reply Last reply Reply Quote 0
                • kris_davison
                  kris_davison last edited by

                  PXC is live with NeoScrypt now. But Feathercoin is reasonably close to announcing a fork date / block in the not too distant future. :)

                  1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User last edited by

                    We are aiming towards late Oct hopefully. Maybe sooner.

                    1 Reply Last reply Reply Quote 0
                    • Wellenreiter
                      Wellenreiter Moderators last edited by

                      if u are using pcx wallet it does not work.

                      or u must compile “updated” wallet to solo mining.

                      miner is ok and it does solo very well…

                      i have compiled unofficial ufo wallet to neo fork and it does solo without any problems.

                      Version 3.7.6a will work with the PXC wallet for solomining, too

                      Feathercoin development donation address: 6p8u3wtct7uxRGmvWr2xvPxqRzbpbcd82A
                      Openpgp key: 0x385C34E77F0D74D7 (at keyserver.ubuntu.com)/fingerprint: C7B4 E9EA 17E1 3D12 07AB 1FDB 385C 34E7 7F0D 74D7

                      1 Reply Last reply Reply Quote 0
                      • B
                        bye2003 last edited by

                        Hi All,

                        I think it’s better to look into the current code:

                        If you compile it using CodeXL 1.5 with optimization disabled, the strachreg number is huge: more than 1500.

                        If open the optimization, the strachreg unumber is more than 400.

                        The key issue for neoscrypt is: it uses too much dynamic copy: calculating the buffer position for B and A.

                        It’s hard to make full use of the uint4 and opencl compiler nees lots of VREGS to calculate the next buffer position.

                        The second difficulty is: It uses too much local array and the result is indexing local array will hurt the opencl code’s performance.

                        Because of the above 2, the reginsers will be used very quickly and memory will spill to global memory.

                        Directly convert the c code to opencl is just the very first step, need to reduce the strachreg number to 0.

                        I have rewrite the original code and reduce the strachreg number to 372 in non-optimization mode.

                        I’m not modifying the cgminer3.7.2, but adding code into original cpuminer and simpliy it. (Current, working on Win8.1 only)

                        Without the optimization, my code on R9290 can run 95K/s and with 5 R9290, I got 440k/s on pxc.theblocksfactory.

                        The code can run 145k/s if open the optimization and the Strachreg number reduce to around 220.

                        But unfortunely, it will reproduce wrong nonce with very wired mid value. I am still testing it.

                        Like to discuss any techknowledge with all of you.

                        Thanks

                        Ralph

                        1 Reply Last reply Reply Quote 0
                        • V
                          vehre last edited by

                          Hi,

                          I am the current maintainer of the neoscrypt cgminer. I am fully aware, that the kernel is sub-optimal. Actually the focus upto now was on getting it running and working with pools and wallets. Optimizing the kernel is done in the not so far feature. I already have some ideas.

                          Neoscrypt is especially designed to be memory (access) intensive. First of all to harden the use of ASICS. I know that the GPU has a burden with that kernel and I already had a struggle to make the neoscrpyt kernel fit for running there.

                          I haven’t done any profiling yet and it will be some more days before I have the time to do it.

                          But a question arises: You write, that you add the kernel to a cpuminer. How that? Did you also add all opencl-management code to the cpuminer? Why that double burden? I know that cgminer from a software design/ architecture perspective is bad, but adding everything anew to cpuminer seems like duplicated work.

                          Regards,

                          Andre

                          1 Reply Last reply Reply Quote 0
                          • B
                            bye2003 last edited by

                            Hi,

                            I’m so glad to meet you here!!! :)

                            Actually, I played with original cgminer for a while, but I found it contains too much code that I do not need.

                            So this time, I just created simple opencl initialization and exection code into cpuminer, orginally neoscrypt cpuminer, then got it working.

                            (I like the neoscrypt cpuminer code, simple, easy to understand and maintain.)

                            (Sorry for the neoscrypt code, I removed lots of unnecessary code, to my understanding, compare to the original one.)

                            As the result, the code is very much customized for my R9 290 and does not have hardware monitor function.

                            For me, I want to have a very thin gpu miner for neoscrypt and easy to debug and code.

                            For neoscrypt that desired to asginst ASIC, I think it will not work that well as what people expected.

                            I write FPGA code for PTS(For fun :)) and knows the current memory operation for FPGA is not a problem and as long as people can invest it, the ASIC can be made very soon.

                            Thanks

                            Regards.

                            Ralph

                            1 Reply Last reply Reply Quote 0
                            • E
                              einkerl last edited by

                              Does anybody have a link for the latest version 3.7.6b for windows.

                              When i build it everything goes fine, no errors but i get no accepted shares.

                              Using 13.12 with amd sdk 2.9 win8.1 mingw

                              Thanks,

                              Pete

                              1 Reply Last reply Reply Quote 0
                              • ghostlander
                                ghostlander Regular Member last edited by

                                So this time, I just created simple opencl initialization and exection code into cpuminer, orginally neoscrypt cpuminer, then got it working.
                                (I like the neoscrypt cpuminer code, simple, easy to understand and maintain.)
                                (Sorry for the neoscrypt code, I removed lots of unnecessary code, to my understanding, compare to the original one.)

                                If the unnecessary code you’re talking about is SHA-256 and BLAKE-256, these parts may be removed. SHA-256 is for backward compatibility with Scrypt. BLAKE-256 was for testing purposes until FastKDF and BLAKE2s were implemented. Good luck with your coding. CPUminer is also a work in progress.

                                1 Reply Last reply Reply Quote 0
                                • V
                                  vehre last edited by

                                  That looks quite fine. Please retry mining setting intensity significantly lower, I.e. to 8 or even less (-i 8)

                                  1 Reply Last reply Reply Quote 0
                                  • E
                                    einkerl last edited by

                                    Have the same problem, compiles fine but get no accepted shares.

                                    I need lo lower intensity to 6 to get accepted and the i get 2.5kh/s or so

                                    with 3.7.5 i get about 50 kh/s with -I 11

                                    1 Reply Last reply Reply Quote 0
                                    • R
                                      raintowers last edited by

                                      Hi, anybody having the problem of 3.7.5 stops working after 3-4 hours? On win7 x64

                                      1 Reply Last reply Reply Quote 0
                                      • V
                                        vehre last edited by

                                        Hi raintowers,

                                        can you run the miner with -TDP and log the output to a file? Send me the about last 1000 lines of the file, please.

                                        1 Reply Last reply Reply Quote 0
                                        • V
                                          vehre last edited by

                                          Could you open an issue at https://github.com/vehre/neo-gpuminer/issues for every issue that occurs?

                                          This helps to keep track about problems, when they occur, and if they have been processed, resolved and when.

                                          Thanks for helping.

                                          1 Reply Last reply Reply Quote 0
                                          • R
                                            raintowers last edited by

                                            OK I’ve done it. I’m a Network Admin but been out of it for a long time. I have some tech skills but not much on the programming side. Will help as much as I can.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post