From nobody Wed Jun 28 05:25:57 2023 X-Original-To: x11@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QrVRW54yJz4kPq3 for ; Wed, 28 Jun 2023 05:25:59 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QrVRW3tpdz4SpD for ; Wed, 28 Jun 2023 05:25:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687929959; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SHLZ55im3io3RDMAuo8BPMi2v9NSWEgI/4xn3144Icw=; b=iqrry3xG4W4KTCaI0EZVg43uE0lj4dmMTEtExaXLm9+pQoABj3E7K8wVbKDD9y46ujtBe/ b4A1MCDQTOUpwSAXhdnxH4Voo16bAX5L25jbXBOCMJ/uuuE2jOWh/XOcQ09rMxQrVEp12l 9221D1VRMSBIb8F8lq2Q1gBktxjS+B7iYwM51rNtzY2eIaTnRjunnlojs9S1gY1QH0GmIJ 71N4Ul/yyTM52QrTl+oCoYlK1NYfy7m1rSOQC5dYnht+DU5B+qCyyA0/uhwiMoEnbVjud/ h91dDOiHD7j0C185LmC+YsiHbwK3oGj++xYlr6qn+uPt1FFWcsevlm72H0J4rA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687929959; a=rsa-sha256; cv=none; b=GAaZo5fwBqtyAdRJPwM6lk7yZttT738T35ZriyPDTGDvwOyw+GlpGcCDEf4kXTwQc/Nv+x 2tlfa2mDtrONYM3zet635LHcXz4+5VJ/G+2mPjyUMU/oqW/Ynx19lBjB4E7CaD7lHaJ6gX MuBk1M7GUi/gA16xXKHTQVULFjCBf+TCDmPhRMpLOvjfvVW54W3pRbLqsEvSyUhfjsLhGn fO7/OwJV0/mtutPGKh9yBLxEZGss78XEOguKvPndWBbYo2Dy+AEUw/ShYfT/zcTu7LXvtZ D0J/UifnAUYU70xd4uhO9u4tepLjRuA57O7g7hwBIH5O5Gr0s6ebG+xemLr4WA== 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 4QrVRW2zjGzMLK for ; Wed, 28 Jun 2023 05:25:59 +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 35S5PxZ1037440 for ; Wed, 28 Jun 2023 05:25:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35S5PxV5037439 for x11@FreeBSD.org; Wed, 28 Jun 2023 05:25:59 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: x11@FreeBSD.org Subject: [Bug 270509] Various x11-drivers/xf86-video drivers erroneously assume that no kernel driver will attach to graphics cards (need local patches) Date: Wed, 28 Jun 2023 05:25:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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: nakaji@kankyo-u.ac.jp X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270509 NAKAJI Hiroyuki changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nakaji@kankyo-u.ac.jp --- Comment #29 from NAKAJI Hiroyuki --- (In reply to wbe from comment #28) How about this patch for x11-drivers/xf86-video-mga? diff -urN /usr/ports/x11-drivers/xf86-video-mga/files/patch-src_mga__driver= .c ./x11-drivers/xf86-video-mga/files/patch-src_mga__driver.c --- /usr/ports/x11-drivers/xf86-video-mga/files/patch-src_mga__driver.c 1970-01-01 09:00:00.000000000 +0900 +++ ./x11-drivers/xf86-video-mga/files/patch-src_mga__driver.c 2023-06-28 14:09:39.602063000 +0900 @@ -0,0 +1,18 @@ +--- src/mga_driver.c.orig 2018-12-08 10:08:01.000000000 +0900 ++++ src/mga_driver.c 2023-06-28 14:08:34.513506000 +0900 +@@ -702,6 +702,7 @@ + ScrnInfoPtr pScrn =3D NULL; + MGAPtr pMga; +=20 ++#ifndef __FreeBSD__ + if (pci_device_has_kernel_driver(dev)) { + /* If it's a G200 server chip, it's probably on KMS, so bail; if no= t, + * it might be using matroxfb, which is ok. */ +@@ -721,6 +722,7 @@ + return FALSE; + } + } ++#endif +=20 + /* Allocate a ScrnInfoRec and claim the slot */ + pScrn =3D xf86ConfigPciEntity(pScrn, 0, entity_num, MGAPciChipsets, --=20 You are receiving this mail because: You are the assignee for the bug.=