Skip to content

Instantly share code, notes, and snippets.

Chris Black thatchrisblack

Block or report user

Report or block thatchrisblack

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@thatchrisblack
thatchrisblack / skylake-tuning-linux.md
Created May 10, 2018 — forked from Brainiarc7/skylake-tuning-linux.md
This gist will show you how to tune your Intel-based Skylake, Kabylake and beyond Integrated Graphics Core for performance and reliability through GuC and HuC firmware usage on Linux.
View skylake-tuning-linux.md

Tuning Intel Skylake and beyond for optimal performance and feature level support on Linux:

Note that on Skylake, Kabylake (and the now cancelled "Broxton") SKUs, functionality such as power saving, GPU scheduling and HDMI audio have been moved onto binary-only firmware, and as such, the GuC and the HuC blobs must be loaded at run-time to access this functionality.

Enabling GuC and HuC on Skylake and above requires a few extra parameters be passed to the kernel before boot.

Instructions provided for both Fedora and Ubuntu (including Debian):

Note that the firmware for these GPUs is often packaged by your distributor, and as such, you can confirm the firmware blob's availability by running:

@thatchrisblack
thatchrisblack / 20-intel.conf
Created May 10, 2018
Stop screen tearing on Dell XPS 9360 with Intel HD 620
View 20-intel.conf
#Depending on your distro this goes in /usr/share/X11/xorg.conf.d/ or /etc//usr/share/X11/xorg.conf.d/
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "AccelMethod" "sna"
Option "TearFree" "true"
EndSection
@thatchrisblack
thatchrisblack / 90-libinput.conf
Created May 10, 2018
libinput.conf fix for palm detection for Dell XPS 9360
View 90-libinput.conf
# Depending on your distro this goes in /etc/X11/xorg.conf.d/ or /usr/share/X11/xorg.conf.d
Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "Tapping" "True"
Option "PalmDetection" "True"
Option "TappingDragLock" "True"
EndSection
@thatchrisblack
thatchrisblack / win_linux_dual_boot_xps_15_9560.md
Created May 3, 2018 — forked from spenserlee/win_linux_dual_boot_xps_15_9560.md
Personal notes for dual booting Windows and Linux on XPS 15 9560
View win_linux_dual_boot_xps_15_9560.md

Installing Ubuntu GNOME 17.04 on XPS 15 9560

This document is to serve as a set of notes for myself and can be used as a guide for others looking to set up Ubuntu on their XPS 15. For me this was a dual-boot setup with Windows 10. On Linux I don't have a need for the discrete graphics card, so the main focus is to maximize battery life for development.

I had initially tried to dual boot with Fedora 25, but ran into a lot of issues trying to disable the discrete graphics card, resulting in poor battery life. Instead of starting over with Fedora again, I decided to try with Ubuntu, since there seemed to be a few more resources available.

My XPS Configuration is: i7, 16GB RAM, 512GB SSD, 4K Screen.

Setup

View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
View gist:f25ea9e4fc0f4cbd49c6601b717d3624
El Capitan and Sierra are pretty agressive with putting the wifi interface in power saving modes.
Running the following code in Terminal has made running [Synergy](http://symless.com) over wifi useable for me.
ping -i 0.1 -s 0 $SYNERGY_SERVER_ADDRESS > /dev/null
You can’t perform that action at this time.