From owner-freebsd-questions@freebsd.org Sun Feb 21 00:27:25 2021 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 3C8F353D6B9 for ; Sun, 21 Feb 2021 00:27:25 +0000 (UTC) (envelope-from freebsd@twc.com) Received: from p-impout008.msg.pkvw.co.charter.net (p-impout008aa.msg.pkvw.co.charter.net [47.43.26.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DjmNX4kTwz4vP7 for ; Sun, 21 Feb 2021 00:27:24 +0000 (UTC) (envelope-from freebsd@twc.com) Received: from freebsd.localnet ([74.132.18.25]) by cmsmtp with ESMTPA id DcaillZ8DGwBgDcajl1FDd; Sun, 21 Feb 2021 00:27:17 +0000 X-Authority-Analysis: v=2.3 cv=WOgBoUkR c=1 sm=1 tr=0 a=6dKv8Xy78h5PIHsve0hi3A==:117 a=6dKv8Xy78h5PIHsve0hi3A==:17 a=kj9zAlcOel0A:10 a=hJ7SnZAeEzrPUXx1UycA:9 a=CjuIK1q_8ugA:10 From: Steven Friedrich To: freebsd-questions@freebsd.org Subject: Re: [drm] Got stolen memory base 0x8a800000, size 0x2000000 Date: Sat, 20 Feb 2021 05:45:23 -0500 Message-ID: <3029859.bT80LyP3VS@freebsd> In-Reply-To: <4840868.YNO7O01DYZ@freebsd> References: <16988477.sFgvYJuXru@freebsd> <4301c070-a85d-9951-eff7-91e49740b678@nomadlogic.org> <4840868.YNO7O01DYZ@freebsd> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-CMAE-Envelope: MS4wfCmCSJ8XWPSQy1oDa0mjY1+bH9XoAIrGNQ2615uS3ghDHQqXVfSUIR3v8TS8cvN7Te4+WCioS5/47wACWOBVqcgXp3HFVgJ+SM48md2EGdpQsol3EN5O 9NWYunk+N/j7rVR+wu8mZJKlUUiDtMxpdMvRJqiFXcsq8Jf1y6c/GLdCi928kfN6DAZA/6vbT2mBoA== X-Rspamd-Queue-Id: 4DjmNX4kTwz4vP7 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@twc.com designates 47.43.26.139 as permitted sender) smtp.mailfrom=freebsd@twc.com X-Spamd-Result: default: False [-2.30 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RECEIVED_SPAMHAUS_PBL(0.00)[74.132.18.25:received]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[47.43.26.139:from]; R_SPF_ALLOW(-0.20)[+ip4:47.43.26.0/24:c]; FREEMAIL_FROM(0.00)[twc.com]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[twc.com]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; MID_RHS_NOT_FQDN(0.50)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[twc.com]; CTE_CASE(0.50)[]; MIME_TRACE(0.00)[0:+]; MAILMAN_DEST(0.00)[freebsd-questions]; ASN(0.00)[asn:40294, ipnet:47.43.24.0/21, country:US] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2021 00:27:25 -0000 On Friday, 19 February 2021 21:54:08 EST Steven Friedrich wrote: > On Friday, 19 February 2021 13:27:49 EST Pete Wright wrote: > > On 2/19/21 2:23 AM, Steven Friedrich wrote: > > > How can I fix or avoid this? > > > > > > I do see some odd graphic corruption overlayed on my consoles. > > > > > > What will I lose if I turn DRM off by not using : > > > drm-fbsd12.0-kmod-4.16.g20201016_1 DRM modules for the linuxkpi-based > > > KMS > > > components > > > drm-kmod-g20190710_1 Metaport of DRM modules for the > > > linuxkpi-based KMS components > > > drm_info-2.2.0_1 Small utility to dump info about DRM > > > devices > > > libdrm-2.4.104,1 Userspace interface to kernel Direct > > > Rendering Module services > > > s > > > > You will not have hardware accelerated graphics is using Xorg if the > > drm-kmod is not present, which may or may be an issue depending on your > > use-case. It may also effect power management as well, for example on > > my laptop if I don't load the kmod for my Nvidia GPU I get much worse > > battery life. So that would be something to look out for. > > > > To help you fix this it would be helpful to provide the following: > > 1. FreeBSD release (uname -a) > > 2. Graphics hardware (Intel i915 vs AMD) > > 3. Additional logging/debugging information. For example if you can > > provide more context of the error in your logs, and if there are repro > > steps. > > > > Cheers, > > -pete > > Thanks for the reply, Pete. > After I sent that email, I figured out how to make my signature reflect my > uname output. > I have a i7-8700 with integrated UHD-630 graphics. > I have no idea where t look, beyond dmesg, for ,re info regarding this > "stolen" memory. It happens everytime I boot. No logs in /var/log by drm. > > root@FreeBSD(pts/1):/var/log # grep -i stolen * > dmesg.today:[drm] Got stolen memory base 0x8a800000, size 0x2000000 > dmesg.yesterday:[drm] Got stolen memory base 0x8a800000, size 0x2000000 > dmesg.yesterday:[drm] Got stolen memory base 0x8a800000, size 0x2000000 > messages:Feb 19 06:00:17 FreeBSD kernel: [drm] Got stolen memory base > 0x8a800000, size 0x2000000 > messages:Feb 19 05:04:41 FreeBSD kernel: [drm] Got stolen memory base > 0x8a800000, size 0x2000000 > messages:Feb 19 16:42:41 FreeBSD kernel: [drm] Got stolen memory base > 0x8a800000, size 0x2000000 > messages:Feb 19 16:59:01 FreeBSD kernel: [drm] Got stolen memory base > 0x8a800000, size 0x2000000 > messages:Feb 19 18:23:36 FreeBSD kernel: [drm] Got stolen memory base > 0x8a800000, size 0x2000000 Here's a better version of the original report: real memory = 17179869184 (16384 MB) avail memory = 16294457344 (15539 MB) unknown: memory range not supported pci0: at device 20.2 (no driver attached) [drm] Got stolen memory base 0x8a800000, size 0x2000000 Here's the device as reported by pciconf -lv: none1@pci0:0:20:2: class=0x050000 card=0x72708086 chip=0xa36f8086 rev=0x10 hdr=0x00 vendor = 'Intel Corporation' device = 'Cannon Lake PCH Shared SRAM' class = memory subclass = RAM After I invoke sddm, and start a plasma5 session, upon exiting sddm, my consoles have corruption at the top of the screens. It doesn't scrolll off. Remains until reboot. Another X11 session causes it to recur. -- FreeBSD FreeBSD 12.2-RELEASE-p3 FreeBSD 12.2-RELEASE-p3 r369283 Special amd64 HP-Slimline 290-p0014 Desktop Using integrated UHD Graphics 630 Built drm from /usr/ports/drm-kmod