Freezing after leaving GUI (under FreeBSD)

Found a bug? Please report it, but remember to follow the bug reporting guidelines.
Missing a sane feature? Let us know!
But please do NOT request ports to other systems.

Moderator: ZSNES Mods

Post Reply
CyberBotX
Lurker
Posts: 109
Joined: Sun Jan 30, 2005 10:06 pm
Location: Wouldn't you like to know?
Contact:

Freezing after leaving GUI (under FreeBSD)

Post by CyberBotX »

I'm running ZSNES under FreeBSD 5.3. It loads up fine (after I tweak one small section of the linux/zfilew.c file), but from ZSNES 1.40 and on (including the WIPs from then on), the emulator freezes if I leave the GUI after I start a game. ZSNES 1.36 and earlier do not do this. It has happened with every game I have so far. Most happen if I do it right at the beginning, but so far, it seems that Breath of Fire and Breath of Fire 2 will run a little bit longer before freezing if I keep swapping back and forth from the GUI, and Front Mission went all the way into the start of the game's first cut scene before it froze. It usually doesn't happen while the ROM information is still at the bottom of the screen. Actually, after doing enough of them, it seems like it only freezes like that if the game was playing sound at the time that I go into the GUI. If the game is playing no sound at all, I can exit the GUI and the emulator won't be frozen. If I need to, I can post the NSRT info from all the games I've run that freeze after I leave the GUI.
[url=http://www.cyberbotx.com/]SNES Sprite Animations[/url], made by an Insane Killer Robot.
I'm a computer programmer (in C++) and a future game designer.
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Have you tried deleting your config files?
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
CyberBotX
Lurker
Posts: 109
Joined: Sun Jan 30, 2005 10:06 pm
Location: Wouldn't you like to know?
Contact:

Post by CyberBotX »

I hadn't, but now that you suggested it, I did and it doesn't freeze anymore. If you don't mind me asking, what was the problem and why does removing the config files fix it?
[url=http://www.cyberbotx.com/]SNES Sprite Animations[/url], made by an Insane Killer Robot.
I'm a computer programmer (in C++) and a future game designer.
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

The data you had in the config files set options in ZSNES which should never be enabled together and basically screwed things over.

That's what happens when you change what and how things are stored in a config file between versions.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
CyberBotX
Lurker
Posts: 109
Joined: Sun Jan 30, 2005 10:06 pm
Location: Wouldn't you like to know?
Contact:

Post by CyberBotX »

Actually, I thought it had fixed, but I just started playing Gradius 3 and tried it again, and it froze again when it was playing sound. But playing with the settings a bit, it seems like it only freezes while sound if playing if I turn on any of the Lowpass filters. If none of those are checked, the games don't freeze when swapping in and out of the GUI.
[url=http://www.cyberbotx.com/]SNES Sprite Animations[/url], made by an Insane Killer Robot.
I'm a computer programmer (in C++) and a future game designer.
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Okay, I guess we'll look into those. Probably your old config files enabled various audio options for you which were problematic.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
CyberBotX
Lurker
Posts: 109
Joined: Sun Jan 30, 2005 10:06 pm
Location: Wouldn't you like to know?
Contact:

Post by CyberBotX »

Doing a little more testing, even without any Lowpass filters on, 8-Point interpolation of sound also freezes ZSNES. But Cubic Spline doesn't. Seems kinda odd. Even tried 8-Point with Sound Buffering both on and off.
[url=http://www.cyberbotx.com/]SNES Sprite Animations[/url], made by an Insane Killer Robot.
I'm a computer programmer (in C++) and a future game designer.
Post Reply