Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Choppy video playback
Date: Sun, 27 Jan 2008 06:55:36
Message-Id: 20080127065559.GA19745@waltdnes.org
In Reply to: Re: [gentoo-user] Choppy video playback by Mike Mazur
1 On Sat, Jan 26, 2008 at 07:39:47PM +0900, Mike Mazur wrote
2
3 > CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
4
5 The -march option may or may not invoke mmx, sse, sse2, etc in the
6 CFLAGS line but it definitely does *NOT* invoke them in the USE variable.
7
8 > USE="gtk gtk2 gnome -apm -eds -emboss -gstreamer -qt -qt3 -qt4 -kde
9 > -ldap -arts -esd -oss -xv X a52 aac acpi alsa avahi bash-completion
10 > bluetooth cdr cjk crypt dbus dvd dvdr exif firefox gphoto hal ipod
11 > jpeg mbox mp3 nptl nptlonly ogg opengl png pulseaudio spell ssl
12 > startup-notification svg theora tiff vorbis wifi xinerama"
13
14 I have mmx, sse, sse2, and a few AMD-specific options in my USE
15 variable. Can you show us the output of the command...
16
17 grep flags /proc/cpuinfo
18
19 Then we can see what to add. If you are *NOT* taking advantage of the
20 available extensions, you won't get the available oomph out of your cpu.
21 It's not so much a matter of raw speed as ability to do complex
22 calculations in the chipset microcode, rather than painfully emulating
23 it in software. One of the features of Gentoo is customizing your build
24 to get the most out of your cpu. Use it... within reason.
25
26 mplayer also takes a few custom flags. In /etc/portage/package.use I
27 have the entry
28
29 media-video/mplayer custom-cflags i8x0 real 3dnowext mmxext
30
31 With an Intel cpu, you obviously don't want "3dnowext", but there may
32 be other stuff worth using. To find out what's available, use...
33
34 grep mplayer /usr/portage/profiles/use.local.desc | less
35
36 --
37 Walter Dnes <waltdnes@××××××××.org>
38 I'm not repeating myself
39 I'm an X Window user... I'm an ex-Windows-user
40 --
41 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Choppy video playback Mike Mazur <mmazur@×××××.com>
Re: [gentoo-user] Choppy video playback ionut cucu <cuciferus@×××××.com>