What's new

Mupen64Plus 1.99.4 tagged and released!

OP
R

Richard42

Emulator Developer
cyrilf, try running your compiled build with '--gfx null'. I think the SSE code is only in the graphics plugins. If this works (but with no video), then you just need to compile the Rice video plugin with NO_ASM=1.
 

Ari64

New member
cyrilf, try running your compiled build with '--gfx null'. I think the SSE code is only in the graphics plugins. If this works (but with no video), then you just need to compile the Rice video plugin with NO_ASM=1.

You'll need to remove -msse from the various makefiles too.
 

cyrilf

New member
Hi thanks for your inputs. I am perhaps not far from goal...
But still have some issues.

I used following compile options in Makefiles (found that from various forums):
'# set special flags per-system
ifeq ($(OS), LINUX)
ifeq ($(CPU), X86)
ifeq ($(ARCH_DETECTED), 64BITS)
CFLAGS += -pipe -O3 -march=athlon64
LDFLAGS += -ldl
else
CFLAGS += -march=k6-2 -O2 -pipe -fomit-frame-pointer -mmmx -m3dnow'

Then when I compile and then install I get following errors:
'...
************************************ Installing video plugin
make: Entering directory `/tmp/mupen64plus-bundle-src-1.99.4/source/mupen64plus-video-rice/projects/unix'
CXX _obj/RenderBase.o
In file included from ../../src/RenderBase.cpp:23:
../../src/osal_preproc.h:92:25: warning: no newline at end of file
../../src/RenderBase.cpp: In function 'void SSEVec3Transform(int)':
../../src/RenderBase.cpp:478: error: unknown register name '%xmm7' in 'asm'
../../src/RenderBase.cpp:478: error: unknown register name '%xmm6' in 'asm'
../../src/RenderBase.cpp:478: error: unknown register name '%xmm5' in 'asm'
../../src/RenderBase.cpp:478: error: unknown register name '%xmm4' in 'asm'
../../src/RenderBase.cpp:478: error: unknown register name '%xmm1' in 'asm'
../../src/RenderBase.cpp:478: error: unknown register name '%xmm0' in 'asm'
../../src/RenderBase.cpp: In function 'void SSEVec3TransformNormal()':
../../src/RenderBase.cpp:617: error: unknown register name '%xmm7' in 'asm'
../../src/RenderBase.cpp:617: error: unknown register name '%xmm6' in 'asm'
../../src/RenderBase.cpp:617: error: unknown register name '%xmm5' in 'asm'
../../src/RenderBase.cpp:617: error: unknown register name '%xmm4' in 'asm'
../../src/RenderBase.cpp:617: error: unknown register name '%xmm1' in 'asm'
../../src/RenderBase.cpp:617: error: unknown register name '%xmm0' in 'asm'
../../src/RenderBase.cpp: In function 'unsigned int SSELightVert()':
../../src/RenderBase.cpp:1266: error: unknown register name '%xmm5' in 'asm'
../../src/RenderBase.cpp:1266: error: unknown register name '%xmm4' in 'asm'
../../src/RenderBase.cpp:1266: error: unknown register name '%xmm3' in 'asm'
../../src/RenderBase.cpp:1266: error: unknown register name '%xmm1' in 'asm'
../../src/RenderBase.cpp:1266: error: unknown register name '%xmm0' in 'asm'
make: *** [_obj/RenderBase.o] Error 1
make: Leaving directory `/tmp/mupen64plus-bundle-src-1.99.4/source/mupen64plus-video-rice/projects/unix'
'

And endly, when I try to run mupen64plus as proposed, it doesn't seem to succeed:
'cyril:$ mupen64plus --gfx null 'Mario Kart 64 E V1.0.z64'
__ __ __ _ _ ____ _
| \/ |_ _ _ __ ___ _ __ / /_ | || | | _ \| |_ _ ___
| |\/| | | | | '_ \ / _ \ '_ \| '_ \| || |_| |_) | | | | / __|
| | | | |_| | |_) | __/ | | | (_) |__ _| __/| | |_| \__ \
|_| |_|\__,_| .__/ \___|_| |_|\___/ |_| |_| |_|\__,_|___/
|_| http://code.google.com/p/mupen64plus/
Mupen64Plus Console User-Interface Version 1.99.4

UI-console: attached to core library 'Mupen64Plus Core' version 1.99.4
Includes support for Dynamic Recompiler.
Core: Goodname: Mario Kart 64 (E) (V1.0) [!]
Core: Name: MARIOKART64
Core: MD5: 8FAD1E4FA7BAF1443B7F21AD1947B429
Core: CRC: c3b6de9d 65d2de76
Core: Imagetype: .z64 (native)
Core: Rom size: 12582912 bytes (or 12 Mb or 96 Megabits)
Core: Version: 1446
Core: Manufacturer: Nintendo
Core: Country: Europe (0x50)
UI-Console: Cheat codes disabled.
Error: Specified Video plugin not found: null
Core Status: Rom closed.'

But a step further... What's the last step (if any) ? Shall I compile with NO_ASM=1 ?
 

Otamay

New member
Are you using a 32 bit cpu =O?

Your gcc version is newer than 4.2?

Try with CFLAGS+= march=native -O2 -pipe
 

Top