This is my personal config file setup with my custom dwm, pretty much a manual how to replicate my system from 0. Basically it's arch server with a little bit of graphics that creates close to no overhead for either gaming or developing stuff.
Since my current gpu is RX 7800 XT I will not include any tips for NVidia cards, just because I've no testing ground.
sudo pacman -Syy
sudo pacman -Sy python python-pyparted python-pydantic python-pydantic-core python-annotated-types python-typing_extensions archinstall
sudo archinstall| Parameter | Value | Reasoning |
|---|---|---|
| Type | Minimal | Not gonna use any premade DE, so can go with minimal setup, rest is installed manually anyway |
| Audio | Pipewire | Allows capturing one specific audio think, works better with browsers, discord, obs |
| Kernels | Zen | For style points, no idea |
| Package Name | Description | Package Manager |
|---|---|---|
| linux-zen | Monolithic Unix-like Computer | Pacman |
sudo pacman -S linux-zensudo nano /etc/default/grub
# Remember last selected kernel boot option:
GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true
# Save configuration
sudo grub-mkconfig -o /boot/grub/grub.cfg| Package Name | Description | Package Manager |
|---|---|---|
| paru | AUR helper | Pacman |
sudo pacman -S git
sudo pacman -S --needed base-devel
git clone https://aur.archlinux.org/paru.git && cd paru && makepkg -siThis repo contains setup.sh file that can install all the necessary deps, libs, programs and other stuff of your liking. Keep in mind that some packages are necessary for DWM to work, others for screenshot script to work.
chmod +x setup.sh
./setup.shBasically if you move your mouse somewhat fast by 'drawing' circles on your screen something weird starts to happen:
event5 - Mouse: client bug: event processing lagging behind by 30ms, your system is too slow
event5 - Mouse: client bug: event processing lagging behind by 29ms, your system is too slow
event5 - Mouse: client bug: event processing lagging behind by 31ms, your system is too slow
event5 - Mouse: SYN_DROPPED event - some input events have been lost.
event5 - Mouse: SYN_DROPPED event - some input events have been lost.
event5 - Mouse: SYN_DROPPED event - some input events have been lost.
event5 - Mouse: WARNING: log rate limit exceeded (5 msgs per 30s). Discarding future messages.The problem is quite simple to be honest: by default we have hardware cursors enabled and each move of your mouse cursor is painted by the GPU directly into the framebuffer which causes your system to go insane
The fix is also obvious:
cd /etc/X11/xorg.conf.d/
sudo touch 20-amdgpu.conf
# Configuration is defined as follows
Section "OutputClass"
Identifier "AMD"
MatchDriver "amdgpu"
Driver "amdgpu"
EndSection# Add software cursors option and toggle it
Option "SWcursor" "on"