No Mixers, Gentoo, Creative X-Fi, Wine 1.0

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Jason Weisberger

No Mixers, Gentoo, Creative X-Fi, Wine 1.0

Post by Jason Weisberger »

Wine List,

Just looking for ideas, here's my system configuration:

Gentoo Linux 2.4.24
ALSA built as modules
Creative Labs X-Fi 1.18 Driver with a few modifications per
http://gentoo-wiki.com/HARDWARE_Creative_Labs_X-Fi

Game I'm trying to get sound working on is WoW 2.4

winecfg shows no OSS or ALSA mixers, and none show up in the game either.

Now I know, the first thing you're about to tell me is that the X-Fi drivers
are junk. What I'm trying to understand is why every other sound program on
the system works well with it, but Wine won't recognize it at all. Maybe a
clue is that the X-Fi driver doesn't provide the legacy OSS interface?

You tell me...

--
Jason Weisberger
[email protected]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-us ... chment.htm
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: No Mixers, Gentoo, Creative X-Fi, Wine 1.0

Post by vitamin »

Jason Weisberger wrote:Wine List,

Just looking for ideas, here's my system configuration:

Gentoo Linux 2.4.24
ALSA built as modules
Creative Labs X-Fi 1.18 Driver with a few modifications per
http://gentoo-wiki.com/HARDWARE_Creative_Labs_X-Fi

Game I'm trying to get sound working on is WoW 2.4

winecfg shows no OSS or ALSA mixers, and none show up in the game either.
Run winecfg, go to audio tab, exit winecfg. Post complete terminal output here.
Jason Weisberger

No Mixers, Gentoo, Creative X-Fi, Wine 1.0

Post by Jason Weisberger »

jbdubbs@jbdubbspc ~ $ winecfg
ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such
file or directory
ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such
file or directory
jbdubbs@jbdubbspc ~ $

On Thu, Jun 19, 2008 at 5:11 PM, vitamin <[email protected]> wrote:
Jason Weisberger wrote:
Wine List,

Just looking for ideas, here's my system configuration:

Gentoo Linux 2.4.24
ALSA built as modules
Creative Labs X-Fi 1.18 Driver with a few modifications per
http://gentoo-wiki.com/HARDWARE_Creative_Labs_X-Fi

Game I'm trying to get sound working on is WoW 2.4

winecfg shows no OSS or ALSA mixers, and none show up in the game either.
Run winecfg, go to audio tab, exit winecfg. Post complete terminal output
here.





--
Jason Weisberger
[email protected]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-us ... chment.htm
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: No Mixers, Gentoo, Creative X-Fi, Wine 1.0

Post by vitamin »

Jason Weisberger wrote:jbdubbs@jbdubbspc ~ $ winecfg
ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such
file or directory
ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such
file or directory
jbdubbs@jbdubbspc ~ $
Dunno, please file a bug report.
Jason Weisberger

No Mixers, Gentoo, Creative X-Fi, Wine 1.0

Post by Jason Weisberger »

Will do.

On Fri, Jun 20, 2008 at 9:31 AM, vitamin <[email protected]> wrote:
Jason Weisberger wrote:
jbdubbs@jbdubbspc ~ $ winecfg
ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such
file or directory
ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such
file or directory
jbdubbs@jbdubbspc ~ $
Dunno, please file a bug report.





--
Jason Weisberger
[email protected]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-us ... chment.htm
thunktone
Newbie
Newbie
Posts: 1
Joined: Tue Jun 24, 2008 2:56 am

Re: No Mixers, Gentoo, Creative X-Fi, Wine 1.0

Post by thunktone »

Had the same problem trying to run Baldur's Gate.
Tracked to the problem down to a crashed instance of the game. After killing that I the game worked just fine.
Try
$ pgrep WOW
or whatever the *.exe is called to find the process id then
$ kill xxxx
Jason Weisberger

No Mixers, Gentoo, Creative X-Fi, Wine 1.0

Post by Jason Weisberger »

Unfortunately this has persisted between reboots as well as several
different kernel and wine compilations with various settings.

On Tue, Jun 24, 2008 at 4:03 AM, thunktone <[email protected]>
wrote:
Had the same problem trying to run Baldur's Gate.
Tracked to the problem down to a crashed instance of the game. After
killing that I the game worked just fine.
Try
$ pgrep WOW
or whatever the *.exe is called to find the process id then
$ kill xxxx





--
Jason Weisberger
[email protected]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-us ... chment.htm
Jason Weisberger

