ModPlug Central

OpenMPT => Help and Questions => Topic started by: sso on July 09, 2013, 23:44:15

Title: Crashes with Windows sounds
Post by: sso on July 09, 2013, 23:44:15
saga,you dude are awesome.


btw, does anyone get that crash with the latest version, that if any synth is playing and i do something that makes windows ping,then mpt says its about to crash and saves a version of the song but then does nothing and keeps on like nothing happened?

occasionally it destabilizes though..


get that crash at least 3 times a day unless im careful about the ping, still the most awesome version of mpt ever though. :D great work guys.

Edit by moderator: Split from http://forum.openmpt.org/index.php?topic=5006.0
Title: Re: Crashes with Windows sounds
Post by: Saga Musix on July 10, 2013, 07:23:11
No, but it would help if you could provide a crash dump (and not hijack other threads to post your own crash reports).
Title: Re: Crashes with Windows sounds
Post by: sso on July 10, 2013, 23:59:55
oh sorry, thought you might mind, but im rather tired these days.

the mpt puter is still offline and its not really a big bug. (it never actually crashes.)

so im just gonna wait for a official release, ive been lucky so far on those. :) (just thought to check if it was a specific problem to me.)
Title: Re: Crashes with Windows sounds
Post by: Saga Musix on July 11, 2013, 00:35:12
If you can reproduce the problem reliably, I doubt it would only affect you. And without crash dumps I can't really help you there and I doubt such a problem would go away all by itself...
Title: Re: Crashes with Windows sounds
Post by: sso on July 11, 2013, 01:41:33
damnit. :)

ill try to find the crash file and port it to this puter then.

thanks.

(its a weird problem though, might have to send a few crash´s, sometimes its samples that do it,sometimes its fm8..

, seems to be a conflict between perhaps the asio and the windows system.

not entirely sure, but that would indicate it might be a problem with my soundcard?didnt happen before the latest release though.)


sorry about the "wild posting spree", ill perhaps start a new thread when i bring the crash´s and you might perhaps put these questions there?

rather tired and been sick lately, so perhaps ill do it tomorrow or the next day. unless you insist on having it sooner, ill be online for a bit more.
Title: Re: Crashes with Windows sounds
Post by: Saga Musix on July 11, 2013, 11:43:31
Quote from: sso on July 11, 2013, 01:41:33
ill try to find the crash file and port it to this puter then.
If OpenMPT crashes, it should show you the folder containing the crash dump automatically (%TEMP%\OpenMPT Crash Files)

Quote(its a weird problem though, might have to send a few crash´s, sometimes its samples that do it,sometimes its fm8..
To me it sounds like it would crash whenever Windows would steal the audio device, which it shouldn't be able to do in the first place? Does your ASIO driver only work in exclusive mode (i.e. not allow other applications to output audio at the same time)?
Title: Re: Crashes with Windows sounds
Post by: sso on July 12, 2013, 00:41:13

If OpenMPT crashes, it should show you the folder containing the crash dump automatically (%TEMP%\OpenMPT Crash Files)

Yes it does that. i think i have about 20 files allready. (i didnt want to bother you guys with this.)
been a long day though, getcha the files tomorrow, didnt crash today, though i was being careful. (so its not that bad really.)
Quote

To me it sounds like it would crash whenever Windows would steal the audio device, which it shouldn't be able to do in the first place? Does your ASIO driver only work in exclusive mode (i.e. not allow other applications to output audio at the same time)?

No idea, its a soundblaster audigy 4, never has done this before now though.

hmm, comes to mind, that ive been messing quite a bit with drivers (that problem i had earlier in the year.)

might have changed some settings, though for the life of me i cant remember any setting like that and my memory tends to be good.. any idea about that?
Title: Re: Crashes with Windows sounds
Post by: Saga Musix on July 12, 2013, 17:15:05
Well, Creative drivers suck anyway, sooo...
Title: Re: Crashes with Windows sounds
Post by: sso on July 13, 2013, 00:00:03
hehehe? reallly? done me fine for a decade, though its true im looking to upgrade.

this also happens when i start a movie while mpt is still running, the movie does not play sound and mpt crashes (without actually crashing) if i do anything but press the stop button.


where do i upload this crash file? dont have a file upload service.
Title: Re: Crashes with Windows sounds
Post by: Saga Musix on July 14, 2013, 12:09:33
Quote from: sso on July 13, 2013, 00:00:03
where do i upload this crash file? dont have a file upload service.
Not even NSA spywa.... I mean dropbox? The crash dumps generated by OpenMPT should be small enough so that you can attach them to a forum post after zipping them. Otherwise, there are enough free share hosters out there...
Title: Re: Crashes with Windows sounds
Post by: sso on July 15, 2013, 07:47:49
cool. hey thanks pal.

oh, i was at it for hours yesterday, managing to avoid this bug,right till the end when it "crashed" without crashing. it does not really affect my work unless i accidentally do this. so no hurry on my account, lets hope this is just a bug specific to me. :)

