From owner-freebsd-ports-bugs@freebsd.org Mon Jul 1 15:24:18 2019 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 436DD15DD495 for ; Mon, 1 Jul 2019 15:24:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D1D1F827EF for ; Mon, 1 Jul 2019 15:24:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 929BF15DD494; Mon, 1 Jul 2019 15:24:17 +0000 (UTC) Delivered-To: ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6E34615DD493 for ; Mon, 1 Jul 2019 15:24:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 00BFE827EA for ; Mon, 1 Jul 2019 15:24:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 2DA501BD84 for ; Mon, 1 Jul 2019 15:24:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x61FOGfR006377 for ; Mon, 1 Jul 2019 15:24:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x61FOGU6006365 for ports-bugs@FreeBSD.org; Mon, 1 Jul 2019 15:24:16 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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 Date: Mon, 01 Jul 2019 15:24:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lantw44@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jmd@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jul 2019 15:24:18 -0000 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.=