r/linuxaudio • • 1d ago

AE-X & Linux

I bought an AE-X... Stay tuned.

0 Upvotes

12 comments sorted by

3

u/Lunix420 Bitwig 1d ago

What’s an AE-X? Wasn’t that the son of Elon Musk?

3

u/3xHelix 1d ago

Creative's latest SoundBlaster. It's a weird boi. PCIe Bridge to USB, essentially an internal PCI USB Sound card... Lol

1

u/Lunix420 Bitwig 1d ago

Are there benefits to hooking the sound card to PCI?

2

u/3xHelix 1d ago

Internal vs External has a lot of pros and cons on both sides of the table. Personally, I have a SoundBlaster AE-9 and I don't plan on switching. But I was talked into getting an AE-X to sort out some issues some people ran into.

1

u/beatbox9 1d ago

It's class-compliant.

1

u/3xHelix 1d ago edited 1d ago

Does it offer 100% of its functionality, as seen/used in Windows, in the Linux env without any falts, failures, missing stuff?

Update: It was a legit question, but please downvote more. I rather that than an actual answer

3

u/beatbox9 1d ago

It offers 100% of its functionality. It does not offer 100% of its UI, because the UI they created is designed around Windows dependencies. In Linux, the audio UI will come in the form of pipewire. And this is true for pretty much any class compliant audio device on Linux.

1

u/3xHelix 1d ago

Awesome! Alright, good to hear. I'll have to look into the app side of things then. Thx for the heads up.

The question arose due to seeing quite a few posts of the AE-X identifying itself and showing up as expected. But no audio being produced by it. So, wasn't sure if it was still a problem.

2

u/beatbox9 1d ago

Here's a guide: https://arslaan.studio/setting-up-a-linux-media-studio-workstation-audio-video-graphics-davinci-resolve-etc/#audio-sound-midi-drivers

For optimal performance, you would use pipewire's pro-audio profile and set up anything else you want (eg. channel mappings, DSP, etc) via pipewire. This is probably how it will be in default anyway, because it doesn't look like there is an ALSA ucm2 already set up for it.

1

u/3xHelix 1d ago

Cool. Appreciate the link. I'll dig into that here shortly. The TL;DR version of all this is I saw some posts, a friend had an issue, and I was suckered into buying one to do driver stupidity if needed. Or spitpolish an app for it in Linux.

Anywho, I've been wrangling the AE-7/AE-9 cards with some people and it's led to a full features Out-Of-Tree working AE-9 driver. W/ AE-7 support. Still working the kinks out of the 7.

2

u/beatbox9 1d ago

Neither the AE-7 nor the AE-9 are class compliant; so they'd be significantly more difficult to get working (if at all). Those would require a lot of customization to ALSA (the actual hardware driver in Linux).

But with class compliant devices, the hardware driver just works on any OS, because the driver itself is standardized. Like the USB device announces itself as: "I am a standard audio interface and I have 12 outputs and 10 inputs and here is how to access each of them, and here is my frequency and my bit depth, etc"

The part that doesn't work is going to be things like channel routing (like which specific output channel is "front-center" or "rear-left" or "mono microphone in").

ALSA has one way to do this (called "ucm2" / "use case manager"); and community members sometimes create and contribute their ucm profiles back to ALSA so that even these channel-routing features will work plug-and-play for future users. But I looked and the AE-X doesn't have one (yet, unless you want to create one). You can see a bunch of these in progress here (and even start one if you want): https://github.com/alsa-project/alsa-ucm-conf/pulls

Separately, pipewire has its own way to do this. And pipewire's is more robust, with better performance, and is also more portable (at the user level, rather than the system level): https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/FAQ#does-pipewire-replace-alsa

(Pipewire does not come with built-in profiles preinstalled like alsa ucm does, so it's up to users to set things up, or download profiles on their own).

The guide I linked above has details, but here's the official pipewire reference manual: https://docs.pipewire.org/page_config.html

2

u/3xHelix 1d ago edited 1d ago

About that... :)
https://github.com/3xHelix/SbAe9-Drv
If I have to do one more VM VFIO capture... UGH. But yeah, AE7/9 work.

AE-x ucm land... I guess that's where I'll plant my flag. I'm no hero or in need of a pat on the back. I just want everyone to be able to enjoy proper audio in Linux. My field is just limited to Creative Labs gear atm.