Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Enabling MMX2 support [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
cz0
Apprentice
Apprentice


Joined: 13 Jun 2005
Posts: 280
Location: /earth/russia/moscow

PostPosted: Thu Jan 19, 2006 1:09 am    Post subject: Enabling MMX2 support [SOLVED] Reply with quote

mplayer : "MMX2 supported but disabled"...
How 2 fix? I have mmx mmx2 sse sse2 options in make.conf, but MMX2 is't working :(


Last edited by cz0 on Thu Jan 19, 2006 5:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Thu Jan 19, 2006 3:45 am    Post subject: Reply with quote

Run: cat /proc/cpuinfo

Make sure that mmx2 is listed under flags.
Back to top
View user's profile Send private message
micmac
l33t
l33t


Joined: 28 Nov 2003
Posts: 996

PostPosted: Thu Jan 19, 2006 4:05 am    Post subject: Re: Enabling MMX2 support Reply with quote

cz0 wrote:
mplayer : "MMX2 supported but disabled"...
How 2 fix? I have mmx mmx2 sse sse2 options in make.conf, but MMX2 is't working :(


Code:
emerge  mplayer -pv

*** You are not in the portage group. You may experience cache problems
*** due to permissions preventing the creation of the on-disk cache.
*** Please add this user to the portage group if you wish to use portage.


These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] media-video/mplayer-1.0_pre7-r1  -3dfx +3dnow +3dnowext +X -aac -aalib +alsa (-altivec) -arts -bidi -bindist -bl -cdparanoia -cpudetection -custom-cflags -debug -dga -directfb -doc -dts -dv -dvb -dvd -dvdread -edl -encode -esd -fbcon -ggi +gif -gtk -i8x0 -ipv6 -jack -joystick +jpeg -libcaca -lirc -live -livecd -lzo -mad -matroska -matrox +mmx +mmxext -mythtv -nas +nls -nvidia -opengl -oss +png -real -rtc -samba -sdl +sse -sse2 -svga -tga -theora +truetype -v4l -v4l2 -vorbis -win32codecs -xanim -xinerama -xmms +xv -xvid -xvmc 7,397 kB

Total size of downloads: 7,397 kB

See? There's no 'mmx2' USE flag. 'mmxext' is what you're looking for.
Code:
cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 8
model name      : AMD Sempron(tm)   2400+
stepping        : 1
cpu MHz         : 1670.784
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow
bogomips        : 3343.94

No mmx2, just mmxext... :)
Back to top
View user's profile Send private message
cz0
Apprentice
Apprentice


Joined: 13 Jun 2005
Posts: 280
Location: /earth/russia/moscow

PostPosted: Thu Jan 19, 2006 5:33 pm    Post subject: Reply with quote

Thenx!
Back to top
View user's profile Send private message
devjonfos
n00b
n00b


Joined: 07 Mar 2003
Posts: 27
Location: Northern California

PostPosted: Sat Jan 28, 2006 5:10 pm    Post subject: Thanks! Reply with quote

Thanks micmac that hint worked for me also. I've been noticing those MMX2 messages from mplayer also, but didn't know how to fix it.
Back to top
View user's profile Send private message
tost
Guru
Guru


Joined: 10 Dec 2005
Posts: 506

PostPosted: Sat Jan 28, 2006 5:20 pm    Post subject: Reply with quote

Yes same for me, i never noticed that this useflag exists ;-)

thanks
tost
Back to top
View user's profile Send private message
kevkoala
n00b
n00b


Joined: 07 Feb 2013
Posts: 6

PostPosted: Sun Feb 24, 2013 4:46 pm    Post subject: many thanks... Reply with quote

Hi all,

Worked for me too... after rebuilding mplayer and not gnome-mplayer :-)

Thanks for the hint.

Kev.
Back to top
View user's profile Send private message
duby2291
Guru
Guru


Joined: 17 Oct 2004
Posts: 583

PostPosted: Sun Feb 24, 2013 7:51 pm    Post subject: Reply with quote

I have that flag disabled because I was under the impression that mmx and sse were mutually exclusive.. ie if mmx is used then sse won't be? And since sse is a more complete extension I thought it would be best to use that.

Am I wrong?

I think it might be time for some benchmarks....
Back to top
View user's profile Send private message
paluszak
Apprentice
Apprentice


Joined: 28 Jun 2004
Posts: 265
Location: Warsaw, Poland

PostPosted: Mon Feb 25, 2013 10:32 pm    Post subject: Reply with quote

duby2291 wrote:
I have that flag disabled because I was under the impression that mmx and sse were mutually exclusive.. ie if mmx is used then sse won't be? And since sse is a more complete extension I thought it would be best to use that.

Am I wrong?

I think it might be time for some benchmarks....


AFAIK they're not, they're both on when you compile with -march=native and your CPU supports them. In a small number of packages there's asm code that gets enabled when you set an appropriate use flag.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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