Re: [Mesa-dev] [PATCH] Fix build of swrast only without libdrm
On 03/06/2013 01:54 AM, Michel Dänzer wrote: Actually, you asked for two different software renderers: --with-dri-drivers=swrast produces lib/swrast_dri.so based on classic swrast, --with-gallium-drivers=swrast produces lib/gallium/swrast_dri.so based on llvmpipe/softpipe. Presumably both are built before and after the change(s) in question, they merely changed which one ends up installed / picked up first at runtime. Oh my... I've started building nightly drm as well. (Fedora 17 has libdrm_nouveau2.so which I can't make work.) Now I can test VTK against the much more default (wild type) configuration: export PKG_CONFIG_PATH=/home/kevin/drm_nightly/lib/pkgconfig/ ./autogen.sh \ --prefix=/home/kevin/mesa_nightly \ --enable-glx \ --enable-dri \ --enable-shared-glapi \ --enable-gallium-llvm \ --enable-osmesa signature.asc Description: OpenPGP digital signature ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] [PATCH] Fix build of swrast only without libdrm
On 03/04/2013 01:32 PM, Matt Turner wrote: Committed. Thanks! Before this change ( at least this is the most reasonable change from last night ) I would configure mesa with : ./autogen.sh \ --prefix=/home/kevin/mesa_nightly \ --enable-glx \ --with-dri-drivers=swrast \ --with-gallium-drivers=swrast \ --enable-osmesa and according to VTK's LoadOpenGLExtension test in fact I got : http://open.cdash.org/testDetails.php?test=179582680build=2835185 GL_VENDOR: VMware, Inc. GL_VERSION: 2.1 Mesa 9.2-devel (git-b88f74d) GL_RENDERER: Gallium 0.4 on llvmpipe (LLVM 3.0, 128 bits) but today I get : http://open.cdash.org/testDetails.php?test=179722202build=2836181 GL_VENDOR: Mesa Project GL_VERSION: 2.1 Mesa 9.2-devel (git-e21460b) GL_RENDERER: Software Rasterizer so now configure is giving me exactly what I asked for which is good :-) Unfortunately it isn't what I want :-( and the swrast driver gives me more vtk test errors than the llvmpipe driver :-( I have spare cycles on some machines I might be able to test VTK on all of the mesa software renderers and nouveau but for now how do I get the old behavior? configure --help gives me only an example with swrast. ./autogen.sh \ --prefix=/home/kevin/mesa_nightly \ --enable-glx \ --with-gallium-drivers=llvmpipe \ --enable-osmesa Fails: configure: error: Package requirements (libdrm_nouveau = 2.4.33) were not met: On fedora it's : $ cat /usr/lib64/pkgconfig/libdrm_nouveau2.pc | grep Name Name: libdrm_nouveau2 ./autogen.sh \ --prefix=/home/kevin/mesa_nightly \ --enable-glx \ --with-dri-drivers= \ --with-gallium-drivers=llvmpipe \ --enable-osmesa Fails: configure: error: Unknown Gallium driver: llvmpipe signature.asc Description: OpenPGP digital signature ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] [PATCH] Fix build of swrast only without libdrm
On Tue, Mar 5, 2013 at 9:37 AM, Kevin H. Hobbs hob...@ohio.edu wrote: On 03/04/2013 01:32 PM, Matt Turner wrote: Committed. Thanks! Before this change ( at least this is the most reasonable change from last night ) I would configure mesa with : ./autogen.sh \ --prefix=/home/kevin/mesa_nightly \ --enable-glx \ --with-dri-drivers=swrast \ --with-gallium-drivers=swrast \ --enable-osmesa and according to VTK's LoadOpenGLExtension test in fact I got : http://open.cdash.org/testDetails.php?test=179582680build=2835185 GL_VENDOR: VMware, Inc. GL_VERSION: 2.1 Mesa 9.2-devel (git-b88f74d) GL_RENDERER: Gallium 0.4 on llvmpipe (LLVM 3.0, 128 bits) but today I get : http://open.cdash.org/testDetails.php?test=179722202build=2836181 GL_VENDOR: Mesa Project GL_VERSION: 2.1 Mesa 9.2-devel (git-e21460b) GL_RENDERER: Software Rasterizer so now configure is giving me exactly what I asked for which is good :-) Unfortunately it isn't what I want :-( and the swrast driver gives me more vtk test errors than the llvmpipe driver :-( It's what you asked for but not what you wanted? Not sure I can help with that. :) If whatever this problem is is caused by the commit you mention, I have a patch on the list now to fix it. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] [PATCH] Fix build of swrast only without libdrm
On 03/05/2013 01:58 PM, Matt Turner wrote: On Tue, Mar 5, 2013 at 9:37 AM, Kevin H. Hobbs hob...@ohio.edu wrote: so now configure is giving me exactly what I asked for which is good :-) Unfortunately it isn't what I want :-( and the swrast driver gives me more vtk test errors than the llvmpipe driver :-( It's what you asked for but not what you wanted? Not sure I can help with that. :) If whatever this problem is is caused by the commit you mention, I have a patch on the list now to fix it. The only software renderer in the output of './configure --help' is swrast. I asked for a software renderer, and I got one, so I didn't notice that I didn't get what I was asking for. I also didn't know the difference between software renderers OSMesa=Xlib=Swrast=llvmpipe... Now, I realize that I was asking for a specific software renderer, and got a different one. The patch discussed in this thread fixed that. There are very few VTK test failures left for the llvmpipe renderer. (None for Xlib and OSMesa wahoo!) I would like to get the llvmpipe VTK test failures to zero, and then add other renderers to my nightly VTK tests. The problem I have is: I do not see any way to configure Mesa to build the llvmpipe driver. signature.asc Description: OpenPGP digital signature ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] [PATCH] Fix build of swrast only without libdrm
On Tue, Mar 5, 2013 at 11:43 AM, Kevin H. Hobbs hob...@ohio.edu wrote: The problem I have is: I do not see any way to configure Mesa to build the llvmpipe driver. Ah. To do this you enable the gallium swrast driver and LLVM. --with-gallium-drivers=swrast,... --enable--llvm ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] [PATCH] Fix build of swrast only without libdrm
On Die, 2013-03-05 at 14:43 -0500, Kevin H. Hobbs wrote: On 03/05/2013 01:58 PM, Matt Turner wrote: On Tue, Mar 5, 2013 at 9:37 AM, Kevin H. Hobbs hob...@ohio.edu wrote: so now configure is giving me exactly what I asked for which is good :-) Unfortunately it isn't what I want :-( and the swrast driver gives me more vtk test errors than the llvmpipe driver :-( It's what you asked for but not what you wanted? Not sure I can help with that. :) If whatever this problem is is caused by the commit you mention, I have a patch on the list now to fix it. The only software renderer in the output of './configure --help' is swrast. I asked for a software renderer, and I got one, so I didn't notice that I didn't get what I was asking for. I also didn't know the difference between software renderers OSMesa=Xlib=Swrast=llvmpipe... Now, I realize that I was asking for a specific software renderer, and got a different one. The patch discussed in this thread fixed that. Actually, you asked for two different software renderers: --with-dri-drivers=swrast produces lib/swrast_dri.so based on classic swrast, --with-gallium-drivers=swrast produces lib/gallium/swrast_dri.so based on llvmpipe/softpipe. Presumably both are built before and after the change(s) in question, they merely changed which one ends up installed / picked up first at runtime. -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Debian, X and DRI developer ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] [PATCH] Fix build of swrast only without libdrm
On Thu, Feb 28, 2013 at 10:39 AM, Daniel Martin consume.no...@gmail.com wrote: Signed-off-by: Daniel Martin consume.no...@gmail.com --- There's a small logic error preventing mesa to be build with swrast only and not having libdrm. v2: || test replaced by -a configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 5f95a78..7852595 100644 --- a/configure.ac +++ b/configure.ac @@ -1095,7 +1095,7 @@ if test x$enable_dri = xyes; then fi # if we are building any dri driver other than swrast or using the dri state tracker ... -if test -n $DRI_DIRS -a x$DRI_DIRS != xswrast || test x$enable_dri = xyes; then +if test -n $DRI_DIRS -a x$DRI_DIRS != xswrast -a x$enable_dri = xyes; then # ... libdrm is required if test x$have_libdrm != xyes; then AC_MSG_ERROR([DRI drivers requires libdrm = $LIBDRM_REQUIRED]) -- 1.8.1.4 Committed. Thanks! ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] [PATCH] Fix build of swrast only without libdrm
On Thu, Feb 28, 2013 at 3:58 AM, Daniel Martin consume.no...@gmail.com wrote: Signed-off-by: Daniel Martin consume.no...@gmail.com --- There's a small logic error preventing mesa to be build with swrast only and not having libdrm. configure.ac |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index 5701f8a..aa1b38a 100644 --- a/configure.ac +++ b/configure.ac @@ -1089,7 +1089,7 @@ if test x$enable_dri = xyes; then fi # if we are building any dri driver other than swrast or using the dri state tracker ... -if test -n $DRI_DIRS -a x$DRI_DIRS != xswrast || test x$enable_dri = xyes; then +if test -n $DRI_DIRS -a x$DRI_DIRS != xswrast test x$enable_dri = xyes; then While modifying this line of code, please change ' test' to -a. (mesa patches to go mesa-dev, not dri-devel) ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [PATCH] Fix build of swrast only without libdrm
Signed-off-by: Daniel Martin consume.no...@gmail.com --- There's a small logic error preventing mesa to be build with swrast only and not having libdrm. v2: || test replaced by -a configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 5f95a78..7852595 100644 --- a/configure.ac +++ b/configure.ac @@ -1095,7 +1095,7 @@ if test x$enable_dri = xyes; then fi # if we are building any dri driver other than swrast or using the dri state tracker ... -if test -n $DRI_DIRS -a x$DRI_DIRS != xswrast || test x$enable_dri = xyes; then +if test -n $DRI_DIRS -a x$DRI_DIRS != xswrast -a x$enable_dri = xyes; then # ... libdrm is required if test x$have_libdrm != xyes; then AC_MSG_ERROR([DRI drivers requires libdrm = $LIBDRM_REQUIRED]) -- 1.8.1.4 ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev