Skip to content

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

@Xubbbb

Description

@Xubbbb

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions