Kodi Community Forum

Full Version: [LIVE] Mupen64Plus problems
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
danz0l Wrote:Hi smithr99 i tried the precompiled and it refuses to launch. Did you get it working ?

nope. was giving me segfaults when trying to load (see original thread post). no idea why!
smithr99 Wrote:nope. was giving me segfaults when trying to load (see original thread post). no idea why!

I have an advancement..... by running as root I was able to get further along, but ran into an OpenGL problem...

Code:
root@XBMCLive:/home/xbmc/mupen64plus/test# ./mupen64plus /mnt/1tb/Games/Consoles/N64/Roms/MarioKart\ 64.z64                                              
__  __                         __   _  _   ____  _
|  \/  |_   _ _ __   ___ _ __  / /_ | || | |  _ \| |_   _ ___
| |\/| | | | | '_ \ / _ \ '_ \| '_ \| || |_| |_) | | | | / __|
| |  | | |_| | |_) |  __/ | | | (_) |__   _|  __/| | |_| \__ \
|_|  |_|\__,_| .__/ \___|_| |_|\___/   |_| |_|   |_|\__,_|___/
             |_|         http://code.google.com/p/mupen64plus/
Mupen64Plus Console User-Interface Version 1.99.3

UI-console: attached to core library 'Mupen64Plus Core' version 1.99.3
            Includes support for Dynamic Recompiler.
Core Warning: Couldn't open configuration file '/root/.config/mupen64plus/mupen64plus.cfg'.
Using defaults.
Core: Goodname: Mario Kart 64 (U) [h1C]
Core: Name: Mario Kart 64
Core: MD5: 7D54D888964A3B0D058EB80886C44C88
Core: CRC: 3e5055b6 2e92da52
Core: Imagetype: .v64 (byteswapped)
Core: Rom size: 12582912 bytes (or 12 Mb or 96 Megabits)
Core: Version: 1446
Core: Manufacturer: Nintendo
Core: Country: USA
UI-Console: Cheat codes disabled.
UI-console: using Video plugin: 'Mupen64Plus OpenGL Video Plugin by Rice' v1.99.3
UI-console: using Audio plugin: 'Mupen64Plus SDL Audio Plugin' v1.99.3
UI-console: using Input plugin: 'Mupen64Plus SDL Input Plugin' v1.99.3
UI-console: using RSP plugin: 'Hacktarux/Azimer High-Level Emulation RSP Plugin' v1.99.3
init kbd.
Input Warning: No joysticks/controllers found
Input: Forcing keyboard input for N64 controller #1
Input: Using auto-configuration for device 'Keyboard'
Input: Mupen64Plus SDL Input Plugin version 1.99.3 initialized.
Video: SSE processing enabled.
Video: Found ROM 'Mario Kart 64', CRC b655503e52da922e-45
Video: Initializing OpenGL Device Context.
Core: Setting 32-bit video mode: 640x480
Core Error: SDL_SetVideoMode failed: OpenGL not available
Video Error: Failed to set 32-bit video mode: 640x480
Core Status: Rom closed.
root@XBMCLive:/home/xbmc/mupen64plus/test#
i think this might be where we need to use the Glide64 video plugin for mupen, rather than opting for the Rice plugin by default

i seem to remember somewhere reading about it !!

EDIT: i changed the permissions on pretty much everything to do with mupen64plus to 0777 (bad habit, I know!) and am now at the stage where you're at (getting OpenGL errors)

I wonder if this is anything to do with the version of nvidia drivers I've got installed ?

Quote:Video: Initializing OpenGL Device Context.
Core: Setting 32-bit video mode: 640x480
Core Error: SDL_SetVideoMode failed: OpenGL not available
Video Error: Failed to set 32-bit video mode: 640x480
smithr99 Wrote:i think this might be where we need to use the Glide64 video plugin for mupen, rather than opting for the Rice plugin by default

i seem to remember somewhere reading about it !!

EDIT: i changed the permissions on pretty much everything to do with mupen64plus to 0777 (bad habit, I know!) and am now at the stage where you're at (getting OpenGL errors)

I wonder if this is anything to do with the version of nvidia drivers I've got installed ?

smith, I am now rebuilding using the glide64 plugin I'll report back once done

-=Jason=-
i tried compiling the glide plugin but got the following error once i ran it using mupen ...

Quote:xbmc@XBMCLive:~/mupen64plus$ sudo ./mupen64plus m64p_test_rom.v64
__ __ __ _ _ ____ _
| \/ |_ _ _ __ ___ _ __ / /_ | || | | _ \| |_ _ ___
| |\/| | | | | '_ \ / _ \ '_ \| '_ \| || |_| |_) | | | | / __|
| | | | |_| | |_) | __/ | | | (_) |__ _| __/| | |_| \__ \
|_| |_|\__,_| .__/ \___|_| |_|\___/ |_| |_| |_|\__,_|___/
|_| http://code.google.com/p/mupen64plus/
Mupen64Plus Console User-Interface Version 1.99.3

