Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MMX or not MMX, that's a question of mine
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
wedin8
n00b
n00b


Joined: 03 Nov 2004
Posts: 61
Location: L-A, Scania, Sweden

PostPosted: Tue Jul 19, 2005 10:03 am    Post subject: MMX or not MMX, that's a question of mine Reply with quote

Is my system less than optimized?
I do have problems with playing media. This PIII/600MHz stumbles on stuff that my Win P133MHz handles ok. And this outcome is valid for not only this file or filetype.

Code:
 /home/wed/Abba\ -\ The\ Last\ Video.wmv
MPlayer 1.0pre7-3.3.4 (C) 2000-2005 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 3)Detected cache-line size is 32 bytes
MMX supported but disabled
MMX2 supported but disabled
CPUflags:  MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: SSE


I see "MMX supported but disabled". And I also see the flags. Should the USE variable contain 'mmx' (it doesn't now)?
Back to top
View user's profile Send private message
belial666
Tux's lil' helper
Tux's lil' helper


Joined: 27 Feb 2004
Posts: 84
Location: Germany DD

PostPosted: Tue Jul 19, 2005 10:27 am    Post subject: Reply with quote

what does
Code:
# cat /proc/cpuinfo
say?

Quote:
CPUflags: MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: SSE


i think that are the flags with which mplayer is compiled atm.

look at cpuinfo and add the supportet flags to /etc/make.conf
then check with
Code:
# emerge -va --newuse world

whats changed...

Jan
_________________
System uname: 2.6.11-gentoo-r9 SMP i686 Intel(R) Xeon(TM) CPU 2.66GHz
Back to top
View user's profile Send private message
wedin8
n00b
n00b


Joined: 03 Nov 2004
Posts: 61
Location: L-A, Scania, Sweden

PostPosted: Tue Jul 19, 2005 10:38 am    Post subject: Reply with quote

First answer:

Code:
$ cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 8
model name      : Pentium III (Coppermine)
stepping        : 3
cpu MHz         : 597.490
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse
bogomips        : 1179.64


There is a mmx, is it enough?
Back to top
View user's profile Send private message
belial666
Tux's lil' helper
Tux's lil' helper


Joined: 27 Feb 2004
Posts: 84
Location: Germany DD

PostPosted: Tue Jul 19, 2005 10:46 am    Post subject: Reply with quote

add "mmx" to your /etc/make.conf USE-Section.

recompile all stuff where it makes a sence...

Code:
# emerge -va --newuse world

then check performance again...

Jan
_________________
System uname: 2.6.11-gentoo-r9 SMP i686 Intel(R) Xeon(TM) CPU 2.66GHz
Back to top
View user's profile Send private message
wedin8
n00b
n00b


Joined: 03 Nov 2004
Posts: 61
Location: L-A, Scania, Sweden

PostPosted: Tue Jul 19, 2005 11:15 am    Post subject: Reply with quote

Thanks I will.

A bit reluctant at this very point as I have some 100 packages left on a

Code:
emerge -e world


But looking forward to try

This of course raises another question, perhaps not fitting in this part of the fora, but:

Will
Code:
# emerge -va --newuse world
modify only packages that need to be updated?

Off to read some man pages ...
Back to top
View user's profile Send private message
belial666
Tux's lil' helper
Tux's lil' helper


Joined: 27 Feb 2004
Posts: 84
Location: Germany DD

PostPosted: Tue Jul 19, 2005 11:26 am    Post subject: Reply with quote

Code:
# emerge -va --newuse world


will reemerge all packages for which the use flags have changed since last compile...

for all packages to update you have to type
Code:
# emerge -uDva world


Jan
_________________
System uname: 2.6.11-gentoo-r9 SMP i686 Intel(R) Xeon(TM) CPU 2.66GHz
Back to top
View user's profile Send private message
wedin8
n00b
n00b


Joined: 03 Nov 2004
Posts: 61
Location: L-A, Scania, Sweden

PostPosted: Wed Jul 20, 2005 5:12 pm    Post subject: Reply with quote

Thanks for all the aid. If it helped, it was marginal.

Seems like xorg was the only package that was affected by mmx

Code:
$ mplayer /home/wed/Abba\ -\ The\ Last\ Video.wmv
MPlayer 1.0pre7-3.3.4 (C) 2000-2005 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 3)Detected cache-line size is 32 bytes
MMX2 supported but disabled
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX SSE


There is a MMX2 as well, but I can't see a USE variable by that name. How can I enable that?
Back to top
View user's profile Send private message
Tuna
Guru
Guru


Joined: 19 Jul 2002
Posts: 485
Location: Berlin

PostPosted: Wed Jul 20, 2005 5:31 pm    Post subject: Reply with quote

mmx2 should be enabled through USE="mmxext"
Back to top
View user's profile Send private message
belial666
Tux's lil' helper
Tux's lil' helper


Joined: 27 Feb 2004
Posts: 84
Location: Germany DD

PostPosted: Wed Jul 20, 2005 5:48 pm    Post subject: Reply with quote

cat /usr/portage/profiles/use.local.desc |grep mmx wrote:

media-video/mplayer:mmxext - enables mmx2 support


Jan
_________________
System uname: 2.6.11-gentoo-r9 SMP i686 Intel(R) Xeon(TM) CPU 2.66GHz
Back to top
View user's profile Send private message
wedin8
n00b
n00b


Joined: 03 Nov 2004
Posts: 61
Location: L-A, Scania, Sweden

PostPosted: Wed Jul 20, 2005 6:30 pm    Post subject: Reply with quote

According to this list, there are no such thing?

http://www.gentoo.org/dyn/use-index.xml
Back to top
View user's profile Send private message
belial666
Tux's lil' helper
Tux's lil' helper


Joined: 27 Feb 2004
Posts: 84
Location: Germany DD

PostPosted: Wed Jul 20, 2005 6:38 pm    Post subject: Reply with quote

A small table of currently available use variables and a short description of each
^^^^<- I think thats why....

i simply use:
/usr/portage/profiles/use.desc
/usr/portage/profiles/use.local.desc

to search for USE-Flags and the descriptions...

Jan
_________________
System uname: 2.6.11-gentoo-r9 SMP i686 Intel(R) Xeon(TM) CPU 2.66GHz
Back to top
View user's profile Send private message
wedin8
n00b
n00b


Joined: 03 Nov 2004
Posts: 61
Location: L-A, Scania, Sweden

PostPosted: Thu Jul 21, 2005 4:03 am    Post subject: Reply with quote

Thanks very much for that clarification.

Seems only mplayer make use of mmxext in the whole world, but I have no time to recompile that at the moment. Back next week (I happen to be the project manager of www.amigbg.com).

Totem and Xine works pretty much the same as before
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum