EGL Backend: Fail to run with CUDA OpenGL interop

Open
#209 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp
Domain
backend

Research direction

Start by reproducing the failure with NVIDIA's simpleCUDA2GL sample using VirtualGL's EGL backend. The report identifies the failing call in main.cpp:175 and a subsequent GLX context destruction error, but does not name VirtualGL files or tests to inspect. Trace how the EGL backend handles CUDA OpenGL interop and compare it with the sample's setup; done means the sample runs without the reported CUDA and X errors.

Written by the indexing model from the issue text.

Description

bug funding needed help wanted

Tried to run VirtualGL using EGL backend with the official CUDA OpenGL interop sample code, but it keeps failing the following error messages

CUDA error at main.cpp:175 code=999(cudaErrorUnknown) "cudaGraphicsGLRegisterBuffer(pbo_resource, *pbo, cudaGraphicsMapFlagsNone)"
X Error of failed request: 0
Major opcode of failed request: 150 (GLX)
Minor opcode of failed request: 4 (X_GLXDestroyContext)
Serial number of failed request: 93
Current serial number in output stream: 93
image

Dominant language
C++
Stars
830
Forks
116
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from VirtualGL/virtualgl

All issues in VirtualGL/virtualgl

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.