Bitcoin Forum
April 26, 2024, 08:34:49 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Poll
Question: What miner backend do you use with GUIMiner?
OpenCL (poclbm) - 1395 (47%)
Phoenix - 341 (11.5%)
ufasoft CPU miner - 172 (5.8%)
puddinpop RPC Miner - 43 (1.4%)
Other - 173 (5.8%)
Don't know - 846 (28.5%)
Total Voters: 2968

Pages: « 1 2 3 4 5 6 7 8 9 10 [11] 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 ... 70 »
  Print  
Author Topic: GUI mining - updated Dec 3 with 7970 bugfix, also supports Stratum!  (Read 3231919 times)
os008
Member
**
Offline Offline

Activity: 79
Merit: 10



View Profile
March 28, 2011, 02:51:50 PM
 #201

Hey Kiv. Great work. Just wanted to point-out that the new icon is a bit lower in resolution; it looks rough at the edges of the circle. Thanks.

2x5850 @ 600[M|K]H/s
1714163689
Hero Member
*
Offline Offline

Posts: 1714163689

View Profile Personal Message (Offline)

Ignore
1714163689
Reply with quote  #2

1714163689
Report to moderator
1714163689
Hero Member
*
Offline Offline

Posts: 1714163689

View Profile Personal Message (Offline)

Ignore
1714163689
Reply with quote  #2

1714163689
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Kiv (OP)
Full Member
***
Offline Offline

Activity: 162
Merit: 100



View Profile
March 28, 2011, 08:01:01 PM
 #202

Thanks, and good point about the icon. I wanted to have a larger one for the Windows 7 taskbar but it does look terrible when shrunk. Probably I'll need to render them individually in Photoshop for each size.

Hey Kiv. Great work. Just wanted to point-out that the new icon is a bit lower in resolution; it looks rough at the edges of the circle. Thanks.

GUIMiner - get started easily mining Bitcoins on your GPU or CPU
Donate to support work on GUIMiner: 1MDDh2h4cAZDafgc94mr9q95dhRYcJbNQo
or YouTipIt
urizane
Newbie
*
Offline Offline

Activity: 56
Merit: 0



View Profile
March 29, 2011, 12:30:06 PM
 #203

There is a way to stick multiple resolutions in one .ico file.  For example, I've got one that has 7 images in it:
256x256x32, 48x48x32, 32x32x32, 16x16x32, 48x48x8, 32x32x8, 16x16x8

I'm not sure if there is software out there that builds multiple images for a .ico file on the fly given one image, but it would be handy in this case.  I've been making individual icons and slapping them together after the fact.

If you use one of those icon files for your build, it should bring over all of them.  If you look at VLC, for example, there are a number of icons within it, one of them being 256x256x32.  Keep in mind that if you do a multi-resolution icon file, the first icon in the file is the one that the preview pane will lock onto.
Kiv (OP)
Full Member
***
Offline Offline

Activity: 162
Merit: 100



View Profile
March 29, 2011, 08:34:42 PM
 #204

Thanks, I've found this program which looks promising: IcoFX. If it works out I'll ask if they accept Bitcoin donations ^_^

GUIMiner - get started easily mining Bitcoins on your GPU or CPU
Donate to support work on GUIMiner: 1MDDh2h4cAZDafgc94mr9q95dhRYcJbNQo
or YouTipIt
urizane
Newbie
*
Offline Offline

Activity: 56
Merit: 0



View Profile
March 29, 2011, 08:47:59 PM
Last edit: March 29, 2011, 09:13:41 PM by urizane
 #205

If it does work out for you, i.e. you can get multiple resolutions into one .ico file, then that would be way easier than the way I'm doing it now.  As it is now, I take each version of the icon and slap it together with a hex editor so that all of them are in one file.  Windows will pick the right icon for the right situation.  For example...

