Last active
June 22, 2020 07:37
-
-
Save aspratyush/bea6193dbb357888d4bec90789b48990 to your computer and use it in GitHub Desktop.
This file contains 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
## Major Specs | |
- Intel® Core™ i5-8300H CPU | |
- Intel® UHD Graphics 630 (Coffeelake 3x8 GT2) | |
- Nvidia GTX 1050M | |
### Install | |
- Add `nomodeset` to kernel boot line, else the install will freeze randomly. | |
### First boot | |
1. Add kernel argument : `nomodeset` | |
2. GDM edit | |
------------ | |
- Force usage of X11 instead of Wayland by changing the line in `/etc/gdm3/custom.conf` that has: | |
``` | |
#WaylandEnable=false | |
``` | |
to | |
``` | |
WaylandEnable=false | |
``` | |
3. No audio fix | |
---------------- | |
- reference link : https://www.linuxuprising.com/2018/06/fix-no-sound-dummy-output-issue-in.html | |
- Only fix needed is Fix#2: | |
``` | |
echo "options snd-hda-intel dmic_detect=0" | sudo tee -a /etc/modprobe.d/alsa-base.conf | |
``` | |
4. Blacklist nouveau driver | |
--------------------------- | |
``` | |
$ sudo bash -c "echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf" | |
$ sudo bash -c "echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf" | |
$ sudo update-initramfs -u | |
``` | |
5. Update Grub | |
``` | |
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash modprobe.blacklist=nouveau" | |
``` | |
6. Install nvidia headless | |
-------------------------- | |
- Refer Xorg settings : https://gist.github.com/wangruohui/bc7b9f424e3d5deb0c0b8bba990b1bc5#2-configure-xorg | |
- Install MLRepo and CUDA repo hosted by Nvidia (refer steps 1-7 : https://gist.github.com/christianramsey/52b74ecc4048f8e3e9ae84afc3ee810b) | |
- Then: | |
$ sudo apt install nvidia-headless-440 nvidia-compute-utils-440 | |
7. Install CUDA headless (no dependency on nvidia-driver-440 (with opengl) | |
-------------------------------------------------------------------------- | |
$ sudo apt install cuda-minimal-build-10-1 cuda-libraries-10-1 cuda-nvcc-10-1 cuda-gdb-10-1 cuda-memcheck-10-1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment