From owner-freebsd-x11@freebsd.org Thu Feb 9 18:03:08 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 459AFCD3999 for ; Thu, 9 Feb 2017 18:03:08 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 32142E70 for ; Thu, 9 Feb 2017 18:03:08 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2E6B9CD3997; Thu, 9 Feb 2017 18:03:08 +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 2DF49CD3996; Thu, 9 Feb 2017 18:03:08 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from vps-mail.nomadlogic.org (unknown [IPv6:2607:f2f8:a098::2]) (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 EB955E6F; Thu, 9 Feb 2017 18:03:07 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from [10.44.139.220] (nat-192-187-90-115.nat.tribpub.com [192.187.90.115]) by vps-mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 84651eef TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Thu, 9 Feb 2017 10:03:07 -0800 (PST) Subject: Re: CFT upgrade to xorg 1.18.4 and newer intel/ati DDX To: Andrea Venturoli , Baptiste Daroussin , x11@FreeBSD.org, ports@FreeBSD.org References: <20170123235516.o5lvu3sfwq5r5tsq@ivaldir.etoilebsd.net> <145494a4-8a14-76a4-d8f7-ca86bddf4e29@netfence.it> From: Pete Wright Message-ID: <99df4935-8d14-5f2a-7b24-ac2914670384@nomadlogic.org> Date: Thu, 9 Feb 2017 10:03:06 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <145494a4-8a14-76a4-d8f7-ca86bddf4e29@netfence.it> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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: Thu, 09 Feb 2017 18:03:08 -0000 On 02/09/2017 08:57, Andrea Venturoli wrote: > On 01/24/17 00:55, Baptiste Daroussin wrote: >> Hi all, >> >> This is a call for testing for newer Xorg along with newer drivers: >> intel and >> ati. > > Hello. > Thanks for your work. > > I'm willing to test this, since I'm experiencing frequent X lock ups > on an Intel-based laptop. > > I applied your patch to my port tree and added the following to my > poudriere's build list: > x11-drivers/xf86-video-ati (this is for another PC) > x11-drivers/xf86-input-keyboard > x11-drivers/xf86-input-mouse > x11-drivers/xf86-video-intel > > However xf86-input-keyboard and xf86-input-mouse fail with: > > ... >> checking for asprintf... (cached) yes >> checking for XORG... no >> configure: error: Package requirements (xorg-server >= 1.7 xproto >> inputproto) were not met: >> >> Package dri3proto was not found in the pkg-config search path. >> Perhaps you should add the directory containing `dri3proto.pc' >> to the PKG_CONFIG_PATH environment variable >> Package 'dri3proto', required by 'xorg-server', not found >> >> >> Consider adjusting the PKG_CONFIG_PATH environment variable if you >> installed software in a non-standard prefix. >> >> Alternatively, you may set the environment variables XORG_CFLAGS >> and XORG_LIBS to avoid the need to call pkg-config. >> See the pkg-config man page for more details. >> ===> Script "configure" failed unexpectedly. > I have run into the same issue, and I have reported this to the maintainers. This diff resolved the issue on my end, which allowed all Xorg packages to build: $ git diff Mk/bsd.xorg.mk diff --git a/Mk/bsd.xorg.mk b/Mk/bsd.xorg.mk index 295d7b9112a6..6110936583a3 100644 --- a/Mk/bsd.xorg.mk +++ b/Mk/bsd.xorg.mk @@ -59,7 +59,7 @@ USE_XORG+= xorg-macros . if ${XORG_CAT} == "driver" USE_XORG+= xorg-server xproto randrproto xi renderproto xextproto \ - inputproto kbproto fontsproto videoproto dri2proto xf86driproto \ + inputproto kbproto fontsproto videoproto dri2proto dri3proto xf86driproto \ presentproto glproto xineramaproto resourceproto scrnsaverproto # work around a llvm bug on i386, llvm bug #15806 # reproduced with clang 3.2 (current release) and 3.1 I believe this fix will be included in the upcoming release. basically we need to ensure that dri3proto is built along with Xorg as I believe some of the newer xorg drivers have a hard dependency on dri3. HTH, -pete