Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Feb 2017 10:03:06 -0800
From:      Pete Wright <pete@nomadlogic.org>
To:        Andrea Venturoli <ml@netfence.it>, Baptiste Daroussin <bapt@FreeBSD.org>,  x11@FreeBSD.org, ports@FreeBSD.org
Subject:   Re: CFT upgrade to xorg 1.18.4 and newer intel/ati DDX
Message-ID:  <99df4935-8d14-5f2a-7b24-ac2914670384@nomadlogic.org>
In-Reply-To: <145494a4-8a14-76a4-d8f7-ca86bddf4e29@netfence.it>
References:  <20170123235516.o5lvu3sfwq5r5tsq@ivaldir.etoilebsd.net> <145494a4-8a14-76a4-d8f7-ca86bddf4e29@netfence.it>

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?99df4935-8d14-5f2a-7b24-ac2914670384>