The live load script previously modprobed the NVIDIA stack for any PCI vendor 0x10de and the build required etc/modprobe.d/phoebus-nvidia.conf that nothing created. Replace the vendor-name check with a deterministic decision computed from the actual display controllers and the bundled branch's capabilities: - phoebus-core gains live_nvidia_plan(): supported GPU -> load the bundled accelerated stack; unsupported GPU -> explicit nouveau fallback; no GPU -> leave auto-detection; fail-safe -> load nothing. - phoebus-installer --live-gpu-plan scans sysfs (overridable for tests) and prints stable key=value lines; probe_nvidia_display_devices() only considers display-class NVIDIA functions. - phoebus-nvidia-load consults it, falls back to nouveau on an unsupported GPU or a failed accelerated load, and never fails the unit; the service honours phoebus.nvidia=off. - build.sh now creates the live modprobe policy, replaces Debian's unconditional nouveau blacklist, and marks the fail-safe entry. |
||
|---|---|---|
| .. | ||
| resources | ||
| src | ||
| tests | ||
| Cargo.toml | ||