fix(gpu): NVIDIA auto-detection with corrected PCI device-id read + runtime mode support (C&C) #30
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "nvidia-auto-detect"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Two-part NVIDIA lane fix:
Runtime mode support (PR #29 absorbed): clawdie_live_gpu now respects
clawdie_live_gpu_mode(safe/auto/nvidia) andclawdie_live_gpu_nvidia_branch(390/470/590). Dedicated NVIDIA-target builds set mode=nvidia in rc.conf; default builds stay auto.Device-id correction (
d2ec1b7): the old detector readchip=0x10de...(vendor half) and never matched. Fixed to readchip=0x<device>10de— extracts the actual device ID from the high 16 bits, then maps to the correct driver branch.Detection verified on Linux against real device IDs: Fermi→390, Kepler→470, Maxwell/Pascal/Turing/Ada→590, unknown→590-safe. Logs to /var/log/clawdie-live-gpu.log.
Boot path: detects NVIDIA → logs device ID + recommended branch → if mode=nvidia + nvidia.ko present → kldload; otherwise falls through to integrated/AMD/scfb (never worse than today). Mismatch guard: staged branch ≠ detected → warns, skips proprietary load.