add framework specific fixes
This commit is contained in:
@@ -38,8 +38,9 @@ I have instructions for building a:
|
|||||||
- [Desktop Environment](#desktop-environment)
|
- [Desktop Environment](#desktop-environment)
|
||||||
- [Gnome](#gnome)
|
- [Gnome](#gnome)
|
||||||
- [Hardware Management](#hardware-management)
|
- [Hardware Management](#hardware-management)
|
||||||
|
- [Color Management](#color-management)
|
||||||
|
- [Washed out colors with power-profiles-daemon](#washed-out-colors-with-power-profiles-daemon)
|
||||||
- [Hardware Acceleration](#hardware-acceleration)
|
- [Hardware Acceleration](#hardware-acceleration)
|
||||||
- [Power Management](#power-management)
|
|
||||||
- [Don't sleep while plugged in](#dont-sleep-while-plugged-in)
|
- [Don't sleep while plugged in](#dont-sleep-while-plugged-in)
|
||||||
- [Bluetooth](#bluetooth)
|
- [Bluetooth](#bluetooth)
|
||||||
- [Audio](#audio)
|
- [Audio](#audio)
|
||||||
@@ -70,6 +71,7 @@ Follow most of the instructions here:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
gpg --auto-key-locate clear,wkd -v --locate-external-key pierre@archlinux.org
|
gpg --auto-key-locate clear,wkd -v --locate-external-key pierre@archlinux.org
|
||||||
|
gpg --keyserver-options auto-key-retrieve --verify archlinux-...
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Create a bootable ISO
|
3. Create a bootable ISO
|
||||||
@@ -778,6 +780,16 @@ Now the status should be correct even after connecting/disconnecting when the co
|
|||||||
|
|
||||||
## Hardware Management
|
## Hardware Management
|
||||||
|
|
||||||
|
### Color Management
|
||||||
|
|
||||||
|
<https://wiki.archlinux.org/title/Framework_Laptop_13#Display>
|
||||||
|
|
||||||
|
<https://wiki.archlinux.org/title/ICC_profiles#Wayland>
|
||||||
|
|
||||||
|
### Washed out colors with power-profiles-daemon
|
||||||
|
|
||||||
|
<https://wiki.archlinux.org/title/Framework_Laptop_13#(AMD)_Washed-out_colors_when_using_power-profiles-daemon_in_power-saver_or_balanced_mode>
|
||||||
|
|
||||||
### Hardware Acceleration
|
### Hardware Acceleration
|
||||||
|
|
||||||
(This helps enable hardware encoding/decoding for steam streaming)
|
(This helps enable hardware encoding/decoding for steam streaming)
|
||||||
@@ -796,50 +808,6 @@ pacman -S vulkan-radeon libva-utils libva-mesa-driver xf86-video-amdgpu
|
|||||||
vainfo
|
vainfo
|
||||||
```
|
```
|
||||||
|
|
||||||
### Power Management
|
|
||||||
|
|
||||||
1. For laptops install `tlp`
|
|
||||||
|
|
||||||
```bash
|
|
||||||
pacman -S tlp tlp-rdw
|
|
||||||
systemctl enable --now tlp
|
|
||||||
systemctl mask systemd-rfkill.service
|
|
||||||
systemctl mask systemd-rfkill.socket
|
|
||||||
```
|
|
||||||
|
|
||||||
2. Then configure it with the following settings (optional)
|
|
||||||
|
|
||||||
/etc/tlp.conf
|
|
||||||
|
|
||||||
```conf
|
|
||||||
# I've seen some issues with usb autosuspend
|
|
||||||
USB_AUTOSUSPEND=0
|
|
||||||
# Restore bluetooth/wifi state on reboot
|
|
||||||
# Otherwise it defaults to on
|
|
||||||
RESTORE_DEVICE_STATE_ON_STARTUP=1
|
|
||||||
# Disable wifi when plugged in
|
|
||||||
# You might not want this for continuity - eg. you're copying a file to a network
|
|
||||||
# share over wifi - plugging in will cancel the copy with this option enabled.
|
|
||||||
DEVICES_TO_DISABLE_ON_LAN_CONNECT="wifi wwan"
|
|
||||||
# Re-enable wifi when unplugged.
|
|
||||||
DEVICES_TO_ENABLE_ON_LAN_DISCONNECT="wifi wwan"
|
|
||||||
```
|
|
||||||
|
|
||||||
3. For desktops install cpupower
|
|
||||||
|
|
||||||
```bash
|
|
||||||
pacman -S cpupower
|
|
||||||
systemctl enable --now cpupower
|
|
||||||
```
|
|
||||||
|
|
||||||
Temporarily set power profile with `cpupower frequency-set -g performance`
|
|
||||||
|
|
||||||
Edit /etc/default/cpupower
|
|
||||||
|
|
||||||
```conf
|
|
||||||
governor='performance'
|
|
||||||
```
|
|
||||||
|
|
||||||
### Don't sleep while plugged in
|
### Don't sleep while plugged in
|
||||||
|
|
||||||
This is needed for the Framework 13 (11th gen) since sleeping while plugged in to a dock
|
This is needed for the Framework 13 (11th gen) since sleeping while plugged in to a dock
|
||||||
|
|||||||
Reference in New Issue
Block a user