Update README.md

This commit is contained in:
steeb 2024-11-22 12:46:12 -07:00
parent 22994f376e
commit 23571587a4

View File

@ -58,7 +58,9 @@ Enable the fingerprint reader with the following:
`sudo apt install fprintd libpam-fprintd` `sudo apt install fprintd libpam-fprintd`
## GPU Crash Fixes # Miscellaneous Fixes and Tweaks
## GPU Crashes
**11/22/2024 - Update to all of this:** This issue seems to have either a.) eventually killed the motherboard AND display panel, or b.) be completely unrelated and I have a SECOND dying motherboard and display panel, as the issue came back even with this fix applied. Lovely! I'm trying out Debian Sid for the time being to see if it's any more reliable. For now, this fix is not applied. **11/22/2024 - Update to all of this:** This issue seems to have either a.) eventually killed the motherboard AND display panel, or b.) be completely unrelated and I have a SECOND dying motherboard and display panel, as the issue came back even with this fix applied. Lovely! I'm trying out Debian Sid for the time being to see if it's any more reliable. For now, this fix is not applied.
@ -79,7 +81,7 @@ sudo grub2-mkconfig -o /boot/grub2/grub.cfg
sudo dnf reinstall shim-\* grub2-efi-\* grub2-common sudo dnf reinstall shim-\* grub2-efi-\* grub2-common
``` ```
## Power Management Fixes (Suspend) ## Suspend Issues
**11/22/2024 - Update: Still testing, but this issue has not come up during a full day of use on Debian Sid running kernel version 6.11.9.** **11/22/2024 - Update: Still testing, but this issue has not come up during a full day of use on Debian Sid running kernel version 6.11.9.**
@ -122,39 +124,35 @@ Source: [Arch Wiki](https://wiki.archlinux.org/title/Power_management/Suspend_an
Some smaller tweaks I added to change the power profile when the AC adapter is plugged in or unplugged: Some smaller tweaks I added to change the power profile when the AC adapter is plugged in or unplugged:
`nano /etc/udev/rules.d/60-onbattery.rules`
``` ```
#/etc/udev/rules.d/60-onbattery.rules
# Rule for when switching to battery # Rule for when switching to battery
SUBSYSTEM=="power_supply",ATTR{status}=="Discharging",ATTR{capacity_level}=="Normal",RUN+="/usr/share/power-profiles/power-saver.sh" SUBSYSTEM=="power_supply",ENV{POWER_SUPPLY_ONLINE}=="0",RUN+="/usr/share/power-profiles/power-saver.sh"
``` ```
`nano /etc/udev/rules.d/61-onacpower.rules`
``` ```
#/etc/udev/rules.d/61-onacpower.rules
#Rule for when switching to AC Power #Rule for when switching to AC Power
SUBSYSTEM=="power_supply", ATTR{online}=="1", RUN+="/usr/share/power-profiles/performance.sh" SUBSYSTEM=="power_supply",ENV{POWER_SUPPLY_ONLINE}=="1", RUN+="/usr/share/power-profiles/performance.sh"
``` ```
`nano /usr/share/power-profiles/power-saver.sh`
``` ```
#/usr/share/power-profiles/power-saver.sh
#!/bin/sh #!/bin/sh
#set performance profile through D-bus #set performance profile through D-bus
powerprofilesctl set power-saver powerprofilesctl set power-saver
``` ```
`nano /usr/share/power-profiles/performance.sh`
``` ```
#/usr/share/power-profiles/performance.sh
#!/bin/sh #!/bin/sh
#set high performance profile through D-bus #set high performance profile through D-bus
powerprofilesctl set performance powerprofilesctl set performance
``` ```
``` Don't foget to make them executable
#Don't foget to make them executable
```
sudo chmod +x /usr/share/power-profiles/power-saver.sh sudo chmod +x /usr/share/power-profiles/power-saver.sh
sudo chmod +x /usr/share/power-profiles/performance.sh sudo chmod +x /usr/share/power-profiles/performance.sh
``` ```