From a3d3f950fa9fad4641c4cdcc8cb9e9c9e0d2569b Mon Sep 17 00:00:00 2001 From: "ray.chen" Date: Wed, 2 Oct 2019 10:42:25 +0800 Subject: graphics: add job and script for nvlink link status check --- units/graphics/jobs.pxu | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'units/graphics') diff --git a/units/graphics/jobs.pxu b/units/graphics/jobs.pxu index 01ec380..d5344e3 100644 --- a/units/graphics/jobs.pxu +++ b/units/graphics/jobs.pxu @@ -539,3 +539,16 @@ command: {switch_to_cmd} pm_test --silent --checkbox-respawn-cmd $PLAINBOX_SESSION_SHARE/__respawn_checkbox reboot --log-level=debug --log-dir=$PLAINBOX_SESSION_SHARE flags: noreturn preserve-locale also-after-suspend + +plugin: shell +category_id: com.canonical.plainbox::graphics +id: graphics/nvlink-status-check +requires: + dmi.product in ['Desktop','Low Profile Desktop','Tower','Mini Tower', 'Space-saving'] + graphics_card.driver == 'nvidia' + package.name == 'nvidia-smi' +command: nvidia_nvlink_check +_summary: Check NVIDIA NVLINK status +_description: Check NVLINK are supported and NVLINK are connected properly on system, please make sure below items before testing: + 1. More than one NVIDIA Graphic card are installed. + 2. Each graphic card are connected by NVLINK. -- cgit v1.2.3