Previous Thread
Next Thread
Print Thread
Votrax issues from launch inside front end ... #117838 09/14/20 06:56 PM
Joined: Sep 2008
Posts: 75
J
John IV Online Content OP
Member
OP Online Content
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?

Re: Votrax issues from launch inside front end ... [Re: John IV] #117839 09/14/20 07:02 PM
Joined: Sep 2008
Posts: 75
J
John IV Online Content OP
Member
OP Online Content
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

Re: Votrax issues from launch inside front end ... [Re: John IV] #117840 09/14/20 08:38 PM
Joined: Mar 2001
Posts: 16,575
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,575
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.

Re: Votrax issues from launch inside front end ... [Re: R. Belmont] #117841 09/15/20 12:07 AM
Joined: Sep 2008
Posts: 75
J
John IV Online Content OP
Member
OP Online Content
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

Re: Votrax issues from launch inside front end ... [Re: John IV] #117842 09/15/20 08:12 AM
Joined: Jun 2001
Posts: 421
O
Olivier Galibert Online Content
Senior Member
Online Content
Senior Member
O
Joined: Jun 2001
Posts: 421
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.

Re: Votrax issues from launch inside front end ... [Re: John IV] #117843 09/15/20 10:03 AM
Joined: Feb 2004
Posts: 2,168
Vas Crabb Offline
Very Senior Member
Offline
Very Senior Member
Joined: Feb 2004
Posts: 2,168
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.

Re: Votrax issues from launch inside front end ... [Re: John IV] #117845 09/15/20 05:31 PM
Joined: Sep 2008
Posts: 75
J
John IV Online Content OP
Member
OP Online Content
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.


Who's Online Now
1 registered members (Pernod), 44 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,811
Posts115,967
Members4,914
Most Online890
Jan 17th, 2020
Powered by UBB.threads™ PHP Forum Software 7.7.3