Closed GoogleCodeExporter closed 8 years ago
You can try to use a different plugin:
mupen64plus --gfx mupen64plus-video-arachnoid ....
mupen64plus --gfx mupen64plus-video-glide64 ....
But it look a little bit like a driver problem. You should check what you've
changed since last week (for example by looking at /var/log/dpkg.log* ).
More information about the driver could be useful, but I would doubt that we
can help here.
Original comment by s...@narfation.org
on 9 Sep 2011 at 7:35
Just as (possible) reference for the bug:
http://forums.debian.net/viewtopic.php?f=6&t=70054
Original comment by s...@narfation.org
on 9 Sep 2011 at 7:43
Original comment by s...@narfation.org
on 23 Sep 2011 at 8:24
Hello,
I'm having the same problem with mupen64plus 1.99.4 on 64-bit Ubuntu 12.04.
Installed from the Ubuntu repositories with "apt-get install mupen64plus".
When trying to run any game, I get something like:
******************************************************************************
michael@Machamp:~/Games/N64/ROMs$ mupen64plus --verbose Legend\ of\ Zelda\,\
The\ -\ Majora\'s\ Mask\ \(U\)\ \[\!\].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: Legend of Zelda, The - Majora's Mask (U) [!]
Core: Name: ZELDA MAJORA'S MASK
Core: MD5: 2A0A8ACB61538235BC1094D297FB6556
Core: CRC: 5354631c 3a2def0
Core: Imagetype: .z64 (native)
Core: Rom size: 33554432 bytes (or 32 Mb or 256 Megabits)
Core: ClockRate = f
Core: Version: 144b
Core: Manufacturer: Nintendo
Core: Cartridge_ID: 535a
Core: Country: USA
Core: PC = 80080000
Core: Save type: 3
UI-Console: Cheat codes disabled.
UI-console: using Video plugin: 'Mupen64Plus OpenGL Video Plugin by Rice'
v1.99.4
UI-console: Video plugin library:
/usr/lib/x86_64-linux-gnu/mupen64plus/mupen64plus-video-rice.so
UI-console: using Audio plugin: 'Mupen64Plus SDL Audio Plugin' v1.99.4
UI-console: Audio plugin library:
/usr/lib/x86_64-linux-gnu/mupen64plus/mupen64plus-audio-sdl.so
Input: Using auto-configuration for device 'Generic X-Box pad'
UI-console: using Input plugin: 'Mupen64Plus SDL Input Plugin' v1.99.4
UI-console: Input plugin library:
/usr/lib/x86_64-linux-gnu/mupen64plus/mupen64plus-input-sdl.so
UI-console: using RSP plugin: 'Hacktarux/Azimer High-Level Emulation RSP
Plugin' v1.99.4
UI-console: RSP plugin library:
/usr/lib/x86_64-linux-gnu/mupen64plus/mupen64plus-rsp-hle.so
Input: N64 Controller #1: Using SDL joystick 0 ('Generic X-Box pad')
Input: 1 controller(s) found, 1 plugged in and usable in the emulator
Input: Rumble activated on N64 joystick #1
Input: Mupen64Plus SDL Input Plugin version 1.99.4 initialized.
Core: Memory initialized
Video: Reading .ini file: /usr/share/mupen64plus/RiceVideoLinux.ini
Video: SSE processing enabled.
Video: Found ROM 'ZELDA MAJORA'S MASK', CRC 1c635453f0dea203-45
Video: Enabled hacks for game: 'ZELDA MAJORA'S MASK'
Video: InitExternalTextures
Video: Initializing OpenGL Device Context.
Video: Initializing video subsystem...
Core: Setting 32-bit video mode: 640x480
Video: OpenGL Extension 'GL_ARB_multitexture' is supported.
Video: OpenGL Extension 'GL_EXT_texture_env_combine' is supported.
Video: OpenGL Extension 'GL_EXT_separate_specular_color' is supported.
Video: OpenGL Extension 'GL_EXT_secondary_color' is supported.
Video: OpenGL Extension 'GL_EXT_fog_coord' is supported.
Video: OpenGL Extension 'GL_EXT_texture_object' is supported.
Video: OpenGL Extension 'GL_EXT_rescale_normal' is supported.
Video: OpenGL Extension 'GL_EXT_texture_lod_bias' is supported.
Video: OpenGL Extension 'GL_EXT_texture_filter_anisotropic' is supported.
Video: OpenGL Extension 'GL_NV_register_combiners' is NOT supported.
Video: OpenGL Extension 'GL_IBM_texture_mirrored_repeat' is supported.
Video: OpenGL Extension 'GL_EXT_texture_lod' is supported.
Video: OpenGL Extension 'GL_EXT_blend_color' is supported.
Video: OpenGL Extension 'GL_EXT_blend_subtract' is supported.
Video: OpenGL Extension 'GL_NV_texture_env_combine4' is supported.
Video: Using OpenGL: NVIDIA Corporation - GeForce GTX 680/PCIe/SSE2 : 1.4
(2.1.2 NVIDIA 304.37)
Video: OpenGL Extension 'GL_ARB_fragment_program' is supported.
Video: OpenGL Combiner: Fragment Program
Video: OpenGL Extension 'GL_ARB_texture_env_add' is supported.
Video: OpenGL Extension 'GL_EXT_blend_subtract' is supported.
Video: OpenGL Extension 'GL_EXT_texture_env_combine' is supported.
Video: OpenGL Extension 'ATI_texture_env_combine3' is NOT supported.
Video: OpenGL Extension 'GL_ARB_fragment_program' is supported.
Video: OpenGL Extension 'GL_IBM_texture_mirrored_repeat' is supported.
Video: OpenGL Extension 'GL_ARB_texture_border_clamp' is supported.
Video: OpenGL Extension 'GL_NV_depth_clamp' is supported.
Audio: InitializeAudio(): Initializing SDL Audio
Audio: Primary buffer: 16384 output samples.
Audio: Primary target fullness: 10240 output samples.
Audio: Secondary buffer: 2048 output samples.
Audio: Initializing SDL audio subsystem...
Audio: Requesting frequency: 44100Hz.
Audio: Requesting format: 32784.
Audio: Allocating memory for audio buffer: 49932 bytes.
Audio: Frequency: 44100
Audio: Format: 32784
Audio: Channels: 2
Audio: Silence: 0
Audio: Samples: 1024
Audio: Size: 4096
/dev/mixer: : No such file or directory
Core: Starting R4300 emulator: Dynamic Recompiler
Core: R4300: starting 64-bit dynamic recompiler at: 0x7f0298184200
Audio: InitializeAudio(): SDL Audio sub-system already initialized.
Audio: Requesting frequency: 11025Hz.
Audio: Requesting format: 32784.
Audio: Frequency: 11025
Audio: Format: 32784
Audio: Channels: 2
Audio: Silence: 0
Audio: Samples: 1024
Audio: Size: 4096
/dev/mixer: : No such file or directory
mupen64plus: single2.c:816: __indirect_glIsEnabled: Assertion `retval' failed.
Aborted (core dumped)
******************************************************************************
I also compiled mupen64plus from source, following the instructions at
http://code.google.com/p/mupen64plus/wiki/CompilingFromHg , but the same error
results. Trying different video plugins, as suggested earlier, did not help.
FYI I'm running the latest Nvidia driver (304.37).
After the segfault, Ubuntu offers to run a gdb session, and here's what it says.
******************************************************************************
[downloading some files...]
Extracting downloaded debs...
dynamically loaded /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2 needs package
libxcursor1, queueing
dynamically loaded /usr/lib/x86_64-linux-gnu/libfreetype.so.6.8.0 needs package
libfreetype6, queueing
dynamically loaded /usr/lib/x86_64-linux-gnu/libmupen64plus.so.2.0.0 needs
package libmupen64plus2, queueing
dynamically loaded /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0 needs package
libxrender1, queueing
dynamically loaded /usr/lib/libftgl.so.2.1.3 needs package libftgl2, queueing
dynamically loaded /usr/lib/x86_64-linux-gnu/libffi.so.6.0.0 needs package
libffi6, queueing
dynamically loaded /usr/lib/x86_64-linux-gnu/libLLVM-3.0.so.1 needs package
libllvm3.0, queueing
Fetched 0 B in 0s (0 B/s)
Extracting downloaded debs...
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>.
Reading symbols from /tmp/tmpi6dDoy/usr/games/mupen64plus...Reading symbols
from /tmp/tmpi6dDoy/usr/lib/debug/usr/games/mupen64plus...done.
done.
[New LWP 11462]
[New LWP 11472]
[New LWP 11475]
warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `mupen64plus --verbose Legend of Zelda, The - Majora's
Mask (U) [!].z64'.
Program terminated with signal 6, Aborted.
#0 0x00007f69386fb445 in __GI_raise (sig=<optimized out>)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
******************************************************************************
I don't know what this means. Please let me know if there's any more info I
can provide that'd help figure out what's going on here, and fix it.
Original comment by selmo2...@gmail.com
on 24 Aug 2012 at 5:04
selmo2000, can you please type the command 'bt' in gdb and post the output for
us here. It looks like something is failing in this simple opengl command
(glIsEnabled), which is strange.
Original comment by richard...@gmail.com
on 24 Aug 2012 at 2:06
Sure thing, Richard. I included the output before the 'bt' command as well.
Here you go:
******************************************************************************
[downloading some files...]
Extracting downloaded debs...
dynamically loaded /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2 needs package
libxcursor1, queueing
dynamically loaded /usr/lib/x86_64-linux-gnu/libfreetype.so.6.8.0 needs package
libfreetype6, queueing
dynamically loaded /usr/lib/x86_64-linux-gnu/libmupen64plus.so.2.0.0 needs
package libmupen64plus2, queueing
dynamically loaded /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0 needs package
libxrender1, queueing
dynamically loaded /usr/lib/libftgl.so.2.1.3 needs package libftgl2, queueing
dynamically loaded /usr/lib/x86_64-linux-gnu/libffi.so.6.0.0 needs package
libffi6, queueing
dynamically loaded /usr/lib/x86_64-linux-gnu/libLLVM-3.0.so.1 needs package
libllvm3.0, queueing
Fetched 0 B in 0s (0 B/s)
Extracting downloaded debs...
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>.
Reading symbols from /tmp/tmpIg5zPb/usr/games/mupen64plus...Reading symbols
from /tmp/tmpIg5zPb/usr/lib/debug/usr/games/mupen64plus...done.
done.
[New LWP 3744]
[New LWP 3754]
[New LWP 3759]
warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `mupen64plus --verbose Legend of Zelda, The - Majora's
Mask (U) [!].z64'.
Program terminated with signal 6, Aborted.
#0 0x00007ffcb37b7445 in __GI_raise (sig=<optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x00007ffcb37b7445 in __GI_raise (sig=<optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00007ffcb37babab in __GI_abort () at abort.c:91
#2 0x00007ffcb37b010e in __assert_fail_base (fmt=<optimized out>,
assertion=0x7ffcb0982b63 "retval", file=0x7ffcb0982b59 "single2.c",
line=<optimized out>, function=<optimized out>) at assert.c:94
#3 0x00007ffcb37b01b2 in __GI___assert_fail (assertion=0x7ffcb0982b63
"retval", file=0x7ffcb0982b59 "single2.c", line=816, function=0x7ffcb0982b70
"__indirect_glIsEnabled") at assert.c:103
#4 0x00007ffcb09702d3 in __indirect_glIsEnabled (cap=33886) at single2.c:816
#5 0x00007ffcb129277a in osd_render () at ../../src/osd/osd.cpp:282
#6 0x00007ffcaac9a992 in COGLGraphicsContext::UpdateFrame (this=<optimized
out>, swaponly=<optimized out>) at ../../src/OGLGraphicsContext.cpp:361
#7 0x00007ffcaad0b2b6 in UpdateScreenStep2 () at ../../src/Video.cpp:198
#8 UpdateScreen () at ../../src/Video.cpp:712
#9 0x00007ffcb126bc99 in gen_interupt () at ../../src/r4300/interupt.c:372
#10 0x00007ffca6c25a8c in ?? ()
#11 0x00007ffcb1a7c714 in no_compiled_jump () from
/tmp/tmpIg5zPb/usr/lib/x86_64-linux-gnu/libmupen64plus.so.2
#12 0x00007ffcb127a5e6 in init_block (source=<optimized out>, block=<optimized
out>) at ../../src/r4300/recomp.c:2293
#13 0x00007ffcb4165200 in ?? ()
#14 0x00007ffcb43915e0 in CoreOverrideVidExt ()
#15 0x00007ffcb1266186 in r4300_execute () at ../../src/r4300/r4300.c:1901
#16 0x00007ffcb124ff96 in main_run () at ../../src/main/main.c:555
#17 0x00007ffcb418714a in main (argc=<optimized out>, argv=<optimized out>) at
../../src/main.c:668
******************************************************************************
Original comment by selmo2...@gmail.com
on 24 Aug 2012 at 3:33
Hello again Richard,
You'll be happy to hear that I figured out what was going on. After
reinstalling the Nvidia driver, I checked the install log and noticed some
warnings about missing symlinks. Here's all I did:
ln -s /usr/lib32/libGL.so /usr/lib/i386-linux-gnu/mesa/libGL.so
ln -s /usr/lib32/libGL.so.1 /usr/lib/i386-linux-gnu/mesa/libGL.so.1
ln -s /usr/lib/libGL.so /usr/lib/x86_64-linux-gnu/mesa/libGL.so
ln -s /usr/lib/libGL.so.1 /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so /usr/lib/i386-linux-gnu/libGL.so
ln -s /usr/lib/x86_64-linux-gnu/mesa/libGL.so /usr/lib/x86_64-linux-gnu/libGL.so
Sorry for taking up your time!
Original comment by selmo2...@gmail.com
on 24 Aug 2012 at 8:41
closing bug, as it was due to opengl configuration
Original comment by richard...@gmail.com
on 27 Aug 2012 at 1:53
Original issue reported on code.google.com by
dbb...@gmail.com
on 8 Sep 2011 at 10:22