dotfiles/scripts/apply-gpu-fix.sh
rpriven 5b6af65def
Organize scripts and clean up dotfiles
Changes:
- Added 80+ scripts with organized structure
  - payloads/ for third-party pentesting tools
  - pentesting/ for custom security scripts
  - Daily drivers remain flat for fast access
- Converted wes() function to proper script
- Removed .sh extensions from pentesting scripts
- Cleaned up aliases (removed 31 redundant lines)
- Added kanata/, build artifacts to gitignore
- Removed old fre.sh scripts and empty a.out
- Updated configs: helix, tmux, zsh, ulauncher, redshift

Security: All sensitive data excluded via gitignore
2025-11-07 14:48:21 -07:00

22 lines
575 B
Bash
Executable file

#!/bin/bash
# Apply AMD GPU power management fix for Pop!_OS 22.04
echo "Creating AMD GPU configuration..."
sudo bash -c 'cat > /etc/modprobe.d/amdgpu.conf << EOFINNER
# Disable aggressive power management for AMD Phoenix GPU
# Temporary fix until Pop!_OS 24.04 stable (Dec 11, 2025)
options amdgpu ppfeaturemask=0x0
options amdgpu dpm=0
EOFINNER'
echo ""
echo "Verifying configuration was created..."
cat /etc/modprobe.d/amdgpu.conf
echo ""
echo "Rebuilding initramfs..."
sudo update-initramfs -u
echo ""
echo "✅ Fix applied! Please reboot now:"
echo " sudo reboot"