Any X application seems to cause systemwide Stuttering/Hiccups


New Member

Messages: 1

I currently get a lot of system stuttering/hiccups in X applications and trying to get to the bottom of it. The stuttering lasts less than a second and only happens with X applications, console is fine. I normally just have vim, mutt, firefox/qutebrowser open when in X and my window manager is dwm started via startx. The system isn't under any real load at all. Playing videos via mpv and music via musicpd all pause when the stutter happens and is when its most notable. The stutter is never far away and I would say it's at least once a minute.

Things I have tried

- Disabling C6 C-State in the BIOS, I read this maybe an issue.
- Trying various custom options in Xorg config such as Option "TearFree" "true".
- All settings seem correct and my user is in the video group etc.

System stats

Currently using the amdgpu module with FREEBSD-BETA1 but this has been an issue previous to this release. I am using the drm-kmod. On ALPHA and 13-CURRENT I used drm-devel-kmod) and xf86-video-amdgpu is not installed. My graphics card is a RX 5700XT.

Command output

pciconf -lvbce :
devinfo -vr :
sysctl hw.model : hw.model: AMD Ryzen 5 3600 6-Core Processor
dmesg :
vmstat -i :

At this point I am not really sure where to go to tracking down the issue, does anyone have any pointers on what I can try need to pinpoint the issue? I do reliase this would be classed as an unsupported version of FreeBSD but I am really just looking for more pointers on how I can go about debugging it better. Configs have been attached too.

Any info would be great.


  • loader.conf
    40 bytes · Views: 41
  • rc.conf
    222 bytes · Views: 37
  • Xorg.0.log.txt
    71.7 KB · Views: 16



Reaction score: 1,471
Messages: 2,114

OT, bit it's easier to read when you post short files inline as [CODE]text of [FILE]loader.conf[/FILE] here[/CODE], for one-liners you can use ICODE. Click on Help @bottom to see all formatting codes (BB codes)



Reaction score: 574
Messages: 1,349

Turn off swap, it can cause this. (Don't forget to turn it on again... not good to run out of memory.)


New Member

Reaction score: 3
Messages: 14

try this and let me know if it works for you
also try the value 224 and see if eithe works for you
it goes in /etc/sysctl.conf