Bitcoin Forum
May 01, 2024, 12:37:04 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Amd 13.4 and phatk kernel on poclbm possible workarround  (Read 6055 times)
Khertan (OP)
Full Member
***
Offline Offline

Activity: 193
Merit: 100


View Profile WWW
May 31, 2013, 01:03:18 PM
 #1

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

Make sure you back up your wallet regularly! Unlike a bank account, nobody can help you if you lose access to your BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714567024
Hero Member
*
Offline Offline

Posts: 1714567024

View Profile Personal Message (Offline)

Ignore
1714567024
Reply with quote  #2

1714567024
Report to moderator
1714567024
Hero Member
*
Offline Offline

Posts: 1714567024

View Profile Personal Message (Offline)

Ignore
1714567024
Reply with quote  #2

1714567024
Report to moderator
LudwigDG
Newbie
*
Offline Offline

Activity: 28
Merit: 0



View Profile
June 19, 2013, 08:23:59 AM
 #2

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.
Khertan (OP)
Full Member
***
Offline Offline

Activity: 193
Merit: 100


View Profile WWW
June 19, 2013, 02:42:35 PM
 #3

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

LudwigDG
Newbie
*
Offline Offline

Activity: 28
Merit: 0



View Profile
June 19, 2013, 07:34:19 PM
 #4

Thank you so much.

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

Activity: 106
Merit: 10


View Profile
September 27, 2013, 06:17:13 PM
 #5

Thanks, this fixed it for me!
System Win8 x64, GUIminer and a radeon mobility 5870 with latest 13.10 beta drivers.

YAC: YA86YiWSvWEGSSSerPTMy4kwndabRUNftf
BTC: 16NqvkYbKMnonVEf7jHbuWURFsLeuTRidX
LTC: LTKCoiDwqEjaRCoNXfFhDm9EeWbGWouZjE
crazyates
Legendary
*
Offline Offline

Activity: 952
Merit: 1000



View Profile
September 27, 2013, 06:46:38 PM
 #6

Wait, people are still GPU mining BTC? Wowzers.

Tips? 1crazy8pMqgwJ7tX7ZPZmyPwFbc6xZKM9
Previous Trade History - Sale Thread
patoberli
Member
**
Offline Offline

Activity: 106
Merit: 10


View Profile
September 28, 2013, 02:29:34 PM
 #7

Yeah, I mean you do have a GPU in any case and my lousy target is 0.1 BTC Cheesy ok, 1.0 would be nicer, but unrealistic Wink

YAC: YA86YiWSvWEGSSSerPTMy4kwndabRUNftf
BTC: 16NqvkYbKMnonVEf7jHbuWURFsLeuTRidX
LTC: LTKCoiDwqEjaRCoNXfFhDm9EeWbGWouZjE
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!