
Switch to NVIDIA GPU on Fedora Linux
Note: Make sure to Disable Secure Boot, else whatever you do it wonβt work :) Install & Switch 1. Install the required dependencies sudo dnf install akmod-nvidia xorg-x11-drv-nvidia xorg-x11-drv-nvidia-cuda 2. Edit the environment configuration file for your shell sudo nano /etc/environment 3. Add the following lines to enable the GPU __GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only 4. Restart the system sudo reboot Download and execute this script to automate the above process! ...