UI-console: attached to core library 'Mupen64Plus Core' version 1.99.3
Includes support for Dynamic Recompiler.
Core: Goodname: Mupen64Plus Demo by Marshallh (GPL)
Core: Name: Mupen64Plus
Core: MD5: DBF04773EC2B8ADF8A94DB7E3E461138
Core: CRC: ddba4de5 b107004a
Core: Imagetype: .v64 (byteswapped)
Core: Rom size: 1048576 bytes (or 1 Mb or 8 Megabits)
Core: Version: 1444
Core: Manufacturer: 0
Core: Country: Demo
UI-Console: Cheat codes disabled.
init kbd.
UI-console: using Video plugin: 'Glide64' v1.99.3
UI-console: using Audio plugin: 'Mupen64Plus SDL Audio Plugin' v1.99.3
UI-console: using Input plugin: 'Mupen64Plus SDL Input Plugin' v1.99.3
UI-console: using RSP plugin: 'Hacktarux/Azimer High-Level Emulation RSP Plugin' v1.99.3
Core Error: broken Video plugin; function(s) not found.
UI-Console: error from core while attaching Video plugin.
Core Status: Rom closed.
xbmc@XBMCLive:~/mupen64plus$

i think there's a note on that website suggesting that this build of Glide is for mupen v2.0. I wonder if there are known functions within 2.0 that are not available in 1.99.3 (hence it complaining)
my error codes using glide were different than yours
im getting an OpenGL error and an Audio error likely due to my /etc/asound.conf file


Code:
root@XBMCLive:/home/xbmc/mupen64plus/test# ./mupen64plus --gfx mupen64plus-video-glide64.so --resolution 1024x768 MarioKart64.z64
__  __                         __   _  _   ____  _
|  \/  |_   _ _ __   ___ _ __  / /_ | || | |  _ \| |_   _ ___
| |\/| | | | | '_ \ / _ \ '_ \| '_ \| || |_| |_) | | | | / __|
| |  | | |_| | |_) |  __/ | | | (_) |__   _|  __/| | |_| \__ \
|_|  |_|\__,_| .__/ \___|_| |_|\___/   |_| |_|   |_|\__,_|___/
             |_|         http://code.google.com/p/mupen64plus/
Mupen64Plus Console User-Interface Version 1.99.3

UI-console: attached to core library 'Mupen64Plus Core' version 1.99.3
            Includes support for Dynamic Recompiler.
Core: Goodname: Mario Kart 64 (U) [h1C]
Core: Name: Mario Kart 64
Core: MD5: 7D54D888964A3B0D058EB80886C44C88
Core: CRC: 3e5055b6 2e92da52
Core: Imagetype: .v64 (byteswapped)
Core: Rom size: 12582912 bytes (or 12 Mb or 96 Megabits)
Core: Version: 1446
Core: Manufacturer: Nintendo
Core: Country: USA
UI-Console: Cheat codes disabled.
init kbd.
UI-console: using Video plugin: 'Glide64' v1.99.3
UI-console: using Audio plugin: 'Mupen64Plus SDL Audio Plugin' v1.99.3
Input: N64 Controller #1: Forcing default keyboard configuration
Input: Using auto-configuration for device 'Keyboard'
UI-console: using Input plugin: 'Mupen64Plus SDL Input Plugin' v1.99.3
UI-console: using RSP plugin: 'Hacktarux/Azimer High-Level Emulation RSP Plugin' v1.99.3
Video: SSE detected.

Input: N64 Controller #1: Using keyboard/mouse
Input: 1 controller(s) found, 1 plugged in and usable in the emulator
Input: Mupen64Plus SDL Input Plugin version 1.99.3 initialized.
Video: opening ./Glide64.ini

Video: opening ./Glide64.ini

Video: fb_clear 0 fb_smart 0

Video: extensions 'CHROMARANGE TEXCHROMA TEXMIRROR PALETTE6666 FOGCOORD EVOODOO TEXTUREBUFFER TEXFMT'

Video: fb_hires

Core: Setting video mode: 1024x768
Core Error: SDL_SetVideoMode failed: OpenGL not available
Video Error: Could not set video mode.
Core: Setting video mode: 1024x768
Core Error: SDL_SetVideoMode failed: OpenGL not available
Video Error: Could not set video mode.
Video Error: Error setting display mode
Audio: Initializing SDL audio subsystem...
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM remap-surround71
Audio Error: Couldn't open audio: No available audio device
Core Warning: OpenGL function glActiveTexture() not supported.  OSD deactivated.
Core: Starting R4300 emulator: Dynamic Recompiler
Video: opening ./Glide64.ini