edit :nah,never have any files to share over the internet, bar this.
Title: Re: Crashes with Windows sounds
Post by: Saga Musix on July 15, 2013, 17:09:07
Try the latest exe: http://sagagames.de/stuff/mptrack.exe
Title: Re: Crashes with Windows sounds
Post by: sso on July 15, 2013, 21:19:38
wow,that was fast, brilliant, thanks pal.

ill get back to you tomorrow on it.
Title: Re: Crashes with Windows sounds
Post by: Saga Musix on July 15, 2013, 22:00:43
Quote from: sso on July 15, 2013, 21:19:38that was fast
It's just a guess about something in the ASIO handler that has been changed recently. However, in that case, OpenMPT shouldn't crash but merely display a message that it might be unstable; did it?
Title: Re: Crashes with Windows sounds
Post by: sso on July 16, 2013, 06:48:32
oh yes, like i  said, it never actually crashed.

(well, out of more than 20 times, one time it got so unstable that i had to restart, but only once.)


it just saved the file with a new 1 infront of it, saved me a crash dump, displayed the message that mpt might crash and then kept going.

im not at the relevant computer now, havent checked yet though, get back to ya tonight.
Title: Re: Crashes with Windows sounds
Post by: sso on July 17, 2013, 14:05:38
Ok, so far so good.


thanks man. preciate it.

oh, by the way, why is the exe 2mb larger?
Title: Re: Crashes with Windows sounds
Post by: Saga Musix on July 17, 2013, 14:15:13
Because it's built with VS2010 instead of VS2008, and the version of MFC that ships with VS2010 adds a bluk of unnecessary stuff to the executable.
Title: Re: Crashes with Windows sounds
Post by: sso on July 17, 2013, 23:33:13
ah.

oh btw, if you play a sample and change the frequency filter cutoff meanwhile, mpt freezes for a bit and the sound crashes till you press stop.

(its not a problem, just thought you might like to know.)

othervise seems stable as a stable. :)
Title: Re: Crashes with Windows sounds
Post by: Saga Musix on July 20, 2013, 13:59:28
Quote from: sso on July 17, 2013, 23:33:13
and the sound crashes till you press stop.
It does... what?
Changing the filter cutoff doesn't do anything that changing other controls doesn't do. Maybe it's the combination of pressing a note key while the silder is still focussed, which might make Windows play a "Ding" sound which leads to your previously mentioned problem of other apps interfering with OpenMPT?
Title: Re: Crashes with Windows sounds
Post by: sso on July 20, 2013, 16:02:44
oh its probably that.


on a more depressing note, while at first it was fine, the next day when i opened the song again, it suddenly started sputting on the heavy parts, like it was running out of cpu (10%) or memory (4gb free)

even when i removed the more heavy vst´s.. (nothing added to the song apart from a few samples and notes.)

interestingly, sometimes when its stalling and sputtering, if i put the mouse over the taskbar, it stops stalling and sputters less.

it seems to have more trouble with the samples being played manually (16bit for the most part) than the vst´s.

this is a offline puter and after i tested the prog the puter was turned off and then this happens.

any ideas?
Title: Re: Crashes with Windows sounds
Post by: sso on July 20, 2013, 21:03:14
weird.

im finding a file audiog.exe autorunning, whenever i stop it, the audio is fine.

