On Fri, May 03, 2019 at 11:17:25PM +0200, Przemek Dragańczuk wrote: > Every so often when running dwm my xorg seems to freeze. I can se the > mouse cursor move and change according to what's on the screen, but > the screen itself is frozen, almost as if it was a screenshot. The > only way to "fix" it is to log into a second tty and kill xorg, but > the problem comes back, sometimes within minutes.
Try running strace on dwm when this happens. I observed some similar issues in the past in which dwm would be stuck in an EAGAIN loop reading the X11 socket. Unfortunately I don't recall how I fixed the issue off the top of my head. Eric