Linux GPU Configuration And Monitoring Tool
This report summarizes scanner evidence for ilya-zlobintsev/LACT, a Rust project with 5,840 GitHub stars. SynthScan examined 109,616 lines of code across 266 source files, recording 428 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 4.2 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 420 finding(s).
Are imports declared and package/API names verified? 8 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 428 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 428 distinct pattern matches across 4 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lact-daemon/include/nvidia.h | 1 | #include "nvidia/kernel-open/common/inc/nv-ioctl-numbers.h" | COMMENT |
| LOW | lact-daemon/include/intel.h | 1 | #include "drm/i915_drm.h" | COMMENT |
| LOW | lact-daemon/include/drm/i915_drm.h | 401 | } drm_i915_sarea_t; | COMMENT |
| LOW | lact-daemon/include/drm/i915_drm.h | 421 | /* | COMMENT |
| LOW | lact-daemon/include/drm/i915_drm.h | 441 | #define DRM_I915_SET_VBLANK_PIPE 0x0d | COMMENT |
| LOW | lact-daemon/include/drm/i915_drm.h | 461 | #define DRM_I915_GEM_GET_APERTURE 0x23 | COMMENT |
| LOW | lact-daemon/include/drm/i915_drm.h | 481 | #define DRM_I915_PERF_OPEN 0x36 | COMMENT |
| LOW | lact-daemon/include/drm/i915_drm.h | 501 | #define DRM_IOCTL_I915_CMDBUFFER DRM_IOW( DRM_COMMAND_BASE + DRM_I915_CMDBUFFER, drm_i915_cmdbuffer_t) | COMMENT |
| LOW | lact-daemon/include/drm/i915_drm.h | 521 | #define DRM_IOCTL_I915_GEM_PREAD DRM_IOW (DRM_COMMAND_BASE + DRM_I915_GEM_PREAD, struct drm_i915_gem_pread) | COMMENT |
| LOW | lact-daemon/include/drm/i915_drm.h | 541 | #define DRM_IOCTL_I915_REG_READ DRM_IOWR (DRM_COMMAND_BASE + DRM_I915_REG_READ, struct drm_i915_reg_read) | COMMENT |
| LOW | lact-daemon/include/drm/i915_drm.h | 601 | #define I915_PARAM_HAS_GEM 5 | COMMENT |
| LOW | lact-daemon/include/drm/i915_drm.h | 621 | #define I915_PARAM_HAS_EXEC_NO_RELOC 25 | COMMENT |
| LOW | lact-daemon/include/drm/i915_drm.h | 1721 | #define I915_TILING_X 1 | COMMENT |
| LOW | lact-daemon/include/drm/i915_drm.h | 1841 | #define I915_OVERLAY_RGB15 0x3000 | COMMENT |
| LOW | lact-daemon/include/drm/drm.h | 61 | COMMENT | |
| LOW | lact-daemon/include/drm/drm.h | 1021 | #if defined(__cplusplus) | COMMENT |
| LOW | lact-daemon/include/drm/drm.h | 1061 | #define DRM_IOCTL_GEM_OPEN DRM_IOWR(0x0b, struct drm_gem_open) | COMMENT |
| LOW | lact-daemon/include/drm/drm.h | 1081 | COMMENT | |
| LOW | lact-daemon/include/drm/drm.h | 1141 | #define DRM_IOCTL_SG_ALLOC DRM_IOWR(0x38, struct drm_scatter_gather) | COMMENT |
| LOW | lact-daemon/include/drm/drm.h | 1201 | #define DRM_IOCTL_MODE_CREATE_DUMB DRM_IOWR(0xB2, struct drm_mode_create_dumb) | COMMENT |
| LOW | lact-daemon/include/drm/drm_mode.h | 41 | * Userspace can refer to these structure definitions and UAPI formats | COMMENT |
| LOW | lact-daemon/include/drm/drm_mode.h | 81 | #define DRM_MODE_FLAG_BCAST (1<<10) /* deprecated */ | COMMENT |
| LOW | lact-daemon/include/drm/drm_mode.h | 101 | #define DRM_MODE_PICTURE_ASPECT_NONE 0 | COMMENT |
| LOW | lact-daemon/include/drm/drm_mode.h | 141 | /* DPMS flags */ | COMMENT |
| LOW | lact-daemon/include/drm/drm_mode.h | 401 | }; | COMMENT |
| LOW | lact-daemon/include/drm/intel_bufmgr.h | 301 | #define dri_bo_alloc drm_intel_bo_alloc | COMMENT |
| LOW | lact-daemon/include/drm/intel_bufmgr.h | 321 | #define dri_bo_set_tiling(bo, mode) drm_intel_bo_set_tiling(bo, mode, 0) | COMMENT |
| LOW | lact-daemon/include/drm/xe_drm.h | 101 | #define DRM_XE_EXEC_QUEUE_GET_PROPERTY 0x08 | COMMENT |
| LOW | …de/nvidia/kernel-open/nvidia-drm/nv_drm_common_ioctl.h | 21 | */ | COMMENT |
| LOW | …de/nvidia/kernel-open/nvidia-drm/nv_drm_common_ioctl.h | 41 | #define DRM_NVIDIA_GEM_MAP_OFFSET 0x0a | COMMENT |
| LOW | …clude/nvidia/kernel-open/common/inc/nv-ioctl-numbers.h | 41 | #define NV_ESC_IOCTL_XFER_CMD (NV_IOCTL_BASE + 11) | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 21 | |* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *| | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 41 | //! and will return the appropriate error code. | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 61 | //! Calls to this function affect the entire system. | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 81 | // | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 101 | /////////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 121 | //! | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 141 | //! This should be called after the device corresponding to the handle has been destroyed. | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 161 | // | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 181 | //! | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 201 | //! | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 221 | //! | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 241 | //! | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 261 | /////////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 281 | //! \retval ::NVAPI_STEREO_PARAMETER_OUT_OF_RANGE Given separation percentage is out of [0..100] range. | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 301 | //! \param [out] pConvergence Address of @c float type variable to store current convergence value in. | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 321 | //! | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 341 | //! \fn NvAPI_Stereo_SetActiveEye(StereoHandle hStereoHandle, NV_STEREO_ACTIVE_EYE StereoEye); | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 361 | //! \retval ::NVAPI_ERROR - Something is wrong (generic error). | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 381 | //! | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 401 | typedef enum _NV_StereoDriverMode | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 421 | //! \param [in] stereoHandle Stereo handle that corresponds to the device interface. | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 441 | //! | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 461 | //! | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 481 | NVAPI_STEREO_SURFACECREATEMODE_FORCEMONO //!< Always create mono surfaces. | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 501 | //! WHEN TO USE: After the stereo handle for device interface is created via successful call to appropriate NvAPI_Stereo | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 521 | //! | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 541 | //! | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 561 | //! DESCRIPTION: This API retrieves the current default stereo profile. | COMMENT |
| LOW | lact-daemon/include/nvidia/nvapi/nvapi_lite_stereo.h | 581 | //! \retval NVAPI_INVALID_ARGUMENT - pcbSizeOut == 0 or cbSizeIn >= *pcbSizeOut && szProfileN | COMMENT |
| 357 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | lact-daemon/src/server/gpu_controller/nvidia.rs | 769 | .or_else(|| self.common.pci_info.device_pci_info.model.clone()) | CODE |
| CRITICAL | lact-daemon/src/server/gpu_controller/intel.rs | 729 | self.common.pci_info.device_pci_info.model.clone() | CODE |
| CRITICAL | lact-daemon/src/server/gpu_controller/amd.rs | 812 | .or_else(|| self.common.pci_info.device_pci_info.model.clone()) | CODE |
| CRITICAL | lact-daemon/src/server/gpu_controller/intel/drm/mock.rs | 30 | total: self.snapshot.stats.vram.total.unwrap_or(0), | CODE |
| CRITICAL | lact-daemon/src/server/gpu_controller/intel/drm/mock.rs | 31 | used: self.snapshot.stats.vram.used.unwrap_or(0), | CODE |
| CRITICAL⚡ | lact-daemon/src/server/gpu_controller/amd/drm/mock.rs | 38 | self.snapshot.stats.vram.gtt_total_usable.ok_or(-1) | CODE |
| CRITICAL⚡ | lact-daemon/src/server/gpu_controller/amd/drm/mock.rs | 42 | self.snapshot.stats.vram.gtt_used.ok_or(-1) | CODE |
| CRITICAL⚡ | lact-daemon/src/server/gpu_controller/amd/drm/mock.rs | 46 | self.snapshot.stats.clockspeed.vram_clockspeed.ok_or(-1) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lact-daemon/include/drm/drm_mode.h | 86 | * When adding a new stereo mode don't forget to adjust DRM_MODE_FLAGS_3D_MAX | COMMENT |
| LOW | …n/include/nvidia/src/common/sdk/nvidia/inc/rs_access.h | 51 | // When adding a new access right, don't forget to update | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | lact-daemon/include/nvidia/nvapi/nvapi_lite_common.h | 550 | //!< On discrete GPUs, it is used to utilize system memory for various op | COMMENT |