Author

Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.0 - page 272. (Read 5806015 times)

-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Now, I can run 2 instances of cgminer, one is using the Intel GPU and another is using the Nvidea GPU.
Is there some sort of command for cgminer to use both platforms and see both GPU's in same instance?  Grin
no
hero member
Activity: 714
Merit: 500
Are ฿itcoins Radioactive?
Greetings.

I have a Alienware m14x with OS Windows 8 64 bits and 2 GPU's: Nvidea GeForce as default GPU and a Intel HD Graphics 4000 GPU.

With Diablo-miner, it identifies the 2 GPU's but uses only the Nvidea GeForce GT650m (25 MH/s) (GPU Load 97%).

But with cgminer 3.3.1, it only uses the Intel HD Graphics 4000 GPU, mining @ 11.8 MH/s (the Nvidea GPU load is 0%).

Is it possible for cgminer, to use both GPU's or even only the Nvidea GPU instead of the Intel one?

Many thanks in advance.

For nvidea use CUDA miner, cgminer is only for openCL devices...

CUDA miner: https://bitcointalksearch.org/topic/ann-cudaminer-ccminer-cuda-based-mining-applications-windowslinuxmacosx-167229
CUDA miner is only for Litecoin, not for BTC (I think). But many thanks for your kind answer. I now understand why cgminer doesn't use the Nvidea GPU.

This is wrong. You can build cgminer for nvidia. The precompiled binaries are for ATI, but if you download the nvidia opencl SDK you should be able to build against it. I have done this on linux a long time ago, no idea about windows. You don't get any fan control or temperature monitoring.
Alas all of this is wrong.

All you need to do is add the following to your command: --gpu-platform 1

Ok, it worked. Many thanks, ckolivas.

Now, I can run 2 instances of cgminer, one is using the Intel GPU and another is using the Nvidea GPU.
Is there some sort of command for cgminer to use both platforms and see both GPU's in same instance?  Grin
.m.
sr. member
Activity: 280
Merit: 260
it is worth to mention that NVDA hw is 3 times slower in SHA than AMD/ATI.


-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Greetings.

I have a Alienware m14x with OS Windows 8 64 bits and 2 GPU's: Nvidea GeForce as default GPU and a Intel HD Graphics 4000 GPU.

With Diablo-miner, it identifies the 2 GPU's but uses only the Nvidea GeForce GT650m (25 MH/s) (GPU Load 97%).

But with cgminer 3.3.1, it only uses the Intel HD Graphics 4000 GPU, mining @ 11.8 MH/s (the Nvidea GPU load is 0%).

Is it possible for cgminer, to use both GPU's or even only the Nvidea GPU instead of the Intel one?

Many thanks in advance.

For nvidea use CUDA miner, cgminer is only for openCL devices...

CUDA miner: https://bitcointalksearch.org/topic/ann-cudaminer-ccminer-cuda-based-mining-applications-windowslinuxmacosx-167229
CUDA miner is only for Litecoin, not for BTC (I think). But many thanks for your kind answer. I now understand why cgminer doesn't use the Nvidea GPU.

This is wrong. You can build cgminer for nvidia. The precompiled binaries are for ATI, but if you download the nvidia opencl SDK you should be able to build against it. I have done this on linux a long time ago, no idea about windows. You don't get any fan control or temperature monitoring.
Alas all of this is wrong.

All you need to do is add the following to your command: --gpu-platform 1
sr. member
Activity: 322
Merit: 250
Supersonic
Greetings.

I have a Alienware m14x with OS Windows 8 64 bits and 2 GPU's: Nvidea GeForce as default GPU and a Intel HD Graphics 4000 GPU.

With Diablo-miner, it identifies the 2 GPU's but uses only the Nvidea GeForce GT650m (25 MH/s) (GPU Load 97%).

But with cgminer 3.3.1, it only uses the Intel HD Graphics 4000 GPU, mining @ 11.8 MH/s (the Nvidea GPU load is 0%).

Is it possible for cgminer, to use both GPU's or even only the Nvidea GPU instead of the Intel one?

Many thanks in advance.

For nvidea use CUDA miner, cgminer is only for openCL devices...