audio graph,

cant delete it, need the permission of a Trusted Installer.

starts again in moments.. lol

heard of this?

guess im gonna need to get surgical.

any ideas to fix this btw?
Title: Re: Crashes with Windows sounds
Post by: sso on July 20, 2013, 21:31:25
audiodg.exe...


nevermind, learned some new things about windows and got rid of it.

that was a sneaky bugger, apparently had lain dormant in my puter till now..

dunno what it came with, but sure made the sound buggy.

Title: Re: Crashes with Windows sounds
Post by: sso on July 20, 2013, 21:38:11
sorry so many posts.

fucking awesome playing with this program now.

thanks guys. Brilliant work.


Edit, lol, im an idiot, audiodg.exe, is the soundsystem for windows.

now only mpt has sound lol

hmm, it still sputters when i have 100 vst´s going, but it works better than with the windows soundsystem.

which is a bummer, i use that puter for watching movies too.
Title: Re: Crashes with Windows sounds
Post by: Saga Musix on July 21, 2013, 18:31:09
Quote from: sso on July 20, 2013, 21:38:11
hmm, it still sputters when i have 100 vst´s going, but it works better than with the windows soundsystem.
You're crazy. That must be some really lightweight plugins that you even manage to run a hundred of them. With that many plugins, you may want to increase your latency setting, or simply use less plugins.
Title: Re: Crashes with Windows sounds
Post by: sso on July 21, 2013, 21:03:52
oh it semi works, whats the dealio about the windows soundsystem slowing down mpt? (handle less vst´s.)

(oh i have to reinstall windows if i want movie sound lol.major surcical fuck up.)
Title: Re: Crashes with Windows sounds
Post by: Saga Musix on July 21, 2013, 21:38:54
I don't know what you mean by "windows sound system". Do you mean one of the drivers in OpenMPT (WaveOut, DirectSound, ASIO, WASAPI)? Note that every driver model has a different minimum latency at which it works well; ASIO and WASAPI are designed for low-latency output; with DirectSound and especially WaveOut you need a latency that is a multitude higher than the one you can usually use with ASIO, simply because of how these APIs work.
Title: Re: Crashes with Windows sounds
Post by: sso on July 21, 2013, 22:43:11
when i deleted that audiodg.exe file, the windows sound went with it. (124k file.)

i cant play anything but the asio in mpt.

interestingly however, with the windows sound gone, (the possibility of it anyway. never had anything else going.)

mpt performed quite a bit better.

however,might be just something wrong with my windows, been needing a reinstall for some time.

im not asking for a fix or anything, just curious what you thought about this, if anything.
Title: Re: Crashes with Windows sounds
Post by: sso on July 23, 2013, 01:04:40
its weird though, when i do nothing, it more or less plays normal, just starts to stutter when i do something, play a note or whatever.

even when i added a instance of massive, it performed the same, no change.
Title: Re: Crashes with Windows sounds
Post by: LPChip on July 23, 2013, 07:10:28
It seems to be a common problem. A search for audiodg.exe gives me other topics of people experiencing it with ways to fix it. Seems not to be OpenMPT's fault at all.
Title: Re: Crashes with Windows sounds
Post by: sso on July 23, 2013, 12:29:37
what was the way to fix it?

Title: Re: Crashes with Windows sounds
Post by: sso on July 23, 2013, 13:23:45
...oh my gawds.

puters.


i googled around bit.


with a deleted audiodg and disabling the network card.


so far the crackling completely stops, on a large vst instance song.


mjeh, unless you guys have better solutions, ill just stop at this, least till im done with the music im making.

its bliss to be able to hear the music again.
Title: Re: Crashes with Windows sounds
Post by: Saga Musix on July 23, 2013, 13:47:21
To me it sounds like you should probably do a clean reinstall of your operating system. And probably ditch the original soundcard drivers while you're at it in favour of the kX drivers or whatever the SoundBlaster kids use these days.
Title: Re: Crashes with Windows sounds
Post by: LPChip on July 23, 2013, 16:36:58
I'm one of those SB kids... :/ :nuts: and I use a modified set of soundblaster drivers. Someone recreated the soundcard drives also for the audigy, but also for the X-Fi and made it so that the drivers actually work. Since, I have a stable system and everything works as it should.

