profanity icon indicating copy to clipboard operation
profanity copied to clipboard

Creating context -33 error on windows

Open lebed2045 opened this issue 4 years ago • 4 comments

image_2021-02-06_00-41-54

  • sorry for image, I didn't figure out how to copy stuff from the cmd on these windows machines...

lebed2045 avatar Feb 05 '21 22:02 lebed2045

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 avatar Feb 26 '21 20:02 fw-aaron

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).

fw-aaron avatar Feb 26 '21 21:02 fw-aaron

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

lebed2045 avatar Jul 28 '21 16:07 lebed2045

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.

fw-aaron avatar Jul 28 '21 18:07 fw-aaron