Solved xorg performance issues: help with modesetting

I have periodic performance issues with X. It runs great without any extra configuration but slows down periodically after a few days. I read some references to modesetting but couldn't find any specific instructions . Would appreciate any help with it and any other tips on improving performance. I saw some improvements after moving /tmp and /var/run to tmpfs/.

If it makes any difference I use IceWM but also observed the same behavior with JWM.

Code:
$ pciconf -lv|grep -B4 VGA
vgapci0@pci0:3:0:0:     class=0x030000 rev=0xc3 hdr=0x00 vendor=0x1002 device=0x1636 subvendor=0x1028 subdevice=0x09e3
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'Renoir [Radeon Vega Series / Radeon Vega Mobile Series]'
    class      = display
subclass = VGA

/u/l/e/X/xorg.conf.d $ freebsd-version -kru
14.1-RELEASE-p5
14.1-RELEASE-p5
14.1-RELEASE-p6

$ mount | grep tmpfs
tmpfs on /tmp (tmpfs, local)
tmpfs on /var/run (tmpfs, local)
 
If anyone is reading this I solved this by copying kernel parameters for /boot/loader.conf and /etc/sysctl.conf from cooltrainer. I'm not sure which parameter made the difference but now my desktop is as fast as than greased lightning :)
 
Back
Top