carbonian-gpu-driver - choose the driver of the NVIDIA GPU
carbonian-gpu-driver
[nouveau|nvidia|status]
Selects the driver the NVIDIA GPU boots with, when NVIDIA's own
driver is installed next to nouveau. The change takes effect at the next
boot. nouveau and nvidia need root; the script runs itself
again through sudo(8).
- status
- (the default) Print the driver chosen for the next boot and the one loaded
now.
- nouveau
- Blacklist NVIDIA's modules on the kernel command line, load nouveau early,
and set gpu all in display.conf(5): the compositor drives
every GPU, so a screen on the NVIDIA's ports works. No CUDA.
- nvidia
- Undo the above, write /etc/modprobe.d/carbonian-nvidia.conf (kernel mode
setting and the console framebuffer), and set gpu all with driver
560 or later or gpu boot with 550 or earlier (the compositor cannot
draw on the NVIDIA's screens then). CUDA works, and
carbonian-dgpu(1) runs programs on the NVIDIA.
Both rebuild the GRUB configuration and the initramfs.
- /etc/default/grub.d/zz-carbonian-gpu-driver.cfg
- Present while nouveau is chosen.
- /etc/systemd/system/carbonian-nouveau.service
- Loads nouveau at boot while it is chosen.
- /etc/carbonian/display.conf
0 on success, 2 for an unknown word.
carbonian-dgpu(1), display.conf(5)