Add the following to GRUB_CMDLINE_LINUX (_DEFAULT if on Neon) in the quotes: Enable VT-d (Virtualization) in the BIOS.Disable the dGPU by forcing it to use the vfio-pci driver instead of nvidia.Hotplug should also work this way with no extra configuration. If you just want CUDA support, you are done. If not, the driver has not been installed correctly. Reboot and confirm that both the dGPU and eGPU show up in nvidia-smi.This should come included in the driver you downloaded for Fedora, but for Neon you may need to install it with: Install the NVIDIA egl-wayland package.I have not tried the Ubuntu additional graphics driver repo either (only the CUDA repo linked). If on Fedora, make sure to use the NVIDIA CUDA repo driver and NOT the RPMFusion driver the latter refused to detect my eGPU. Be sure to follow the pre-install actions (notably make sure kernel headers/dev packages are installed) otherwise it won't build the DKMS module. Install the NVIDIA CUDA Toolkit driver according to the instructions here.Configure SDDM to boot to Plasma-Wayland in System Settings (Login Screen -> Behavior -> change session).Authorize the Razer Core X in System Settings -> Thunderbolt.Install Fedora 36 KDE or KDE Neon 20.04.In the BIOS, enable Thunderbolt boot support and Thunderbolt Pre-boot.Used on Fedora 36 KDE and KDE Neon with Wayland session, and Windows 10. # $(info) > findgllib.mk -> LINUX path /dev/null 2>&1 echo $$?)Īnd replace it with the following code: ifeq ("$(TARGET_OS)","linux")Īn executable should have been created. Search for the following if-condition: ifeq ("$(TARGET_OS)","linux") In the samples folder, open findgllib.mk: gedit /home/john/cuda-7.5_samples/5_Simulations/nbody/findgllib.mk Locate the libary files by running: locate libGL.soĬheck which folder they are located in (e.g. Naviagte to a sample that does require graphics output, e.g.: cd /home/john/cuda-7.5_samples/5_Simulations/nbody simplePrintfįor samples that do require graphics ouput, the library paths need to be fixed. Navigate to cuda samples location (as specified during installation): cd /home/john/cuda-7.5_samples/0_Simple/simplePrintfĪn executable should have been created. Sudo chgrp -R john /home/john/cuda-7.5_samplesĬheck the result Check whether the samples that do not require graphics ouput are working Sudo chown -R john /home/john/cuda-7.5_samples bashrc: sudo gedit /home/john/.bashrcĪdd the following lines: # Manually added by john to enable CUDA:Įxport LD_LIBRARY_PATH=/home/john/cuda-7.5/lib64:$LD_LIBRARY_PATHĮxport LIBRARY_PATH=/home/john/cuda-7.5/lib64:$LIBRARY_PATHĮxport PATH=/home/john/cuda-7.5/bin:$PATHĬhange permissions of cuda folders: sudo chown -R john /home/john/cuda-7.5 This should start up successfully with GUI enabled (at native monitor resolution).Īdd path exports to your. Run nvidia-xconfig? -> 'yes' (This option is new in CUDA 8.0, not sure about the consequences.)Ĭreate symbolic link at /usr/local? -> yesĬUDA samples location? -> /home/john/cuda-7.5_samples Terms and condition? -> accept (If you feel like it.) Navigate to downloads folder (or where ever you put the installer), run cuda installer: cd /home/john/Downloadsįollow the installer menu. Log in as normal user, and activate su: su How to boot into init 3: When in starting screen press e to edit start commands, find relevant installation ( quiet), add init 3 Install the following packages: sudo apt-get install gcc g++ gcc-4.8 g++-4.8 gcc-4.9 g++-4.9 libxi6 libxi-dev libglu1-mesa libglu1-mesa-dev libxmu6 linux-headers-amd64 linux-source freeglut3-dev If the nouveau was successfully disabled, the screen resolution should be lower. Sudo apt-get install lib32z1 lib32ncurses5īlacklist the nouveau driver: sudo mousepad /etc/modprobe.d/nfĬopy the following line into the document: blacklist nouveau Install 32 bit support: sudo dpkg -add-architecture i386 Sudo apt-get install dkms build-essential linux-headers-$(uname -r) Get necessary packages: sudo apt-get update The full link to this version as of the time this document was created:Ĭhange file permission of the installation file: cd /home/john/Downloads/ This document describes how to install nvidia drivers & CUDA in one go on a fresh debian install.ĭownload the CUDA driver with the following specifications: Parameter
0 Comments
Leave a Reply. |