dhewm3 icon indicating copy to clipboard operation
dhewm3 copied to clipboard

All models stuck in T-Pose on PowerMac G5

Open Astal4 opened this issue 3 years ago • 5 comments

Hello! I've got a PowerMac G5 Quad that I'm playing with, it's running Gentoo, and on the X1900 GT, all models are stuck in a T-Pose. It's a funny glitch, but still a glitch.

Built with -Ofast and -maltivec, this is from the stable release. image

Astal4 avatar Jul 07 '22 21:07 Astal4

Don't use -Ofast, it can screw up math code.

If that doesn't help I have no idea, I can't debug this myself because I have no PPC hardware

DanielGibson avatar Jul 07 '22 22:07 DanielGibson

Retrying with -O2 -maltivec instead

Astal4 avatar Jul 08 '22 00:07 Astal4

No difference. still issues with -O2

Astal4 avatar Jul 08 '22 00:07 Astal4

Depending of the PPC system, altivec doesn't work as it is from those old sources.

I've tested some altivec for MorphOS platform (G4), and one of the functions that does funny things with models is BlendJoints: Try to copy paste the SIMD_Generic version equivalent to the SIMD_Altivec source.

Or try to compile a version that only uses Generic Simd code.

Cowcat5150 avatar Jul 24 '22 09:07 Cowcat5150

Hi. Same problem with a Quad G5 running Void ppc64. I replaced the whole SIMD_Altivec.cpp file for SIMD_generic and all the models are still stuck with the T-Pose. I can't interact with them either. Was a solution ever found?

EDIT

Compiling and running in a 32bit chroot solved the problem for me (Void ppc64). It appears that the problem il not related to altivec.

FuryOusFrank avatar Oct 24 '22 23:10 FuryOusFrank