bulanula
|
|
June 22, 2012, 04:51:27 PM |
|
For anyone still running ubuntu/xubuntu 11.04 like I do, the latest release binary 2.4.3 will not run on 11.04 (it's built on 12.04) You can of course compile it yourself ... or: I've compiled a distro version of 2.4.3 with all devices enabled and placed it my git downloads What this is built from is the exact source in the 2.4.3 release - cgminer-2.4.3.tar.bz2, all default options, (including ADL, GPU, curses) and also libudev & libusb, CFLAGS="-O2 -W -Wall" ./configure --enable-icarus --enable-bitforce --enable-ztex --enable-modminer So basically the same as the binary in the binary release, except compiled on xubuntu 11.04 It reports itself as cgminer 2.4.3a on the screen and in the version info If you want it, it's in my git downloads: https://github.com/kanoi/cgminer/downloadsI'll do this 'all devices' version after each release, so people with 11.04 can get a binary without having to build it, if they don't want to build it. I'm using it successfully on a rig with one 6950 GPU + one BFL Edit: and also on my fedora 16 rig with two Icarus I think ckolivas should do this himself, not that I don't trust you kano. What is the point using 12.04 anyway ? It sucks big time and 11.04 is best for miners. I don't want to be compiling each time ...
|
|
|
|
Krak
|
|
June 22, 2012, 04:53:55 PM |
|
What is the point using 12.04 anyway ? It sucks big time and 11.04 is best for miners.
What makes it suck? I just upgraded and haven't seen much of a difference so far.
|
BTC: 1KrakenLFEFg33A4f6xpwgv3UUoxrLPuGn
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4284
Merit: 1645
Ruu \o/
|
|
June 22, 2012, 11:29:18 PM |
|
I think ckolivas should do this himself, not that I don't trust you kano.
What is the point using 12.04 anyway ? It sucks big time and 11.04 is best for miners.
I don't want to be going nuts creating multiple binaries. Why 12.04? At every next installation people will find it harder and harder to install old versions as they become less and less maintained and featured, like ANY software. At some stage I have to choose when to move on, and as I did from previously with ubuntu, I decided now was the time. There is absolutely nothing wrong with 12.04 except for the fact that you don't like the AMD drivers that come with it. Choosing the best driver is non-trivial for ANY version of ANY operating system though.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
bulanula
|
|
June 23, 2012, 12:08:00 AM |
|
I think ckolivas should do this himself, not that I don't trust you kano.
What is the point using 12.04 anyway ? It sucks big time and 11.04 is best for miners.
I don't want to be going nuts creating multiple binaries. Why 12.04? At every next installation people will find it harder and harder to install old versions as they become less and less maintained and featured, like ANY software. At some stage I have to choose when to move on, and as I did from previously with ubuntu, I decided now was the time. There is absolutely nothing wrong with 12.04 except for the fact that you don't like the AMD drivers that come with it. Choosing the best driver is non-trivial for ANY version of ANY operating system though. I understand your choice. I was just wondering why. Keep up the good work !
|
|
|
|
AndyRossy
|
|
June 23, 2012, 10:30:32 PM |
|
Guys what am I doing wrong, i've spent a long time trying to get cgminer to work.
I've just made a fresh install of xubuntu, i've installed fglrx fglrx-amdcccle fglrx-dev
fglrxinfo and aticonfig --lsa both show correct information:
andrew@ren:~/cg/cgminer-2.4.3-x86_64-built$ fglrxinfo display: :0 screen: 0 OpenGL vendor string: Advanced Micro Devices, Inc. OpenGL renderer string: ATI Radeon HD 5800 Series OpenGL version string: 4.2.11627 Compatibility Profile Context
andrew@ren:~/cg/cgminer-2.4.3-x86_64-built$ aticonfig --lsa * 0. 01:00.0 ATI Radeon HD 5800 Series
* - Default adapter
I've installed AMD APP 2.4 by doing the following:
sudo bash cd /opt cp ~/AMD-APP-SDK-v2.4-lnx64.tgz . tar -xvzf /home/ubuntu/AMD-APP-SDK-v2.4-lnx64.tgz cd AMD-APP-SDK-v2.4-lnx64/ cp -pv lib/x86_64/* /usr/lib/ rsync -avl include/CL/ /usr/include/CL/ tar -xvzf icd-registration.tgz rsync -avl etc/OpenCL/ /etc/OpenCL/ ldconfig
And installed curl (apt-get install libcurl)
Whenever I run the precompiled binary as in post #1 it segfaults: ./cgminer --verbose --benchmark [2012-06-23 23:29:24] Started cgminer 2.4.3 [2012-06-23 23:29:24] CL Platform 0 vendor: Advanced Micro Devices, Inc. [2012-06-23 23:29:24] CL Platform 0 name: AMD Accelerated Parallel Processing [2012-06-23 23:29:24] CL Platform 0 version: OpenCL 1.2 AMD-APP (923.1) [2012-06-23 23:29:24] Platform 0 devices: 1 [2012-06-23 23:29:24] 0 Cypress [2012-06-23 23:29:24] GPU 0 ATI Radeon HD 5800 Series hardware monitoring enabl ed [2012-06-23 23:29:24] Found 0 ztex board(s)Segmentation fault (core dumped)
Any ideas?
|
|
|
|
kano
Legendary
Offline
Activity: 4620
Merit: 1851
Linux since 1997 RedHat 4
|
|
June 24, 2012, 12:51:33 AM |
|
923.1 is probably the problem Someone else with a 5xxx will probably know for sure ...
|
|
|
|
Krak
|
|
June 24, 2012, 04:08:51 AM |
|
I don't remember exactly, but I think those instructions are what messed up my OS in the first place. Nope - it was you that did Just used these instructions to revert back to SDK 2.5 and once again, I get a segmentation fault when I start up cgminer.
|
BTC: 1KrakenLFEFg33A4f6xpwgv3UUoxrLPuGn
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4284
Merit: 1645
Ruu \o/
|
|
June 24, 2012, 04:19:49 AM |
|
Segfaults at startup are usually mixed sdk files +/- bin files.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
Krak
|
|
June 24, 2012, 04:22:07 AM Last edit: June 24, 2012, 05:14:54 AM by Krak |
|
Segfaults at startup are usually mixed sdk files +/- bin files.
I know that, that's why I was telling him. Something's missing from his instructions. EDIT: Now I've tried installing 2.4, 2.6 and 2.7 with those instructions, all resulting in a segfault (or in the case of 2.7, it told me that all devices were disabled).
|
BTC: 1KrakenLFEFg33A4f6xpwgv3UUoxrLPuGn
|
|
|
crazyates
Legendary
Offline
Activity: 952
Merit: 1000
|
|
June 24, 2012, 02:00:41 PM |
|
Segfaults at startup are usually mixed sdk files +/- bin files.
I know that, that's why I was telling him. Something's missing from his instructions. EDIT: Now I've tried installing 2.4, 2.6 and 2.7 with those instructions, all resulting in a segfault (or in the case of 2.7, it told me that all devices were disabled). You delete your .bins?
|
|
|
|
GoldZuGeld
Newbie
Offline
Activity: 57
Merit: 0
|
|
June 24, 2012, 03:24:05 PM |
|
Could you please compile cgminer for Atheros Chipset ( Big Endian ) ? That would be very helpful, then it were possible to run cgminer with dd-wrt on TP-Link devices with Atheros Chipset. I think many users here would like that
|
|
|
|
Krak
|
|
June 24, 2012, 03:58:30 PM |
|
You delete your .bins?
Yeah, I moved it out of the folder before I started cgminer.
|
BTC: 1KrakenLFEFg33A4f6xpwgv3UUoxrLPuGn
|
|
|
JesseChisholm
Newbie
Offline
Activity: 14
Merit: 0
|
|
June 24, 2012, 07:10:46 PM |
|
re: anti-virus declaring a Trojans.
I just downloaded the cgminer-2.4.3-Win2.zip
I use AVG anti-virus, and it said that libpdcurses.dll contained a Key Logger Trojan.
On the one hand, I suspect it is a false positive. On the other hand I don't mind getting a new copy of a library from a trusted source just to be safe.
-Jesse
|
|
|
|
BitMinerN8
|
|
June 24, 2012, 07:21:44 PM |
|
re: anti-virus declaring a Trojans.
I just downloaded the cgminer-2.4.3-Win2.zip
I use AVG anti-virus, and it said that libpdcurses.dll contained a Key Logger Trojan.
On the one hand, I suspect it is a false positive. On the other hand I don't mind getting a new copy of a library from a trusted source just to be safe.
-Jesse
It's in the FAQ portion on page 1: (You're safe) Q: Is this a virus? A: Cgminer is being packaged with other trojan scripts and some antivirus software is falsely accusing cgminer.exe as being the actual virus, rather than whatever it is being packaged with. If you installed cgminer yourself, then you do not have a virus on your computer. Complain to your antivirus software company.
|
|
|
|
Krak
|
|
June 24, 2012, 08:30:10 PM |
|
Segfaults at startup are usually mixed sdk files +/- bin files.
I know that, that's why I was telling him. Something's missing from his instructions. EDIT: Now I've tried installing 2.4, 2.6 and 2.7 with those instructions, all resulting in a segfault (or in the case of 2.7, it told me that all devices were disabled). So any ideas about maybe getting rid of the SDK completely and reinstalling or am I gonna have to reinstall Ubuntu again?
|
BTC: 1KrakenLFEFg33A4f6xpwgv3UUoxrLPuGn
|
|
|
kano
Legendary
Offline
Activity: 4620
Merit: 1851
Linux since 1997 RedHat 4
|
|
June 24, 2012, 11:33:18 PM |
|
Did you ever actually install a version of fglrx some other way than apt-get? At a guess that is most likely the cause. And my guess would be that the install setup some env variable that points at the wrong directory for a library. The manual cgminer (mine and ckolivas') SDK procedure puts files in 3 places /usr/lib/ /etc/OpenCL/ /usr/include/CL/ The installs that people download or follow from other people can also redirects the system to look for those files in other places. (and I have no idea if there are some weird flavours of linux that do this in strange ways) My original comment was basically saying that I think you've done something different to the script and that's the problem, thus you'll have to sort out what you did. You could just manually remove all the drivers and SDK and reinstall it from scratch Manual removal may cause problems with apt - so you may need to work out how to tell apt stuff is removed also (or use apt to remove it as long as it doesn't try to uninstal half of linux along with whatever you remove) Aside: a system install of linux is very simple and quick ... I've even written a script on how to do that with xubu 11.04 So unless you have 7xxx cards ... though that can be handled with ... my SDK script
|
|
|
|
JesseChisholm
Newbie
Offline
Activity: 14
Merit: 0
|
|
June 24, 2012, 11:55:42 PM |
|
re: anti-virus declaring a Trojans. I just downloaded the cgminer-2.4.3-Win2.zip -Jesse
It's in the FAQ portion on page 1: (You're safe) Q: Is this a virus? A: Cgminer is being packaged with other trojan scripts and some antivirus software is falsely accusing cgminer.exe as being the actual virus, rather than whatever it is being packaged with. If you installed cgminer yourself, then you do not have a virus on your computer. Complain to your antivirus software company. Understood. (And I had read the FAQ, but thanks. ) I mentioned it here because I downloaded it from the official pristine location, linked in the topmost post. If the official version accidentally packaged up a trojan version of a 3rd party library (libpdcurses) it seemed worth mentioning. -Jesse
|
|
|
|
Krak
|
|
June 25, 2012, 12:03:20 AM |
|
Did you ever actually install a version of fglrx some other way than apt-get? At a guess that is most likely the cause. And my guess would be that the install setup some env variable that points at the wrong directory for a library.
I just did a reinstall of fglrx a couple days ago where I removed the one that was installed in the software center and installed the 12.1 driver. For the SDK, I had originally installed 2.5 using your guide, but when I upgraded to Ubuntu 12.04, it updated itself to 2.6 (probably came with the fglrx update that I didn't realize was being installed). If you could tell me how to get rid of all of it so I can start fresh, that'd be great.
|
BTC: 1KrakenLFEFg33A4f6xpwgv3UUoxrLPuGn
|
|
|
kano
Legendary
Offline
Activity: 4620
Merit: 1851
Linux since 1997 RedHat 4
|
|
June 25, 2012, 03:54:08 AM |
|
Did you ever actually install a version of fglrx some other way than apt-get? At a guess that is most likely the cause. And my guess would be that the install setup some env variable that points at the wrong directory for a library.
I just did a reinstall of fglrx a couple days ago where I removed the one that was installed in the software center and installed the 12.1 driver. For the SDK, I had originally installed 2.5 using your guide, but when I upgraded to Ubuntu 12.04, it updated itself to 2.6 (probably came with the fglrx update that I didn't realize was being installed). If you could tell me how to get rid of all of it so I can start fresh, that'd be great. Sorry - no idea - other than what I've already said. However, yes, 12.x installs the SDK also (as alluded to in my script) But once a single set of everything is installed you will most likely need to recompile cgminer ... I've never used upgrade coz it depends on every single developer out there knowing how to handle an upgrade to their software and doing it correctly each their own way ...
|
|
|
|
Krak
|
|
June 25, 2012, 03:58:21 AM |
|
Sorry - no idea - other than what I've already said. However, yes, 12.x installs the SDK also (as alluded to in my script) But once a single set of everything is installed you will most likely need to recompile cgminer ...
I've never used upgrade coz it depends on every single developer out there knowing how to handle an upgrade to their software and doing it correctly each their own way ...
Damn, so I'll just have to reinstall Ubuntu then...again. So then does 12.1 install the 2.5 SDK also? Or what order should they be installed in?
|
BTC: 1KrakenLFEFg33A4f6xpwgv3UUoxrLPuGn
|
|
|
|