From owner-freebsd-questions@freebsd.org Tue Apr 14 12:15:11 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0A7932BF182; Tue, 14 Apr 2020 12:15:11 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from mail.daemonic.se (mail.daemonic.se [176.58.89.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 491kvd4Ll7z460J; Tue, 14 Apr 2020 12:15:09 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 491kvS6yW1z3m97; Tue, 14 Apr 2020 12:15:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=daemonic.se; h= content-transfer-encoding:content-language:content-type :content-type:in-reply-to:mime-version:user-agent:date:date :message-id:from:from:references:subject:subject:received :received; s=20151023; t=1586866500; bh=xmR0JLvxROIZ9d1PakdZtkdQ oGwtds6HeJlCRn0IIGY=; b=eOSbbNw4BoArbO90Lw75Ba1DsXQVBpuOf4aYaAlZ jOyd93y1trfAQ8YO9oezK+I/VbGYe35S+YPMrommXU8C5T8IvHOPyyWggryG1Psh CPDf9y7mvyXmi16HPO5wfaoRelwYwgaKjgJ4Ogl+Cbf4AQuc/5DMJyVLB+dqTcj/ BXE= X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([IPv6:::1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [IPv6:::1]) (amavisd-new, port 10587) with ESMTPS id YMkRamdKPFwF; Tue, 14 Apr 2020 12:15:00 +0000 (UTC) Received: from garnet.daemonic.se (host-95-192-128-200.mobileonline.telia.com [95.192.128.200]) by mail.daemonic.se (Postfix) with ESMTPSA id 491kvS2FH0z3lbm; Tue, 14 Apr 2020 12:15:00 +0000 (UTC) Subject: Re: drm-i915kms + x11-intel eats out all of the ram and swap but not with x11-scfb To: Tomasz CEDRO , FreeBSD Questions Mailing List , freebsd-x11@freebsd.org References: From: Niclas Zeising Message-ID: <19d0dbdc-f1ac-22f1-6934-076bb5733ab7@daemonic.se> Date: Tue, 14 Apr 2020 14:14:59 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 491kvd4Ll7z460J X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=daemonic.se header.s=20151023 header.b=eOSbbNw4; dmarc=pass (policy=none) header.from=daemonic.se; spf=pass (mx1.freebsd.org: domain of zeising@daemonic.se designates 176.58.89.161 as permitted sender) smtp.mailfrom=zeising@daemonic.se X-Spamd-Result: default: False [-6.70 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[daemonic.se:s=20151023]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[daemonic.se:+]; DMARC_POLICY_ALLOW(-0.50)[daemonic.se,none]; IP_SCORE(-3.70)[ip: (-9.75), ipnet: 176.58.89.0/24(-4.87), asn: 36236(-3.81), country: US(-0.05)]; RECEIVED_SPAMHAUS_PBL(0.00)[200.128.192.95.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:36236, ipnet:176.58.89.0/24, country:US]; TAGGED_FROM(0.00)[freebsd]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Apr 2020 12:15:11 -0000 On 2020-04-14 13:57, Tomasz CEDRO wrote: > Hello world :-) > > I have noticed some bad thing with the X11 Intel driver (12.1-RELEASE > AMD64 with latest intel driver from 2018???) - it eats out all of the > RAM, then it eats all of the SWAP, then system gets unusable for > anything except hard reset :-( This happens when it works together > with latest DRM i915KMS. On hard computer use that means workstation > gets useless in around 15 minutes. Closing applications does not free > the memory resources, once it get some some it never returns. Which driver are you talking about? xf86-video-intel or drm-fbsd12.0-kmod? > > I have set the UXA as the default for i5-5300U CPU. > > On the other hand the DRM i915kms works fine with SCFB on the same > load and hardware. I am working on DRM + i915kms + SCFB so far. If you are using SCFB, you are not using i915kms. > > This is why I suspect problem with X11-INTEL driver? Maybe it does not > like latest Xorg changes? > > I also sometimes get this DRM warning on the dmesg: > [drm] Reducing the compressed framebuffer size. This may lead to less > power savings than a non-reduced-size. Try to increase stolen memory > size if available in BIOS. This is unrelated to this issue. Have you tried using the modesetting xorg driver instead? Regards -- Niclas