Install CPU microcode updates on Intel on FreeBSD and switch from wf-recorder to wl-screenrec.
This commit is contained in:
parent
7f0af6f41c
commit
61bc98578b
6
ansible/roles/cpu/files/intel_microcode_loader.conf
Normal file
6
ansible/roles/cpu/files/intel_microcode_loader.conf
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# Load Intel microcode at boot before the kernel does feature detection.
|
||||||
|
#
|
||||||
|
# The alternative would have been /etc/rc.conf with:
|
||||||
|
# microcode_update_enable="YES"
|
||||||
|
cpu_microcode_load="YES"
|
||||||
|
cpu_microcode_name="/boot/firmware/intel-ucode.bin"
|
@ -3,6 +3,7 @@
|
|||||||
name:
|
name:
|
||||||
- lscpu # need to kldload cpuctl
|
- lscpu # need to kldload cpuctl
|
||||||
- powermon # need to kldload cpuctl
|
- powermon # need to kldload cpuctl
|
||||||
|
- cpu-microcode-intel
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Install loader.conf
|
- name: Install loader.conf
|
||||||
@ -16,6 +17,7 @@
|
|||||||
- coretemp
|
- coretemp
|
||||||
- cpuctl
|
- cpuctl
|
||||||
- aesni
|
- aesni
|
||||||
|
- intel_microcode
|
||||||
|
|
||||||
- name: Install service configuration
|
- name: Install service configuration
|
||||||
copy:
|
copy:
|
||||||
|
@ -44,7 +44,7 @@ multimedia/v4l-utils
|
|||||||
multimedia/v4l_compat
|
multimedia/v4l_compat
|
||||||
multimedia/vdpauinfo
|
multimedia/vdpauinfo
|
||||||
multimedia/webcamd
|
multimedia/webcamd
|
||||||
multimedia/wf-recorder
|
multimedia/wl-screenrec
|
||||||
net-mgmt/arpscan
|
net-mgmt/arpscan
|
||||||
net-mgmt/ipcalc
|
net-mgmt/ipcalc
|
||||||
net/google-cloud-sdk
|
net/google-cloud-sdk
|
||||||
@ -75,6 +75,7 @@ sysutils/ansible
|
|||||||
sysutils/ansible-sshjail
|
sysutils/ansible-sshjail
|
||||||
sysutils/bhyve-firmware
|
sysutils/bhyve-firmware
|
||||||
sysutils/btop
|
sysutils/btop
|
||||||
|
sysutils/cpu-microcode
|
||||||
sysutils/ddrescue
|
sysutils/ddrescue
|
||||||
sysutils/dsbmd
|
sysutils/dsbmd
|
||||||
sysutils/exfat-utils
|
sysutils/exfat-utils
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
bindsym $mod+print exec slurp | grim -g - "$HOME/$(date +'screenshot_%Y-%m-%d-%H%M%S.png')"
|
bindsym $mod+print exec slurp | grim -g - "$HOME/$(date +'screenshot_%Y-%m-%d-%H%M%S.png')"
|
||||||
bindsym print exec grim "$HOME/$(date +'screenshot_%Y-%m-%d-%H%M%S.png')"
|
bindsym print exec grim "$HOME/$(date +'screenshot_%Y-%m-%d-%H%M%S.png')"
|
||||||
# Maybe add --audio flag? can optionally specify specific device name from `pactl list sources | grep Name`
|
# Maybe add --audio flag? can optionally specify specific device name from `pactl list sources | grep Name`
|
||||||
bindsym $mod+Shift+print exec wf-recorder -g "$(slurp)" -f "$HOME/$(date +'screencast_%Y-%m-%d-%H%M%S.mkv')" -c h264_vaapi -d /dev/dri/renderD128
|
bindsym $mod+Shift+print exec wl-screenrec -g "$(slurp)" -f "$HOME/$(date +'screencast_%Y-%m-%d-%H%M%S.mkv')"
|
||||||
bindsym Shift+print exec wf-recorder -f "$HOME/$(date +'screencast_%Y-%m-%d-%H%M%S.mkv')" -c h264_vaapi -d /dev/dri/renderD128
|
bindsym Shift+print exec wl-screenrec -f "$HOME/$(date +'screencast_%Y-%m-%d-%H%M%S.mkv')"
|
||||||
bindsym $mod+ctrl+Shift+print exec killall -SIGINT wf-recorder
|
bindsym $mod+ctrl+Shift+print exec killall -SIGINT wl-sceenrec
|
||||||
# Need to make a hotkey to end the recording
|
# Need to make a hotkey to end the recording
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
- slurp # screen coordinates for screenshots
|
- slurp # screen coordinates for screenshots
|
||||||
- libnotify # mako doesn't seem to work without it
|
- libnotify # mako doesn't seem to work without it
|
||||||
- pcmanfm # For mounting drives
|
- pcmanfm # For mounting drives
|
||||||
- wf-recorder # screen recording
|
|
||||||
- xdg-desktop-portal
|
- xdg-desktop-portal
|
||||||
- xdg-desktop-portal-wlr # screen sharing
|
- xdg-desktop-portal-wlr # screen sharing
|
||||||
- wtype # for rofimoji to be able to insert characters
|
- wtype # for rofimoji to be able to insert characters
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
- wlogout # Log out prompt
|
- wlogout # Log out prompt
|
||||||
- xhost # to launch gparted with root permissions
|
- xhost # to launch gparted with root permissions
|
||||||
- wlvncc
|
- wlvncc
|
||||||
|
- wl-screenrec # screen recording
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Install service configuration
|
- name: Install service configuration
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
loop:
|
loop:
|
||||||
- wev
|
- wev
|
||||||
- wlvncc-git
|
- wlvncc-git
|
||||||
|
- wl-screenrec-git
|
||||||
|
|
||||||
- name: Update cache
|
- name: Update cache
|
||||||
when: buildaur.changed
|
when: buildaur.changed
|
||||||
@ -24,6 +25,7 @@
|
|||||||
- xorg-xwayland
|
- xorg-xwayland
|
||||||
- rofimoji
|
- rofimoji
|
||||||
- wlvncc-git
|
- wlvncc-git
|
||||||
|
- wl-screenrec-git # screen recording
|
||||||
|
|
||||||
- name: Install scripts
|
- name: Install scripts
|
||||||
copy:
|
copy:
|
||||||
|
@ -31,7 +31,7 @@ function main {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if pgrep -q wf-recorder; then
|
if pgrep -q wl-screenrec; then
|
||||||
local is_running=1
|
local is_running=1
|
||||||
else
|
else
|
||||||
local is_running=0
|
local is_running=0
|
||||||
|
@ -1 +1 @@
|
|||||||
vfs.zfs.txg.timeout=20
|
vfs.zfs.txg.timeout=30
|
||||||
|
Loading…
Reference in New Issue
Block a user