[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#830180: PowerPC without altivec causes crash

Hi Riccardo,

i manually removed from libs the h265 and firefox stop crashing alone and become usable here on my quad g5

im using it for write this email.

About bad video on firefox it is because egl that have endianess never fixed by mesa team.

About libjpg turbo and libpng this need to be build without simd isntructions for not altivec machines same is for libsdl and sdl2. The programs with vsx instruction made issue on G5 too and need to be rebuild without vsx. I did like this in fedora and fedora work on my G5.



Da: Riccardo Mottola <riccardo.mottola@libero.it>
Inviato: domenica 12 novembre 2017 00:27
A: Gabriel Paubert
Cc: debian-powerpc@lists.debian.org
Oggetto: Re: Bug#830180: PowerPC without altivec causes crash

On 12/11/2017 00:03, Gabriel Paubert wrote:
> I hope that you don't parse /proc/cpuinfo to know the capabilities of
> your CPU. There is a better way to do this, namely use getauxval(3).

jpeg-turbo was doing exactly that and getauxval() was refused, read the
bug discussion.

> Speaking of Altivec, there is another library that claims to be compiled
> for Altivec but is actually compiled for VSX: libx265, which means that
> I get crashes with "illegal instruction" on my G5.
> I had a look at the source code, and it's really confusing, many
> functions have Altivec in the name, but it's actually using vsx
> instructions. A disassembly of the code reveals it: just grep
> for "vs[0-9]" patterns.

I don't have a G4 or G5 to test altivec with  a free Unix, my PPC
development is currently done only on my G3 iBook with Linux and Mac
with a G3 (iBook) and G4 (PowerBook).
What uses libx265?

Firefox is almost unusable on my iBook: scarce ram and also almost not
present video acceleration (old ATI Mach64 is very slow with current
X11) limit it do a couple of easier programs and as a test machine more
than daily use.


Reply to: