Skip to contentSkip to conversation

How much of the X-Fi (emu20k1) chip has Creative documented?

DISCUSSION Chris Rankin 3 participants 12 messages Jan 18, 2010 – Jan 25, 2010

lore
Share & tools
lore
#0 lore raw

Hi,

I am thinking about upgrading my Audigy2 sound card, and was looking at the X-Fi. However, the feature matrix for X-Fi cards on the ALSA site only says "PCI". (I assume that also includes PCIe these days.) Given that there is a basic snd-ctxfi driver, it seems likely that this matrix should also include "ANALOGio", and so I was wondering if someone could tell me what the actual matrix entry for the X-Fi cards should be these days, please?

Would the documentation that Creative has released allow any additional features to be implemented in the future? I am obviously hoping at least for feature parity with the Audigy2, i.e. multi-voiced hardware mixing. That "crystalizer" would seem to be one of the cards main selling points, too. However, if the driver is "feature complete" as far as Creative's documentation goes, then one of the Xonar cards would seem better value for money.

Thanks for any assistance,
Cheers,
Chris

#1 lore raw
Quoted 10 lines · On Sun, 17 Jan 2010 16:43:08 -0800 (PST) Chris Rankin <[email protected]>…

Hi,

I am thinking about upgrading my Audigy2 sound card, and was looking at the X-Fi. However, the feature matrix for X-Fi cards on the ALSA site only says "PCI". (I assume that also includes PCIe these days.) Given that there is a basic snd-ctxfi driver, it seems likely that this matrix should also include "ANALOGio", and so I was wondering if someone could tell me what the actual matrix entry for the X-Fi cards should be these days, please?

Would the documentation that Creative has released allow any additional features to be implemented in the future? I am obviously hoping at least for feature parity with the Audigy2, i.e. multi-voiced hardware mixing. That "crystalizer" would seem to be one of the cards main selling points, too. However, if the driver is "feature complete" as far as Creative's documentation goes, then one of the Xonar cards would seem better value for money.

Thanks for any assistance,
Cheers,
Chris

The matrix is horribly out of date. Yes PCIe cards (emu20k2) are supported. HWMix also exists and works perfectly, I can play many things at once directly accessing ALSA, without the need of pulseaudio or whatever meme of the year it is. Its probably the only fancy feature that is supported on the chip.

There is no sequencer support, and no access to the DSP features, which would be needed to put it in line with the old emu10k1 features.

I use an Auzentech X-Fi Forte myself, which works great. If all you want is hardware mixing and record capabilities, then you can upgrade without worry.

I would like to see DSP based equalizer support someday, but I'm not counting on it happening. Creative would need to release more specs to allow access to and use the DSP to load the necessary firmware that provides these effects features. (Including crystalizer)

#2 lore raw
Quoted 2 lines · Brendan Pike

The matrix is horribly out of date. Yes PCIe cards (emu20k2) are supported. HWMix also exists and works perfectly,

That's interesting! Can you post the output of

/proc/asound/<X-Fi card>/pcm0p/info

please?

Quoted 1 line

I use an Auzentech X-Fi Forte myself, which works great.

Are the emu20k1 cards equally well supported? It looks like emu20k2 cards are exclusively PCIe, whereas I'd probably be looking for a PCI card.

Thanks,
Chris

#3 lore raw
Quoted 8 lines · On Mon, 18 Jan 2010 14:21:57 -0800 (PST) Chris Rankin <[email protected]>…
Quoted 2 lines · Brendan Pike

The matrix is horribly out of date. Yes PCIe cards (emu20k2) are supported. HWMix also exists and works perfectly,

That's interesting! Can you post the output of

/proc/asound/<X-Fi card>/pcm0p/info

please?

That doesn't exist here. The driver is limited in that it doesn't really provide any information in /proc/asound at all.

Quoted 4 lines
Quoted 2 lines

I use an Auzentech X-Fi Forte myself, which works great.

Are the emu20k1 cards equally well supported? It looks like emu20k2 cards are exclusively PCIe, whereas I'd probably be looking for a PCI card.

My previous card was a PCI emu20k1 based X-Fi Prelude, which worked the same way as my current card does.

Quoted 6 lines

Thanks,
Chris

#4 lore raw
Quoted 1 line · Brendan Pike

HWMix also exists and works perfectly,

The last time someone assured me that a card supported HWMix, it turned out that he was using dmix without realising it.

Can you confirm that you can still play two sounds concurrently with the following $HOME/.asoundrc file, please?

pcm.XFi {
    type plug
    slave {
        pcm "hw:0"
    }
}

So you would run the following command simultaneously across two terminals:

$ aplay -D XFi <wav-file>

Cheers,
Chris

#5 lore raw

Its impossible for me to be using dmix as dmix isn't even compiled into my alsa-libs.

I'm 100% sure that HwMix is supported. When I said direct hardware access I meant it. I'm sure anyone else with an XFi card can confirm this too.

