makiet
Newbie
Offline
Activity: 20
Merit: 0
|
|
July 13, 2011, 02:31:49 PM |
|
|
|
|
|
drgr33n (OP)
|
|
July 13, 2011, 03:18:10 PM |
|
xhost didn't allow you to take control of the screens. I'll look into this now. If your using persistence Just add xhost + chmod uog+rw /dev/ati/card*
to /etc/init.d/gdm just before the exit 0; so it looks like this ;; *) echo "Usage: /etc/init.d/gdm {start|stop|restart|reload|force-reload|st$ exit 1 ;; esac chmod uog+rw /dev/ati/card* xhost + exit 0
and reboot for now. I will look into this in a while.
|
|
|
|
makiet
Newbie
Offline
Activity: 20
Merit: 0
|
|
July 13, 2011, 03:36:57 PM |
|
Thank drgr33n
I'll try it and report here.
But how about my other question: How many GPU LinuxCoin can support? (The maximum GPUs can mine in one Linuxcoin machine?) 6 or 8 or 10?
|
|
|
|
drgr33n (OP)
|
|
July 13, 2011, 03:41:52 PM |
|
Thank drgr33n
I'll try it and report here.
But how about my other question: How many GPU LinuxCoin can support? (The maximum GPUs can mine in one Linuxcoin machine?) 6 or 8 or 10?
Not sure never tried top overload but I would of thought as many as you can cram into one machine.
|
|
|
|
makiet
Newbie
Offline
Activity: 20
Merit: 0
|
|
July 13, 2011, 03:50:38 PM |
|
I heard there was a limit GPU OpenCL can support depend on OS.
OS can detect as many as I plug in. But on Windows, I'm sure 100% I can only mine with 4 GPU.
But with Linux, someone said 6, someone said 10 (Ubuntu).
|
|
|
|
sharky112065
|
|
July 13, 2011, 06:10:38 PM |
|
Are you still coming out with a release version this week? If you say no, guess I will just have to use 0.2.1b and live with the bugs.
|
Donations welcome: 12KaKtrK52iQjPdtsJq7fJ7smC32tXWbWr
|
|
|
dishwara
Legendary
Offline
Activity: 1855
Merit: 1016
|
|
July 13, 2011, 06:41:00 PM |
|
I heard there was a limit GPU OpenCL can support depend on OS.
OS can detect as many as I plug in. But on Windows, I'm sure 100% I can only mine with 4 GPU.
But with Linux, someone said 6, someone said 10 (Ubuntu).
In Ubuntu 11.04, i mined with 8 cards on MSI big bang marshal mother board. 4 * 5870 & 4 * 6970. So, i am sure In Linux you can mine with 8 cards that too different series. Many says 11.6 catalyst allows Windows to mine with 8 cards, but it didn't work for me. May be if you use same series & cards, it may mine.
|
|
|
|
drgr33n (OP)
|
|
July 13, 2011, 07:36:35 PM Last edit: July 13, 2011, 08:00:56 PM by drgr33n |
|
I heard there was a limit GPU OpenCL can support depend on OS.
OS can detect as many as I plug in. But on Windows, I'm sure 100% I can only mine with 4 GPU.
But with Linux, someone said 6, someone said 10 (Ubuntu).
Like I said I've never looked into this I will have a bit of a read up later. Are you still coming out with a release version this week? If you say no, guess I will just have to use 0.2.1b and live with the bugs.
Should be ready by mid / end of the week. Just updated the wiki to include a tested way of setting up X11 forwarding + how to enable VNC via SSH enjoy !!
|
|
|
|
gnar1ta$
Donator
Hero Member
Offline
Activity: 798
Merit: 500
|
|
July 13, 2011, 10:54:07 PM |
|
Is anyone using GUI miner? I was using it for a while but ssh is more stable than vnc - especially when straining the GPU for mining. Just seems like a GUI interface may be easier for a lot of people who are unfamiliar with linux. It was for me anyway. May be something to think about adding???
|
Losing hundreds of Bitcoins with the best scammers in the business - BFL, Avalon, KNC, HashFast.
|
|
|
Smalleyster
Member
Offline
Activity: 84
Merit: 10
I yam what I yam. - Popeye
|
|
July 13, 2011, 10:58:31 PM |
|
Is anyone using GUI miner? I was using it for a while but ssh is more stable than vnc - especially when straining the GPU for mining. Just seems like a GUI interface may be easier for a lot of people who are unfamiliar with linux. It was for me anyway. May be something to think about adding???
I've been fiddling with it to no avail so far in LinuxCoin. I read where someone got it working using wine but so far I have failed to do so It would be very beneficial to my efforts to educate my peers to have it running as the linux command line generates instant hostility whenever I mention or show it. So for now I have to start my show and tell in windows to show the GUIminer.
|
|
|
|
Smalleyster
Member
Offline
Activity: 84
Merit: 10
I yam what I yam. - Popeye
|
|
July 13, 2011, 11:59:28 PM |
|
Announcing:
NoobHowTo [A soup to nuts newbee system for a secure, portable USB wallet]
The Goal:
If you follow these steps in order you too will have:
A Portable and Reasonably Secure BitCoin Wallet System.
Pick the bottom link in my sig if you have any interest in a complete system built on Dr green's awesome LinuxCoin that includes simple to use encryption for your portable wallet.
|
|
|
|
gnar1ta$
Donator
Hero Member
Offline
Activity: 798
Merit: 500
|
|
July 14, 2011, 02:54:11 AM Last edit: July 14, 2011, 04:08:42 AM by gnar1ta$ |
|
Is anyone using GUI miner? I was using it for a while but ssh is more stable than vnc - especially when straining the GPU for mining. Just seems like a GUI interface may be easier for a lot of people who are unfamiliar with linux. It was for me anyway. May be something to think about adding???
I've been fiddling with it to no avail so far in LinuxCoin. I read where someone got it working using wine but so far I have failed to do so It would be very beneficial to my efforts to educate my peers to have it running as the linux command line generates instant hostility whenever I mention or show it. So for now I have to start my show and tell in windows to show the GUIminer. I'm sure others can improve on this but this is how I installed it: - Use Synaptic or apt-get to install python-wxgtk2.8 (I just searched python wx in Synaptic and clicked the box) - in root terminal git clone https://github.com/Kiv/poclbm.git (this will create poclbm directory so don't be in /opt/miners/ when you run it) - cd into the poclbm directory you just created and run I have no idea how to make an icon or run it without a terminal window but it's a great program for beginners, as long as you're not using remote access.
|
Losing hundreds of Bitcoins with the best scammers in the business - BFL, Avalon, KNC, HashFast.
|
|
|
drgr33n (OP)
|
|
July 14, 2011, 11:14:34 AM |
|
Is anyone using GUI miner? I was using it for a while but ssh is more stable than vnc - especially when straining the GPU for mining. Just seems like a GUI interface may be easier for a lot of people who are unfamiliar with linux. It was for me anyway. May be something to think about adding???
I've been fiddling with it to no avail so far in LinuxCoin. I read where someone got it working using wine but so far I have failed to do so It would be very beneficial to my efforts to educate my peers to have it running as the linux command line generates instant hostility whenever I mention or show it. So for now I have to start my show and tell in windows to show the GUIminer. I'm sure others can improve on this but this is how I installed it: - Use Synaptic or apt-get to install python-wxgtk2.8 (I just searched python wx in Synaptic and clicked the box) - in root terminal git clone https://github.com/Kiv/poclbm.git (this will create poclbm directory so don't be in /opt/miners/ when you run it) - cd into the poclbm directory you just created and run I have no idea how to make an icon or run it without a terminal window but it's a great program for beginners, as long as you're not using remote access. Great post !!! If anyone has little gems like this please put them on the wiki !!!
|
|
|
|
V4Vendettas
|
|
July 14, 2011, 11:23:07 AM |
|
Just wanted to say to say thank you thank you thank you. Without this thread and the op taking the time to do all he has done my mining would have died b4 it had a chance to come alive. 2 rigs up and running with this now and once I have a few more will defo donate Lol 3 weeks ago I didnt even know what linux really was and now look at me go.
|
|
|
|
malavita
Member
Offline
Activity: 90
Merit: 10
|
|
July 15, 2011, 02:05:57 AM |
|
Anybody found a way to set Powertune via line command instead of AMDOverdriveCtrl for multiple adapters? I found this, but not sure I can run/compile it under Linuxcoin: @krumplee: how do you use this undocumented function?
Download ADL SDK from http://developer.amd.com/Downloads/ADL_SDK_3.0.zipIt is enough to copy adl_sdk.h into /usr/include Save the following code as powercontrol.cpp #include <iostream> #include <cstdlib> #include <adl_sdk.h>
using namespace std;
extern "C" { int ADL_Main_Control_Create (ADL_MAIN_MALLOC_CALLBACK, int); int ADL_Adapter_NumberOfAdapters_Get(int *); int ADL_Overdrive5_PowerControl_Set(int, int); int ADL_Overdrive5_PowerControl_Get(int, int *, int *); }
void* __stdcall Alloc ( int iSize ) { void* lpBuffer = malloc ( iSize ); return lpBuffer; }
void __stdcall ADL_Main_Memory_Free ( void** lpBuffer ) { if ( NULL != *lpBuffer ) { free ( *lpBuffer ); *lpBuffer = NULL; } }
int main() { int adapters, a=99, b=99; if(ADL_Main_Control_Create (Alloc, 1) != ADL_OK) { cout << "ADL initialization error!" << endl; return -1; } if(ADL_Adapter_NumberOfAdapters_Get(&adapters) != ADL_OK) { cout << "Cannot get the number of adapters!" << endl; return -1; } cout << "Found " << adapters << " adapters" << endl; for(int i=0; i<adapters; i++) { if(ADL_Overdrive5_PowerControl_Set(i, 20) != ADL_OK) { cout << "Failed to set " << i << " power control" << endl; return -1; } else { cout << "Value set for " << i << endl; } if(ADL_Overdrive5_PowerControl_Get(i, &a, &b) != ADL_OK) { cout << "Failed to get " << i << " power control" << endl; return -1; } cout << "result: " << a << "%, b: " << b << endl; } return 0; } Finally compile: g++ -DLINUX -o powercontrol powercontrol.cpp -latiadlxx
|
Somebody's gotta finance this revolution - you can help by donating supplies, ammo, field hospital beds or simply BTCs here: 1QBNASECM8z2LLojkqZH3s2F8Ur7nhafNc
|
|
|
Math Man
|
|
July 15, 2011, 05:33:04 AM |
|
Has anyone else run into these problems with SmartCoin and LinuxCoin together? I tried the SmartCoin forum, but the developed said he'd never seen a problem like this. I am running LinuxCoin 0.2b from a SSD with /home installed on a different partition. I have difficulties immediately when installing SmartCoin. When I try to install SmartCoin from either ssh or using a vnc client, I get the below message before being asked for root permissions. ./smartcoin_install.sh: line 39: Log: command not found SQLite header and source version mismatch 2011-05-19 13:26:54 ed1da510a239ea767a01dc332b667119fa3c908e 2011-06-23 19:49:22 4374b7e83ea0a3fbc3691f9c0c936272862f32f2 SQLite header and source version mismatch 2011-05-19 13:26:54 ed1da510a239ea767a01dc332b667119fa3c908e 2011-06-23 19:49:22 4374b7e83ea0a3fbc3691f9c0c936272862f32f2 SQLite header and source version mismatch 2011-05-19 13:26:54 ed1da510a239ea767a01dc332b667119fa3c908e 2011-06-23 19:49:22 4374b7e83ea0a3fbc3691f9c0c936272862f32f2
Everything is okay with 'updatedb' and installing dependencies. I manually checked that procmail, sqlite3, bc, sysstat, openssh-server are installed and updated. Then I get this. Setting up local machine in database... SQLite header and source version mismatch 2011-05-19 13:26:54 ed1da510a239ea767a01dc332b667119fa3c908e 2011-06-23 19:49:22 4374b7e83ea0a3fbc3691f9c0c936272862f32f2
done.
Then it throws up the same SQlite header and source version mismatch error dozens of times and continues to give the same error when trying to auto-detect the GPUs and miners. Locating the SDK path automatically works just fine. If I decline the auto-detect and later manually try to add GPUs and miners manually, I get the following SQLite header and source version mismatch 2011-05-19 13:26:54 ed1da510a239ea767a01dc332b667119fa3c908e 2011-06-23 19:49:22 4374b7e83ea0a3fbc3691f9c0c936272862f32f2 Please select the machine from the list above that is hosting this miner
I've tried purging sqlite3 and installing again to no avail. I'm stuck and don't know what to do. Any ideas?
|
|
|
|
smoothie
Legendary
Offline
Activity: 2492
Merit: 1474
LEALANA Bitcoin Grim Reaper
|
|
July 15, 2011, 07:19:05 AM |
|
Should there be an associated block chain that distributes linuxcoins via mining?
|
███████████████████████████████████████
,╓p@@███████@╗╖, ,p████████████████████N, d█████████████████████████b d██████████████████████████████æ ,████²█████████████████████████████, ,█████ ╙████████████████████╨ █████y ██████ `████████████████` ██████ ║██████ Ñ███████████` ███████ ███████ ╩██████Ñ ███████ ███████ ▐▄ ²██╩ a▌ ███████ ╢██████ ▐▓█▄ ▄█▓▌ ███████ ██████ ▐▓▓▓▓▌, ▄█▓▓▓▌ ██████─ ▐▓▓▓▓▓▓█,,▄▓▓▓▓▓▓▌ ▐▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▌ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓─ ²▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓╩ ▀▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▀ ²▀▀▓▓▓▓▓▓▓▓▓▓▓▓▀▀` ²²² ███████████████████████████████████████
| . ★☆ WWW.LEALANA.COM My PGP fingerprint is A764D833. History of Monero development Visualization ★☆ . LEALANA BITCOIN GRIM REAPER SILVER COINS. |
|
|
|
makiet
Newbie
Offline
Activity: 20
Merit: 0
|
|
July 15, 2011, 09:11:41 AM |
|
Hi, I want to run my mining script at startup. I'm using Linuxcoin 0.21b persistent on a thumb drive. I put my script file (miner.sh) in /etc/init.d directory and used update-rc to register it. But nothing happen when linuxcoin finished booting. I also tried to put the script in to local.rc but no luck. Please help. Here is miner.sh: atitweak -m 300 atitweak -e 960 DISPLAY=0.0 aticonfig --pplib-cmd="set fanspeed 0 75" DISPLAY=0.1 aticonfig --pplib-cmd="set fanspeed 0 75" DISPLAY=0.2 aticonfig --pplib-cmd="set fanspeed 0 75" DISPLAY=0.3 aticonfig --pplib-cmd="set fanspeed 0 75" /usr/bin/x-terminal-emulator -t "worker0" -e /home/user/Desktop/deepbit0.sh /usr/bin/x-terminal-emulator -t "worker1" -e /home/user/Desktop/deepbit1.sh /usr/bin/x-terminal-emulator -t "worker2" -e /home/user/Desktop/deepbit2.sh /usr/bin/x-terminal-emulator -t "worker3" -e /home/user/Desktop/deepbit3.sh
Each deepbit file has the same content: If I run the miner.sh file in the root terminal manually, it run perfectly. Please help me to resolve this problem.
|
|
|
|
drgr33n (OP)
|
|
July 15, 2011, 01:01:15 PM |
|
Just wanted to say to say thank you thank you thank you. Without this thread and the op taking the time to do all he has done my mining would have died b4 it had a chance to come alive. 2 rigs up and running with this now and once I have a few more will defo donate Lol 3 weeks ago I didnt even know what linux really was and now look at me go. lol Thanks !! Glad your enjoying linuxcoin !! Anybody found a way to set Powertune via line command instead of AMDOverdriveCtrl for multiple adapters? I found this, but not sure I can run/compile it under Linuxcoin: @krumplee: how do you use this undocumented function?
Download ADL SDK from http://developer.amd.com/Downloads/ADL_SDK_3.0.zipIt is enough to copy adl_sdk.h into /usr/include Save the following code as powercontrol.cpp #include <iostream> #include <cstdlib> #include <adl_sdk.h>
using namespace std;
extern "C" { int ADL_Main_Control_Create (ADL_MAIN_MALLOC_CALLBACK, int); int ADL_Adapter_NumberOfAdapters_Get(int *); int ADL_Overdrive5_PowerControl_Set(int, int); int ADL_Overdrive5_PowerControl_Get(int, int *, int *); }
void* __stdcall Alloc ( int iSize ) { void* lpBuffer = malloc ( iSize ); return lpBuffer; }
void __stdcall ADL_Main_Memory_Free ( void** lpBuffer ) { if ( NULL != *lpBuffer ) { free ( *lpBuffer ); *lpBuffer = NULL; } }
int main() { int adapters, a=99, b=99; if(ADL_Main_Control_Create (Alloc, 1) != ADL_OK) { cout << "ADL initialization error!" << endl; return -1; } if(ADL_Adapter_NumberOfAdapters_Get(&adapters) != ADL_OK) { cout << "Cannot get the number of adapters!" << endl; return -1; } cout << "Found " << adapters << " adapters" << endl; for(int i=0; i<adapters; i++) { if(ADL_Overdrive5_PowerControl_Set(i, 20) != ADL_OK) { cout << "Failed to set " << i << " power control" << endl; return -1; } else { cout << "Value set for " << i << endl; } if(ADL_Overdrive5_PowerControl_Get(i, &a, &b) != ADL_OK) { cout << "Failed to get " << i << " power control" << endl; return -1; } cout << "result: " << a << "%, b: " << b << endl; } return 0; } Finally compile: g++ -DLINUX -o powercontrol powercontrol.cpp -latiadlxx Should compile ? You should try it out and let us know. If it does you or I could add it to the wiki. Should there be an associated block chain that distributes linuxcoins via mining?
Depends how you are mining. If your solo you will need to download the blockchain. If your in a pool then no. Hi, I want to run my mining script at startup. I'm using Linuxcoin 0.21b persistent on a thumb drive. I put my script file (miner.sh) in /etc/init.d directory and used update-rc to register it. But nothing happen when linuxcoin finished booting. I also tried to put the script in to local.rc but no luck. Please help. Here is miner.sh: atitweak -m 300 atitweak -e 960 DISPLAY=0.0 aticonfig --pplib-cmd="set fanspeed 0 75" DISPLAY=0.1 aticonfig --pplib-cmd="set fanspeed 0 75" DISPLAY=0.2 aticonfig --pplib-cmd="set fanspeed 0 75" DISPLAY=0.3 aticonfig --pplib-cmd="set fanspeed 0 75" /usr/bin/x-terminal-emulator -t "worker0" -e /home/user/Desktop/deepbit0.sh /usr/bin/x-terminal-emulator -t "worker1" -e /home/user/Desktop/deepbit1.sh /usr/bin/x-terminal-emulator -t "worker2" -e /home/user/Desktop/deepbit2.sh /usr/bin/x-terminal-emulator -t "worker3" -e /home/user/Desktop/deepbit3.sh
Each deepbit file has the same content: If I run the miner.sh file in the root terminal manually, it run perfectly. Please help me to resolve this problem. copy and paste the following into a text file and call it mining.desktop [Desktop Entry] Name=start-miners Comment=Simple script to start my miners Type=Application Exec=/path/to/youscript.sh Terminal=false
Move that file into ~/.config/autostart and make your script executable. mv mining.desktop ~/.config/autostart chmod 777 /path/to/yourscript.sh
Reboot and your good to go. The reason your scripts not working when added to sysvinit is because your cards haven't been initialized until LXDE has started. Has anyone else run into these problems with SmartCoin and LinuxCoin together? I tried the SmartCoin forum, but the developed said he'd never seen a problem like this. I am running LinuxCoin 0.2b from a SSD with /home installed on a different partition. I have difficulties immediately when installing SmartCoin. When I try to install SmartCoin from either ssh or using a vnc client, I get the below message before being asked for root permissions. ./smartcoin_install.sh: line 39: Log: command not found SQLite header and source version mismatch 2011-05-19 13:26:54 ed1da510a239ea767a01dc332b667119fa3c908e 2011-06-23 19:49:22 4374b7e83ea0a3fbc3691f9c0c936272862f32f2 SQLite header and source version mismatch 2011-05-19 13:26:54 ed1da510a239ea767a01dc332b667119fa3c908e 2011-06-23 19:49:22 4374b7e83ea0a3fbc3691f9c0c936272862f32f2 SQLite header and source version mismatch 2011-05-19 13:26:54 ed1da510a239ea767a01dc332b667119fa3c908e 2011-06-23 19:49:22 4374b7e83ea0a3fbc3691f9c0c936272862f32f2
Everything is okay with 'updatedb' and installing dependencies. I manually checked that procmail, sqlite3, bc, sysstat, openssh-server are installed and updated. Then I get this. Setting up local machine in database... SQLite header and source version mismatch 2011-05-19 13:26:54 ed1da510a239ea767a01dc332b667119fa3c908e 2011-06-23 19:49:22 4374b7e83ea0a3fbc3691f9c0c936272862f32f2
done.
Then it throws up the same SQlite header and source version mismatch error dozens of times and continues to give the same error when trying to auto-detect the GPUs and miners. Locating the SDK path automatically works just fine. If I decline the auto-detect and later manually try to add GPUs and miners manually, I get the following SQLite header and source version mismatch 2011-05-19 13:26:54 ed1da510a239ea767a01dc332b667119fa3c908e 2011-06-23 19:49:22 4374b7e83ea0a3fbc3691f9c0c936272862f32f2 Please select the machine from the list above that is hosting this miner
I've tried purging sqlite3 and installing again to no avail. I'm stuck and don't know what to do. Any ideas? Got to say I've never experienced this before. I can confirm the smartcoin is working great in 0.2-final and I'm working with the author to add additional features to smartcoin/linuxcoin. More info to follow.
|
|
|
|
Dargo
Legendary
Offline
Activity: 1820
Merit: 1000
|
|
July 15, 2011, 02:10:55 PM |
|
I'm mining with linuxcoin and would like to go headless with ssh to an old netbook I haven't been using. Does it matter at all what linux distro I use (aside from finding one that runs well on the netbook)? I'm currently testing linux peppermint, and really like it. This distro is very fast and has 0 installation issues for me. If it is just a matter of personal taste, I'll probably go with this. But I would appreciate anyone pointing out features other distros have that might make them better for my purposes. For example, is there any advantage to just running another copy of linuxcoin?
Also, is it possible to ssh (or something like it) directly to another computer by ethernet cable? If so would that be more secure than ssh over the network? I hope these question aren't too pathetically newbish, but, well, I'm a newb. Thanks.
|
|
|
|
|