New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GL examples cause operating system call error #5
Comments
First, it is not entirely clear which sample causes the error right now:
So in which example does which error appear exactly? |
Sorry, what I said isn't clear. There are two problems when I run the sample. One is that I will encounter error "CUDA_ERROR_OPERATING_SYSTEM" when I test JCudaDriverSimpleJOGL, JCudaDriverSimpleLWJGL and JCudaDriverVolumeRendererJOGL. The other is that my computer crashes when I run JCudaDriverUnifiedMemory. |
Maybe it isn't a common question, and I'm unlucy to encounter it. Good night! Don't worry it. I plan to choose pycuda for cuda accelerating |
Well, it's at least good to know that there might be an issue. The first guesses would be as usual ("Do you have the latest drivers installed" etc). But "CUDA_ERROR_OPERATING_SYSTEM" also raises the suspicion that it might be something specific for Windows 10. I could try to allocate some time to run the samples on a Win10 machine, but could not give a timeline here. If you urgently need the specific features (GL buffer mapping and unified memory) on Windows 10, I could increase the priority here, but otherwise, I'd keep this issue mainly as a reminder, and see whether others report similar problems. |
My computer enviroment is no problem: win10 64bit + cuda10.0 + jcuda 10.0.
Other samples are passed, but there are two bugs when I test all java source (directory: driver/gl.samples) related to opengl and JCudaRuntimeUnifiedMemory.java . The former reminds me with erro massage "CUDA_ERROR_OPERATING_SYSTEM on thread AWT-EventQueue-0", and after I debug it I only conclude that it comes from a wrong return of native methond "cuGraphicsGLRegisterBufferNative" ( it doesn't appear when I use visual studio 2012 to test the methond, I don't know why). The latter will fail with a not responding even a crash. Obviously, the system call isn't successful.
The text was updated successfully, but these errors were encountered: