Bitcoin Forum

Bitcoin => Mining software (miners) => Topic started by: Khertan on May 31, 2013, 01:03:18 PM



Title: Amd 13.4 and phatk kernel on poclbm possible workarround
Post by: Khertan on May 31, 2013, 01:03:18 PM
Hi,

So start with the beggining :

Using debian amd 13.4 driver give me errors while using poclbm miner : Failed verification check hardware.
I use the following configuration :  poclbm.py --cutoff-temp=72 -v -w 256
And a 5770 Vapor-x

As i can't downgrade amd driver for various reason, i take a look at the problem.

It s look like that come from some modifications made by amd in the opencl drivers.

The problem look like located line 30 of the phatk kernel :

Code:
 39 #ifdef BFI_INT                                                                  
 40     #define Ch(x, y, z) amd_bytealign(x, y, z)                                                               
 41 #else                                                                           
 42     #define Ch(x, y, z) bitselect(z, y, x)                                     
 43 #endif   

remove that code and replace it by :

Code:
#define Ch(x, y, z) bitselect(z, y, x)

The amd_bytealign seems have changes in recent driver but can't found documentations ...
That s works for my 5770 with driver version 13.4-2


Title: Re: Amd 13.4 and phatk kernel on poclbm possible workarround
Post by: LudwigDG on June 19, 2013, 08:23:59 AM
Greetings, thank you for your research to see how this can be helped.

I have the same problem, but I don't fully understand how I can solve this problem because I can't find that code to change it. Where is os located? How can I get it open, what program?

I would really appreciate your help. Cause I'm stuck with this problem.


Title: Re: Amd 13.4 and phatk kernel on poclbm possible workarround
Post by: Khertan on June 19, 2013, 02:42:35 PM
If you use poclbm it s depends how you install it ...
Personnaly i use the git source ...

So the phatk kernel is located in ./phatk.cl.
And you can edit it with any text editor, as it opencl source that is compiled at runtime.

Edit it, then launch poclbm ...
Or use the one that i ve edited : http://khertan.net/datas/downloads/Others/phatk.cl (http://khertan.net/datas/downloads/Others/phatk.cl)


Title: Re: Amd 13.4 and phatk kernel on poclbm possible workarround
Post by: LudwigDG on June 19, 2013, 07:34:19 PM
Thank you so much.

Now everything is working again and I'm mining 8% faster than with the older versions.


Title: Re: Amd 13.4 and phatk kernel on poclbm possible workarround
Post by: patoberli on September 27, 2013, 06:17:13 PM
Thanks, this fixed it for me!
System Win8 x64, GUIminer and a radeon mobility 5870 with latest 13.10 beta drivers.


Title: Re: Amd 13.4 and phatk kernel on poclbm possible workarround
Post by: crazyates on September 27, 2013, 06:46:38 PM
Wait, people are still GPU mining BTC? Wowzers.


Title: Re: Amd 13.4 and phatk kernel on poclbm possible workarround
Post by: patoberli on September 28, 2013, 02:29:34 PM
Yeah, I mean you do have a GPU in any case and my lousy target is 0.1 BTC :D ok, 1.0 would be nicer, but unrealistic ;)