Being a Linux desktop user is not easy, but it doesn't have to be difficult.
This is especially useful for collecting logs of system issues.
- Edit
/etc/systemd/journald.conf
and setStorage=persistent
- See https://wiki.archlinux.org/index.php/Systemd/Journal
- Useful command for viewing logs from the previous boot:
journalctl --boot=-1 --pager-end
My system will often freeze the display and the only way to recover is by a hard reboot. These are the steps I have tried
Remove any vga=
or video=
options from the kernel boot parameters
Went from:
quiet loglevel=3 vga=current resume=UUID=de4366d9-ba05-43da-b70b-e7bb53fbed7a nouveau.modeset=0 nvidia-drm.modeset=1 video=SVIDEO-1:d lsm=lockdown,yama
To:
quiet loglevel=3 resume=UUID=de4366d9-ba05-43da-b70b-e7bb53fbed7a nouveau.modeset=0 nvidia-drm.modeset=1lsm=lockdown,yama
Hybrid graphics in Nvidia
-
Follow the README
-
See this wiki
-
Apply the automated setup as outlined on Nvidia website
See this comment
More power saving
https://wiki.archlinux.org/index.php/Power_management#Network_interfaces
Random wifi restart
Similar to the problem faced here.See https://wiki.archlinux.org/index.php/IPv6#Disable_functionality
Follow the guide found [here](https://wiki.archlinux.org/index.php/NVIDIA/Tips_and_tricks#Preserve_video_memory_after_suspend).
Just need to set options nvidia NVreg_PreserveVideoMemoryAllocations=1
Use [aconfmgr for arch linux](https://github.com/CyberShadow/aconfmgr)
This works similar to nixos configuration file, and it enables us to save the
state of the system in case we need to restore it on a different machine