Aloha!
As a programmer, I'll try to be as precise as I can.
On Linux (zsnes 2005-07-31 CVS), when 8-point interpolated sound is enabled, when a game is running and the GUI has been opened, returning from the GUI to the game often freezes the emu (>25%), at least on my PC.
The most probable origin of this bug is a change made on 2004-10-18 in src/linux/sdllink.c (change 1.145) to save CPU usage, as the bug did not happen on the 2004-10-18 branch but it does on 2004-10-19. This seems to concur when running through a debugger as it seems to be stuck in an infinite loop in the Check60hz function (or maybe that's a main function or something and I am mistaken as I don't really know zsnes' internals).
This bug occurs with every game I tried, and it doesn't happen in Windows or with other sound settings (like cubic-spline or gaussian interpolation). Other sound settings (sampling rate, lowpass, etc.) do not play a role in this bug, nor do any video settings.
Why this happens only with 8-point interpolation I haven't really looked.
--
Eric
Relevant system info:
SourceMage GNU/Linux (Linux 2.6.12-ck4)
SDL 1.2.8
X.org 6.8.2
Toshiba Satellite 5100 laptop
Intel(R) Pentium(R) 4 Mobile CPU 1.70GHz stepping 04
[Linux] 8-point inter. sound + GUI freeze
Moderator: ZSNES Mods
-
- New Member
- Posts: 3
- Joined: Sun Jul 31, 2005 4:59 pm
- Location: Chicoutimi, QC, Canada
- Contact:
-
- New Member
- Posts: 3
- Joined: Sun Jul 31, 2005 4:59 pm
- Location: Chicoutimi, QC, Canada
- Contact:
I don't think it is related, this is a crash, mine's a freeze, and it does not occur in the same context.BaD.BoY wrote:http://zsnes.ownsjoo.info/bugzilla/show_bug.cgi?id=21
-
- Lurker
- Posts: 109
- Joined: Sun Jan 30, 2005 10:06 pm
- Location: Wouldn't you like to know?
- Contact:
I remember mentioning this a while back, but I use FreeBSD and not Linux. Although I am using the Linux version since it does compile under FreeBSD. But this same problem comes up for me as well. I found that the only sound interpolation modes that work for me are Gaussian and Cubic Spine, but if I try to use 8-Point or any of the lowpass filters, it'll freeze on me when i try to reenter the game from the GUI. If it still freezes for you, I'd just try leaving interpolation 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.
I'm a computer programmer (in C++) and a future game designer.
-
- New Member
- Posts: 3
- Joined: Sun Jul 31, 2005 4:59 pm
- Location: Chicoutimi, QC, Canada
- Contact:
This seems indeed related to your bug (link). I don't have problem with lowpass, however.CyberBotX wrote:I remember mentioning this a while back, but I use FreeBSD and not Linux. Although I am using the Linux version since it does compile under FreeBSD. But this same problem comes up for me as well. I found that the only sound interpolation modes that work for me are Gaussian and Cubic Spine, but if I try to use 8-Point or any of the lowpass filters, it'll freeze on me when i try to reenter the game from the GUI. If it still freezes for you, I'd just try leaving interpolation off.
Yes, It is a related bug, only a variant. When devs fix major problem with sound interpolation enabled during game, if your zsnes still freezing, just report again.
[url=http://www.mozilla.org][img]http://www.spreadfirefox.com/community/images/affiliates/Buttons/180x60/get.gif[/img][/url][url=http://my.opera.com/3608/affiliate/][img]http://promote.opera.com/small/opera120x60.gif[/img][/url]
Sorry for my bad english...
Sorry for my bad english...