Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › N64: Segmentation fault
- This topic has 78 replies, 20 voices, and was last updated 9 years, 9 months ago by kamesan.
-
AuthorPosts
-
07/23/2014 at 21:01 #18761hanfenParticipant
Hello,
I’m trying to play N64 Games on RetroPie, but everytime i try to start a game, the screen goes black for 1-2 seconds, then the screen resoloution changes and then it kicks me back to the selection screen. The simulation seems to stop because of a Segmentation fault:
opt/retropie/supplementary/runcommand/runcommand.sh: line 23: 2330 Segmentation fault ./mupen64plus /home/pi/RetroPie/roms/n64/MarioKart.64
Raspberry Pi B Model
RetroPie 2.3 from the predone image07/24/2014 at 03:46 #18956flipbugParticipantTry:
-using the .n64 file extension on your roms instead of .64
-downloading the ROMs again; but keep them in the .ZIP files.07/24/2014 at 13:30 #19121hanfenParticipantIf i keep the games in the .ZIP they aren’t listed in the game selection, and all ROMS i can find have the .v64 file extension.
07/25/2014 at 04:25 #19378mrsteven2ParticipantI’ve tried ones with z64 and n64 and all have the same problem with the segmentation fault at line 23 like you have.
07/27/2014 at 02:44 #20235mlegowerGuestI am also having this problem. Whenever I try to launch a N64 game, I get a segmentation fault.
/opt/retropie/supplementary/runcommand/runcommand.sh: line 23: 2319 Segmentation Fault ./mupen64plus /home/pi/RetroPie/roms/n64/Paper\ Mario.z64
07/27/2014 at 10:36 #20384HarisGuestSame here. I think binaries should be updated with a better n64 emulator:(
07/27/2014 at 10:50 #20387InsecureSpikeParticipantwell looking at the post for “ideas for further enhancements” it could well be possible soon
Sent from my iPhone using Tapatalk
07/27/2014 at 17:38 #20496XboxclassicGuestThis segmentation fault is nothing to do with the rom-sets themselves,
It is an Emulator issue.!
The Xbox Classic had similar problems with the N64 when it was getting upgraded.(and still has a few issues today Even on the 360).
My suggestion would be to get the previous version and overwrite the current emu.
and see how it goes.07/27/2014 at 23:28 #20594AnonymousInactiveWe need to be able to use the updated version, why would you want to use an old version on the latest build? Especially with an updated script and different folder relocation.
07/29/2014 at 02:06 #21027mlegowerGuestThis is the command in emulation station that starts mupen64 and generates the seg fault.
/opt/retropie/supplementary/runcommand/runcommand.sh 1 "cd /opt/retropie/emulators/mupen64plus-rpi/test/ && ./mupen64plus %ROM%"
I don’t see anything immediately wrong with it (for instance, the path exists on my system and there is a file called mupen64plus there), but I’m not an expert. I do notice that none of the other commands in the es_systems.cfg file perform a cd first and THEN a separate run command. Maybe that is the source of the error?07/29/2014 at 04:23 #21083XboxclassicGuestmlegowe wrote
I don’t see anything immediately wrong with it (for instance, the path exists on my system and there is a file called mupen64plus there), but I’m not an expert. I do notice that none of the other commands in the es_systems.cfg file perform a cd first and THEN a separate run command. Maybe that is the source of the error?I think you may be onto the error here.
Now if only we could edit the es config file to correct the issue.
Doe`s any one know how to access it ? for RPI v.2.2
whats float around is rumors and deception of where and what it is called .
If you Know Please help the community.As for mr9v9 asking
Why would you want to use an old version on the latest build? Especially with an updated script and different folder relocation.
it was just a suggestion seeing as the old version was working previous to the updated script.07/29/2014 at 09:40 #21168wgrymoGuestHello,
I have been trying to get N64 to work, and I also encountered the segmentationfault. I read mlegower’s post about the ‘cd’ command. Just to know if there is an error here, we could just put a rom in the same directory. And see if the seg fault still occurs. I will try that this evening when i get home.
07/29/2014 at 10:36 #21184InsecureSpikeParticipantwell, in the 1.- series of RetroPie, in the es_system.cfg the N64 part has no runcommand.sh in the text, and it worked!! (well just about)i
f someone has an old back up of the es_system.cfg have a look, I’ve not had a chance to try it with it removed in the new one yet, so if someone can, that’ll be great!07/29/2014 at 14:00 #21245mlegowerGuestLast night I tried removing the change directory command by just giving a path to the emulator directly. That failed because the emulator seems to look in the current working directory for a core library (which obviously wasn’t there since I removed the cd command).
There is a –corelib option on mupen64plus which allows you to specify a path to the core library. I also tried that (with the path implied by the previous error). That also did not work, although I could not diagnose why because it had changed the display settings in the interim to make the console output tiny.
I hope this is all helping someone with more skills than me.
07/29/2014 at 14:01 #21246mlegowerGuestwell, in the 1.- series of RetroPie, in the es_system.cfg the N64 part has no runcommand.sh in the text, and it worked!! (well just about)i
f someone has an old back up of the es_system.cfg have a look, I’ve not had a chance to try it with it removed in the new one yet, so if someone can, that’ll be great!Also, I don’t have an old version of retropie, so I can’t try this, but it’s a good suggestion.
07/29/2014 at 15:27 #21272InsecureSpikeParticipanthere ya go fella
07/29/2014 at 18:11 #21321ArnaudGuestThere is no runcommand.sh but it does perform a cd it seems
DESCNAME=Nintendo 64 NAME=n64 PATH=/home/pi/RetroPie/roms/n64 EXTENSION=.z64 .Z64 .n64 .N64 COMMAND=cd /home/pi/RetroPie/emulators/mupen64plus-rpi/test/ && ./mupen64plus %ROM% PLATFORMID=3
07/29/2014 at 18:18 #21325wgrymoGuestI just got a game to start, but it starts slow and i there’s no sound.
I navigated to /opt/retropie/emulators/mupen64plus-rpi/test, then i typed ./mupen64plus /home/pi/RetroPie/roms/n64/SuperMario64.n64 (the last being the rom filename obviously) . It started, but i could see audio errors being generated before the game came on screen. But i think this means that the startupscript from emulationstation must be wrong at some point.
When i start the rom with es it gives a seg fault on line 60, there is says ‘eval $@’ . Does that mean anything to anyone?07/30/2014 at 02:55 #21472mlegowerGuestWhen i start the rom with es it gives a seg fault on line 60, there is says ‘eval $@’ . Does that mean anything to anyone?
That is saying “evaluate the command passed as the second argument to runcommand.sh” I typically get the seg fault at line 23.
08/05/2014 at 07:45 #25124XboxclassicGuestAfter Reading everybodys comments so far it does seem to be an issue with the emulator itself.
One thing I did notice though was in the actual mupen folder was its own config file and all the colors are set to 32bit depth yet the dash is set to 16bit depth.
So in conclusion this emu must be a port from a Late Linux version.
try to edit everything in the config to 16bit.
as it is trying to squeeze 32 into 16
There is part of the problem.
also set audio to 24000hz not 36000? as tis cramps RPI too.!08/05/2014 at 07:51 #25128XboxclassicGuesteval $@
seems to be reading dash color,size etc.
I tried all combinations of sh 0,1,2,3,4,5 etc
all gave me
seg fault at line 23
seg fault at line 60 etc
note you cannot delete these lines or RPI will crash.08/12/2014 at 18:37 #31639Jaeger01GuestHi folks,
I have the same problem too. Is there a workaround? Will this or can this problem be fixed in the further release?
08/12/2014 at 23:56 #31807CorusGuestHey
Im new with Retropie and I also try to solve the problem since yesterday, but the only way I get it worked was from the terminal with Mario Kart but it has a laggy sound and crash to begin the first race.
I hope there will be a Fix soon…08/14/2014 at 05:52 #33001XboxclassicGuestI got it it to work!!!!!
just one minor issue is to exit game.. you need to reboot system..issue is the libmupen64plus.so.2.0.0 file
Replace this with version from RPI 2.2 or back and it should work have fun.
(make backup of original file)08/14/2014 at 20:55 #33523Jaeger01GuestHi Xboxclassic,
were can we get working the file? Do you have a link or can you attach it?
It would be very cool :)
08/14/2014 at 22:17 #33570XboxclassicGuestHere is link
https://retropie.sharefile.com/f/fodb3906-d0be-40b6-b0eb-9d408f820505
Log in Password is
AccessGranted4U
08/14/2014 at 22:23 #33574XboxclassicGuestforget that link I Gave too much security to access a file
08/14/2014 at 23:31 #33626XboxclassicGuestHere is Link for file
User Name
XboxclassicPassword
AccessGrantedonly one at a time please its a free FTP server
08/15/2014 at 03:24 #33762AnonymousInactive[quote=33001]I got it it to work!!!!!
just one minor issue is to exit game.. you need to reboot system..issue is the libmupen64plus.so.2.0.0 file
Replace this with version from RPI 2.2 or back and it should work have fun.
(make backup of original file)
[/quote]
This is just a band-aid fix…08/15/2014 at 05:06 #33812XboxclassicGuestSo it did work for You.!!!!
It may be just a band-aid fix for now.!!!
But it doe`s work right.!Quit complaining I and a few others are working on a NEW lib for it.
As well as a spin off of Surreal64 which means better compatibility,speed,game-play + sound.Please wait and Bear with us while we sort the issue out permanently.
08/15/2014 at 05:13 #33816XboxclassicGuestP.S
We are doing this at our own expense.
We do not get Paid for this.
We are doing it because we care and do not wish to see these old games DIE.08/15/2014 at 16:15 #34178Jaeger01GuestThanks Xboxclassic working fine!! THX :)
08/16/2014 at 20:48 #35145SebsGuestHello everybody,
one question: In which folder I’ll find the libmupen64plus.so.2.0.0 file?
Thanks for Help
Sebs08/17/2014 at 00:22 #35242mzeyrekGuest/home/pi/RetroPie/emulators/mupen64plus-rpi/test/
if you’ve installed from the beginning might be located under
/opt/retropie/emulators/mupen64plus-rpi/test/08/17/2014 at 11:39 #35700SebsGuestThank you very much,
it works.
But sadly Mario Games are lagging.
greets
-
AuthorPosts
- The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.