aienux
Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.
Brought by drakestapleton
aienux / evidence / own-gpu-driver / rung2 / window-boot / aien-gpu-window-hold.service
| 1 | # Inert on every normal boot. Runs only when GRUB booted the one-shot entry 'aien-gpu-window' (kernel flag |
| 2 | # aien.gpuwindow=1). It holds NVIDIA's modules back for THIS boot only: the file lives in /run (tmpfs), so any later |
| 3 | # boot (lease reboot, watchdog reset, panic reboot, power cycle) is the default entry with NVIDIA's driver loaded. |
| 4 | [Unit] |
| 5 | Description=AIEN GPU window: hold NVIDIA modules back for this boot only |
| 6 | DefaultDependencies=no |
| 7 | ConditionKernelCommandLine=aien.gpuwindow=1 |
| 8 | Before=systemd-udev-trigger.service systemd-modules-load.service nvidia-persistenced.service |
| 9 | After=local-fs-pre.target |
| 10 | |
| 11 | [Service] |
| 12 | Type=oneshot |
| 13 | RemainAfterExit=yes |
| 14 | ExecStart=/bin/mkdir -p /run/modprobe.d |
| 15 | ExecStart=/bin/sh -c 'printf "# aien-gpu-window: this boot only (tmpfs). window*-post.sh removes it.\\ninstall nvidia /bin/false\\ninstall nvidia_uvm /bin/false\\ninstall nvidia_modeset /bin/false\\ninstall nvidia_drm /bin/false\\ninstall nvidiafb /bin/false\\n" > /run/modprobe.d/zz-aien-gpu-window.conf' |
| 16 | |
| 17 | [Install] |
| 18 | WantedBy=sysinit.target |