1 |
On Sun, Jan 27, 2008 at 09:18:26PM +0900, Mike Mazur wrote |
2 |
|
3 |
> The output of `grep flags /proc/cpuinfo` is: |
4 |
> |
5 |
> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge |
6 |
> mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx |
7 |
> lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx est tm2 |
8 |
> ssse3 cx16 xtpr lahf_lm |
9 |
|
10 |
The "mmx", "sse", "sse2", and "sse3" items look relevant. Change your |
11 |
CFLAGS line (watch the linewrap)... |
12 |
|
13 |
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer -mmmx -msse -msse2 -msse3 -mfpmath=sse" |
14 |
|
15 |
The "-mmmx -msse -msse2 -msse3" flags may be redundant if "prescott" |
16 |
implies them, but they won't hurt. The "-mfpmath=sse" may or may not |
17 |
be redundant. In a worst case, it won't hurt. It greatly speeds up |
18 |
floating-point calculations on X86-type systems (including AMD). In |
19 |
another message in this thread, you said... |
20 |
|
21 |
> xv is not listed when I type `mplayer -vo help`. |
22 |
|
23 |
This is to be expected. Since you have "-xv" in USE, xv support is |
24 |
blocked. Did you have any problems with xv that caused you to block it? |
25 |
If not, change "-xv" to "xv" in USE in /etc/make.conf. And while you're |
26 |
at it, add... |
27 |
|
28 |
mmx sse sse2 |
29 |
|
30 |
to your USE parameters. In /etc/portage/package.use, add the line... |
31 |
|
32 |
media-video/mplayer ssse3 |
33 |
|
34 |
> I guess I'll need to recompile everything if I want any changes to |
35 |
> come into effect? |
36 |
|
37 |
Hopefully, not everything. *AFTER MAKING ALL THE ABOVE CHANGES* try... |
38 |
|
39 |
emerge --ask --deep --newuse --update --world |
40 |
|
41 |
The --newuse forces a recompile of every item directly affected by any |
42 |
changes in CFLAGS or USE. The --deep forces a recompile of indirectly |
43 |
affected items. If there don't seem to be any problems, let it rebuild |
44 |
the listed items. |
45 |
|
46 |
-- |
47 |
Walter Dnes <waltdnes@××××××××.org> |
48 |
I'm not repeating myself |
49 |
I'm an X Window user... I'm an ex-Windows-user |
50 |
-- |
51 |
gentoo-user@l.g.o mailing list |