User is running a 32-bit desktop (aren't we all now?):
Standard desktop icon size is 48x48: Windows reads the 48x48x32 icon
Right click and select properties.  The icon inside the dialog next to the file name input box is the 32x32x32 icon and the titlebar of that dialog is the 16x16x32 icon.

Theoretically, you could have totally different icons for each resolution and optimize the icon for what looks best at each resolution.  If the user is running a 16-bit desktop (maybe a really old XP machine), then Windows will load the appropriate 8-bit icon.  The only color depths I've seen so far are 1, 4, 8, 24, and 32 bit.  I don't think anybody does less than 8-bit anymore, and even that is probably falling off.

If the program you're going to use refuses to put multiple resolution images in one .ico file and instead puts them in a .icr file, I can show you how to work from there to get what you need.

EDIT: I just took a look at logo.ico from 20110327, because I was interested in what you've got.  I actually don't use this miner since I'm running CUDA.  It seems that there are already 6 images in this file, all 32-bit.  16x16, 32x32, 48x48, 64x64, 128x128, and 256x256, in that order.  Whatever you were using before seems to do the job.  The only thing you would do different is if you want to create different images for different resolutions.
urizane
Newbie
*
Offline Offline

Activity: 56
Merit: 0



View Profile
March 29, 2011, 09:25:38 PM
Last edit: March 29, 2011, 11:06:35 PM by urizane
 #206

Hey Kiv. Great work. Just wanted to point-out that the new icon is a bit lower in resolution; it looks rough at the edges of the circle. Thanks.

If you're using 20110327, then the reason you might be seeing an improperly matched icon is if your taskbar or title bars are displaying icons in sizes that are not 16x16, 32x32, or 48x48.  For example, if your taskbar displays an icon at 24x24, Windows has a funny behavior for certain icons of picking the 16x16 over the 32x32, and so on.  Fixing this would require removing the 16x16 icon out of the file, forcing windows to scale the 32x32 icon, except, Windows doesn't scale 32-bit icons using bilinear filtering.  It uses nearest neighbor, which is horrible.  It does do filtering for all other bit depths.  So... umm... yeah, you might be stuck with a funny looking icon unless your taskbar and title bar are sized appropriately for the icon.

EDIT: Oh, I think I see what your problem is.  It's not your fault, it's Windows.  Looking at the properties dialog, I was seeing the 16x16 icon in the title bar like I expected.  What I didn't expect, however, was that Windows decided that the taskbar (which I specifically set to display 16x16 icons) chose to load the 32x32 icon and scale it anyway.  Even though the title bar was right, the taskbar was wrong.  I'm kind of stumped on this one.  I'll play around with the order of the images within the icon file to see if I can get Windows to do what it's supposed to do.

EDIT x2:  Apparently, I can't seem to reorder the icons within the .ico file to get what I want, and I'm not the first to hit a brick wall.  Apparently, this has bugged someone else.
http://www.indigorose.com/forums/threads/30291-How-to-set-16x16-version-of-an-.ico-file-as-window-icon

EDIT x3:  Oddly enough, I turned of Aero and hovered over the taskbar button and both the taskbar and the popout box were definately displaying icons in the size of 16x16, but the taskbar was still using the 32x32 icon resized and the popout box used the right friggen icon.  Frustration...  I'm giving up on this one.  It seems to work everywhere but the taskbar for me.  Also, that bit about the preview pane only displaying the first image in the icon was apparently wrong.  This bug only seems to haunt one of my older icons, not that it matters anyway.
Kiv (OP)
Full Member
***
Offline Offline

Activity: 162
Merit: 100



View Profile
March 29, 2011, 11:06:16 PM
Last edit: March 29, 2011, 11:30:51 PM by Kiv
 #207

Looking at this site indicates to me that there's no way to avoid this behavior using ICO files.

EDIT: Got this taken care of, I just pull the 16x16 icon out of the icon bundle and explicitly give that one to the taskbar. I also had to hand-edit the 16x16 icon since it was giving translucent pixels and apparently those actually mean "be really dark". After taking those out, it looks fine now Smiley


GUIMiner - get started easily mining Bitcoins on your GPU or CPU
Donate to support work on GUIMiner: 1MDDh2h4cAZDafgc94mr9q95dhRYcJbNQo
or YouTipIt
urizane
Newbie
*
Offline Offline

Activity: 56
Merit: 0



View Profile
March 29, 2011, 11:11:45 PM
 #208

Yeah, but here, they're pointing out XP oddities with picking icon sizes that are too low in resolution in the taskbar and too high a resolution in the system tray.  Unfortunately, I'm seeing the taskbar pick too high a resolution, which is just weird.  Well, I did see somewhere else that there was a way to send two window messages setting the icon twice, specifying the resolution in the message (Visual C++).  One was sent for the regular icon and the other was sent for 16x16.  Also, I made an edit while you were typing apparently.  I was just letting you know I'm giving up on this.  It was good to cut the boredom, ... I think.

Scott Seligman posted on Thursday, September 04, 2008 10:44 AM
Add the icon to the appropriate members of the WNDCLASSEX structure for
your RegisterClassEx call:

wcex.hIcon = LoadIcon(m_hInstance, MAKEINTRESOURCE(IDI_ICONNAME));
wcex.hIconSm = (HICON) LoadImage(m_hInstance,
MAKEINTRESOURCE(IDI_ICONNAME), IMAGE_ICON,
GetSystemMetrics(SM_CXSMICON),
GetSystemMetrics(SM_CYSMICON), 0);

source
Kiv (OP)
Full Member
***
Offline Offline

Activity: 162
Merit: 100



View Profile
March 29, 2011, 11:19:32 PM
 #209

Well, I'm glad you were having fun Smiley

You mentioned you don't use the miner because you use CUDA - would you be interested in testing CUDA support if I were to integrate an existing CUDA miner into the GUI? From the poll in the thread there seems to be reasonable demand for it, but I don't have any CUDA capable hardware around.

GUIMiner - get started easily mining Bitcoins on your GPU or CPU
Donate to support work on GUIMiner: 1MDDh2h4cAZDafgc94mr9q95dhRYcJbNQo
or YouTipIt
urizane
Newbie
*
Offline Offline

Activity: 56
Merit: 0



View Profile
March 29, 2011, 11:35:47 PM
Last edit: March 29, 2011, 11:50:31 PM by urizane
 #210

By existing, do you mean puddinpop's?  I'm already using that, so it'd be easy to get a head start mining with the GUI.  I'm game to try whatever you throw in, anyway.  The problem is, I'm about to log off of consciousness, shortly.

EDIT: Got this taken care of, I just pull the 16x16 icon out of the icon bundle and explicitly give that one to the taskbar. I also had to hand-edit the 16x16 icon since it was giving translucent pixels and apparently those actually mean "be really dark". After taking those out, it looks fine now Smiley

Would you have to worry about taskbars displaying icons larger than 16x16?  Also, The translucent sections I'm looking at in the icon are white with a teeny tiny opacity. (255,255,255,1)  Oh wait, I see the problem.  The 1-bit transparency plane is all set to zero.  Some of that should be marked transparent, perhaps alpha != 255.
bbulker
Full Member
***
Offline Offline

Activity: 124
Merit: 100


View Profile
March 29, 2011, 11:50:18 PM
 #211

There is a way to stick multiple resolutions in one .ico file.  For example, I've got one that has 7 images in it:
256x256x32, 48x48x32, 32x32x32, 16x16x32, 48x48x8, 32x32x8, 16x16x8

I'm not sure if there is software out there that builds multiple images for a .ico file on the fly given one image, but it would be handy in this case.  I've been making individual icons and slapping them together after the fact.

If you use one of those icon files for your build, it should bring over all of them.  If you look at VLC, for example, there are a number of icons within it, one of them being 256x256x32.  Keep in mind that if you do a multi-resolution icon file, the first icon in the file is the one that the preview pane will lock onto.

If you get the .ico file extension plugin for photoshop, you can save multiple sizes and bit-depths to the same file doing it one-by-one. I've made quite a few icons like that.
urizane
Newbie
*
Offline Offline

Activity: 56
Merit: 0



View Profile
March 29, 2011, 11:55:30 PM
 #212

There is a way to stick multiple resolutions in one .ico file.  For example, I've got one that has 7 images in it:
256x256x32, 48x48x32, 32x32x32, 16x16x32, 48x48x8, 32x32x8, 16x16x8

I'm not sure if there is software out there that builds multiple images for a .ico file on the fly given one image, but it would be handy in this case.  I've been making individual icons and slapping them together after the fact.

If you use one of those icon files for your build, it should bring over all of them.  If you look at VLC, for example, there are a number of icons within it, one of them being 256x256x32.  Keep in mind that if you do a multi-resolution icon file, the first icon in the file is the one that the preview pane will lock onto.

If you get the .ico file extension plugin for photoshop, you can save multiple sizes and bit-depths to the same file doing it one-by-one. I've made quite a few icons like that.

Yeah, apparently Kiv's already got that licked.  The icon already had 6 versions of the same picture in it, all at 32-bit, but I'm sure it's fine.  The 128x128 icon is superfluous, though.

Seriously, I'm going to sleep now.  I got to stop checking the board just... one... last...... time.
Transisto
Donator
Legendary
*
Offline Offline

Activity: 1731
Merit: 1008



View Profile WWW
March 31, 2011, 07:26:49 PM
 #213

after installing opencl sdk, my nvidia card stopped working,

The console view show
Code:
Wrong platform or more than one ...  Press [0] for cuda, [1] for OpenCL...

Wish I could press it... what should I do ? Is there a poclbm flag to bypass this and force cuda ?
compro01
Hero Member
*****
Offline Offline

Activity: 590
Merit: 500



View Profile
March 31, 2011, 11:18:50 PM
 #214

after installing opencl sdk, my nvidia card stopped working,

The console view show
Code:
Wrong platform or more than one ...  Press [0] for cuda, [1] for OpenCL...

Wish I could press it... what should I do ? Is there a poclbm flag to bypass this and force cuda ?

i had the same problem. 

add "--platform 0" to the extra flags box.
urizane
Newbie
*
Offline Offline

Activity: 56
Merit: 0



View Profile
April 01, 2011, 02:57:30 AM
 #215

after installing opencl sdk, my nvidia card stopped working,

The console view show
Code:
Wrong platform or more than one ...  Press [0] for cuda, [1] for OpenCL...

Wish I could press it... what should I do ? Is there a poclbm flag to bypass this and force cuda ?

nVidia drivers come with OpenCL support built-in.  Installing AMD's OpenCL SDK is not helpful.  That SDK is made for AMD cards and will only add clutter to your machine.  You're going to want to remove that.  Also, poclbm (Python OpenCL Bitcoin Miner) does not run CUDA code, it runs OpenCL code.  You'll be selecting the platform that nVidia has set up to run OpenCL code on CUDA capable hardware.  This GUI that Kiv is writing up will have CUDA support in the future, but it only uses poclbm at the moment.  CUDA and OpenCL run fairly close to the same level of performance on nVidia hardware, but I have seen about an 8% performance benefit using a true CUDA miner over an OpenCL miner.  If this GUI gets CUDA support, I'll be willing to try it out to see if I get the same level of performance.  Mind you, I've done some tweaking of CUDA parameters to get to the performance I've got.
Kiv (OP)
Full Member
***
Offline Offline

Activity: 162
Merit: 100



View Profile
April 03, 2011, 01:56:32 PM
 #216

Hi everyone, by popular demand I'm putting up a beta version with support for puddinpop's RPC miners. I don't actually have access to CUDA hardware, so I need testers to see if that part works at all Smiley

The link is here:

    guiminer-20110403-pre.exe (self-extracting archive)

To use rpcminer for the backend, pick File -> New External Miner and then point to the miner EXE you want to use (CUDA, 4way, etc). I packaged the latest rpcminer with the GUI but you should be able to point to another version of the EXE if you want.

There's no device dropdown for these miners so to run on multiple devices you'll need to use the standard rpcminer flags.

Let me know if you have any luck and if it seems to be working I'll update the first post.

GUIMiner - get started easily mining Bitcoins on your GPU or CPU
Donate to support work on GUIMiner: 1MDDh2h4cAZDafgc94mr9q95dhRYcJbNQo
or YouTipIt
jurian89
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
April 03, 2011, 02:31:48 PM
 #217

It works on my 8600m GT. but i get lower khash/s and my computer is slower... So reverting back to opengl Smiley.

greatbotboy
Newbie
*
Offline Offline

Activity: 37
Merit: 0



View Profile WWW
April 03, 2011, 06:55:05 PM
 #218

First time poster, long time lurker.

GTX 560Ti (main video card)
GTX 460 (secondary card)

both cards have been oc'd, not much but roughly +100 MHz Clock speed using stock air cooling

Previously with your GUI and poclbm I was doing 132 Mhash/s (116 Mhash/s when not oc'd) I have seen a combined increase of ~24 Mhash/s, bringing me up to ~156 Mhash/s.  I'm assuming that the difference is in the miner and not your GUI.

Overall the GUI and miner seem to be stable and and not producing any errors or problems. I will update if this changes. Kiv you have yet again done a great job, expect some coin in the mail.
urizane
Newbie
*
Offline Offline

Activity: 56
Merit: 0



View Profile
April 04, 2011, 09:23:42 PM
 #219

It works on my 8600m GT. but i get lower khash/s and my computer is slower... So reverting back to opengl Smiley.

If you don't feed the CUDA miner specific gpugrid and gputhreads parameters, it will do a benchmark of all of the available options to find the best one.  Either due to a bug or driver issues, some of your first couple of runs of the CUDA miner may be less than you could get.  Sometimes if you leave your system idle for about 60 seconds, then you get better speeds.  Sometimes, you would have to run it immediately after closing it to see the best speeds.  It's somewhat random.  If you do see one instance of it running the fastest, take note of the last pairs of numbers that show up.  For me, the best pair of numbers ended up being (128,128).  They'll show up in the order (gpugrid, gputhreads).  Otherwise, you could just run the miner yourself, constantly varying the inputs until you see the greatest average mining speed.  The first report of the hash speed will be lower than all of the others, so give it some time.  Also, for the large majority of nVidia cards, your ask rate should be larger than the default.  If you get less than 40 Mhash/s, this should be 10 seconds (10000 ms) or greater.  Everybody has a different theology for the interval between getwork requests, so if you mine in a pool, you may have to PM a pool operator for the settings that they would like you to use.  They'll need to know your hash rate.  As far as system slowness, there's an aggression setting you can raise or lower to change the responsiveness.

Hi everyone, by popular demand I'm putting up a beta version with support for puddinpop's RPC miners. I don't actually have access to CUDA hardware, so I need testers to see if that part works at all Smiley

I haven't had the time to run it, yet.  I'll be doing that sometime within the next 24 hours.  I'm glad to test it out for you and offer any suggestions I can, since I've been toying with these miners for some time.

There's no device dropdown for these miners so to run on multiple devices you'll need to use the standard rpcminer flags.

Yeah, I can't see how you would be able to fix this other than making a specific form for each miner.  As far as I know, puddinpop's RPC OpenCL miner and m0mchil's Python OpenCL miner yield pretty close to the same hash rate on a majority of hardware.  I don't think there will be too much of an outrage if puddinpop's OpenCL miner gets left out, but it would still be a little bit of a headache to set up hardware lists for each miner (OpenCL vs. CUDA).  The RPC CPU miner that does not have the -4way suffix runs the same code as the bitcoin client, if I remember correctly.  That one can probably be ignored, as well... maybe.  Also, CUDA has this weird behavior of making my secondary card be GPU 0 and my primary be GPU 1.  Just thought I would pass that along.
geebus
Sr. Member
****
Offline Offline

Activity: 258
Merit: 250



View Profile WWW
April 05, 2011, 11:21:55 AM
 #220

As opposed to trying to fit multiple icons into the same ico file, you can take a single icon of max resolution size for Windows (96x96x256) and build it directly into the EXE when compiled, then reference the EXE for the icon. Windows will automatically downscale an icon from an executable, but wont if it's a standalone .ico file (which is why it requires multiple sizes in the same file).

Change setup.py to have:
Code:
setup(windows=[
        {
            "script": "guiminer.py",                   
            "icon_resources": [(0, "guiminer.ico")]     
        }
    ],

Then, in guiminer.py, in your frame subclass add:
Code:
if os.path.exists("guiminer.exe"):
     self.SetIcon(wx.Icon("guiminer.exe",wx.BITMAP_TYPE_ICO))

Windows should handle it natively after that, as long as the icon is in position 0.

Feel like donating to me? BTC Address: 14eUVSgBSzLpHXGAfbN9BojXTWvTb91SHJ
Pages: « 1 2 3 4 5 6 7 8 9 10 [11] 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 ... 70 »
  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!