[Bug 238925] graphics/drm-fbsd12.0-kmod: leaks memory when i915kms.ko is loaded
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jul 1 15:24:18 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238925
Bug ID: 238925
Summary: graphics/drm-fbsd12.0-kmod: leaks memory when
i915kms.ko is loaded
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: jmd at freebsd.org
Reporter: lantw44 at gmail.com
Flags: maintainer-feedback?(jmd at freebsd.org)
Assignee: jmd at freebsd.org
My desktop computer has 16 GiB RAM, but it seems that drm-fbsd12.0-kmod keeps
leaking memory, using up all memory in one day and forcing me to reboot. This
computer uses Intel i5-650 CPU and its integrated Intel Ironlake graphics. The
operating system is FreeBSD 12.0 with GNOME desktop environment.
If I remember correctly, the problem has existed since the introduction of
drm-fbsd12.0-kmod port. Here are a few test results I found a few days ago. The
version of drm-fbsd12.0-kmod is 4.16.g20190624.
1. When the system was just booted, wired memory was below 3 GiB.
2. After the system had run for 12 hours, wired memory became 12 GiB. The
desktop was still responsive, but the usage of swap was increasing.
3. After the system had run for 15 hours, wired memory become 15 GiB. The
desktop was non-responsive, and it was slow to run any command from an SSH
login shell. Ctrl-T showed that most of time are spent on swapping. Even Ctrl-C
took several seconds to respond.
4. After I managed to terminate Xorg and bring down the desktop environment,
the shell became responsive again. However, wired memory usage was still 14
GiB. It seemed that there was no way to reclaim the memory so I had to reboot
it.
This kind of memory leak only happens when i915kms.ko from drm-fbsd12.0-kmod is
used. It doesn't happen if i915kms.ko from base is used. If I use i915kms.ko
from base, wired memory usually stays below 3 GiB, and the system can last more
than one month without the need to reboot.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list