====== Nvidia ======
As NVIDIA drivers are currently not packaged, installation should roughly follow normal steps taken to install from [[https://www.nvidia.com/en-us/drivers/unix/|NVIDIA's website for UNIX drivers]].
===== Guide =====
After downloading the proper driver file for your architecture, save it in a location easily accessible, and reboot your system to a multi-user target.
# systemctl set-default multi-user.target
# reboot now
Once rebooted, log in and run the NVIDIA Driver installer (usually a ".run" file) as root.
After installation, you should just be able to run
# systemctl set-default graphical.target
# reboot now
If you have issues during this process, however, refer to the following troubleshooting section.
===== Troubleshooting =====
If you encounter issues while installing NVIDIA drivers, please run through the following checklist to see if it matches your situation.
==== Differing GCC versions ====
If you receive errors speaking of "gcc plugins" or something along those lines, your kernel may have been built with a different version of GCC than you have installed.
If so, you may want to rebuild your kernel by cloning the yiffOS packages repo and the yiffOS package building tool "sheath", where both can be found at [[https://git.yiffos.gay/Packaging]]. After adding "sheath" to your PATH, and making sure you have all build and runtime dependencies installed, simply CD into the "linux" folder under the "packages" repo and run
sheath -cbi
After the kernel has compiled, you may also want to rebuild the "linux-src" and "linux-headers" packages using the same method.
Once the above steps have been completed, try reinstalling the NVIDIA drivers.
==== NVIDIA's drivers may just be broken ====
In the past, NVIDIA has released driver releases that seemingly fail to install for no specific reason. If you have no luck installing the current release of the NVIDIA drivers, you may want to try a slightly different version. Versions tagged with "Latest New Feature Branch" or "Latest Beta Version" may be a good place to start.