Jump to content
4 posts in this topic

Recommended Posts

Salut,

 

il y a un bug dans les patchs Maxxuss, certainne CPU renvoi "SS" au lieu de "SSE3" ce qui trompe le script de maxxuss qui croit que la CPU ne support pas SSE3 hors c'est faux

 

le script original de la fonction platformCheck doit etre modifié:

function sseCheck

{

HASSSE3=`sysctl -n machdep.cpu.features | grep SSE3 | wc -l`

HASSSE2=`sysctl -n machdep.cpu.features | grep SSE2 | wc -l`

if [ $HASSSE3 == 1 ]; then

echo "Your CPU has SSE3. This patch is not required."

returnAndExit

fi

if [ $HASSSE2 == 0 ]; then

echo "Your CPU has no SSE2. This is the minimal requirement for this patch."

returnAndExit

fi

}

 

 

Apes modif:

 

function sseCheck
{
HASSSE3=`sysctl -n machdep.cpu.features | grep SSE3 | wc -l`
HASSSE3BIS=`sysctl -n machdep.cpu.features | grep SS | wc -l`
HASSSE2=`sysctl -n machdep.cpu.features | grep SSE2 | wc -l`
if [ $HASSSE3 == 1 or  $HASSSE3BIS==1 ]; then
echo "Your CPU has SSE3. This patch is not required."
returnAndExit
fi
if [ $HASSSE2 == 0 ]; then
echo "Your CPU has no SSE2. This is the minimal requirement for this patch."
returnAndExit
fi
}

 

 

 

There 's a bug in some CPU that answer SS in place of SSE3 so the function sseCheck from Maxxuss patchs must be rewritted, here the fix:

 

function sseCheck
{
HASSSE3=`sysctl -n machdep.cpu.features | grep SSE3 | wc -l`
HASSSE2=`sysctl -n machdep.cpu.features | grep SSE2 | wc -l`
if [ $HASSSE3 == 1 ]; then
echo "Your CPU has SSE3. This patch is not required."
returnAndExit
fi
if [ $HASSSE2 == 0 ]; then
echo "Your CPU has no SSE2. This is the minimal requirement for this patch."
returnAndExit
fi
}

 

 

After change:

 

function sseCheck
{
HASSSE3=`sysctl -n machdep.cpu.features | grep SSE3 | wc -l`
HASSSE3BIS=`sysctl -n machdep.cpu.features | grep SS | wc -l`
HASSSE2=`sysctl -n machdep.cpu.features | grep SSE2 | wc -l`
if [ $HASSSE3 == 1 or  $HASSSE3BIS==1 ]; then
echo "Your CPU has SSE3. This patch is not required."
returnAndExit
fi
if [ $HASSSE2 == 0 ]; then
echo "Your CPU has no SSE2. This is the minimal requirement for this patch."
returnAndExit
fi
}

 

ZakX

  • 2 weeks later...
Probably better to put that:

 

sysctl -n machdep.cpu.features | grep -w SS | wc -l

 

C'est peut-etre mieux de mettre ceci avec l'option -w il va allors rechercher le mot entier 'ss'

sysctl -n machdep.cpu.features | grep -w SS | wc -l

 

Hi... I've noticed that sse3 isn't listed under my athlon 64 3200+ (venice core) processor either. but I don't understand what you are saying. What exactly am I supposed to edit??? Can you please give some instructions with a little bit more information... Does this have to be applied in an existing install with the patch already applied or what??? Thanks alot!!!

Luke D.

×
×
  • Create New...