Previous Thread
Next Thread
Print Thread
Joined: Sep 2008
Posts: 75
J
John IV Offline OP
Member
OP Offline
Member
J
Joined: Sep 2008
Posts: 75
I may have missed it in the shoutbox but I've got a weird Votrax thing happening with Aaron's checkin w/ my IV/Play front end:

If I start wow (Wizard of Wor) from inside IV/Play and then press insert for 5 seconds on the demo screen I get a full MAME hang/crash and have to taskmngr kill it. I think it's when the second round of votrax sounds are said, doesn't happen in demo of Gorf.

Regular UI of MAME is ok, so is command-line, but I've never seen that sort of hang from inside a front end that calls mame just passing on a command-line. Tip of tree, from this morning mame0224-452-gf2257fcbaae.
I think IV/Play listens for some error output from MAME as it brings up ROM missing errors, maybe it's catching something?

Is the new soundsystem or votrax outputting debug/diagnostic info as its running?

Joined: Sep 2008
Posts: 75
J
John IV Offline OP
Member
OP Offline
Member
J
Joined: Sep 2008
Posts: 75
Hmm, looks like 'mame wow -verbose' shows Votrax sending out updates every time it talks, wonder if that's fouling me up somehow:

scale=1.00000
stream Votrax SC-01 ':votrax' changing rates 42000 -> 43444
stream Votrax SC-01 ':votrax' changing rates 43444 -> 42000
stream Votrax SC-01 ':votrax' changing rates 42000 -> 43444
scale=0.97613
scale=0.97523
stream Votrax SC-01 ':votrax' changing rates 43444 -> 42000
scale=0.84895
scale=0.85744
scale=0.86601
scale=0.87467
scale=0.88342
scale=0.89225
scale=0.90117
scale=0.91019
scale=0.91929
scale=0.92848
scale=0.93777
scale=0.94714
scale=0.95661
scale=0.96618
scale=0.97584
scale=0.98560
scale=0.99546
scale=1.00000

Joined: Mar 2001
Posts: 16,650
Likes: 1
R
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,650
Likes: 1
Current top of tree is not intended for integration with external FEs - it deliberately is printing a lot of extra stuff for devs to fix up before the release. That will be turned off in the 0.225 release.

Joined: Sep 2008
Posts: 75
J
John IV Offline OP
Member
OP Offline
Member
J
Joined: Sep 2008
Posts: 75
Thanks RB, my DEV Matan said we're redirecting standard and error output to a stream to monitor for errors; maybe the glut of info is causing the hang. He wanted me to try toggling to false a couple lines at 290 as he's not going to be able look at it for a few weeks. It's interesting I've not run across this before with prior 'chatty' drivers.

Monitoring STD output and errors

Joined: Jun 2001
Posts: 429
O
Senior Member
Offline
Senior Member
O
Joined: Jun 2001
Posts: 429
Try turning SOUND_DEBUG to 0 line 84 of src/emu/sound.h. Also be sure to use the very latest master, Aaron fixed some issues.

OG.

Joined: Feb 2004
Posts: 2,204
Very Senior Member
Online Content
Very Senior Member
Joined: Feb 2004
Posts: 2,204
Why not just fix the front-end so it consumes the emulator output rather than just letting the buffer fill up and block? It’s not MAME’s fault if it assumes it can always write to stdout/stderr.

Joined: Sep 2008
Posts: 75
J
John IV Offline OP
Member
OP Offline
Member
J
Joined: Sep 2008
Posts: 75
Thanks guys, I was able to get it going by falsing the stdout monitoring.
Vas, I'll pass along your comment.


Link Copied to Clipboard
Who's Online Now
1 members (Duke), 21 guests, and 3 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,853
Posts116,508
Members4,927
Most Online890
Jan 17th, 2020
Powered by UBB.threads™ PHP Forum Software 7.7.5