Title: [LINUX MINING] bfgminer segmentation fault Post by: audricd on September 28, 2014, 09:21:25 PM 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? Title: Re: [LINUX MINING] bfgminer segmentation fault Post by: Dare on September 29, 2014, 02:37:28 AM 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).
Title: Re: [LINUX MINING] bfgminer segmentation fault Post by: ncsupanda on September 29, 2014, 04:03:24 AM Just a heads up that a segmentation fault could very likely be a lack of RAM.
Title: Re: [LINUX MINING] bfgminer segmentation fault Post by: Testing123 on September 29, 2014, 06:24:38 PM 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. :) Title: Re: [LINUX MINING] bfgminer segmentation fault Post by: audricd on September 29, 2014, 07:37:17 PM 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: -------------------------------------------------------------------------------- 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. Title: Re: [LINUX MINING] bfgminer segmentation fault Post by: Dare on October 01, 2014, 02:18:56 AM 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. :) 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! |