Summary: | x11-libs/pixman-0.11.4: fonts rendered are really really hardly legible | ||
---|---|---|---|
Product: | pixman | Reporter: | Martin Mokrejs <mmokrejs> |
Component: | pixman | Assignee: | Søren Sandmann Pedersen <soren.sandmann> |
Status: | RESOLVED FIXED | QA Contact: | Søren Sandmann Pedersen <soren.sandmann> |
Severity: | normal | ||
Priority: | medium | CC: | sndirsch |
Version: | 0.1.3 | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
/var/log/Xorg.0.log
Only fixed in git |
Description
Martin Mokrejs
2008-06-11 13:19:52 UTC
Created attachment 17057 [details]
/var/log/Xorg.0.log
Screen shot from the gentoo bug: http://bugs.gentoo.org/attachment.cgi?id=156359&action=view And this is on r5g6b5: (II) RADEON(0): Pixel depth = 16 bits stored in 2 bytes (16 bpp pixmaps) (==) RADEON(0): RGB weight 565 So very likely this is a bug in the SSE2 code operating on r5g6b5. In pixman-0.11.6, the sse2 fast path code can be disabled at configure time: configure --disable-sse2 If someone could test and see if this makes the bug go away, that would be interesting. Also interesting would be to know whether the bug depends on font rendering configuration, in particular whether it happens when the font is set to something other than subpixel antialiasing. Fixed in master Would you please post the patch or a hint where to get it? And in what version (if already released or the next release number) is that fixed? Thanks. Created attachment 17640 [details] [review] Only fixed in git >>> Emerging (1 of 1) x11-libs/pixman-0.11.8 to / >>> Downloading 'http://gentoo.mirror.web4u.cz/distfiles/pixman-0.11.8.tar.bz2' --2008-07-18 17:23:31-- http://gentoo.mirror.web4u.cz/distfiles/pixman-0.11.8.tar.bz2 Resolving gentoo.mirror.web4u.cz... 81.91.81.13 Connecting to gentoo.mirror.web4u.cz|81.91.81.13|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 360229 (352K) [application/x-bzip] Saving to: `/usr/portage/distfiles/pixman-0.11.8.tar.bz2' 100%[============================================================================================================================================================================================>] 360,229 555K/s in 0.6s 2008-07-18 17:23:32 (555 KB/s) - `/usr/portage/distfiles/pixman-0.11.8.tar.bz2' saved [360229/360229] * pixman-0.11.8.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking pixman-0.11.8.tar.bz2 ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking pixman-0.11.8.tar.bz2 to /var/tmp/portage/x11-libs/pixman-0.11.8/work * Running elibtoolize in: pixman-0.11.8 * Applying portage-1.5.10.patch ... * Applying sed-1.5.6.patch ... >>> Source unpacked. >>> Compiling source in /var/tmp/portage/x11-libs/pixman-0.11.8/work/pixman-0.11.8 ... * econf: updating pixman-0.11.8/config.guess with /usr/share/gnuconfig/config.guess * econf: updating pixman-0.11.8/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr --datadir=/usr/share --disable-vmx --enable-mmx --enable-sse2 --disable-gtk --build=i686-pc-linux-gnu ... checking whether to use MMX intrinsics... yes checking whether to use SSE intrinsics... no checking whether to use SSE2 intrinsics... yes configure: error: SSE2 intrinsics not detected !!! Please attach the following file when seeking support: !!! /var/tmp/portage/x11-libs/pixman-0.11.8/work/pixman-0.11.8/config.log * * ERROR: x11-libs/pixman-0.11.8 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2946: Called x-modular_src_compile * environment, line 3730: Called x-modular_src_configure * environment, line 3739: Called econf '--prefix=/usr' '--datadir=/usr/share' '--disable-vmx' '--enable-mmx' '--enable-sse2' '--disable-gtk' * ebuild.sh, line 526: Called die * The specific snippet of code: * die "econf failed" * The die message: * econf failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/x11-libs/pixman-0.11.8/temp/build.log'. config.log says: configure:19913: checking whether to use SSE intrinsics configure:19940: i686-pc-linux-gnu-gcc -c -O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -Wall -fvisibility=hidden -msse -mmmx -Winline --param inline-unit-growth=10000 --param large-function-growth=10000 conft est.c >&5 conftest.c:6:2: error: #error "Need x86-64 for SSE" configure:19946: $? = 1 configure: failed program was: | | #if defined(__GNUC__) && (__GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ < 4)) | #error "Need GCC >= 3.4 for SSE intrinsics" | #endif | #if !defined(__amd64__) && !defined(__x86_64__) | #error "Need x86-64 for SSE" | #endif | #include <mmintrin.h> | #include <xmmintrin.h> | int main () { | __m64 v = _mm_cvtsi32_si64 (1); | v = _mm_shuffle_pi16 (v, _MM_SHUFFLE(3, 3, 3, 3)); | return _mm_cvtsi64_si32 (v); | } configure:19961: result: no configure:19991: checking whether to use SSE2 intrinsics configure:20016: i686-pc-linux-gnu-gcc -c -O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -Wall -fvisibility=hidden -msse2 -mmmx -msse2 -Winline --param inline-unit-growth=10000 --param large-function-growth=1000 0 --param max-inline-insns-single=6000 conftest.c >&5 conftest.c: In function 'main': conftest.c:10: warning: 'a' is used uninitialized in this function conftest.c:10: warning: 'b' is used uninitialized in this function configure:20022: $? = 0 configure:20058: result: yes configure:20061: error: SSE2 intrinsics not detected # gcc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.3.1 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.1/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.1 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.1/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.1/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.1/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp --enable-cld --enable-java-awt=gtk --with-arch=i686 --enable-languages=c,c++,java,treelang,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.3.1-r1 p1.1' Thread model: posix gcc version 4.3.1 (Gentoo 4.3.1-r1 p1.1) # If there is a problem with pixman's configure files, please file a new bug with specific information. Actually, don't bother. diff --git a/configure.ac b/configure.ac index 05e66ae..6dcffb1 100644 --- a/configure.ac +++ b/configure.ac @@ -250,7 +250,7 @@ if test $have_sse2_intrinsics = yes ; then fi AC_MSG_RESULT($have_sse2_intrinsics) -if test $enable_sse2 = yes && test $have_sse_intrinsics = no ; then +if test $enable_sse2 = yes && test $have_sse2_intrinsics = no ; then AC_MSG_ERROR([SSE2 intrinsics not detected]) fi |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.