From owner-freebsd-x11@freebsd.org Sat Mar 25 08:33:18 2017 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9103BD1D41E for ; Sat, 25 Mar 2017 08:33:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 7AC6B13F0 for ; Sat, 25 Mar 2017 08:33:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 7A257D1D41D; Sat, 25 Mar 2017 08:33:18 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 79CCCD1D41C for ; Sat, 25 Mar 2017 08:33:18 +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 mx1.freebsd.org (Postfix) with ESMTPS id 6995513E6 for ; Sat, 25 Mar 2017 08:33:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v2P8XIWN045561 for ; Sat, 25 Mar 2017 08:33:18 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 217886] xorg fails to init GL on stable/11 because of a devel/libdevq bug(?) Date: Sat, 25 Mar 2017 08:33:18 +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: holindho@saunalahti.fi X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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 MIME-Version: 1.0 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Mar 2017 08:33:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217886 --- Comment #3 from holindho@saunalahti.fi --- (In reply to Matthew Rezny from comment #2) Good to hear it's getting replaced. Tracing the code from gbm/EGL down to libdevq revealed plenty of duplicated fragile looking code that attempts to figure out the device / bus ids. The root cause of why I'm seeing the problem and many others are not seems = to be in the ACPI parser in the kernel. Apple's firmware is probably a little broken and hands out weird PCI bus entries which, for instance, Linux seems= to skip as invalid, but FreeBSD takes them in, creating an inconsistent PCI de= vice tree.=20 However, libdevq's parsing that the patch addresses still seems to me as br= oken as the first form does not appear valid at all on 11.0 systems (which just = fall back to the older parsing method). I can live with my local patch, though, until a better libdrm emerges. --=20 You are receiving this mail because: You are the assignee for the bug.=