Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
altivec supported apps
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
mrpink77
n00b
n00b


Joined: 28 Jun 2005
Posts: 4

PostPosted: Sat Apr 29, 2006 11:38 am    Post subject: altivec supported apps Reply with quote

Hello.
I recently have big problems compiling altivec supported apps like mplayer or ffmpeg (on IBookG4).
The compile starts normal but after a while the HDD is in 100% use and the complete system freezes.
This happens in all altivec supported apps. With altivec support disabled in make.conf they compile fine.
What the hell is wrong with the altivec optimisations in these apps?

my make.conf:

CFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe
CHOST="powerpc-unknown-linux-gnu"
CXXFLAGS="${CFLAGS}"

USE="16bit a52 aac asf bash-completion beagle bluetooth cdparanoia
cpudetection css dbus dga dv dvdread dxr3 emacs fbcon fbdev gimpprint glx
haskell ieee1394 ipod joystick logitech-mouse mozsvg mplayer musepack
mzscheme nsplugin oss pbbuttonsd pdf pmu ppds theora threads vcd vidix
wifi xcomposite xinerama xpm -avi"
_________________
Never argue with idiots! They drop you down to their level and beat you with experience!
Back to top
View user's profile Send private message
davidgurvich
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1063

PostPosted: Sat Apr 29, 2006 1:39 pm    Post subject: Reply with quote

The following may not be relevant, but there is an 'altivec' USE flag.

I haven't noticed a problem with altivec on my system, but mine is a desktop with over 1.5GB ram and 2 G4 processors. It is possible that altivec uses too many resources during compilation and your system simply freezes, while on mine there are enough resources that I never noticed.


Last edited by davidgurvich on Sat Apr 29, 2006 1:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sat Apr 29, 2006 1:44 pm    Post subject: Reply with quote

Do you have full preemption enabled? That can cause similar behaviour with altivec.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
davidgurvich
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1063

PostPosted: Sat Apr 29, 2006 1:55 pm    Post subject: Reply with quote

Yes, looking at my .config, I have set there to be no preemption.
CONFIG_PREEMPT_NONE=y
Back to top
View user's profile Send private message
mrpink77
n00b
n00b


Joined: 28 Jun 2005
Posts: 4

PostPosted: Sun Apr 30, 2006 7:09 pm    Post subject: Reply with quote

Yes, preemption is disabled. But i kinda solved this problem, by setting up distcc on another x86(athlon xp 1800) machine and cross-compiled apps like mplayer ffmpeg without problems AND altivec support.
_________________
Never argue with idiots! They drop you down to their level and beat you with experience!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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