johguse / profanity

Vanity address generator for Ethereum
834 stars 324 forks source link

Creating context -33 error on windows #38

Open lebed2045 opened 3 years ago

lebed2045 commented 3 years ago

image_2021-02-06_00-41-54

fw-aaron commented 3 years ago

I also get this on Arch Linux. I see you have two GPUs. I do, too. I wonder if it's picking the wrong one...

fw-aaron commented 3 years ago

Dude, I figured it out...well for me anyway. -33 means "invalid device". You need to figure out which device is invalid and SKIP it. ./profanity.x64 --benchmark -s 1; did it for me because the second device was invalid. My clue that it was invalid is because the name (the part after GPU1:) was nonsense and it changed each time which tells me it was using uninitialized memory (a bug in the code).

lebed2045 commented 3 years ago

have done that, but now it fails with the same issue as here https://github.com/johguse/profanity/issues/51

fw-aaron commented 3 years ago

I think that's a step up. Congratulations! Progress to #51. I'm guessing that's more of an OpenCL configuration issue.

I don't think this issue should be closed. The application reads from uninitialized memory...bad news.