vmware on oss_hdaudio
Posted: Tue Oct 26, 2010 11:55 am
by adamk
http://webview.npark.com/vmware-hdaudio.oggSometimes audio plays just fine under vmware player when I'm using oss_hdaudio. Usually, in fact, it starts out just fine. However, usually after a few minutes, new audio streams in the guest (Windows XP) start to sound like above. Rebooting the guest is not enough. I have to disconnect and reconnect the video sound device, or I have to power off the guest and then power it backup. This happens whether I use vmix or not. I am using vmware player 3.1.2, build 301548, the latest available.
Adam
Re: vmware on oss_hdaudio
Posted: Sat Oct 30, 2010 2:57 pm
by adamk
No ideas?
Adam
Re: vmware on oss_hdaudio
Posted: Sun Oct 31, 2010 11:39 am
by cesium
Hmmm... Does this happen when other programs output sound for "several minutes"? Also, maybe get
this or
this strace and see how the program is setting up the card. Lastly, did this occur with older versions of player, or did you use it on that comp only recently?
Re: vmware on oss_hdaudio
Posted: Sun Oct 31, 2010 2:34 pm
by adamk
I've only experienced this with vmware player. And it doesn't have to be a few minutes. I've just started up Windows XP, and had it happen after a minute or two of playing an mp3. I powered off the VM, restarted vmware player, and then had it happened with the windows start up clip.
I've only seen this recently, but I'm not sure if it's due to updating vmware player. Is there something in particular you'd like me to grep out of the strace output? Even running it long enough to get that problem with the windows startup sound, and I have a 270 meg file. I've compressed it down to 1.9 megs, and attached it. [Edit by cesium: erased attachment]
Re: vmware on oss_hdaudio
Posted: Tue Nov 02, 2010 12:01 pm
by cesium
Well, it has the following strings (edited):
Code: Select all
open("/dev/dsp", O_RDONLY|O_NONBLOCK) = 23
fstat(23, ...) = 0
close(23) = 0
open("/dev/dsp0"...
fstat(23, ...)
close(23)
open("/dev/dsp1", ...
fstat(23, ...
close(23)
open("/dev/dsp2"... ) = -1Odd. I guess that's not the place where vmware opens the card.
Re: vmware on oss_hdaudio
Posted: Wed Nov 03, 2010 12:41 am
by adamk
For what it's worth, this is in the windows XP vmx file:
Code: Select all
sound.present = "TRUE"
sound.fileName = "/dev/dsp"
sound.autodetect = "FALSE"