On Sun, Jan 27, 2008 at 09:18:26PM +0900, Mike Mazur wrote

> The output of `grep flags /proc/cpuinfo` is:
> 
> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
> mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx
> lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx est tm2
> ssse3 cx16 xtpr lahf_lm

  The "mmx", "sse", "sse2", and "sse3" items look relevant.  Change your
CFLAGS line (watch the linewrap)...

CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer -mmmx -msse -msse2 
-msse3 -mfpmath=sse"

  The "-mmmx -msse -msse2 -msse3" flags may be redundant if "prescott"
implies them, but they won't hurt.  The "-mfpmath=sse" may or may not
be redundant.  In a worst case, it won't hurt.  It greatly speeds up
floating-point calculations on X86-type systems (including AMD).  In
another message in this thread, you said...

> xv is not listed when I type `mplayer -vo help`.

  This is to be expected.  Since you have "-xv" in USE, xv support is
blocked.  Did you have any problems with xv that caused you to block it?
If not, change "-xv" to "xv" in USE in /etc/make.conf.  And while you're
at it, add...

mmx sse sse2

to your USE parameters.  In /etc/portage/package.use, add the line...

media-video/mplayer ssse3

> I guess I'll need to recompile everything if I want any changes to
> come into effect?

  Hopefully, not everything.  *AFTER MAKING ALL THE ABOVE CHANGES* try...

emerge --ask --deep --newuse --update --world

  The --newuse forces a recompile of every item directly affected by any
changes in CFLAGS or USE.  The --deep forces a recompile of indirectly
affected items.  If there don't seem to be any problems, let it rebuild
the listed items.

-- 
Walter Dnes <[EMAIL PROTECTED]>
I'm not repeating myself
I'm an X Window user...  I'm an ex-Windows-user
-- 
gentoo-user@lists.gentoo.org mailing list

Reply via email to