No Mixers, Gentoo, Creative X-Fi, Wine 1.0

Post by Jason Weisberger »

Just want to add a little more information to see if there are any other
ideas out there:

I've been playing around and realized that it might have something to do
with snd-usb-audio

My usb mic isn't loading into the alsa section of winecfg as well as my
X-Fi. The X-Fi drivers require the usb-audio module, so maybe it's all just
related to that.

Here's the errors I get on the command line now:

jbdubbs@jbdubbspc ~ $ winecfg
ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such
file or directory
fixme:mixer:ALSA_MixerInit No master control found on AK5370 ,
disabling mixer

So, if the mixer on the usb mic gets disabled, does that affect how it looks
at all sound cards requiring snd-usb-audio?

I have 3 sound cards running right now, 0 is the X-Fi, 1 is intel hda audio
which works well, 2 is the usb mic.

Neither the mic or the x-fi show up at all in winecfg, but work completely
in any other application on the system using alsa.

On Tue, Jun 24, 2008 at 8:20 PM, Jason Weisberger <[email protected]> wrote:
Unfortunately this has persisted between reboots as well as several
different kernel and wine compilations with various settings.


On Tue, Jun 24, 2008 at 4:03 AM, thunktone <[email protected]>
wrote:
Had the same problem trying to run Baldur's Gate.
Tracked to the problem down to a crashed instance of the game. After
killing that I the game worked just fine.
Try
$ pgrep WOW
or whatever the *.exe is called to find the process id then
$ kill xxxx





--
Jason Weisberger
[email protected]

--
Jason Weisberger
[email protected]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-us ... chment.htm
Jason Weisberger

No Mixers, Gentoo, Creative X-Fi, Wine 1.0

Post by Jason Weisberger »

Here's something else my console just spewed:

fixme:wave:ALSA_ComputeCaps Device has a minimum of 2 channels
fixme:wave:ALSA_ComputeCaps Device has a minimum of 2 channels
fixme:wave:ALSA_ComputeCaps Device has a minimum of 2 channels
fixme:wave:ALSA_ComputeCaps Device has a minimum of 2 channels
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-us ... chment.htm
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: No Mixers, Gentoo, Creative X-Fi, Wine 1.0

Post by vitamin »

Jason Weisberger wrote:I have 3 sound cards running right now, 0 is the X-Fi, 1 is intel hda audio
which works well, 2 is the usb mic.
You should have started from this. By default Wine uses only one ALSA card. You have to explicitly tell Wine to look for / use other cards.
See http://wiki.winehq.org/UsefulRegistryKeys (Alsa Driver section) for more details.
Jason Weisberger

No Mixers, Gentoo, Creative X-Fi, Wine 1.0

Post by Jason Weisberger »

You are the man, sir.

My config works now as follows:

/etc/asound.conf:

pcm.xfi {
type hw
card 0
device 0
}

ctl.xfi {
type hw
card 0
device 0
}

pcm.usbmic {
type hw
card 2
device 0
}

ctl.usbmic {
type hw
card 2
device 0
}

pcm.hda {
type hw
card 1
device 0
}

ctl.hda {
type hw
card 1
device 0
}


My registry settings:

AutoScanCards = N
AutoScanDevices = N
DeviceCount = 3
DevicePCM1= xfi
DevicePCM2 = usbmic
DevicePCM3 = hda
UseDirectHW = Y



On Sat, Jun 28, 2008 at 10:46 PM, vitamin <[email protected]> wrote:
Jason Weisberger wrote:
I have 3 sound cards running right now, 0 is the X-Fi, 1 is intel hda
audio
which works well, 2 is the usb mic.
You should have started from this. By default Wine uses only one ALSA card.
You have to explicitly tell Wine to look for / use other cards.
See http://wiki.winehq.org/UsefulRegistryKeys (Alsa Driver section) for
more details.





--
Jason Weisberger
[email protected]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-us ... chment.htm
dblade
Newbie
Newbie
Posts: 3
Joined: Sun Jun 29, 2008 2:22 pm

worked

Post by dblade »

Thanks for posting the followup. I didn't even have a /etc/asound.conf but after adding the card 0 entries there along with some regedit settings, the wine sound test now works.

EDIT: more info
Debian SID, Creative X-Fi extreme gamer

Useful x-fi beta driver compile info -> http://technostuff.blogspot.com/2008/04 ... beta2.html
had to use this with kernel 2.6.24 so it doesn't only apply to 2.6.25
Locked