Skip to content

Instantly share code, notes, and snippets.

View supersexy's full-sized avatar
💖
Ever Loving

Foxy Lady supersexy

💖
Ever Loving
View GitHub Profile
@supersexy
supersexy / skylake-tuning-linux.md
Created September 18, 2019 13:49 — 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.

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:

@supersexy
supersexy / Makefile
Created August 14, 2019 13:01 — forked from wolkenarchitekt/Makefile
Makefile config management
.DEFAULT_GOAL := all
SHELL := /bin/bash
PWD = $(shell pwd)
UNAME := $(shell uname)
ARCH := $(shell uname -m)
USER := $(shell echo $$USER)
USERDIR := $(shell echo $$HOME)
# Synology ignores
ifeq ($(UNAME),Linux)