Date: Mon, 01 Jul 2019 15:24:15 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 238925] graphics/drm-fbsd12.0-kmod: leaks memory when i915kms.ko is loaded Message-ID: <bug-238925-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238925 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@freebsd.org Reporter: lantw44@gmail.com Flags: maintainer-feedback?(jmd@freebsd.org) Assignee: jmd@freebsd.org My desktop computer has 16 GiB RAM, but it seems that drm-fbsd12.0-kmod kee= ps leaking memory, using up all memory in one day and forcing me to reboot. Th= is 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 Ct= rl-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 rebo= ot it. This kind of memory leak only happens when i915kms.ko from drm-fbsd12.0-kmo= d 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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238925-7788>