mplayer, amd64, and CPU flags

Kris Kennaway kris at obsecurity.org
Fri May 20 23:41:24 PDT 2005


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-amd64/attachments/20050520/82024b7f/attachment.bin


More information about the freebsd-amd64 mailing list