NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: wired memory leak?



BLUF: Setting "AccelMethod UXA" in xorg.conf avoids wired page leaks.


A brief followup that setting acceleration to UXA makes the leak not
happen.

For a very long time (2023?), I had in /etc/xorg.conf all but the
AccelMethod line:

  Section "Device"
          Identifier      "Card0"
          Driver          "modesetting"
          Option          "AccelMethod"   "UXA"
  EndSection

and I recently added AccelMethod UXA based on hints upthread, but didn't
reboot.  While wired memory was growing, it hadn't gotten to unuaable.
I had to shut the computer off for unrelated reasons on Wednesday.

I started the wired memory logger at boot, before X.  After it had been
up for a while I noticed it was stable, and then noticed I had added the
AccelMethod line.

Wire pages stay within 12200-12300, with X running, with or without
firefox.  top reports 48M.  This has been stable 2d 18h.

So, AccelMethod UXA vs whatever is default makes the difference.


Home | Main Index | Thread Index | Old Index