Two soundcards. Use both with wine. Problem

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
bralmu
Newbie
Newbie
Posts: 3
Joined: Tue Jul 28, 2009 4:14 am

Two soundcards. Use both with wine. Problem

Post by bralmu »

Hi,

I have an integrated soundcard and I have just bought a new sound card to play UltraStar (open source karaoke) in the 2-players mode.

This game is know to work fine with wine and the last time (three years ago?) that I did this, it worked without special configuration. But it was an older version of wine, ubuntu and ultrastar and now it seems not to work.

The problem is that in the "recording" configuration menu of the game there is only one soundcard called "default" (my integrated Realtek). But I have 2 soundcards installed in my ubuntu system :/. I'm using ALSA as Wine sound (you can see in the screenshot).

What can I do?



System:
AMD64, 512MB, nForce motherboard with Realtek sound integrated.
Conceptronic USB Audio (very simple card, lineout and mic)
Ubuntu 9.04 up to date
Wine-1.0.1



Image
Ubuntu volume control devices (Before)
--------------------------------------

Code: Select all

Nvidia CK804 (Alsa mixer)
Realtek ALC850 rev 0 (OSS Mixer)
Playback: Nvidia CK804 - Nvidia CK804 (PulseAudio Mixer)
Capture: Monitor of Nvidia CK804 - Nvidia CK804 (PulseAudio Mixer)
Capture: Nvidia CK804 - Nvidia CK804 (PulseAudio Mixer)
After plug in the external usb soundcard
---------------------------

Code: Select all

Nvidia CK804 (Alsa mixer)
Realtek ALC850 rev 0 (OSS Mixer)
Playback: Nvidia CK804 - Nvidia CK804 (PulseAudio Mixer)
Capture: Monitor of Nvidia CK804 - Nvidia CK804 (PulseAudio Mixer)
Capture: Nvidia CK804 - Nvidia CK804 (PulseAudio Mixer)
Generic USB Audio Device (Alsa mixer)
Playback: Generic USB Audio Device - USB Audio (PulseAudio Mixer)
Capture: Monitor of Generic USB Audio Device - USB Audio (PulseAudio Mixer)
Capture: Generic USB Audio Device - USB Audio (PulseAudio Mixer)
Image
Image
/etc/modprobe.d/alsa-base.conf
------------------------------

Code: Select all

# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
options snd-usb-caiaq index=-2
bralmu
Newbie
Newbie
Posts: 3
Joined: Tue Jul 28, 2009 4:14 am

Post by bralmu »

mmm... can't edit my post? :?:

I have try OSS
------------------
I've try selecting OSS in wine/audio configuration because I saw it detects the 2 cards (Realtek ALC850 rev 0 and USB Mixer). But the game closes itself while loading.
Maybe a problem between Ubuntu using PulseAudio and Wine trying to use OSS?

I'm going to do more experiments while waiting for help.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

bralmu wrote:
Maybe a problem between Ubuntu using PulseAudio and Wine trying to use OSS?
http://forum.winehq.org/viewtopic.php?t=1457
jorl17
Level 5
Level 5
Posts: 365
Joined: Mon Jul 28, 2008 6:44 pm

Post by jorl17 »

bralmu wrote:mmm... can't edit my post? :?:

I have try OSS
------------------
I've try selecting OSS in wine/audio configuration because I saw it detects the 2 cards (Realtek ALC850 rev 0 and USB Mixer). But the game closes itself while loading.
Maybe a problem between Ubuntu using PulseAudio and Wine trying to use OSS?

I'm going to do more experiments while waiting for help.
Did you use alsa-oss or padsp for that matter? Also, make sure that they both work natively first.

Cheers,

Jorl17
bralmu
Newbie
Newbie
Posts: 3
Joined: Tue Jul 28, 2009 4:14 am

Post by bralmu »

I tried padsp+(oss-wine) and the game still closes himself while loading.

I don't want to remove pulseaudio or any of these radical options in my system for a simple game. Wine works perfectly with default alsa configuration except windows programs only see a sound card (and I need to use both 2 to play multiplayer karaoke).

My next steps:
Make an old version of ubuntu without pulseaudio (ubuntu 7.10 sounds good) live-USB stick.
Install the last Wine version.
Configure wine to use OSS.
See what happens.
James McKenzie

Two soundcards. Use both with wine. Problem

Post by James McKenzie »

bralmu wrote:
mmm... can't edit my post? [Question]

I have try OSS
------------------
I've try selecting OSS in wine/audio configuration because I saw it detects the 2 cards (Realtek ALC850 rev 0 and USB Mixer). But the game closes itself while loading.
Maybe a problem between Ubuntu using PulseAudio and Wine trying to use OSS?

I'm going to do more experiments while waiting for help.

See the Sticky comment on editing being turned off.

James McKenzie
Locked