Hi,
I cannot get wine to recognize my audio device (Nvidia GT210 w/HDMI).
No other sound card is enabled. The right device for sound is hw:0,3. Alsa's
speakertest works fine. Pulseaudio is completely removed from my system. Also
Wine's pulse package is removed even though the trace still has some
references to pulseaudio.
Winecfg displays only MIDI devices under ALSA. Direct Sound options have no
effect.
Some relevant info:
$ wine --version
wine-1.3.12
$ cat /proc/version
Linux version 2.6.35.11-83.fc14.x86_64 (mockbuild at
x86-01.phx2.fedoraproject.org) (gcc version 4.5.1 20100924 (Red Hat 4.5.1-4)
(GCC) ) #1 SMP Mon Feb 7 07:06:44 UTC 2011
i.e. 64 bit Fedora 14 with all official updates etc.
$ cat ~/.asoundrc
pcm.!default {
type hw
card 0
device 3
}
pcm.!surround51 {
type hw
card 0
device 3
}
pcm.!surround71 {
type hw
card 0
device 3
}
pcm.!surround61 {
type hw
card 0
device 3
}
ctl.!default {
type hw
card 0
}
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
$ WINEDEBUG=+mixer,+alsa,+sound,+coreaudio,+dsound,+wave winecfg
gives when I go to Audio tab:
trace:wave:PULSE_WaveInit App name is "WINE [winecfg.exe]"
trace:wave:PULSE_WaveInit libpulse protocol version: 16. API Version 12
err:wave:PULSE_ContextStateCallback Context failed: Connection refused
warn:wave:PULSE_WaveInit Failed to connect to server
trace:wave:ALSA_wodMessage (0, DRVM_INIT, 00000000, 00000000, 00000000);
trace:wave:ALSA_widMessage (0, DRVM_INIT, 00000000, 00000000, 00000000);
trace:mixer:ALSA_mxdMessage (0000, DRVM_INIT, 00000000, 00000000, 00000000);
trace:mixer:ALSA_MixerInit Total elems: 4
trace:mixer:blacklisted IEC958: 1
trace:mixer:blacklisted IEC958: 1
trace:mixer:blacklisted IEC958: 1
trace:mixer:blacklisted IEC958: 1
fixme:mixer:ALSA_MixerInit No master control found on HDA NVidia, disabling
mixer
trace:mixer:ALSA_MixerInit
trace:mixer:ALSA_mxdMessage Returning 00000000
trace:wave:OSS_DriverProc (00000000, 0x163318, 00000001, 00000000, 00000000)
trace:wave:OSS_DriverProc (00000000, 0x163318, 00000002, 00000000, 00000000)
trace:wave:OSS_DriverProc (00000000, 0x163318, 00000003, 00000000, 00000000)
trace:wave:OSS_wodMessage (0, DRVM_INIT, 00000000, 00000000, 00000000);
trace:wave:OSS_widMessage (0, DRVM_INIT, 00000000, 00000000, 00000000);
trace:wave:OSS_WaveInit (0)
trace:wave:OSS_WaveOutInit (0x5b44d760) /dev/dsp
trace:wave:OSS_OpenDevice (0x5b44d760,1,(nil),0,-1,-1,ffffffff)
trace:wave:OSS_WaveOutInit (0x5b44dbd4) /dev/dsp1
trace:wave:OSS_OpenDevice (0x5b44dbd4,1,(nil),0,-1,-1,ffffffff)
trace:wave:OSS_WaveOutInit (0x5b44e048) /dev/dsp2
trace:wave:OSS_OpenDevice (0x5b44e048,1,(nil),0,-1,-1,ffffffff)
trace:wave:OSS_WaveOutInit (0x5b44e4bc) /dev/dsp3
trace:wave:OSS_OpenDevice (0x5b44e4bc,1,(nil),0,-1,-1,ffffffff)
trace:wave:OSS_WaveOutInit (0x5b44e930) /dev/dsp4
trace:wave:OSS_OpenDevice (0x5b44e930,1,(nil),0,-1,-1,ffffffff)
trace:wave:OSS_WaveOutInit (0x5b44eda4) /dev/dsp5
trace:wave:OSS_OpenDevice (0x5b44eda4,1,(nil),0,-1,-1,ffffffff)
trace:wave:OSS_WaveInInit (0x5b44bd60) /dev/dsp
trace:wave:OSS_OpenDevice (0x5b44bd60,0,(nil),0,-1,-1,ffffffff)
trace:wave:OSS_WaveInInit (0x5b44c1b4) /dev/dsp1
trace:wave:OSS_OpenDevice (0x5b44c1b4,0,(nil),0,-1,-1,ffffffff)
trace:wave:OSS_WaveInInit (0x5b44c608) /dev/dsp2
trace:wave:OSS_OpenDevice (0x5b44c608,0,(nil),0,-1,-1,ffffffff)
trace:wave:OSS_WaveInInit (0x5b44ca5c) /dev/dsp3
trace:wave:OSS_OpenDevice (0x5b44ca5c,0,(nil),0,-1,-1,ffffffff)
trace:wave:OSS_WaveInInit (0x5b44ceb0) /dev/dsp4
trace:wave:OSS_OpenDevice (0x5b44ceb0,0,(nil),0,-1,-1,ffffffff)
trace:wave:OSS_WaveInInit (0x5b44d304) /dev/dsp5
trace:wave:OSS_OpenDevice (0x5b44d304,0,(nil),0,-1,-1,ffffffff)
trace:wave:OSS_WaveFullDuplexInit (0x5b44d760) /dev/dsp
trace:wave:OSS_OpenDevice (0x5b44d760,2,(nil),0,-1,-1,ffffffff)
trace:wave:OSS_WaveFullDuplexInit (0x5b44dbd4) /dev/dsp1
trace:wave:OSS_OpenDevice (0x5b44dbd4,2,(nil),0,-1,-1,ffffffff)
trace:wave:OSS_WaveFullDuplexInit (0x5b44e048) /dev/dsp2
trace:wave:OSS_OpenDevice (0x5b44e048,2,(nil),0,-1,-1,ffffffff)
trace:wave:OSS_WaveFullDuplexInit (0x5b44e4bc) /dev/dsp3
trace:wave:OSS_OpenDevice (0x5b44e4bc,2,(nil),0,-1,-1,ffffffff)
trace:wave:OSS_WaveFullDuplexInit (0x5b44e930) /dev/dsp4
trace:wave:OSS_OpenDevice (0x5b44e930,2,(nil),0,-1,-1,ffffffff)
trace:wave:OSS_WaveFullDuplexInit (0x5b44eda4) /dev/dsp5
trace:wave:OSS_OpenDevice (0x5b44eda4,2,(nil),0,-1,-1,ffffffff)
trace:wave:OSS_WaveInit 0 wave out devices
trace:wave:OSS_WaveInit 0 wave in devices
trace:mixer:OSS_mxdMessage (0000, DRVM_INIT, 00000000, 00000000, 00000000);
trace:mixer:OSS_MixerInit ()
warn:mixer:OSS_MixerInit couldn't open /dev/mixer
warn:mixer:OSS_MixerInit couldn't open /dev/mixer1
warn:mixer:OSS_MixerInit couldn't open /dev/mixer2
warn:mixer:OSS_MixerInit couldn't open /dev/mixer3
warn:mixer:OSS_MixerInit couldn't open /dev/mixer4
warn:mixer:OSS_MixerInit couldn't open /dev/mixer5
warn:mixer:OSS_MixerInit no driver
trace:coreaudio:CoreAudio_DriverProc (00000000, 0x1638e8, DRV_LOAD (00000001),
00000000, 00000000)
trace:coreaudio:CoreAudio_DriverProc (00000000, 0x1638e8, DRV_ENABLE (00000002),
00000000, 00000000)
trace:coreaudio:CoreAudio_DriverProc (00000000, 0x1638e8, DRV_OPEN (00000003),
00000000, 00000000)
trace:wave:ALSA_wodMessage (0, WODM_GETNUMDEVS, 00000000, 00000000, 00000000);
trace:wave:ALSA_widMessage (0, WIDM_GETNUMDEVS, 00000000, 00000000, 00000000);
trace:mixer:ALSA_mxdMessage (0000, MXDM_GETNUMDEVS, 00000000, 00000000,
00000000);
trace:mixer:ALSA_mxdMessage Returning 00000000
trace:wave:OSS_wodMessage (0, WODM_GETNUMDEVS, 00000000, 00000000, 00000000);
trace:wave:OSS_widMessage (0, WIDM_GETNUMDEVS, 00000000, 00000000, 00000000);
trace:mixer:OSS_mxdMessage (0000, MXDM_GETNUMDEVS, 00000000, 00000000,
00000000);
trace:mixer:MIX_GetNumDevs ()
and when I try test sound with Alsa selected I get Audio test failed! and
trace:mixer:ALSA_mxdMessage (0000, DRVM_INIT, 00000000, 00000000, 00000000);
trace:mixer:ALSA_MixerInit Total elems: 4
trace:mixer:blacklisted IEC958: 1
trace:mixer:blacklisted IEC958: 1
trace:mixer:blacklisted IEC958: 1
trace:mixer:blacklisted IEC958: 1
fixme:mixer:ALSA_MixerInit No master control found on HDA NVidia, disabling
mixer
trace:mixer:ALSA_MixerInit
trace:mixer:ALSA_mxdMessage Returning 00000000
trace:mixer:ALSA_mxdMessage (0000, MXDM_GETNUMDEVS, 00000000, 00000000,
00000000);
trace:mixer:ALSA_mxdMessage Returning 00000000
trace:wave:ALSA_widMessage (0, DRVM_INIT, 00000000, 00000000, 00000000);
trace:wave:ALSA_widMessage (0, WIDM_GETNUMDEVS, 00000000, 00000000, 00000000);
trace:wave:ALSA_wodMessage (0, DRVM_INIT, 00000000, 00000000, 00000000);
trace:wave:ALSA_wodMessage (0, WODM_GETNUMDEVS, 00000000, 00000000, 00000000);