Also did the same for a colleague and he also got a stable system after wards.

From here: http://forums.guru3d.com/showthread.php?t=327083

You would need this one: http://forums.guru3d.com/showpost.php?p=3671387&postcount=2
Title: Re: Crashes with Windows sounds
Post by: sso on July 23, 2013, 19:38:31
ah the bliss of eternal childhood, (36 and still get asked for a license at the drugstore.)

thanks guys, ill check this out.
Title: Re: Crashes with Windows sounds
Post by: sso on July 28, 2013, 01:51:42
Lchip.


those daniel k drivers.

i downloaded from the location you gave me.


when i clicked the file to install, it started to, then my usb drive stopped working for a moment, then when it started up again, the entire directory was deemed corrupt by windows and made totally unaccessible.

(that directory had a bunch of other stuff.) (lol and i just spent hours reinstalling windows prior (all my driver discs were mysteriously gone and i needed to install my hdd in another computer and all sorts of stuff.)

any ideas about this?
Title: Re: Crashes with Windows sounds
Post by: sso on July 28, 2013, 03:05:50
lol, two restarts later, the folder reappeared.

seems it did install but weirdly, mpt does not work really well with these drivers, or so it seems, maybe ill give a lil whack at it later.


so, saga, care to share a link to that recommended (by you.) asio soundcard?
Title: Re: Crashes with Windows sounds
Post by: Saga Musix on July 28, 2013, 11:47:41
I've never had any problems with ESI (http://www.esi-audio.com/) products. Depending on your needs and funds, you could either get the Juli@ XTe or Maya XTe. Both are PCIe cards, so relatively future-proof for now. I started out with the Juli@ (PCI version of the Juli@ XTe), it has one stereo input and one stereo output, so if that's enough for you, you get some really high quality stuff. Otherwise, I guess the Maya XTe could be a bit cheaper, has two stereo inputs / outputs but doesn't come with a MIDI interface anymore as far as I can see - and "only" goes up to 96 KHz instead of 192 KHz, but that's really not a problem. ESI drivers have been solid for me so far.
Title: Re: Crashes with Windows sounds
Post by: LPChip on July 28, 2013, 13:50:47
Odd, maybe the disconnect of the usb drive caused a bad installation.

Do note, that in order to succesfuilly install the Daniel drivers, you must uninstall the WDM drivers windows installs by itself. So you need to go into the device manager, uninstall the WDM drivers, and not restart. then install the daniel drivers.

That should make it install correctly.
Title: Re: Crashes with Windows sounds
Post by: sso on July 28, 2013, 16:48:57
thank you saga, that sb card is about 10 years old now, maybe its time.


and thanks chip, yes that might make it work and that card has served me well, so ill give it a whack, always liked its clean sound.

thanks guys.
Title: Re: Crashes with Windows sounds
Post by: LPChip on July 28, 2013, 18:19:03
oh, and my SB X-Fi elite platinum is also like 10 years old, probably longer as its older than your card I think, and it still serves me very well today. I'd hesitate what card to buy when this one breaks down.
Title: Re: Crashes with Windows sounds
Post by: Saga Musix on July 28, 2013, 18:32:02
Dude, the X-Fi wasn't launched before 2005. Let's do some basic math: 2013-2005 = 8. So no, your card is not older than 10 years. The Audigy 4 is a lot older than the X-Fi, too.
Title: Re: Crashes with Windows sounds
Post by: LPChip on July 28, 2013, 19:25:57
My concept of time seems different... :P
Title: Re: Crashes with Windows sounds
Post by: sso on July 28, 2013, 20:28:12
hehehe ,

oh time, a year can seem like an age upon age..  (or go by faster than a speeding bullet..)

like indiana jones said, "its not the years, its the fucking milage."


i wasnt far off though, audigy 2 (which is what audigy4 value is really.) was released in 2003. so probably 2004.

maybe i should throw a birthday party for the little girl, she done good.

my last soundblaster. (had the original and adlib before it.)