In this article, I will share some of my experience on installing NVIDIA driver and CUDA on Linux OS. Here I mainly use Ubuntu as example. Comments for CentOS/Fedora are also provided as much as I can.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -x | |
# Add MXE binaries to $PATH | |
export PATH=${HOME}/MPVCROSS/mxe-trunk/usr/bin:${PATH} | |
# creating folder where storing archives | |
WRKDIR=${HOME}/MPVCROSS/mpv_release | |
mkdir -p ${WRKDIR} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!bash | |
# | |
# bash/zsh completion support for core Git. | |
# | |
# Copyright (C) 2006,2007 Shawn O. Pearce <[email protected]> | |
# Conceptually based on gitcompletion (http://gitweb.hawaga.org.uk/). | |
# Distributed under the GNU General Public License, version 2.0. | |
# | |
# The contained completion routines provide support for completing: | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 5e1cb0b78142bf7ed7d348f4a47c236590e72b57 Mon Sep 17 00:00:00 2001 | |
From: MilhouseVH <[email protected]> | |
Date: Mon, 27 Nov 2017 20:48:13 +0000 | |
Subject: [PATCH] kernel 4.15 fix | |
--- | |
kernel/nv.c | 10 ++++------ | |
1 file changed, 4 insertions(+), 6 deletions(-) | |
diff --git a/kernel/nv.c b/kernel/nv.c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 070b07f0d41c8a1481a7e40ad5869868aad8c680 Mon Sep 17 00:00:00 2001 | |
From: MilhouseVH <[email protected]> | |
Date: Mon, 27 Nov 2017 20:38:14 +0000 | |
Subject: [PATCH 1/2] kernel 4.15 fix | |
--- | |
kernel/nvidia-modeset/nvidia-modeset-linux.c | 8 +++----- | |
kernel/nvidia-uvm/uvm8_va_block.c | 2 ++ | |
kernel/nvidia/nv.c | 10 ++++------ | |
3 files changed, 9 insertions(+), 11 deletions(-) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -x | |
# | |
# This script is expected to run inside a docker container which has the Raspberry Pi toolchain | |
# and required prerequisites: | |
# - pkg-config | |
# - libusb-1.0-0-dev | |
# - libudev-dev | |
# | |
# /build corresponds to the current directory when the docker container is run and it is expected | |
# that the following directory structure has been setup: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# building eudev | |
cd eudev-3.2.5/ | |
./autogen.sh | |
./configure --prefix=${HOME}/cross-raspbian --host=arm-linux-gnueabihf | |
make -j3 | |
make install | |
# building libusb | |
cd libusb-1.0.21/ | |
./bootstrap.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Presets] | |
Preset0=Classical | |
Preset1=Club | |
Preset2=Dance | |
Preset3=Flat | |
Preset4=Live | |
Preset5=Laptop Speakers/Headphone | |
Preset6=Rock | |
Preset7=Pop |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/work/vboxnetflt/linux/VBoxNetFlt-linux.c b/work/vboxnetflt/linux/VBoxNetFlt-linux.c | |
index f824654..b61d82c 100644 | |
--- work/vboxnetflt/linux/VBoxNetFlt-linux.c | |
+++ work/vboxnetflt/linux/VBoxNetFlt-linux.c | |
@@ -126,6 +126,10 @@ typedef struct VBOXNETFLTNOTIFIER *PVBOXNETFLTNOTIFIER; | |
# endif | |
#endif | |
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0) | |
+#define SKB_GSO_UDP 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "Microsoft Database Daemon" to quit | |
tell application "Microsoft AU Daemon" to quit | |
tell application "Office365Service" to quit | |
tell application "Finder" | |
try | |
delete file "Microsoft Communicator.app" of (path to applications folder) | |
end try | |
try | |
delete file "Microsoft Lync.app" of (path to applications folder) | |
end try |