Bitcoin Forum

Bitcoin => Mining => Topic started by: cdehaan on June 11, 2011, 02:32:57 PM



Title: Any miners offer OpenGL Support?
Post by: cdehaan on June 11, 2011, 02:32:57 PM
Hello miners, I have a basic question. My video card doesn't support openCL, but it does have a somewhat powerful openGL capability. Is there any mining program that can tap into that? Thanks.

 - Chris


Title: Re: Any miners offer OpenGL Support?
Post by: w0mbat on June 11, 2011, 02:38:53 PM
well, what would you wana do with OGL? its not like u have to render BTC.

what card do u have?


Title: Re: Any miners offer OpenGL Support?
Post by: twmz on June 11, 2011, 02:47:07 PM
I think you are misunderstanding the relationship between OpenCL, OpenGL, and mining. 

OpenGL (and DirectX) is an API for drawing graphics on the screen using the GPU.

OpenCL is an API for doing calculations using the GPU.

Things like mining, F@H, video encoding, etc need OpenCL because they are all essentially trying to do a lot of calculations as fast as they can.

Hopefully you can now see that it is not relevant if your card support OpenGL.  It really must support OpenCL.

Of course, OpenCL is just a standard API and before it came along, programs could still do calculations with the GPU, they just had to do it with the proprietary APIs from ATI and Nvidia.  In theory, someone might make a miner that used the proprietary APIs to do the calculations on a card that didn't support OpenCL.  But there hasn't been any real demand for that (because most cards that don't support OpenCL are so old that they would be crappy miners anyway).


Title: Re: Any miners offer OpenGL Support?
Post by: cdehaan on June 11, 2011, 02:55:29 PM
Thanks, that very well explains why no one mentions openGL in terms of mining.

 - Chris


Title: Re: Any miners offer OpenGL Support?
Post by: teknohog on June 11, 2011, 03:14:11 PM
GLSL is a standard part of OpenGL that people have used for non-graphics calculations. However, it is not particularly good, see this post for example:

http://forum.bitcoin.org/index.php?topic=4618.msg191488#msg191488