CosmosOS / Cosmos

Cosmos is an operating system "construction kit". Build your own OS using managed languages such as C#, VB.NET, and more!
https://www.goCosmos.org
BSD 3-Clause "New" or "Revised" License
2.92k stars 550 forks source link

Error in VMware audio initalisation #3084

Closed Stepanchikitsme closed 30 minutes ago

Stepanchikitsme commented 2 hours ago

Expected Behaviour - What do you think that should happen?

When booting OS in VMware (playing startup sound), there should be a startup sound

Actual Behaviour - What unexpectedly happens?

I'm getting this exception: No AC97-compatible device could be found - the reset timeout has expired.

Reproduction - How did you get this error to appear?

Boot an OS in VMware and try to play some sound. In VirtualBox it'll work perfect, but VMware...

Version - Were you using the User Kit or Dev Kit? And what User Kit version or Dev Kit commit (Cosmos, IL2CPU, X#)?

Using the last version of Dev kit

ascpixi commented 2 hours ago

AC97 is not supported in VMWare. AFAIK, VMWare can only emulate an Intel HD Audio controller (which is the default) or a legacy ES1371 sound card.

Stepanchikitsme commented 55 minutes ago

AC97 is not supported in VMWare. AFAIK, VMWare can only emulate an Intel HD Audio controller (which is the default) or a legacy ES1371 sound card.

Is there any community driver for any of them?

ascpixi commented 44 minutes ago

AC97 is not supported in VMWare. AFAIK, VMWare can only emulate an Intel HD Audio controller (which is the default) or a legacy ES1371 sound card.

Is there any community driver for any of them?

Not that I know of, no. I think that VMware has undocumented support for Sound Blaster 16, though, if you modify the VMX file to have sound.virtualDev set to sb16. I have made a partially implemented Sound Blaster 16 driver for Cosmos a while ago, but it's for an older version of the API, and is quite buggy, so you will probably need to make some major adjustments to it.

Stepanchikitsme commented 30 minutes ago

AC97 is not supported in VMWare. AFAIK, VMWare can only emulate an Intel HD Audio controller (which is the default) or a legacy ES1371 sound card.

Is there any community driver for any of them?

Not that I know of, no. I think that VMware has undocumented support for Sound Blaster 16, though, if you modify the VMX file to have sound.virtualDev set to sb16. I have made a partially implemented Sound Blaster 16 driver for Cosmos a while ago, but it's for an older version of the API, and is quite buggy, so you will probably need to make some major adjustments to it.

I'll take a look. Thank you much!