Bug#605444: R: Bug#605444: libgl1-mesa-dri-experimental: please install the llvmpipe driver
On 2011-11-21 10:00 +0100, Fabio Pedretti wrote: Upstream claims in docs/llvmpipe.html that an x86 or amd64 processor is required. Since llvm is not available on hurd-i386, it seems prudent to restrict swrastg to {kfreebsd-,}{i386,amd64}. Note that swrastg can be built with or without llvm: in the first case it is commonly called llvmpipe [1], in the second case it is called softpipe. They should both be better than classic swrast. So you can compile with llvm only on that supported and tested platforms, but always install the resulting swrastg (rather than classic swrast). Thanks. Looking closer, I notice that swrastg is already built everywhere except on Hurd, just not installed. So it's probably just a matter of adding the llvm build dependency on kfreebsd-*. Also note that on current git (will be in 7.12/8.0) swrastg was renamed to swrast (so there are two swrast now: the gallium one and the classic one, built under different directories): http://cgit.freedesktop.org/mesa/mesa/commit/? id=5fe54df58f31e5d321f7cbd5b095eb8c2417deb1 There are a few options when we package that version: - Revert this commit; - Use a diversion in the libgl1-mesa-dri-experimental package; - Assume the Gallium driver is mature enough and ship it in the libgl1-mesa-dri package. Nothing that needs to be decided now, though. Cheers, Sven -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/871usy25jr@turtle.gmx.de
Bug#605444: R: Bug#605444: libgl1-mesa-dri-experimental: please install the llvmpipe driver
On Mon, 2011-11-21 at 10:00 +0100, Fabio Pedretti wrote: On 2011-10-22 00:41 +0200, Michal Suchanek wrote: On 21 October 2011 22:34, Julien Cristau jcris...@debian.org wrote: On Thu, Feb 10, 2011 at 16:25:16 +0100, Michal Suchanek wrote: Does llvmpipe / swrastg actually work on non-x86? I have no idea about that. Upstream claims in docs/llvmpipe.html that an x86 or amd64 processor is required. Since llvm is not available on hurd-i386, it seems prudent to restrict swrastg to {kfreebsd-,}{i386,amd64}. llvmpipe currently doesn't work on powerpc, but it might work on other architectures such as ARM. Note that swrastg can be built with or without llvm: in the first case it is commonly called llvmpipe [1], in the second case it is called softpipe. Strictly speaking, llvmpipe and softpipe are just the Gallium core drivers, which can be used for building various kinds of driver binaries, of which swrast_dri.so is but one. They should both be better than classic swrast. I'm afraid it's not that simple: softpipe should be more featureful than classic swrast, but in contrast to llvmpipe, it's probably slower than classic swrast for simple apps, which might be usable with classic swrast but not with softpipe. -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Debian, X and DRI developer -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1322065471.11335.30.camel@thor.local
Bug#605444: R: Bug#605444: libgl1-mesa-dri-experimental: please install the llvmpipe driver
On 2011-10-22 00:41 +0200, Michal Suchanek wrote: On 21 October 2011 22:34, Julien Cristau jcris...@debian.org wrote: On Thu, Feb 10, 2011 at 16:25:16 +0100, Michal Suchanek wrote: On 9 February 2011 12:55, Cyril Brulebois k...@debian.org wrote: a patch against debian-unstable/7.10-3 would be appreciated. KiBi. It's quite simple. It affects - swrast when dri-experimental is installed - gallium based drivers - fallbacks are now llvm based (currently r300?) Note that mesa currently builds r600g but does not ship it, perhaps it could be also added to dri-experimental. I am not sure how useful the version in 7.10 is but it should improve over time. Does llvmpipe / swrastg actually work on non-x86? I have no idea about that. Upstream claims in docs/llvmpipe.html that an x86 or amd64 processor is required. Since llvm is not available on hurd-i386, it seems prudent to restrict swrastg to {kfreebsd-,}{i386,amd64}. Note that swrastg can be built with or without llvm: in the first case it is commonly called llvmpipe [1], in the second case it is called softpipe. They should both be better than classic swrast. So you can compile with llvm only on that supported and tested platforms, but always install the resulting swrastg (rather than classic swrast). Also note that on current git (will be in 7.12/8.0) swrastg was renamed to swrast (so there are two swrast now: the gallium one and the classic one, built under different directories): http://cgit.freedesktop.org/mesa/mesa/commit/? id=5fe54df58f31e5d321f7cbd5b095eb8c2417deb1 [1] example string when compiling with llvm: GL_RENDERER = Gallium 0.4 on llvmpipe (LLVM 0x208) -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/7589241.2291241321866036050.JavaMail.root@wmail21
Bug#605444: libgl1-mesa-dri-experimental: please install the llvmpipe driver
On 2011-10-22 00:41 +0200, Michal Suchanek wrote: On 21 October 2011 22:34, Julien Cristau jcris...@debian.org wrote: On Thu, Feb 10, 2011 at 16:25:16 +0100, Michal Suchanek wrote: On 9 February 2011 12:55, Cyril Brulebois k...@debian.org wrote: a patch against debian-unstable/7.10-3 would be appreciated. KiBi. It's quite simple. It affects - swrast when dri-experimental is installed - gallium based drivers - fallbacks are now llvm based (currently r300?) Note that mesa currently builds r600g but does not ship it, perhaps it could be also added to dri-experimental. I am not sure how useful the version in 7.10 is but it should improve over time. Does llvmpipe / swrastg actually work on non-x86? I have no idea about that. Upstream claims in docs/llvmpipe.html that an x86 or amd64 processor is required. Since llvm is not available on hurd-i386, it seems prudent to restrict swrastg to {kfreebsd-,}{i386,amd64}. Cheers, Sven -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87vcqhib55@turtle.gmx.de
Bug#605444: libgl1-mesa-dri-experimental: please install the llvmpipe driver
On Thu, Feb 10, 2011 at 16:25:16 +0100, Michal Suchanek wrote: On 9 February 2011 12:55, Cyril Brulebois k...@debian.org wrote: a patch against debian-unstable/7.10-3 would be appreciated. KiBi. It's quite simple. It affects - swrast when dri-experimental is installed - gallium based drivers - fallbacks are now llvm based (currently r300?) Note that mesa currently builds r600g but does not ship it, perhaps it could be also added to dri-experimental. I am not sure how useful the version in 7.10 is but it should improve over time. Does llvmpipe / swrastg actually work on non-x86? Cheers, Julien -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20111021203420.gv28...@radis.liafa.jussieu.fr
Bug#605444: libgl1-mesa-dri-experimental: please install the llvmpipe driver
On 21 October 2011 22:34, Julien Cristau jcris...@debian.org wrote: On Thu, Feb 10, 2011 at 16:25:16 +0100, Michal Suchanek wrote: On 9 February 2011 12:55, Cyril Brulebois k...@debian.org wrote: a patch against debian-unstable/7.10-3 would be appreciated. KiBi. It's quite simple. It affects - swrast when dri-experimental is installed - gallium based drivers - fallbacks are now llvm based (currently r300?) Note that mesa currently builds r600g but does not ship it, perhaps it could be also added to dri-experimental. I am not sure how useful the version in 7.10 is but it should improve over time. Does llvmpipe / swrastg actually work on non-x86? I have no idea about that. All my non-x86 hardware (excluding amd64) consistently resists any attempts to install any reasonable operating system. Thanks Michal -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/caomqctrwwmrblubmn_+oe1ne9wvtt3_0oeyue1xdq-pfd...@mail.gmail.com
Bug#605444: libgl1-mesa-dri-experimental: please install the llvmpipe driver
On 9 February 2011 12:55, Cyril Brulebois k...@debian.org wrote: a patch against debian-unstable/7.10-3 would be appreciated. KiBi. It's quite simple. It affects - swrast when dri-experimental is installed - gallium based drivers - fallbacks are now llvm based (currently r300?) Note that mesa currently builds r600g but does not ship it, perhaps it could be also added to dri-experimental. I am not sure how useful the version in 7.10 is but it should improve over time. Thanks Michal diff -urN mesa-7.10/debian/control mesa-7.10.mod/debian/control --- mesa-7.10/debian/control 2011-02-09 20:00:17.0 +0100 +++ mesa-7.10.mod/debian/control 2011-02-09 19:56:29.0 +0100 @@ -11,7 +11,7 @@ libxdamage-dev, libxext-dev, autoconf, automake, x11proto-dri2-dev (= 2.1), linux-libc-dev (= 2.6.31) [linux-any], libx11-xcb-dev, libxcb-dri2-0-dev, libxcb-xfixes0-dev, python-libxml2, - libtalloc-dev, libudev-dev [linux-any], + libtalloc-dev, libudev-dev [linux-any], llvm-dev, Vcs-Git: git://git.debian.org/git/pkg-xorg/lib/mesa Vcs-Browser: http://git.debian.org/?p=pkg-xorg/lib/mesa.git Homepage: http://mesa3d.sourceforge.net/ diff -urN mesa-7.10/debian/libgl1-mesa-dri-experimental.install mesa-7.10.mod/debian/libgl1-mesa-dri-experimental.install --- mesa-7.10/debian/libgl1-mesa-dri-experimental.install 2011-02-09 20:00:17.0 +0100 +++ mesa-7.10.mod/debian/libgl1-mesa-dri-experimental.install 2011-02-09 22:50:46.0 +0100 @@ -1 +1,2 @@ build/dri/lib/gallium/nouveau_dri.so usr/lib/dri +build/dri/lib/gallium/swrastg_dri.so usr/lib/dri diff -urN mesa-7.10/debian/patches/11-load-swrastg-before-swrast.diff mesa-7.10.mod/debian/patches/11-load-swrastg-before-swrast.diff --- mesa-7.10/debian/patches/11-load-swrastg-before-swrast.diff 1970-01-01 01:00:00.0 +0100 +++ mesa-7.10.mod/debian/patches/11-load-swrastg-before-swrast.diff 2011-02-09 19:54:49.0 +0100 @@ -0,0 +1,15 @@ +--- mesa/src/glx/drisw_glx.c~ 2010-10-02 00:51:28.0 +0200 mesa/src/glx/drisw_glx.c 2010-10-26 22:40:48.0 +0200 +@@ -426,10 +426,10 @@ +void *driver = NULL; + +if (driver == NULL) +- driver = driOpenDriver(swrast); ++ driver = driOpenDriver(swrastg); + +if (driver == NULL) +- driver = driOpenDriver(swrastg); ++ driver = driOpenDriver(swrast); + +return driver; + } diff -urN mesa-7.10/debian/patches/series mesa-7.10.mod/debian/patches/series --- mesa-7.10/debian/patches/series 2011-02-09 20:00:17.0 +0100 +++ mesa-7.10.mod/debian/patches/series 2011-02-09 19:55:09.0 +0100 @@ -4,3 +4,4 @@ 06_kfreebsd-ftbfs.diff 08-kfreebsd-gallium.diff 10-fix-talloc-linking.diff +11-load-swrastg-before-swrast.diff diff -urN mesa-7.10/debian/rules mesa-7.10.mod/debian/rules --- mesa-7.10/debian/rules 2011-02-09 20:00:17.0 +0100 +++ mesa-7.10.mod/debian/rules 2011-02-09 19:58:06.0 +0100 @@ -91,6 +91,7 @@ confflags-dri = \ --with-driver=dri \ + --enable-gallium-llvm \ --with-dri-drivers=$(DRI_DRIVERS) \ --with-dri-driverdir=/usr/lib/dri \ --with-egl-platforms=$(EGL_DISPLAYS) \
Bug#605444: libgl1-mesa-dri-experimental: please install the llvmpipe driver
tag 605444 patch thanks Hi, thanks for the patch. Michal Suchanek hramr...@centrum.cz (10/02/2011): It's quite simple. It affects - swrast when dri-experimental is installed looks sane enough at first glance. - gallium based drivers - fallbacks are now llvm based (currently r300?) I'm not sure what the implications are here. Note that mesa currently builds r600g but does not ship it, perhaps it could be also added to dri-experimental. That's no longer true as of 7.10-3. I might wait a bit before merging this patch, so probably not in 7.10-4. KiBi. signature.asc Description: Digital signature
Processed: Re: Bug#605444: libgl1-mesa-dri-experimental: please install the llvmpipe driver
Processing commands for cont...@bugs.debian.org: tag 605444 patch Bug #605444 [libgl1-mesa-dri-experimental] libgl1-mesa-dri-experimental: please install the llvmpipe driver Added tag(s) patch. thanks Stopping processing here. Please contact me if you need assistance. -- 605444: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=605444 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/handler.s.c.129735270828965.transcr...@bugs.debian.org
Bug#605444: libgl1-mesa-dri-experimental: please install the llvmpipe driver
On 10 February 2011 16:45, Cyril Brulebois k...@debian.org wrote: tag 605444 patch thanks Hi, thanks for the patch. Michal Suchanek hramr...@centrum.cz (10/02/2011): It's quite simple. It affects - swrast when dri-experimental is installed looks sane enough at first glance. - gallium based drivers - fallbacks are now llvm based (currently r300?) I'm not sure what the implications are here. In general you get a different set of bugs. I am sure there are some bugs that happen with Debian builds and not my builds. The main difference would be llvm enabled, perhaps enabled debug. Thanks Michal -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/AANLkTikBSfr2FPoguQoa9ZbdX+4e=R57=z17dhsnj...@mail.gmail.com
Bug#605444: libgl1-mesa-dri-experimental: please install the llvmpipe driver
Hi, Michal Suchanek hramr...@centrum.cz (30/11/2010): When swrastg is compiled with llvm enabled it gives software speeds usable for demos on systems which lack 3D hardware or where the hardware is not supported. a patch against debian-unstable/7.10-3 would be appreciated. KiBi. signature.asc Description: Digital signature
Bug#605444: libgl1-mesa-dri-experimental: please install the llvmpipe driver
Package: libgl1-mesa-dri-experimental Version: 7.9+repack-1 Severity: normal The swrastg driver is not available in Mesa in Debian. When swrastg is compiled with llvm enabled it gives software speeds usable for demos on systems which lack 3D hardware or where the hardware is not supported. -- System Information: Debian Release: squeeze/sid APT prefers stable APT policy: (990, 'stable'), (500, 'testing'), (300, 'unstable'), (295, 'experimental'), (290, 'stable-i386'), (280, 'testing-i386'), (270, 'unstable-i386'), (150, 'experimental-i386') Architecture: amd64 (x86_64) Kernel: Linux 2.6.36-r600fence-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages libgl1-mesa-dri-experimental depends on: ii libc62.11.2-7Embedded GNU C Library: Shared lib ii libdrm-nouveau1 2.4.22-2Userspace interface to nouveau-spe ii libdrm2 2.4.22-2Userspace interface to kernel DRM ii libexpat12.0.1-4+lenny3 XML parsing C library - runtime li ii libgcc1 1:4.4.5-8 GCC support library ii libstdc++6 4.5.1-11The GNU Standard C++ Library v3 ii libtalloc2 2.0.1-1~bpo50+1 hierarchical pool based memory all libgl1-mesa-dri-experimental recommends no packages. libgl1-mesa-dri-experimental suggests no packages. -- debconf-show failed -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20101129232743.18483.45012.report...@heretic.burning-in.hell