Skip to content

Instantly share code, notes, and snippets.

@YamiYukiSenpai
YamiYukiSenpai / CustomPerfActivities.md
Last active April 9, 2019 08:38
Switching performance profiles based on Plasma's activities

Requirements:

  • KActivities
  • cpufrequtils
  1. Place the files in $HOME/bin

  2. Customize the values based on your hardware

  3. Set script to run on profile load in Plasma's activities manager

@YamiYukiSenpai
YamiYukiSenpai / gen_nvidia_vulkan_icd.sh
Last active August 23, 2020 20:32
Generates a .json file, just in case the Vulkan stops working on NVIDIA GPU due to the missing file
#!/usr/bin/bash
# RUN AS ROOT
# Generates a .json file, just in case the Vulkan stops working on NVIDIA GPU due to the missing file
# This solved the issue when I couldn't play my games that rely on Vulkan (i.e. Windows games on Steam)
# Source: https://twitter.com/Terry_Hendrix/status/1067506733868666880
cd /usr/share/vulkan/icd.d/
touch nvidia_icd.json