NVIDIA / NVIDIA/open-gpu-kernel-modules

CUDA in Graphics (CiG) mode is not available on Linux platform

Open
#989 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C
Stars
17.4k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

NVIDIA Open GPU Kernel Modules Version

590.44.01

Please confirm this issue does not happen with the proprietary driver (of the same version). This issue tracker is only for bugs specific to the open kernel driver.
  • I confirm that this does not happen with the proprietary driver package.
Operating System and Version

Ubuntu 24.04.2

Kernel Release

Linux 6.14.0-37-generic x86_64

Please confirm you are running a stable release kernel (e.g. not a -rc). We do not accept bug reports for unreleased kernels.
  • I am running on a stable kernel release.
Hardware: GPU

4090

Describe the bug

I want to parallel CUDA computation and Vulkan rendering on my 4090. But I find that the results of "cuDeviceGetAttribute(&cigSupported, CU_DEVICE_ATTRIBUTE_VULKAN_CIG_SUPPORTED, cuDev)" and "cuDeviceGetAttribute(&cigSupported, CU_DEVICE_ATTRIBUTE_D3D12_CIG_SUPPORTED, cuDev)" are always "not supported". But on Windows platform with a 4070 GPU, this is supported. I wonder that whether CiG is only available on Windows platform?

To Reproduce

Just run this code to check CiG support.

int main() {
cuInit(0);
CUdevice cuDev;
cuDeviceGet(&cuDev, 0);
int cigSupported = 0;
cuDeviceGetAttribute(&cigSupported, CU_DEVICE_ATTRIBUTE_VULKAN_CIG_SUPPORTED, cuDev);
printf("[CUDA] CU_DEVICE_ATTRIBUTE_VULKAN_CIG_SUPPORTED = %d\n", cigSupported);
if (!cigSupported){
printf("[RESULT] Device/driver reports Vulkan CIG NOT supported.\n");
}

return 0;
}

Bug Incidence

Always

nvidia-bug-report.log.gz

None

More Info

No response

Contributor guide

Open the contributing guide

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.

Research direction

Start with the provided cuDeviceGetAttribute reproduction on Ubuntu 24.04.2 with the open driver, using the reported RTX 4090 and kernel version. Compare the Vulkan and D3D12 CiG attribute results with the corresponding Windows behavior and project documentation; done means establishing whether Linux support is expected or identifying a confirmed driver defect.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
computer-graphics, operating-systems
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.