Calculating dependencies... done!
[ebuild R ] media-libs/alsa-lib-1.0.22 USE="python -alisp -debug
-doc" ALSA_PCM_PLUGINS="extplug ioplug ladspa lfloat plug -adpcm -alaw -asym -copy -dmix -dshare -dsnoop -empty -file -hooks -iec958 -linear -meter -mmap_emul -mulaw -multi -null -rate -route -share -shm -softvol" 0 kB

Quoted 24 lines · On Sat, 23 Jan 2010 14:04:12 -0800 (PST) Chris Rankin <[email protected]>…
Quoted 1 line · Brendan Pike

HWMix also exists and works perfectly,

The last time someone assured me that a card supported HWMix, it turned out that he was using dmix without realising it.

Can you confirm that you can still play two sounds concurrently with the following $HOME/.asoundrc file, please?

pcm.XFi {
    type plug
    slave {
        pcm "hw:0"
    }
}

So you would run the following command simultaneously across two terminals:

$ aplay -D XFi <wav-file>

Cheers,
Chris

#6 lore raw
Quoted 3 lines · Brendan Pike

I'm 100% sure that HwMix is supported. When I said direct hardware access I meant it. I'm sure anyone else with an XFi card can confirm this too.

That's just it - someone on Phoronix is saying that it isn't supported:
http://www.phoronix.com/forums/showthread.php?t=21486

"Just as a FYI multi voice hardware mixing is not present in the linux x-fi drivers."

That post is dated 17th Jan 2010.

Cheers,
Chris

#7 lore raw

At Sat, 23 Jan 2010 14:46:37 -0800 (PST),

Quoted 6 lines · Chris Rankin
Quoted 3 lines · Brendan Pike

I'm 100% sure that HwMix is supported. When I said direct hardware access I meant it. I'm sure anyone else with an XFi card can confirm this too.

Quoted 6 lines

That's just it - someone on Phoronix is saying that it isn't supported:
http://www.phoronix.com/forums/showthread.php?t=21486

"Just as a FYI multi voice hardware mixing is not present in the linux x-fi drivers."

That post is dated 17th Jan 2010.

It's a wrong information.

Takashi

#8 lore raw
Quoted 11 lines · On Sun, 24 Jan 2010 11:28:13 +0100 Takashi Iwai <[email protected]> wrote:

At Sat, 23 Jan 2010 14:46:37 -0800 (PST),

Quoted 9 lines · Chris Rankin
Quoted 3 lines · Brendan Pike

I'm 100% sure that HwMix is supported. When I said direct hardware access I meant it. I'm sure anyone else with an XFi card can confirm this too.

That's just it - someone on Phoronix is saying that it isn't supported:
http://www.phoronix.com/forums/showthread.php?t=21486

Quoted 8 lines
Quoted 3 lines

"Just as a FYI multi voice hardware mixing is not present in the linux x-fi drivers."

That post is dated 17th Jan 2010.

It's a wrong information.

Takashi

X-Fi is such a generic term these days with Creative. There are non emu20k1/2 based X-Fi's that do NOT support HWMix. The Phoronix post was probably referring to those cards and thinking it applies to all of them as a result.

Just a peek in the source code would show you that the hardware SRC is supported.

#9 lore raw
In reply to Takashi Iwai
Quoted 4 lines · Takashi Iwai
Quoted 2 lines

"Just as a FYI multi voice hardware mixing is not
present in the linux x-fi drivers."

It's a wrong information.

Takashi,

Thanks for replying, and confirming what Brendan has been saying :-). So how many hardware "voices" does the X-Fi driver support, please? And is further development of snd-ctxfi stalled, pending any additional information from Creative?

Thanks,
Chris

#10 lore raw

At Sun, 24 Jan 2010 08:57:30 -0800 (PST),

Quoted 10 lines · Chris Rankin
Quoted 4 lines · Takashi Iwai
Quoted 2 lines

"Just as a FYI multi voice hardware mixing is not
present in the linux x-fi drivers."

It's a wrong information.

Takashi,

Thanks for replying, and confirming what Brendan has been saying :-). So how many hardware "voices" does the X-Fi driver support, please?

8 streams per channel, i.e. 64 streams.

Quoted 1 line

And is further development of snd-ctxfi stalled, pending any additional information from Creative?

It's stalled, AFAIK. I have no time for it, and no any patches given by others, too. Maybe you can ask Creative guys for any problems. The addresses can be found in git change log.

Takashi

#11 lore raw
Quoted 2 lines · Takashi Iwai

It's stalled, AFAIK.  I have no time for it, and no any patches given by others, too.

Fair enough. So for reference, the current ALSA matrix entry for snd-ctxfi would be:

[PCI]/[PCIe] [ANALOGio] [HWMix] [5.1] [7.1] ... and?

Quoted 1 line

Maybe you can ask Creative guys for any problems.

Heh, that sounds like a plan. Something along the lines of "I am thinking of buying a X-Fi card, and was wondering how functional it would be under Linux." ;-).

Thanks,
Chris