CUDA miner: https://bitcointalksearch.org/topic/ann-cudaminer-ccminer-cuda-based-mining-applications-windowslinuxmacosx-167229
CUDA miner is only for Litecoin, not for BTC (I think). But many thanks for your kind answer. I now understand why cgminer doesn't use the Nvidea GPU.

This is wrong. You can build cgminer for nvidia. The precompiled binaries are for ATI, but if you download the nvidia opencl SDK you should be able to build against it. I have done this on linux a long time ago, no idea about windows. You don't get any fan control or temperature monitoring.
newbie
Activity: 4
Merit: 0
Thanks for your answer. The hub is self powered and it was weeks working alone.

The lancelot i installed today is connected directly to the rasp pi.

The problem is not the power, i think that cgminer only give works to the lancelot and the block erupter usb gets in standby...
legendary
Activity: 1904
Merit: 1002
Hello, i've a little problem, i'll try to explain.
I'm using rasp pi, and installed cgminer 3.3.1
I have 1 block erupter in a hub usb powered and a lancelot from blackarrow.

I've been using my block erupter a lot of days without problems.

Since I installed my lancelot, I tried with sudo cgminer and it starts working, but it seems the block erupter gets the first work, after that it gets in standby meanwhile the lancelot works fully. A 60 seconds the cgminer says the block erupter gets sick.

What can I do? Do you need something abot logs?

Please help!
Thanks in advantage

If your hub is not powered, you might be straining it.  You should only need 1A or so though since the Lancelot has its own power chord.
newbie
Activity: 4
Merit: 0
Hello, i've a little problem, i'll try to explain.
I'm using rasp pi, and installed cgminer 3.3.1
I have 1 block erupter in a hub usb powered and a lancelot from blackarrow.

I've been using my block erupter a lot of days without problems.

Since I installed my lancelot, I tried with sudo cgminer and it starts working, but it seems the block erupter gets the first work, after that it gets in standby meanwhile the lancelot works fully. A 60 seconds the cgminer says the block erupter gets sick.

What can I do? Do you need something abot logs?

Please help!
Thanks in advantage
hero member
Activity: 714
Merit: 500
Are ฿itcoins Radioactive?
Greetings.

I have a Alienware m14x with OS Windows 8 64 bits and 2 GPU's: Nvidea GeForce as default GPU and a Intel HD Graphics 4000 GPU.

With Diablo-miner, it identifies the 2 GPU's but uses only the Nvidea GeForce GT650m (25 MH/s) (GPU Load 97%).

But with cgminer 3.3.1, it only uses the Intel HD Graphics 4000 GPU, mining @ 11.8 MH/s (the Nvidea GPU load is 0%).

Is it possible for cgminer, to use both GPU's or even only the Nvidea GPU instead of the Intel one?

Many thanks in advance.

For nvidea use CUDA miner, cgminer is only for openCL devices...

CUDA miner: https://bitcointalksearch.org/topic/ann-cudaminer-ccminer-cuda-based-mining-applications-windowslinuxmacosx-167229
CUDA miner is only for Litecoin, not for BTC (I think). But many thanks for your kind answer. I now understand why cgminer doesn't use the Nvidea GPU.
full member
Activity: 208
Merit: 100
Greetings.

I have a Alienware m14x with OS Windows 8 64 bits and 2 GPU's: Nvidea GeForce as default GPU and a Intel HD Graphics 4000 GPU.

With Diablo-miner, it identifies the 2 GPU's but uses only the Nvidea GeForce GT650m (25 MH/s) (GPU Load 97%).

But with cgminer 3.3.1, it only uses the Intel HD Graphics 4000 GPU, mining @ 11.8 MH/s (the Nvidea GPU load is 0%).

Is it possible for cgminer, to use both GPU's or even only the Nvidea GPU instead of the Intel one?

Many thanks in advance.

For nvidea use CUDA miner, cgminer is only for openCL devices...

CUDA miner: https://bitcointalksearch.org/topic/ann-cudaminer-ccminer-cuda-based-mining-applications-windowslinuxmacosx-167229
hero member
Activity: 714
Merit: 500
Are ฿itcoins Radioactive?
Greetings.

