What's new

problems runnig/compiling Mupen

slayoo

New member
Hello!
I have following problems runing or compiling Mupen

1.Running compiled by myself older version of Mupen (v0.3) with Tr64 video plugin I get a nice, smoothly rotating N64 logo... then i most cases following error:

do_wait: drmWaitVBlank returned -1, IRQs don't seem to be working correctly.
Try running with LIBGL_THROTTLE_REFRESH and LIBL_SYNC_REFRESH unset.

or just segfault.

2. Trying to compile the new version I get the following errors:

gcc -DX86 -O3 -mpentium -Wall -c -o r4300/interupt.o r4300/interupt.c
In file included from r4300/interupt.c:46:
r4300/../main/plugin.h:215: warning: unnamed struct/union that defines no instances
r4300/interupt.c: In function `add_interupt_event':
r4300/interupt.c:95: parse error before `*'
r4300/interupt.c:117: `aux' undeclared (first use in this function)
r4300/interupt.c:117: (Each undeclared identifier is reported only once
r4300/interupt.c:117: for each function it appears in.)
make: *** [r4300/interupt.o] Error 1

3. Can anyone publish somewhere or send me Mupen64 compiled with glibc2.2?

Regards
Sylwester

P.S. OpenGL works in other applications very well eg. Tuxracer ;)
 

Hacktarux

Emulator Developer
Moderator
Which version of gcc are you using ? I think you need at least gcc 3.x for mupen64...

And i would suggest using another graphic plugin : gln64, rice's plugin or glide64.
 
OP
S

slayoo

New member
Now it works... but

Hi!
Thank you very much for the answer and hint. I've just compiled newest gcc and managed to compile mupen core and most of available modules (unfortunately only one for graphics - glN64).
The result is 'beautiful' but slow and not playable :(
Some demos work very fast but any game that involve more or less sophisticated 3D slows down to not more than 4fps (I've tried all three emulation options).
As I've written in last post I'm able to run smoothly other 3D OpenGL apps on my machine, so what can be the reason???

I'll try to describe my configuration shortly:
Video: AGP Matrox G450 w. 32MB of memory
CPU: 1GHz
RAM: 704MB
Kernel: 2.4.19 w DRI and AGP compiled
X: Xfree 4.4.0 with mga glx support
OpenGL: libs from XFree
Compiler: gcc 3.4.2
... if any other datail could help you to suggest me what to do I'll post it here.

Compiling riceplugin I get following, probably not serious error:
DecodedMux.cpp:763: error: integer constant is too large for "long" type

Compiling glide64 others:
In file included from wrapper/textures.cpp:9:
wrapper/main.h:19: error: `void (*glActiveTextureARB)(GLenum)' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2041: error: previous declaration of `void glActiveTextureARB(GLenum)'
wrapper/main.h:19: error: declaration of `void (*glActiveTextureARB)(GLenum)'
/usr/X11R6/include/GL/gl.h:2041: error: conflicts with previous declaration `void glActiveTextureARB(GLenum)'
wrapper/main.h:20: error: `void (*glMultiTexCoord2fARB)(GLenum, GLfloat, GLfloat)' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2053: error: previous declaration of `void glMultiTexCoord2fARB(GLenum, GLfloat, GLfloat)'
wrapper/main.h:20: error: declaration of `void (*glMultiTexCoord2fARB)(GLenum, GLfloat, GLfloat)'
/usr/X11R6/include/GL/gl.h:2053: error: conflicts with previous declaration `void glMultiTexCoord2fARB(GLenum, GLfloat, GLfloat)'

And compiling gap yet another errors:
audio.cpp:1173: error: expected init-declarator before "q"
audio.cpp:1173: error: expected `,' or `;' before "q"

Running mupen I still get this warning:
do_wait: drmWaitVBlank returned -1, IRQs don't seem to be working correctly.
Try running with LIBGL_THROTTLE_REFRESH and LIBL_SYNC_REFRESH unset.

How can I follow this hint and unset whose constants?

Regards
Sylwester
 

Top