sharky112065
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 07, 2012, 12:22:01 PM |
|
can anyone compile the latest cgminer from git for windows for me?
thanks!
You can do it. Follow these instructions and you can be compiling in under 30 minutes. http://pastebin.com/3pzivj32
|
Donations welcome: 12KaKtrK52iQjPdtsJq7fJ7smC32tXWbWr
|
|
|
cablepair
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 07, 2012, 02:13:05 PM |
|
con, kano
Have you guys considered web user interface instead of console? You are already providing a lot of the info via APIs so the switch from console to http/html might not be that hard to do.
The reason I got this idea is that I'm thinking about packaging it into Windows service. If we just had the web interface we could run cgminer under LocalSystem account on Windows, no user logins, just boot and go. Same on Linux. No need to ssh through firewalls etc. No logmeins on Windows boxes to slow things down.
Logs, performance charts etc can be viewed remotely. Also, control or just quick "check ins" can be done from anywhere.
Think about it. This would make cgminer, "the miner to run".
cgminer already is "the miner to run" its far superior to most any other miner out there and for many good reasons ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
fred0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 07, 2012, 02:23:13 PM Last edit: March 07, 2012, 03:01:17 PM by fred0 |
|
The reason I got this idea is that I'm thinking about packaging it into Windows service. If we just had the web interface we could run cgminer under LocalSystem account on Windows, no user logins, just boot and go. Same on Linux. No need to ssh through firewalls etc. No logmeins on Windows boxes to slow things down.
Logs, performance charts etc can be viewed remotely. Also, control or just quick "check ins" can be done from anywhere.
Thinking about it. Running as a service it's like Windows without windows. I like that. So for every miner setup, I would have the privilege of buying a copy of Windows to not use windows. Hmm. Somehow, I think this is not the most profitable route to take. But I understand why MS would like it.
|
|
|
|
rjk
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 448
Merit: 250
1ngldh
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 07, 2012, 02:43:58 PM |
|
...snip...
Would only work on XP. Windows 7 requires the user to be logged in, since the display drivers run in usermode, not kernelmode.
|
|
|
|
fabrizziop
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 07, 2012, 03:18:27 PM |
|
I don't know why did I miss this miner earlier, I started to use, it's very practical, now I don't have to use clocktweak and 4 phoenix miners. And, it's even giving me 20 MH/s more per card with 12.1 than phoenix with 12.1. I think this gem needs more advertising to newbies.
|
|
|
|
DeathAndTaxes
Donator
Legendary
Offline
Activity: 1218
Merit: 1079
Gerald Davis
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 07, 2012, 03:22:28 PM |
|
con, kano
Have you guys considered web user interface instead of console? You are already providing a lot of the info via APIs so the switch from console to http/html might not be that hard to do.
The reason I got this idea is that I'm thinking about packaging it into Windows service. If we just had the web interface we could run cgminer under LocalSystem account on Windows, no user logins, just boot and go. Same on Linux. No need to ssh through firewalls etc. No logmeins on Windows boxes to slow things down.
Logs, performance charts etc can be viewed remotely. Also, control or just quick "check ins" can be done from anywhere.
Think about it. This would make cgminer, "the miner to run".
There are web interfaces! That is the whole point of some of us putting up a huge bounty to get RPC access into cgminer. cgminer IMHO should focus on being the best ENGINE. With RPC it can be controlled via web interface, and android app, a windows GUI, or any other interface someone desires. Take a look at ANUBIS and cgminer web monitor for examples of alternate interfaces. If the existing web interfaces don't do everything you want them to then support those authors via bounties. IMHO cgminer would have absolutely no interface at all. Simply operate as a silent daemon and users would interact with it via RPC calls much like how bitcoind works. Still there are advantages to a minimal interface for debugging and testing. Tightly coupling cgminer to a web interface would be bad. It would also defeat the purpose of RPC API. The API exists to allow 3rd party apps to interact with cgminer. A last technical issue is conman has a lot of code to maintain and improve. He has indicated he doesn't like GUI work. RPC provides a perfect split. Those that like user interfaces can treat cgminer as a black box and code interfaces using the RPC. Conman meanwhile is able to focus on making cgminer engine the most efficient and possible and know that others are making "pretty" interfaces. BTW as a side note: you can't run cgminer under local system because in Win7/Vista video drivers are user mode drivers. No user logged in = no GPU access.
|
|
|
|
DeathAndTaxes
Donator
Legendary
Offline
Activity: 1218
Merit: 1079
Gerald Davis
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 07, 2012, 03:52:45 PM |
|
BTW as a side note: you can't run cgminer under local system because in Win7/Vista video drivers are user mode drivers. No user logged in = no GPU access.
Oh well...That pretty much stops my idea in its tracks :-) I'll just install ANUBIS then and use my wife as "a remote re-login agent" in case I need to reboot. Or pay ANUBIS developer a bounty to support remote rebooting. It would be OS specific but can be done. ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) Theoretically everything can be done through a web interface (troubleshooting, monitoring, modifying configurations, restarting miner, rebooting rigs, powering off rigs). SSH could simply be used as a "last resort" to troubleshoot a rig with broken web control panel.
|
|
|
|
cablepair
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 07, 2012, 04:25:52 PM |
|
any idea if Bitforce temps and API stats will be included in next version?
|
|
|
|
|
cablepair
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 07, 2012, 08:17:05 PM |
|
its not in the latest windows version, I have a linux binary from the git with it compiled in to show temps but it wasnt compiled with openGL - so I cant run the Bitforce on the same machine as GPUs which I need to do in this situation.
|
|
|
|
fred0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 07, 2012, 08:49:27 PM |
|
its not in the latest windows version, I have a linux binary from the git with it compiled in to show temps but it wasnt compiled with openGL - so I cant run the Bitforce on the same machine as GPUs which I need to do in this situation.
I originally was running a single instance of cgminer, but I changed to two instances. One for the GPUs, one for the BFL Singles. For the GPU ionstance I compiled without the bitforce configuration. For the BFL cgminer I run kano's version with --disable-gpu. Maybe you can just run two instances until a windows binary becomes available.
|
|
|
|
cablepair
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 07, 2012, 09:10:04 PM |
|
its not in the latest windows version, I have a linux binary from the git with it compiled in to show temps but it wasnt compiled with openGL - so I cant run the Bitforce on the same machine as GPUs which I need to do in this situation.
I originally was running a single instance of cgminer, but I changed to two instances. One for the GPUs, one for the BFL Singles. For the GPU ionstance I compiled without the bitforce configuration. For the BFL cgminer I run kano's version with --disable-gpu. Maybe you can just run two instances until a windows binary becomes available. yeah I might do that, I have a compiled luke-jr binary that shoes the temps right now i have the original version of cgminer running with gpu/bf and not just showing temps (it does throttle after all) but it would be nice to see the temps thanks
|
|
|
|
kano
Legendary
Offline
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 08, 2012, 01:10:35 AM |
|
Yeah there's been a few FPGA changes (and related pull requests) since the last release and ckolivas started his 'break' There also needs to be more work done on the interaction between Icarus and Bitforce (so that by default Bitforce doesn't die with an Icarus device plugged in - though Luke-jr has sent a pull 'work around')
|
|
|
|
bulanula
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 08, 2012, 01:11:48 AM |
|
Yeah there's been a few FPGA changes (and related pull requests) since the last release and ckolivas started his 'break' There also needs to be more work done on the interaction between Icarus and Bitforce (so that by default Bitforce doesn't die with an Icarus device plugged in - though Luke-jr has sent a pull 'work around')
Well I just hope all this FPGA messing about does not break the GPU functionality. Only a fraction of miners are using FPGA ATM and the majority are using GPU.
|
|
|
|
Panda Mouse
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 88
Merit: 10
Gliding...
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 08, 2012, 12:23:38 PM |
|
BTW as a side note: you can't run cgminer under local system because in Win7/Vista video drivers are user mode drivers. No user logged in = no GPU access.
Oh well...That pretty much stops my idea in its tracks :-) I'll just install ANUBIS then and use my wife as "a remote re-login agent" in case I need to reboot. You can automatically start your user interface without your wife :-) I made a new user with no rights, turn the pass off, and set task scheduler triggered "login user". Its worg great after power off. You can define another triggers. Panda.
|
|
|
|
kano
Legendary
Offline
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 08, 2012, 01:08:43 PM |
|
Yeah there's been a few FPGA changes (and related pull requests) since the last release and ckolivas started his 'break' There also needs to be more work done on the interaction between Icarus and Bitforce (so that by default Bitforce doesn't die with an Icarus device plugged in - though Luke-jr has sent a pull 'work around')
Well I just hope all this FPGA messing about does not break the GPU functionality. Only a fraction of miners are using FPGA ATM and the majority are using GPU. What?!?! You don't have an FPGA yet? ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif)
|
|
|
|
Panda Mouse
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 88
Merit: 10
Gliding...
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 08, 2012, 05:25:27 PM |
|
BTW as a side note: you can't run cgminer under local system because in Win7/Vista video drivers are user mode drivers. No user logged in = no GPU access.
Oh well...That pretty much stops my idea in its tracks :-) I'll just install ANUBIS then and use my wife as "a remote re-login agent" in case I need to reboot. You can automatically start your user interface without your wife :-) I made a new user with no rights, turn the pass off, and set task scheduler triggered "login user". Its worg great after power off. You can define another triggers. Panda. Panda, I tried to setup what you suggests but I cannot get this to work. I must be retarded. I'm running Win 7 Ultimate, no matter what I do, boot comes back with ALT+CTRL+DEL login screen. I remember I could login into XP without user interaction, but how do YOU do this in Windows 7? Any settings in the registry perhaps? Yes, you can :-) 0. Write simple batch file starting your cgminer exe with all parameters name him startcg.bat, 1. In windows task scheduler set start your batch file named startcg.bat, the trigger use "after user login" 2. Remove the need for password: a. login in your windows account normally, b. [Windows][R] start run, c. write control userpasswords2 d. select user name, you want password remove at start windows. unselect control "to use this computer user must write name and password' e. select OK. Next time you will start this account without password. Dont forger set BIOS "power up after power faliure" I'am sorry for my english, but I have polish windows and and in your english windows there is another, but the sense is the same. I use Windows 7 and it works great. The most important is to use tool "control userpasswords2" Panda.
|
|
|
|
DeathAndTaxes
Donator
Legendary
Offline
Activity: 1218
Merit: 1079
Gerald Davis
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 08, 2012, 06:27:47 PM |
|
or once you have Windows 7 to login automatically just put a shortcut to the batch file in the startup folder. I use it to ensure p2pool and bitcoind startup automatically after a crash. Really I should look into making them services though.
|
|
|
|
stevegee58
Legendary
Offline
Activity: 916
Merit: 1003
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 08, 2012, 07:50:47 PM |
|
Is it really that simple? I thought you couldn't start p2pool until bitcoind had fully synced with the network (sometimes minutes).
Like suppose power is off for 2 or 3 hours. It'd take bitcoind several minutes to catch up and I don't think it's responsive during that time.
|
You are in a maze of twisty little passages, all alike.
|
|
|
Hawkix
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 08, 2012, 07:55:09 PM |
|
I have not checked the source code, but it seems that CGMINER keeps getting work from all defined pools, regardless if it mines on them or not. I am on very slow line (GPRS), so this hogs it the line a lot. Can it be run in "no poll" mode, just being switched on failure of primary pool?
BTW, i already use --failover-only, but it has no effect on amount of work being downloaded.
|
|
|
|
|