interplane.Get Omega
Read in your language

aienux

Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.

Brought by drakestapleton

branch main Branches Tags History

aienux / evidence / own-gpu-driver / rung2 / window-boot / aien-gpu-window-hold.service

18 lines · 1030 bytes Raw Blame History
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]
5Description=AIEN GPU window: hold NVIDIA modules back for this boot only
6DefaultDependencies=no
7ConditionKernelCommandLine=aien.gpuwindow=1
8Before=systemd-udev-trigger.service systemd-modules-load.service nvidia-persistenced.service
9After=local-fs-pre.target
10
11[Service]
12Type=oneshot
13RemainAfterExit=yes
14ExecStart=/bin/mkdir -p /run/modprobe.d
15ExecStart=/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]
18WantedBy=sysinit.target