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:
|
||||
- lscpu # need to kldload cpuctl
|
||||
- powermon # need to kldload cpuctl
|
||||
- cpu-microcode-intel
|
||||
state: present
|
||||
|
||||
- name: Install loader.conf
|
||||
@ -16,6 +17,7 @@
|
||||
- coretemp
|
||||
- cpuctl
|
||||
- aesni
|
||||
- intel_microcode
|
||||
|
||||
- name: Install service configuration
|
||||
copy:
|
||||
|
@ -44,7 +44,7 @@ multimedia/v4l-utils
|
||||
multimedia/v4l_compat
|
||||
multimedia/vdpauinfo
|
||||
multimedia/webcamd
|
||||
multimedia/wf-recorder
|
||||
multimedia/wl-screenrec
|
||||
net-mgmt/arpscan
|
||||
net-mgmt/ipcalc
|
||||
net/google-cloud-sdk
|
||||
@ -75,6 +75,7 @@ sysutils/ansible
|
||||
sysutils/ansible-sshjail
|
||||
sysutils/bhyve-firmware
|
||||
sysutils/btop
|
||||
sysutils/cpu-microcode
|
||||
sysutils/ddrescue
|
||||
sysutils/dsbmd
|
||||
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 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`
|
||||
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 Shift+print exec wf-recorder -f "$HOME/$(date +'screencast_%Y-%m-%d-%H%M%S.mkv')" -c h264_vaapi -d /dev/dri/renderD128
|
||||
bindsym $mod+ctrl+Shift+print exec killall -SIGINT wf-recorder
|
||||
bindsym $mod+Shift+print exec wl-screenrec -g "$(slurp)" -f "$HOME/$(date +'screencast_%Y-%m-%d-%H%M%S.mkv')"
|
||||
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 wl-sceenrec
|
||||
# Need to make a hotkey to end the recording
|
||||
|
@ -13,7 +13,6 @@
|
||||
- slurp # screen coordinates for screenshots
|
||||
- libnotify # mako doesn't seem to work without it
|
||||
- pcmanfm # For mounting drives
|
||||
- wf-recorder # screen recording
|
||||
- xdg-desktop-portal
|
||||
- xdg-desktop-portal-wlr # screen sharing
|
||||
- wtype # for rofimoji to be able to insert characters
|
||||
|
@ -7,6 +7,7 @@
|
||||
- wlogout # Log out prompt
|
||||
- xhost # to launch gparted with root permissions
|
||||
- wlvncc
|
||||
- wl-screenrec # screen recording
|
||||
state: present
|
||||
|
||||
- name: Install service configuration
|
||||
|
@ -7,6 +7,7 @@
|
||||
loop:
|
||||
- wev
|
||||
- wlvncc-git
|
||||
- wl-screenrec-git
|
||||
|
||||
- name: Update cache
|
||||
when: buildaur.changed
|
||||
@ -24,6 +25,7 @@
|
||||
- xorg-xwayland
|
||||
- rofimoji
|
||||
- wlvncc-git
|
||||
- wl-screenrec-git # screen recording
|
||||
|
||||
- name: Install scripts
|
||||
copy:
|
||||
|
@ -31,7 +31,7 @@ function main {
|
||||
fi
|
||||
fi
|
||||
|
||||
if pgrep -q wf-recorder; then
|
||||
if pgrep -q wl-screenrec; then
|
||||
local is_running=1
|
||||
else
|
||||
local is_running=0
|
||||
|
@ -1 +1 @@
|
||||
vfs.zfs.txg.timeout=20
|
||||
vfs.zfs.txg.timeout=30
|
||||
|
Loading…
x
Reference in New Issue
Block a user