Although it is build with support for the multimedia extensions of the AMD64 platform # mplayer now contains SIMD assembler code for amd64 # AMD64 Team decided to hardenable SIMD assembler for all users # Danny van Dyk <kugelfang@gentoo.org> 2005/01/11 if use amd64; then myconf="${myconf} --enable-3dnow --enable-3dnowex --enable-sse --enable-mmx --enable-mmx2" fi mplayer does not use these extensions at runtime MPlayer 1.0pre6-3.4.3-20050110 (C) 2000-2004 MPlayer Team CPU: Advanced Micro Devices Athlon 64 Clawhammer (Family: 8, Stepping: 8) Detected cache-line size is 64 bytes Cannot test OS support for SSE, disabling to be safe. Reproducible: Always Steps to Reproduce: Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r4 x86_64) ================================================================= System uname: 2.6.11-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Mar 25 2005, 22:54:30)] ccache version 2.4 [disabled] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig cvs digest distlocks fixpackages sandbox sign" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://trumpetti.atm.tut.fi/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X a52 acpi alsa apache2 berkdb bitmap-fonts cdr crypt cups curl divx4linux dvd dvdr dvdread esd fame font-server foomaticdb gif gnome gpm gstreamer gtk2 hal imagemagick imlib ipv6 java jp2 jpeg libwww lzo lzw lzw-tiff mjpeg moznocompose moznoirc moznomail mp3 ncurses nls nptl ogg oggvorbis opengl oss pam perl png ppds python readline sdl slang ssl svg tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales xml2 xpm xprint xrandr xv xvid zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Can you try replacing sse with sse2?
I changed the myconf="${myconf} --enable-3dnow --enable-3dnowex --enable-sse --enable-mmx --enable-mmx2" line to myconf="${myconf} --enable-3dnow --enable-3dnowex --enable-sse2 --enable-mmx --enable-mmx2" and rebuilt. Same result.
This is probably fixed in cvs versions of mplayer, I'm using cvs version with: --enable-3dnow --enable-3dnowex --enable-sse --enable-mmx --enable-mmx2 --enable-sse2 and I get no warnings about sse/sse2 or errors during playback.
This really seems to be fixed UPSTREAM: sb@wopr ~ % /usr/local/mplayer/bin/mplayer MPlayer dev-CVS-050331-10:55-3.4.3-20050110 (C) 2000-2005 MPlayer Team CPU: Advanced Micro Devices Athlon 64 Clawhammer (Family: 8, Stepping: 8) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1 Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
Created attachment 55553 [details, diff] patch from mplayer's cvs that disables sse & sse2 checks on x86_64 this patch is taken from mplayer cvs and it disables sse and sse2 chceck's on x86_64 arch. please apply it to 1.0_pre6 ebuild and also please add --enable-sse2 to myconf in ebuild.
that patch didn't do it for me: MPlayer 1.0pre6-3.4.3-20050110 (C) 2000-2004 MPlayer Team CPU: Advanced Micro Devices Opteron Sledgehammer (Family: 8, Stepping: 1) Detected cache-line size is 64 bytes Warning unknown option cache_min at line 144 Warning unknown option cache_prefill at line 147 77 audio & 189 video codecs although we have all the --enable-blah stuff in myconf i think best would be to wait for the next (pre)release where this is defintifely fixed. meanwhile i did a little clean up so that we don't have lines like --disable-mmx --enable-mmx