Video: ucode = 1

Core: couldn't open eeprom file '/root/.local/share/mupen64plus/save/Mario Kart 64 (U) [h1C].eep' for reading
Core: couldn't open memory pack file '/root/.local/share/mupen64plus/save/Mario Kart 64 (U) [h1C].mpk' for reading
Core: couldn't open memory pack file '/root/.local/share/mupen64plus/save/Mario Kart 64 (U) [h1C].mpk' for reading
Core: couldn't open memory pack file '/root/.local/share/mupen64plus/save/Mario Kart 64 (U) [h1C].mpk' for reading
Core: couldn't open memory pack file '/root/.local/share/mupen64plus/save/Mario Kart 64 (U) [h1C].mpk' for reading
Core: couldn't open memory pack file '/root/.local/share/mupen64plus/save/Mario Kart 64 (U) [h1C].mpk' for reading
Core: couldn't open memory pack file '/root/.local/share/mupen64plus/save/Mario Kart 64 (U) [h1C].mpk' for reading
Core: couldn't open memory pack file '/root/.local/share/mupen64plus/save/Mario Kart 64 (U) [h1C].mpk' for reading
Core: couldn't open memory pack file '/root/.local/share/mupen64plus/save/Mario Kart 64 (U) [h1C].mpk' for reading
Core: couldn't open memory pack file '/root/.local/share/mupen64plus/save/Mario Kart 64 (U) [h1C].mpk' for reading
Core: couldn't open memory pack file '/root/.local/share/mupen64plus/save/Mario Kart 64 (U) [h1C].mpk' for reading
Core: couldn't open memory pack file '/root/.local/share/mupen64plus/save/Mario Kart 64 (U) [h1C].mpk' for reading
Core: couldn't open memory pack file '/root/.local/share/mupen64plus/save/Mario Kart 64 (U) [h1C].mpk' for reading
have you got read/write access to your roms directory ? that may be why its throwing memory pak errors at you. Other than that, you're still getting opengl errors ? but it then seems to skip past the errors and try to load the video anyway.

have you got a compiled version of glide.so that you could chuck on the web somewhere for us to download ?

cheers
ross

EDIT: what args are you using when loading this too ?

EDIT2: nm, i saw them at the top!
I think I messed some thing up big time installing several packages trying to get the build working. I keep getting that OpenGL error

-=Jason=-
I am one step closer... I had an OpenGL problems, xbmc wasn't loading it just booted to command line. I had to purge Nvidia then re-install now xbmc boots and my only error now is about a mouse....

-=Jason=-
im a bit reluctant to uninstall/reinstall nvidia drivers as im concerned it'll screw up my whole xbmc. annoying after its taken me so long to set it up!

i guess I could always backup my xorg and then reinstall it Huh
Wow that new version seems a real pain in the a** to install.
I think some of the errors are caused because there is no x-server running. Try puting xinit in front of the command and don't try via ssh as it wont work.

Code:
cd /path to mupen64v.199

Code:
xinit ./mupen64plus --fullscreen /path/to/rom

cheers

Edit...Make sure you stop xbmc first

Quote:sudo service xbmc-live stop
I realize this thread has been dead for about a month, but I just now started getting myself back into gear and getting my ROMs setup. I haven't gotten mupen64plus configured just yet, but I figured I'd ask the guys in this thread about the audio problems that they were running into in v1.5 that made them try to upgrade to the newest version.

In another thread, a few people mentioned that their mupen64plus sound problems went away when using a launcher.sh script which paused XBMC in the background while the emulator was up. This script actually saved me from a load of headache because now I can use my game controller to navigate in XBMC and use the same gamepad in an emulator without having it control XBMC in the background.

So: for you guys that are having audio problems, are you also running the script that pauses XBMC in the background, or not? Here's script in question:

http://forum.xbmc.org/showpost.php?p=542...stcount=66

If you're not using this and you're wanting to try this, make sure and make the script executable (sudo chmod +x <your_path>/launcher.sh)
Well, I managed to hear the audio problems, but only when I used the "Glide Mupen64Plus plugin. With Rice's Video Plugin 1.5, the sound is perfectly fine. While playing F-Zero X, there were some visual quirks (textures flashing pink - distracting but not prohibitive). After changing almost every setting in /home/xbmc/.config/mupen64plus/RiceVideo.cfg, I finally figured out that the problme is the "EnableFog 1" setting. I changed this to "EnableFog 0" and the quirks went away. I have no idea how often fog is actually used in a game, but for F-Zero X, this fixed it up 100%.
Hi,
I only get sound issues when i use the "--nogui" argument. If i launch mupen64plus and start a game from there, sound works perfect. I have since moved away from running my emulators on linux and switched to Hyperspin for windows. I am in the process of building my arcade cabinet as well Smile

cheers
Pages: 1 2 3