Skip to content

[BUG] Warp CUDA error 304 when running example_render_opengl.py #927

@shi-eric

Description

@shi-eric

Bug Description

On CUDA driver R580, running example_render_opengl.py will result in a bunch of warning messages printed to the console:

Module warp.render.render_opengl 77fd4e7 load on device 'cuda:0' took 896.82 ms  (compiled)
Warp CUDA error 304: OS call failed or operation not supported on this OS (in function wp_cuda_graphics_register_gl_buffer, /home/eshi/code-projects/warp/warp/native/warp.cu:4227)
Warp UserWarning: Could not register GL buffer since CUDA/OpenGL interoperability is not available. Falling back to copy operations between the Warp array and the OpenGL buffer.
Warp CUDA error 304: OS call failed or operation not supported on this OS (in function wp_cuda_graphics_register_gl_buffer, /home/eshi/code-projects/warp/warp/native/warp.cu:4227)
Detected locale "en_US.UTF-8" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "en_US.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
Warp CUDA error 304: OS call failed or operation not supported on this OS (in function wp_cuda_graphics_register_gl_buffer, /home/eshi/code-projects/warp/warp/native/warp.cu:4227)
Warp CUDA error 304: OS call failed or operation not supported on this OS (in function wp_cuda_graphics_register_gl_buffer, /home/eshi/code-projects/warp/warp/native/warp.cu:4227)
Warp CUDA error 304: OS call failed or operation not supported on this OS (in function wp_cuda_graphics_register_gl_buffer, /home/eshi/code-projects/warp/warp/native/warp.cu:4227)
Warp CUDA error 304: OS call failed or operation not supported on this OS (in function wp_cuda_graphics_register_gl_buffer, /home/eshi/code-projects/warp/warp/native/warp.cu:4227)
Warp CUDA error 304: OS call failed or operation not supported on this OS (in function wp_cuda_graphics_register_gl_buffer, /home/eshi/code-projects/warp/warp/native/warp.cu:4227)
Warp CUDA error 304: OS call failed or operation not supported on this OS (in function wp_cuda_graphics_register_gl_buffer, /home/eshi/code-projects/warp/warp/native/warp.cu:4227)
Warp CUDA error 304: OS call failed or operation not supported on this OS (in function wp_cuda_graphics_register_gl_buffer, /home/eshi/code-projects/warp/warp/native/warp.cu:4227)

This happens for when Warp is built against CUDA 12.5 and CUDA 13.0, so it's not specific to the toolkit version.

System Information

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions