Skip to content

CUDA UVM Module Prevents DGPU Shut Down #565

@Tanner-Lin

Description

@Tanner-Lin

CUDA 6 added a new feature named Unified Virtual Memory, which requires a separate kernel module nvidia-uvm that depends on the main driver module. This module is automatically loaded (if not already) when a CUDA/OpenCL context is initiated.

If Bumblebee tries to shut down the DGPU after this happens, the UVM module would block the main NV driver module removal, and the following BBSwitch call would fail as well.

Please add code to handle the UVM module before disabling the main driver module.

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions