From owner-freebsd-x11@freebsd.org Sun Sep 20 08:55:04 2020 Return-Path: Delivered-To: freebsd-x11@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 1A5413D9340 for ; Sun, 20 Sep 2020 08:55:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BvLxM71Bhz4HQF for ; Sun, 20 Sep 2020 08:55:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id EE8353D933F; Sun, 20 Sep 2020 08:55:03 +0000 (UTC) Delivered-To: x11@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 ED2E43D925E for ; Sun, 20 Sep 2020 08:55:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BvLxM5mdjz4HN8 for ; Sun, 20 Sep 2020 08:55:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A60A51AC6F for ; Sun, 20 Sep 2020 08:55:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 08K8t3QA070959 for ; Sun, 20 Sep 2020 08:55:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 08K8t3v0070958 for x11@FreeBSD.org; Sun, 20 Sep 2020 08:55:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: maintainer-feedback requested: [Bug 249476] graphics/drm-fbsd12.0-kmod i915kms GT2 attach returned 19 Date: Sun, 20 Sep 2020 08:55:02 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Sep 2020 08:55:04 -0000 Bugzilla Automation has asked freebsd-x11 (Nobody) for maintainer-feedback: Bug 249476: graphics/drm-fbsd12.0-kmod i915kms GT2 attach returned 19 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249476 --- Description --- Intel Haswell GT2 Server HD Graphics P4600 vendor=3D0x8086,dev=3D0x041a,rev= id=3D0x06 download.freebsd.org: FreeBSD 12.2-BETA1 r365618 GENERIC amd64 pkg.freebsd.org: FreeBSD:12:amd64/latest/All/drm-fbsd12.0-kmod-4.16.g20200221.txz Up to date as above. Modules kldload and kldstat ok... Loaded /.../i915kms.ko, id=3D8 i915kms.ko, drm.ko, linuxkpi.ko, linuxkpi_gplv2.ko, debugfs.ko But the only dmesg output says they are broken... kernel: anon_inodefs registered kernel: debugfs registered kernel: drmn0: on vgapci0 kernel: device_attach: drmn0 attach returned 19 Then upon kldunload of i915kms it panics. The drm shipped in BETA1, and in drm-legacy-kmod-g20200825, both work. But they do throw some issues... kernel: info: [drm] Memory usable by graphics device =3D 2048M kernel: info: [drm] MTRR allocation failed. Graphics performance may suffe= r. kernel: error: [drm:pidxxx:i915_write32] *ERROR* Unknown unclaimed register before writing to c5100 ... kernel: error: [drm:pidxxx:drm_mm_takedown] *ERROR* Memory manager not clea= n. Delaying takedown kernel: Warning: memory type drm_sman leaked memory on destroy (4 allocatio= ns, 512 bytes leaked). Intel-ARK says this unit has max 1.7GB video mem shared from dram.