NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: wired memory leak?
On Sat, 7 Nov 2026, Greg Troxel wrote:
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
`AccelMethos UXA' is not valid for `modesetting'. It's either `glamor' or bust
ie. (`none'). This becomes `AccelMethod none':
https://github.com/NetBSD/xsrc/blob/trunk/external/mit/xorg-server/dist/hw/xfree86/drivers/modesetting/driver.c#L967
You should see `glamor' being turned off, and X falling back to the LLVM
softpipe renderer in Xorg.0.log.
Wire pages stay within 12200-12300, with X running, with or without
firefox. top reports 48M. This has been stable 2d 18h.
This depends on the size of the framebuffer (x2)--18MB for me (1920x1200x4 x2).
But, `modesetting' with `AccelMethod none' crashes in `libshadow' when the
server exits. One has to `Option "ShadowFB" "off"' to "fix" this.
-RVP
Home |
Main Index |
Thread Index |
Old Index