- Add 9002-nvidia-dcgm.hook.chroot: installs datacenter-gpu-manager from NVIDIA apt repo during live-build - Enable nvidia-dcgm.service in chroot setup hook - Replace bee-gpu-stress with dcgmi diag (levels 1-4) in NVIDIA SAT - TUI: replace GPU checkbox + duration UI with DCGM level selection - Remove console=tty2 from boot params: KVM/VGA now shows tty1 where bee-tui runs, fixing unresponsive console Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
53 lines
724 B
Go
53 lines
724 B
Go
package tui
|
|
|
|
import (
|
|
"bee/audit/internal/app"
|
|
"bee/audit/internal/platform"
|
|
)
|
|
|
|
type resultMsg struct {
|
|
title string
|
|
body string
|
|
err error
|
|
back screen
|
|
}
|
|
|
|
type servicesMsg struct {
|
|
services []string
|
|
err error
|
|
}
|
|
|
|
type interfacesMsg struct {
|
|
ifaces []platform.InterfaceInfo
|
|
err error
|
|
}
|
|
|
|
type exportTargetsMsg struct {
|
|
targets []platform.RemovableTarget
|
|
err error
|
|
}
|
|
|
|
type snapshotMsg struct {
|
|
banner string
|
|
panel app.HardwarePanelData
|
|
}
|
|
|
|
type nvtopClosedMsg struct{}
|
|
|
|
type nvidiaSATDoneMsg struct {
|
|
title string
|
|
body string
|
|
err error
|
|
}
|
|
|
|
type gpuStressDoneMsg struct {
|
|
title string
|
|
body string
|
|
err error
|
|
}
|
|
|
|
type gpuLiveTickMsg struct {
|
|
rows []platform.GPUMetricRow
|
|
indices []int
|
|
}
|