Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 May 2005 23:41:20 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        amd64@freebsd.org
Subject:   Re: mplayer, amd64, and CPU flags
Message-ID:  <20050521064120.GA51907@xor.obsecurity.org>
In-Reply-To: <20050521022130.GW52914@afflictions.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Fri, May 20, 2005 at 10:21:31PM -0400, Damian Gerow wrote:
> Does anyone know why mplayer doesn't seem to acknowledge support of any CPU
> flags like SSE, MMX, 3DNow, etc?  I've done some digging, but have only come
> up with stuff from OpenBSD that didn't make a whole lot of sense to me, and
> I'm not sure how applicable it is to FreeBSD (that the flags aren't present
> in the machdep sysctl).
> 
> The dmesg:
> 
>     CPU: AMD Opteron(tm) Processor 244 (1808.34-MHz K8-class CPU)
>       Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
>       AMD Features=0xe0500800<SYSCALL,NX,MMX+,LM,3DNow+,3DNow>
> 
> The mplayer output:
> 
>     MPlayer 1.0pre7-3.4.2 (C) 2000-2005 MPlayer Team
>     CPU: Advanced Micro Devices Opteron Sledgehammer (Family: 8, Stepping: 10)
>     Detected cache-line size is 64 bytes
>     MMX supported but disabled
>     MMX2 supported but disabled
>     SSE supported but disabled
>     SSE2 supported but disabled
>     3DNow supported but disabled
>     3DNowExt supported but disabled
>     CPUflags:  MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
>     Compiled for x86 CPU with extensions:
> 
> This is with automagic CPU detection compiled in, but when I take it out, I
> still get the same thing.

Look at what the port does..it looks like it only enables runtime
detection support on i386.  Talk to the maintainer.

Kris


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCjtgQWry0BWjoQKURAjtaAKDiP/LFQwBKhWb+cn9Nut+/YQ3oDwCglWEQ
81VEd/lo76FJdLn4tZaOEP0=
=c6k/
-----END PGP SIGNATURE-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050521064120.GA51907>