kernel still breaking. updated name which may have been issue

This commit is contained in:
tumillanino
2026-04-09 15:58:55 +10:00
parent 1c59f8a718
commit c6ffa3591f
155 changed files with 6219 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
# User-configurable Gamescope options
GAMESCOPE_SESSION_CONFIG="$HOME/.config/default/gamescope-session-config"
if [ -f $GAMESCOPE_SESSION_CONFIG ];
then
source $GAMESCOPE_SESSION_CONFIG
fi
gamescope \
$GAMESCOPE_SESSION_OPTIONS \
-e -- steam -steamdeck -steamos3

View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
if [[ "$XDG_SESSION_TYPE" == "wayland" ]]; then
# https://github.com/Supreeeme/extest
# Extest is a drop in replacement for the X11 XTEST extension.
# It creates a virtual device with the uinput kernel module.
# It's been primarily developed for allowing the desktop functionality
# on the Steam Controller to work while Steam is open on Wayland.
# Also supports Steam Input as a whole.
env LD_PRELOAD=/usr/lib/extest/libextest.so /usr/bin/steam "$@"
else
/usr/bin/steam "$@"
fi

View File

@@ -0,0 +1,8 @@
[Unit]
Description=B550 boards suspend fix
[Service]
ExecStart=/bin/sh -c "/bin/echo GPP0 > /proc/acpi/wakeup"
[Install]
WantedBy=multi-user.target

View File

@@ -0,0 +1,34 @@
# tuned config
[main]
summary=Balanced (balance_performance)
[modules]
cpufreq_conservative=+r
[cpu]
priority=10
governor=schedutil|conservative|powersave
energy_perf_bias=normal
energy_preference_performance=balance_performance
boost=1
[acpi]
platform_profile=balanced
[audio]
timeout=0
[sysctl]
vm.swappiness = 180
[video]
radeon_powersave=dpm-balanced, auto
panel_power_savings=0
# [disk]
# Comma separated list of devices, all devices if commented out.
# devices=sda
[scsi_host]
alpm=medium_power

View File

@@ -0,0 +1,40 @@
# tuned configuration
[main]
summary=Balanced (balance_power)
[cpu]
governor=schedutil|conservative|powersave
energy_perf_bias=powersave|power
energy_performance_preference=balance_power
boost=0
[acpi]
platform_profile=low-power|quiet
[eeepc_she]
[vm]
[audio]
timeout=0
[video]
radeon_powersave=dpm-battery, auto
panel_power_savings=3
[disk]
# Comma separated list of devices, all devices if commented out.
# devices=sda
[net]
# Comma separated list of devices, all devices if commented out.
# devices=eth0
[scsi_host]
alpm=min_power
[sysctl]
vm.laptop_mode=5
vm.dirty_writeback_centisecs=1500
kernel.nmi_watchdog=0

View File

@@ -0,0 +1,10 @@
# AMDPC setup in one go
solarpowered-ex-setup:
sudo systemctl enable --now b550-suspend-fix.service
rpm-ostree kargs \
--append-if-missing=amd_pstate=active \
--append-if-missing=$(printf 'amdgpu.ppfeaturemask=0x%x\n' "$(($(cat /sys/module/amdgpu/parameters/ppfeaturemask) | 0x4000))") \
--append-if-missing="sysrq_always_enabled=1" \
--append-if-missing="page_alloc.shuffle=1" \
--append-if-missing="hid_apple.fnmode=0"
echo 'Remember to reboot!'