Bitcoin Forum
December 30, 2024, 04:38:22 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [LINUX MINING] bfgminer segmentation fault  (Read 1779 times)
audricd (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
September 28, 2014, 09:21:25 PM
 #1

hello,

Id like some help setting up bfgminer on linux, more precisely OpenSuse 13.1.

Ive been following this guide:
http://wiki.tiker.net/OpenCLHowTo

And expect a few minor changes because its slightly outdated (pretty much download links and versions numbers) i did everything it tells.

yet whenever i run bfgminer (even with the -S opencl:auto tag) or guiminer i get a segmentation fault.

OpenCL seems to be installed correctly, because prior to this, the error message i had was from guiminer saying i had no opencl devices in an alert window. now i dont even get to that.

i ran aticonfig --initial, blacklisted the opensource radeon driver and this is my fglrxinfo output:

audric@linux-soqy:~/poclbm> fglrxinfo
display: :0  screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 5700 Series
OpenGL version string: 4.4.12874 Compatibility Profile Context 14.10.1006

any help please?
Dare
Hero Member
*****
Offline Offline

Activity: 508
Merit: 500


Techwolf on #bitcoin and Reddit


View Profile WWW
September 29, 2014, 02:37:28 AM
Last edit: September 29, 2014, 02:47:30 AM by Dare
 #2

You probably won't get too much help here in the beginner section, try asking a mod to move this thread to the "Mining Support" section (or post it there yourself, now that you have a high enough activity).

BTC: 1M8oUcBnkRDEhWWgV8ZXLTB6p1mgnejVbX
How Forum Activity Works
Bitcointalk Forum Rules
|
|
|
Firstbits (lucky vanitygen): 1WoLfRUGDx1
How Forum Trust Works
Bitcoin Source Code
ncsupanda
Legendary
*
Offline Offline

Activity: 1628
Merit: 1012



View Profile
September 29, 2014, 04:03:24 AM
 #3

Just a heads up that a segmentation fault could very likely be a lack of RAM.
Testing123
Hero Member
*****
Offline Offline

Activity: 561
Merit: 500



View Profile
September 29, 2014, 06:24:38 PM
 #4

You probably won't get too much help here in the beginner section, try asking a mod to move this thread to the "Mining Support" section (or post it there yourself, now that you have a high enough activity).


As a side note, there is no activity requirement for posting outside of this newbie section now. New users can make their first post in any section and any post. Smiley

audricd (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
September 29, 2014, 07:37:17 PM
 #5

hello all, and thanks for the replies.

I come with updates.

So apparently the segmentation fault was due to the fact my icds were misplaced. so i added them (it seems) by taking a shot in the dark doing files likes this in opt/vendors/OpenCL

filename:
amdocl32.icd

content:
/opt/amd-opencl-icd-VERSION.MINOR/lib/libamdocl32.so


i have done this for amdocl64.icd, amdoclcl64.icd, aticalc.icd, aticaldd.icd, and aticalrt.icd. All the icds i could make of the libs provided by the amd sdk.

also, two shortcuts were automatically made by installing the sdk:
libamdocl64.so
libaticalcl.so

they both point to /opt/amd-opencl-icd-VERSION.MINOR/lib/

when i did that, bfgminer told me it couldnt find/read phatk121016.cl, so i made it for him by downloading and adding it from the source:
https://github.com/fcicq/cgminer/blob/master/phatk121016.cl
into my bfgminer folder. it worked.

after that, unfortunately, i have yet another error, this is the new and latest output:

Code:
--------------------------------------------------------------------------------
 5s:144.9 avg:153.1 u:  0.0 Mh/s | A:0 R:0 S:0 HW:1 U:0.0/m BS:0
 ST: 2  DW: 0  GW: 1  LW: 6  GF: 0  NB: 1  AS: 0  RF: 0  E: 0.00
 Connected to uk1.ghash.io diff 1.02k with stratum as user audricd.worker2
 Block: ...f42311a9 #323092  Diff:34.7G (248.1Ph/s)  Started: [21:37:34]
--------------------------------------------------------------------------------
 [P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit
 OCL 0:  59.0C  45%    | 128.5/153.1/  0.0Mh/s | A:0 R:0 HW:1 U:0.00/m
--------------------------------------------------------------------------------

 [2014-09-29 21:37:30] Probing for an alive pool
 [2014-09-29 21:37:34] Network difficulty changed to 34.7G (248.1Ph/s)
 [2014-09-29 21:37:34] Stratum from pool 0 detected new block
 [2014-09-29 21:37:34] Disabling extra threads due to dynamic mode.
 [2014-09-29 21:37:34] Tune dynamic intensity with --gpu-dyninterval
 [2014-09-29 21:37:34] OCL 0 (thread 1) being disabled
 [2014-09-29 21:37:54] OCL 0: invalid nonce - HW error

it seems its definitely a step forward as the gpu appears to be detected

also I forgot to mention we are talking about a ati 5780 1gig, the rest of the rig is a amd phenom quad 3ghz, 4gigs of ram ddr2.

im making progress but im stuck again.
Dare
Hero Member
*****
Offline Offline

Activity: 508
Merit: 500


Techwolf on #bitcoin and Reddit


View Profile WWW
October 01, 2014, 02:18:56 AM
 #6

You probably won't get too much help here in the beginner section, try asking a mod to move this thread to the "Mining Support" section (or post it there yourself, now that you have a high enough activity).

As a side note, there is no activity requirement for posting outside of this newbie section now. New users can make their first post in any section and any post. Smiley

Good to know; I thought the requirement had been reduced from 5 posts in the beginner section to 1, not removed entirely. Thanks for the info!

BTC: 1M8oUcBnkRDEhWWgV8ZXLTB6p1mgnejVbX
How Forum Activity Works
Bitcointalk Forum Rules
|
|
|
Firstbits (lucky vanitygen): 1WoLfRUGDx1
How Forum Trust Works
Bitcoin Source Code
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!