user2529: Well after getting a new graphics card (7770) I can mine bitcoins at around 120 - 180 Mhash/s Depending if I run it at full power or not.
Now I thought I would try and mine myself an address using it but the miner just seems to not work.
Using Vanitygen (Linked below) oclvanitygen I set it off mining with reports of it mining at around 4MKeys/s but nothing was showing up after 5 mins worth of time(I tried a simple prefix of 1r).
I then tried using just vanitygen64 and in seconds it found an address.
Does anyone know why?
https://bitcointalk.org/index.php?topic=25804.0

user38618: All you need to do is to add two lines to oclengine.c:
vg_ocl_device_getstr(vocp->voc_ocldid,
                           CL_DEVICE_NAME);
                           CL_DEVICE_NAME);
+           if (!strcmp(dvn, "Tahiti") || !strcmp(dvn, "Barts") || !strcmp(dvn, "Pitcairn"))
+               quirks &= ~VG_OCL_AMD_BFI_INT;
            if (!strcmp(dvn, "ATI RV710")) {
            if (!strcmp(dvn, "ATI RV710")) {
                quirks &= ~VG_OCL_OPTIMIZATIONS;
                quirks &= ~VG_OCL_OPTIMIZATIONS;
                quirks |= VG_OCL_NO_BINARIES;
                quirks |= VG_OCL_NO_BINARIES;

Add the lines starting with +, but don't copy the plus sign.
This code adds optimizations for AMD HD 68XX, 69XX, 7XXX
Thanks to Kevin Pan for his patch!

2529: <p>Well after getting a new graphics card (7770) I can mine bitcoins at around 120 - 180 Mhash/s Depending if I run it at full power or not.</p>

<p>Now I thought I would try and mine myself an address using it but the miner just seems to not work.</p>

<p>Using Vanitygen (Linked below) oclvanitygen I set it off mining with reports of it mining at around 4MKeys/s but nothing was showing up after 5 mins worth of time(I tried a simple prefix of 1r).</p>

<p>I then tried using just vanitygen64 and in seconds it found an address.</p>

<p>Does anyone know why?</p>

<p><a href="https://bitcointalk.org/index.php?topic=25804.0" rel="nofollow">https://bitcointalk.org/index.php?topic=25804.0</a></p>
 38618: <p>All you need to do is to add two lines to <code>oclengine.c</code>:</p>

<pre><code>vg_ocl_device_getstr(vocp-&gt;voc_ocldid,
                           CL_DEVICE_NAME);
                           CL_DEVICE_NAME);
+           if (!strcmp(dvn, "Tahiti") || !strcmp(dvn, "Barts") || !strcmp(dvn, "Pitcairn"))
+               quirks &amp;= ~VG_OCL_AMD_BFI_INT;
            if (!strcmp(dvn, "ATI RV710")) {
            if (!strcmp(dvn, "ATI RV710")) {
                quirks &amp;= ~VG_OCL_OPTIMIZATIONS;
                quirks &amp;= ~VG_OCL_OPTIMIZATIONS;
                quirks |= VG_OCL_NO_BINARIES;
                quirks |= VG_OCL_NO_BINARIES;
</code></pre>

<p>Add the lines starting with <code>+</code>, but don't copy the plus sign.</p>

<p>This code adds optimizations for AMD HD 68XX, 69XX, 7XXX</p>

<p>Thanks to Kevin Pan for <a href="https://github.com/samr7/vanitygen/pull/53" rel="nofollow noreferrer">his patch</a>!</p>
