Commit 2d605c

2026-02-22 10:14:29 luxmiyu: expand sections
tech/linux/troubleshooting.md ..
@@ 2,6 2,27 @@
Some fixes we've found for possible issues.
+ ## Not enough space in EFI partition
+
+ https://wiki.archlinux.org/title/EFI_system_partition#Typical_mount_points
+
+ - mount the EFI partition on /mnt/efi instead
+ - install kernel normally (on /boot)
+ - use refind to point to it
+ - don't forget to fix fstab accordingly
+
+ Here's my (luxmiyu) refind menuentry for reference:
+
+ ```c
+ menuentry "Arch Linux" {
+ icon /EFI/refind/refind-theme/icons/os_arch.png
+ volume "arch miyu"
+ loader /boot/vmlinuz-linux
+ initrd /boot/initramfs-linux.img
+ options "rw root=UUID=9d0ab243-1d12-4db4-a4e4-4020517e9b6a loglevel=3 nvidia-drm.modeset=1"
+ }
+ ```
+
## Discord Push to Talk
https://github.com/DeedleFake/ptt-fix
@@ 9,3 30,16 @@
## Niri Nvidia Screen Tearing
https://github.com/niri-wm/niri/issues/2477
+
+ Add this to your niri config:
+
+ ```c
+ debug {
+ // wait-for-frame-completion-before-queueing
+ render-drm-device "/dev/dri/renderD129" // note renderD129 is my NVIDIA GPU, yours can be different!
+ }
+ ```
+
+ Choose either `wait-for-frame-completion-before-queueing` (can introduce input lag), or `render-drm-device` to render exclusively on selected gpu.
+
+ Note: for consistent gpu label, follow this comment: https://github.com/niri-wm/niri/issues/2477#issuecomment-3734221349
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9