I have a Alienware m14x with OS Windows 8 64 bits and 2 GPU's: Nvidea GeForce as default GPU and a Intel HD Graphics 4000 GPU.

With Diablo-miner, it identifies the 2 GPU's but uses only the Nvidea GeForce GT650m (25 MH/s) (GPU Load 97%).

But with cgminer 3.3.1, it only uses the Intel HD Graphics 4000 GPU, mining @ 11.8 MH/s (the Nvidea GPU load is 0%).

Is it possible for cgminer, to use both GPU's or even only the Nvidea GPU instead of the Intel one?

Many thanks in advance.

UPDATE: cgminer n option:
Code:
Microsoft Windows [Version 6.2.9200]
(c) 2012 Microsoft Corporation. All rights reserved.

c:\Program Files (x86)\50Miner\Miners\Cgminer>cgminer -n
 [2013-07-16 21:51:24] CL Platform 0 vendor: Intel(R) Corporation

 [2013-07-16 21:51:24] CL Platform 0 name: Intel(R) OpenCL
 [2013-07-16 21:51:24] CL Platform 0 version: OpenCL 1.1
 [2013-07-16 21:51:24] Platform 0 devices: 1
 [2013-07-16 21:51:24]  0       Intel(R) HD Graphics 4000
 [2013-07-16 21:51:24] CL Platform 1 vendor: NVIDIA Corporation

 [2013-07-16 21:51:24] CL Platform 1 name: NVIDIA CUDA
 [2013-07-16 21:51:24] CL Platform 1 version: OpenCL 1.1 CUDA 4.2.1

 [2013-07-16 21:51:24] Platform 1 devices: 1
 [2013-07-16 21:51:24]  0       GeForce GT 650M
 [2013-07-16 21:51:24] Unable to load ati adl library
 [2013-07-16 21:51:24] 1 GPU devices max detected
 [2013-07-16 21:51:24] USB all: found 9 devices - listing known devices

 [2013-07-16 21:51:24] No known USB devices
hero member
Activity: 807
Merit: 500
Cgminer sets network difficulty, how?

I'm asking this to better understand the problem I have at the moment. Scrypt mining (ltc) currently due to skyrocketing bitcoin diff, my cgminer is reporting a network diff of 57.9M, rather than the 883.xxxxxx which is the current ltc diff. No HW, and hash rate is good--it's a 7950, hashing at 530 Kh/s.

I had just switched from btc mining to ltc mining. When I was btc mining, cgminer reported correct network diff, but now that I have switched to ltc scrypt mining, it's reporting highly inaccurate diff.

Why is this? Does this have any impact or consequences? Any suggestions please?
https://bitcointalk.org/index.php?topic=28402.msg2649331;topicseen#msg2649331
sr. member
Activity: 448
Merit: 250
Cgminer sets network difficulty, how?

I'm asking this to better understand the problem I have at the moment. Scrypt mining (ltc) currently due to skyrocketing bitcoin diff, my cgminer is reporting a network diff of 57.9M, rather than the 883.xxxxxx which is the current ltc diff. No HW, and hash rate is good--it's a 7950, hashing at 530 Kh/s.

I had just switched from btc mining to ltc mining. When I was btc mining, cgminer reported correct network diff, but now that I have switched to ltc scrypt mining, it's reporting highly inaccurate diff.

Why is this? Does this have any impact or consequences? Any suggestions please?
hero member
Activity: 539
Merit: 500
Why not use 3.3.1?  I had to upgrade from 3.1 to get my 61 erupters working, but they are working fine on 3.3.1.

If your usb hub is a usb2 hub and not a usb3 hub you will be far better off moving to the latest version of cgminer instead. The only reason to stick with the old version of cgminer is if you have multiple usb1.1 devices on a usb3 hub for there remains an instability there that we've been unable to debug so far.

Thanks for the input, I was a little apprehensive to hack the Beaglebone since I'm linux rusty.  It is a 2.0 hub.

