Re: [Mesa-dev] dri3proto requirement (Was: Add DRI3+Present loader)
On 11/08/2013 11:49 AM, Eric Anholt wrote: Jose Fonseca jfons...@vmware.com writes: This change seems makes dri3proto a hard requirement to build with automake. Is that strictly necessary? I tried to find ubuntu packages for it to install on my build slave, but it doesn't seem they exist yet. Well, we could build more build infrastructure for not building it, but there are released tarballs and it's a tiny little set of headers. Since DRI3 depends on several new packages which aren't readily available yet (yum, apt-get, etc), I'm really glad to have the --disable-dri3 option (Thanks, Armin). I've tried building the libxshmfence-1.0 package on two different systems now and both failed: $ ./configure --prefix=/usr/local seems to work $ make [...] /bin/bash ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT xshmfence.lo -MD -MP -MF .deps/xshmfence.Tpo -c -o xshmfence.lo xshmfence.c ../libtool: line 831: X--tag=CC: command not found ../libtool: line 864: libtool: ignoring unknown tag : command not found ../libtool: line 831: X--mode=compile: command not found ../libtool: line 997: *** Warning: inferring the mode of operation is deprecated.: command not found ../libtool: line 998: *** Future versions of Libtool will require --mode=MODE be specified.: command not found ../libtool: line 1141: Xgcc: command not found ../libtool: line 1141: X-std=gnu99: command not found ../libtool: line 1141: X-DHAVE_CONFIG_H: command not found ../libtool: line 1141: X-I.: command not found ../libtool: line 1141: X-I..: command not found ../libtool: line 1141: X-g: command not found ../libtool: line 1141: X-O2: command not found ../libtool: line 1141: X-MT: command not found ../libtool: line 1141: Xxshmfence.lo: command not found ../libtool: line 1141: X-MD: command not found ../libtool: line 1141: X-MP: command not found ../libtool: line 1141: X-MF: command not found ../libtool: line 1141: X.deps/xshmfence.Tpo: No such file or directory ../libtool: line 1141: X-c: command not found ../libtool: line 1192: Xxshmfence.lo: command not found ../libtool: line 1197: libtool: compile: cannot determine name of library object from `': command not found make[2]: *** [xshmfence.lo] Error 1 -Brian ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] dri3proto requirement (Was: Add DRI3+Present loader)
I - Original Message - On 11/08/2013 11:49 AM, Eric Anholt wrote: Jose Fonseca jfons...@vmware.com writes: This change seems makes dri3proto a hard requirement to build with automake. Is that strictly necessary? I tried to find ubuntu packages for it to install on my build slave, but it doesn't seem they exist yet. Well, we could build more build infrastructure for not building it, but there are released tarballs and it's a tiny little set of headers. Since DRI3 depends on several new packages which aren't readily available yet (yum, apt-get, etc), I'm really glad to have the --disable-dri3 option (Thanks, Armin). I think xshmfence is only used for DRI3, so its requirement could be equally forfeited when --disable-dri3 is set. Jose ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] dri3proto requirement (Was: Add DRI3+Present loader)
On Mon, Nov 11, 2013 at 7:58 AM, Brian Paul bri...@vmware.com wrote: On 11/08/2013 11:49 AM, Eric Anholt wrote: Jose Fonseca jfons...@vmware.com writes: This change seems makes dri3proto a hard requirement to build with automake. Is that strictly necessary? I tried to find ubuntu packages for it to install on my build slave, but it doesn't seem they exist yet. Well, we could build more build infrastructure for not building it, but there are released tarballs and it's a tiny little set of headers. Since DRI3 depends on several new packages which aren't readily available yet (yum, apt-get, etc), I'm really glad to have the --disable-dri3 option (Thanks, Armin). I've tried building the libxshmfence-1.0 package on two different systems now and both failed: $ ./configure --prefix=/usr/local seems to work $ make [...] /bin/bash ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT xshmfence.lo -MD -MP -MF .deps/xshmfence.Tpo -c -o xshmfence.lo xshmfence.c ../libtool: line 831: X--tag=CC: command not found ../libtool: line 864: libtool: ignoring unknown tag : command not found ../libtool: line 831: X--mode=compile: command not found ../libtool: line 997: *** Warning: inferring the mode of operation is deprecated.: command not found ../libtool: line 998: *** Future versions of Libtool will require --mode=MODE be specified.: command not found ../libtool: line 1141: Xgcc: command not found ../libtool: line 1141: X-std=gnu99: command not found ../libtool: line 1141: X-DHAVE_CONFIG_H: command not found ../libtool: line 1141: X-I.: command not found ../libtool: line 1141: X-I..: command not found ../libtool: line 1141: X-g: command not found ../libtool: line 1141: X-O2: command not found ../libtool: line 1141: X-MT: command not found ../libtool: line 1141: Xxshmfence.lo: command not found ../libtool: line 1141: X-MD: command not found ../libtool: line 1141: X-MP: command not found ../libtool: line 1141: X-MF: command not found ../libtool: line 1141: X.deps/xshmfence.Tpo: No such file or directory ../libtool: line 1141: X-c: command not found ../libtool: line 1192: Xxshmfence.lo: command not found ../libtool: line 1197: libtool: compile: cannot determine name of library object from `': command not found make[2]: *** [xshmfence.lo] Error 1 -Brian I saw this too. I think it's some kind of packaging failure (autotools versions much too old on Keith's system?). I was able to work around it by running autogen.sh to regenerate the scripts. :( ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] dri3proto requirement (Was: Add DRI3+Present loader)
On 11/11/2013 10:14 AM, Matt Turner wrote: On Mon, Nov 11, 2013 at 7:58 AM, Brian Paul bri...@vmware.com wrote: On 11/08/2013 11:49 AM, Eric Anholt wrote: Jose Fonseca jfons...@vmware.com writes: This change seems makes dri3proto a hard requirement to build with automake. Is that strictly necessary? I tried to find ubuntu packages for it to install on my build slave, but it doesn't seem they exist yet. Well, we could build more build infrastructure for not building it, but there are released tarballs and it's a tiny little set of headers. Since DRI3 depends on several new packages which aren't readily available yet (yum, apt-get, etc), I'm really glad to have the --disable-dri3 option (Thanks, Armin). I've tried building the libxshmfence-1.0 package on two different systems now and both failed: $ ./configure --prefix=/usr/local seems to work $ make [...] /bin/bash ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT xshmfence.lo -MD -MP -MF .deps/xshmfence.Tpo -c -o xshmfence.lo xshmfence.c ../libtool: line 831: X--tag=CC: command not found ../libtool: line 864: libtool: ignoring unknown tag : command not found ../libtool: line 831: X--mode=compile: command not found ../libtool: line 997: *** Warning: inferring the mode of operation is deprecated.: command not found ../libtool: line 998: *** Future versions of Libtool will require --mode=MODE be specified.: command not found ../libtool: line 1141: Xgcc: command not found ../libtool: line 1141: X-std=gnu99: command not found ../libtool: line 1141: X-DHAVE_CONFIG_H: command not found ../libtool: line 1141: X-I.: command not found ../libtool: line 1141: X-I..: command not found ../libtool: line 1141: X-g: command not found ../libtool: line 1141: X-O2: command not found ../libtool: line 1141: X-MT: command not found ../libtool: line 1141: Xxshmfence.lo: command not found ../libtool: line 1141: X-MD: command not found ../libtool: line 1141: X-MP: command not found ../libtool: line 1141: X-MF: command not found ../libtool: line 1141: X.deps/xshmfence.Tpo: No such file or directory ../libtool: line 1141: X-c: command not found ../libtool: line 1192: Xxshmfence.lo: command not found ../libtool: line 1197: libtool: compile: cannot determine name of library object from `': command not found make[2]: *** [xshmfence.lo] Error 1 -Brian I saw this too. I think it's some kind of packaging failure (autotools versions much too old on Keith's system?). I was able to work around it by running autogen.sh to regenerate the scripts. :( The tarball doesn't contain the autogen.sh script. And I don't see a pointer to the git tree in the tarball. There's no README or anything. -Brian ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] dri3proto requirement (Was: Add DRI3+Present loader)
On Mon, Nov 11, 2013 at 9:19 AM, Brian Paul bri...@vmware.com wrote: The tarball doesn't contain the autogen.sh script. And I don't see a pointer to the git tree in the tarball. There's no README or anything. Oh. :( The repo is git://anongit.freedesktop.org/xorg/lib/libxshmfence You can get the effect of autogen.sh by running `autoreconf -vfi` ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] dri3proto requirement (Was: Add DRI3+Present loader)
On 11/08/2013 05:25 AM, Jose Fonseca wrote: This change seems makes dri3proto a hard requirement to build with automake. Is that strictly necessary? I tried to find ubuntu packages for it to install on my build slave, but it doesn't seem they exist yet. There's also a dependency on a new libxshmfence library, which I found by googling, but doesn't build on my Mint system (some sort of libtool problem - ugh). Can all the new DRI3 stuff be put behind some sort of config option? Let's try to fix this ASAP, please. -Brian Jose - Original Message - Module: Mesa Branch: master Commit: 2d94601582e4f0fcaf8c02a15b23cba39dec7bb1 URL: https://urldefense.proofpoint.com/v1/url?u=http://cgit.freedesktop.org/mesa/mesa/commit/?id%3D2d94601582e4f0fcaf8c02a15b23cba39dec7bb1k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0Ar=lGQMzzTgII0I7jefp2FHq7WtZ%2BTLs8wadB%2BiIj9xpBY%3D%0Am=SO%2B7OlHXbokI6imwepItT9yNpAUWwJbaEKhKb0wNP9w%3D%0As=4954ad78ce9f075774d2527774e6def7bbfad3a42c0f4c9a99319895658448c2 Author: Keith Packard kei...@keithp.com Date: Mon Nov 4 18:15:51 2013 -0800 Add DRI3+Present loader Uses the __DRIimage loader interfaces. v2: Fix _XIOErrors when DRI3 isn't present (change by anholt). Apparently XCB just terminates your connection if you don't check for extensions before using them, instead of returning an error like you'd expect. Signed-off-by: Keith Packard kei...@keithp.com Reviewed-by: Kristian Høgsberg k...@bitplanet.net Reviewed-by: Eric Anholt e...@anholt.net --- configure.ac | 12 +- src/glx/Makefile.am |2 + src/glx/dri3_common.c | 146 src/glx/dri3_glx.c| 1831 + src/glx/dri3_priv.h | 209 ++ src/glx/glxclient.h |2 + src/glx/glxext.c |6 +- 7 files changed, 2204 insertions(+), 4 deletions(-) Diff: https://urldefense.proofpoint.com/v1/url?u=http://cgit.freedesktop.org/mesa/mesa/diff/?id%3D2d94601582e4f0fcaf8c02a15b23cba39dec7bb1k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0Ar=lGQMzzTgII0I7jefp2FHq7WtZ%2BTLs8wadB%2BiIj9xpBY%3D%0Am=SO%2B7OlHXbokI6imwepItT9yNpAUWwJbaEKhKb0wNP9w%3D%0As=fef0d7d9901b79c9c42049b0570131a0a2eab324c676302f57eb2677998e1dc3 ___ mesa-commit mailing list mesa-com...@lists.freedesktop.org https://urldefense.proofpoint.com/v1/url?u=http://lists.freedesktop.org/mailman/listinfo/mesa-commitk=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0Ar=lGQMzzTgII0I7jefp2FHq7WtZ%2BTLs8wadB%2BiIj9xpBY%3D%0Am=SO%2B7OlHXbokI6imwepItT9yNpAUWwJbaEKhKb0wNP9w%3D%0As=e3eaebc7aa81154fb9264da77eb272c2eea2cff836c8b8c3ed6c91102bb09065 ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://urldefense.proofpoint.com/v1/url?u=http://lists.freedesktop.org/mailman/listinfo/mesa-devk=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0Ar=lGQMzzTgII0I7jefp2FHq7WtZ%2BTLs8wadB%2BiIj9xpBY%3D%0Am=SO%2B7OlHXbokI6imwepItT9yNpAUWwJbaEKhKb0wNP9w%3D%0As=cba62b848b56c0d2b4561775fb7023da0d0880705e6d646735a057805107dc96 ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev