Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: TheShoura on April 28, 2011, 10:52:19 PM



Title: how to use --platform flag for poclbm
Post by: TheShoura on April 28, 2011, 10:52:19 PM
Wrong platform or more than one OpenCL platforms found, use --platform to select
one of the following

  • NVIDIA CUDA
  • [1] AMD Accelerated Parallel Processing

    I'm told to fix this I need to add a --platform tag to my startup command and nobody replied to another thread after asking the question so I'm hoping to get my miner back up and running ASAP. Its been a couple of hours already :(


Title: Re: how to use --platform flag for poclbm
Post by: SmokeTooMuch on April 28, 2011, 11:36:30 PM
afaik the flag is called "-d" for device.
-d 0 for the first device, -d 1 for the second and so on.


Title: Re: how to use --platform flag for poclbm
Post by: TheShoura on April 28, 2011, 11:39:54 PM
got it, thanks


Title: Re: how to use --platform flag for poclbm
Post by: Garrett Burgwardt on April 29, 2011, 01:45:05 AM
--platform and -d are different commands completely.

-d tells the miner what hardware to use, and --platform tells it what software to use.


Title: Re: how to use --platform flag for poclbm
Post by: m0mchil on April 29, 2011, 06:17:17 AM
This means you have both Nvidia and AMD drivers. Just add --platform=0 or --platform=1 to choose one of them.


Title: Re: how to use --platform flag for poclbm
Post by: ahu on April 30, 2011, 03:42:20 PM
Hi.

I have Nvidia cards in addition to an ATI 5970 as well. I'm having problems getting the second core to mine. I'm using the option "New OpenCL miner" and selecting rpcminer-opencl.exe. I've used flags -platform 1 and tried -gpu and -d flags, but the software allways only loads one ATI core according to GPU-Z. If I run two instances with different -gpu or -d flags, the per client client hash rate gets halved.

Only Catalyst driver 11.3 works for me, the other ones I've tried give me OpenCL errors. Can anyone give me some advice on which driver versions and flag settings that work?


Title: Re: how to use --platform flag for poclbm
Post by: sniper_sniperson on May 02, 2011, 07:00:25 AM
It's known bug for disabled 2nd core of 5970. Just remove nvidia, or play on another machine.


Title: Re: how to use --platform flag for poclbm
Post by: ahu on May 05, 2011, 08:45:55 AM
Thanks, but I found a solution by using Diablo miner. Diablo seems to use a flat OpenCL device enumeration, without a platform flag. In my case the 5970 cores are devices 5 and 6, whereas devices 1 to 4 are the cores of my two Nvidia GTX 590 cards. Combined hash rate is around 1 GHash/s.

And I can play with Quad SLI with the same system. Perfect  ;D

The only minor problem I have is that I have to disable the ATI devices in Control Panel in order to use PhysX. But I guess this can be done by a script as well.