Got 3.3.1 compiled and running on it last night, we'll see how it works later when I get the hub moved back down there and hooked up.
hero member
Activity: 807
Merit: 500
Why decreased speed?
cgminer 3.2.1 - 645 kh
cgminer 3.3.1 - 605-610 kh
most likely you changed your settings there is no decrease in speed...
I did not change the settings.
impossible change settings moved .bat file to the folder of new cgminer 3.3.1
I have to assume you are using GPUs on scrypt givern your numbers.  Regarding GPUs, as has been posted roughly 2 billion times in this thread (albeit mostly for bitcoin), if you change drivers or SDK and then later upgrade cgminer where there are any kernel changes at all, you changed settings.  This is because you made cgminer compile new kernels on a different driver/sdk combo.  Copying a batch file or other breed of launch script doesn't change what you did to your mining machine between cgminer versions.  If you delete the scrypt kernel files from 3.2.1, you will probably see the same slowdown when you run it again and it generates new ones  You'll need to back them up first to test this.  Once it is confirmed, you will need to either revert to the old kernels on the old version, copy the old kernels to the new version if they have the exact same file names, or try to find the magic driver / SDK combo again to get the new version to compile new kernels with the best speed (deleting kernels from the new version between each attempt, probably pulling out lots of hair, and most likely making things worse before you make them better).

ETA:  In your case, you switched to a new folder, so even if there were no kernel changes, you compiled new kernels on new drivers.  I referred to this point in the fix options (copy the old kernels to the new version implies they are in different places, just like copy the batch file to the new version does), but didn't otherwise make it clear in my original response, so wanted to add it.
hero member
Activity: 742
Merit: 500
Why decreased speed?
cgminer 3.2.1 - 645 kh
cgminer 3.3.1 - 605-610 kh

most likely you changed your settings there is no decrease in speed...

I did not change the settings.
impossible change settings moved .bat file to the folder of new cgminer 3.3.1
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
It's highly likely that your hub can not provide enough power for 33 USB block eruptors simultaneously.  In fact, from your experiments, it seems to not be able to provide enough power for more than 7 at a time.  What power levels is it rated at?  Each block eruptor will need 0.5 - 0.6 Amps.

Power Supply is fine, coming from Win7 where they work.  Sparkle 400 is 30A@5v.  Thanks!

They're all hashing.

10890Mhs/333Mhs=32.7

Exactly.  It's driving me nuts that there's no work!
If your usb hub is a usb2 hub and not a usb3 hub you will be far better off moving to the latest version of cgminer instead. The only reason to stick with the old version of cgminer is if you have multiple usb1.1 devices on a usb3 hub for there remains an instability there that we've been unable to debug so far.
hero member
Activity: 737
Merit: 500
It's highly likely that your hub can not provide enough power for 33 USB block eruptors simultaneously.  In fact, from your experiments, it seems to not be able to provide enough power for more than 7 at a time.  What power levels is it rated at?  Each block eruptor will need 0.5 - 0.6 Amps.

Power Supply is fine, coming from Win7 where they work.  Sparkle 400 is 30A@5v.  Thanks!

They're all hashing.

10890Mhs/333Mhs=32.7

Exactly.  It's driving me nuts that there's no work!

Oops.  My bad.
sr. member
Activity: 257
Merit: 250
README is where you can find it.

For the lazy:
Quote
Q: Is this a virus?
A: Cgminer is being packaged with other trojan scripts and some antivirus
software is falsely accusing cgminer.exe as being the actual virus, rather
than whatever it is being packaged with. If you installed cgminer yourself,
then you do not have a virus on your computer. Complain to your antivirus
software company. They seem to be flagging even source code now from cgminer
as viruses, even though text source files can't do anything by themself.

Cheers for the feedback , I'll delete the post now.
legendary
Activity: 1904
Merit: 1002
README is where you can find it.

For the lazy:
Quote
Q: Is this a virus?
A: Cgminer is being packaged with other trojan scripts and some antivirus
software is falsely accusing cgminer.exe as being the actual virus, rather
than whatever it is being packaged with. If you installed cgminer yourself,
then you do not have a virus on your computer. Complain to your antivirus
software company. They seem to be flagging even source code now from cgminer
as viruses, even though text source files can't do anything by themself.
Jump to: