Jump to content
The Inquirer-Home

Creative opens up its Linux X-Fi driver

Finally sees the light of open sauce
Friday, 7 November 2008, 11:22

IT CAME OUT yesterday that Creative Labs has thrown in the towel on its Soundblaster X-Fi driver for Linux and released the source code under the GNU General Public Licence (GPL) version 2.

The binary driver Creative initially released for its rearchitected X-Fi sound card technology was simply horrible. It was released extremely late, riddled with so many severe bugs that it was effectively unusable, for quite a while supported only 64-bit Linux, and was lacking any Advanced Linux Sound Architecture (ALSA) support.

The company struggled to provide a decent Linux driver for the Soundblaster X-Fi line for over two years without much success.

It promised Linux support in June 2006, projecting at the time that it would release the binary driver in the second quarter of 2007 and promising X-Fi would have full ALSA, OpenAL 1.1 and Environmental Audio Extensions (EAX) support.

Alas, it was not to be. Creative admitted in May 2007 that the development effort required to support Microsoft Vista had forced it to postpone development of the X-Fi Linux driver.

Creative finally came out with a Soundblaster X-Fi Linux driver of sorts in September 2007, but that was disappointing to say the least. Not only was it binary-only – which meant Free Software purists wouldn't use it – but it supported only 64-bit Linux.

One had to wonder, what was Creative thinking, that perhaps only Linux users running 64-bit software on massive web and database servers and HPC workstations loaded up with more than 4GB of RAM would have Soundblaster X-Fi cards?

The binary X-Fi driver also required an obsolete version of the GCC libraries and didn't run well or at all on many popular Linux distributions.

However, last February Creative provided some X-Fi source headers and documentation to 4Front Technologies, enabling it to produce an X-Fi driver for the Linux Open Sound System (OSS). That effort was at least partially successful, though 4Front's OSS driver had its share of bugs and other problems, and it still didn't support ALSA, which is the dominant Linux sound processing regime used in many of the most popular distributions.

Then Creative tried again in April, at last delivering a 32-bit X-Fi binary driver, albeit in a tentative beta release. But the status of Creative's X-Fi support of Linux was still abysmal, more than two years after the first cards were sold and over a year after Creative Labs had released its initial Soundblaster X-Fi driver for Linux.

A single Novell developer started work on porting 4Front's OSS X-Fi driver to ALSA, but that lone developer didn't even have any Soundblaster X-Fi hardware to work with and the project obviously lacked sufficient resources to handle such an ambitious software effort.

But now Creative Labs has released all the source code to its Soundblaster X-Fi driver for Linux under the GPLv2 free software licence.

Rather than being seen as Creative suddenly seeing the light about the advantages of open sauce software development, it's more likely that the company simply threw up its hands, saying in effect that if Linux users want an X-Fi driver that really works properly, they can just jolly well get together and write it themselves.

Which a few itchy Linux coders surely will do.

The company also might have anticipated that revisions to its software drivers needed to support Windows 7 (aka Windows ME II SP1.a) could distract its developers for a while.

Creative Labs' XFiDrv 1.00 driver, which consists of 13,000 lines of source code, supports the full Soundblaster X-Fi line, including XtremeMusic, XtremeGamer, Fatal1ty, Platinum, Elite Pro, and Titanium series sound cards. It's supposedly capable of handling ALSA PCM playback, ALSA recording and ALSA mixing, but doesn't yet support external I/O modules.

The announcement was made on the Creative Labs Forums and the full source-code is available for download from its support area as file XFiDrv_Linux_Public_US_1.00.tar.gz.

The released driver reportedly still has a few bugs, but many eyes should quickly fix those and, whatever its motivations might have been, Creative Labs deserves applause for finally doing the right thing. µ

L'Inq
Phoronix

Share this:

Comments
CoreAudio

Maybe now somebody can port the X-Fi Drivers to OSX with proper CoreAudio support.

Its about time we had a decent internal audio card for our Tower Macs (G4/5/Intel)

posted by : MrManGuy, 07 November 2008 Complain about this comment
Its all good

Finally companies starting to see sense but for a massive player on the market you would expect them to have a large team of driver writers like nvidia and amd has.

oh yeah and dont flame windows 7 before you have even tried the pre beta because even for a pre beta it actually runs a lot faster and more stable then even vista in its current incarnation :)

windows 7 6.1.6801 might i add just look on your local friendly torrent site :)

posted by : Mauller07, 07 November 2008 Complain about this comment
One step closer...

They just need to release the Windows Vista drivers now!!!!

posted by : Pete, 07 November 2008 Complain about this comment
About Time...

Finally they release the drivers, probably after a "asking for it" thread of more than 1 thousand post.

posted by : Kaizer Douken, 07 November 2008 Complain about this comment
New, not just open

The XFi Linux driver released the other day wasn't just old code finally revealed to the public. They can be quickly integrated into the latest distros and a far better than what has been seen before from Creative. So far, they actually work.

posted by : Bob, 07 November 2008 Complain about this comment
Open Source

Now if only they'd open source their Windows drivers so that the damned things don't BSOD all the time...

posted by : David, 07 November 2008 Complain about this comment
Now if they had...

...Just opened the driver code to begin with, they wouldn't have needed to go through 3 years of pain and binary nonsense! (They would've made more sales in hardware!)

Here's a lesson for ALL hardware makers. If you want Linux support, here are 4 options:

(1) Release the source code of the driver yourself. (eg: Creative, Ralink, etc)

OR

(2) Ask the community for help with driver development. Talk to experienced Linux driver devs and get them the specs under NDA. (This way, you are protected from any potential patent problems, while the driver code is still open source).

Go here: 
=> http://www.kroah.com/log/linux/linux_driver_project_kickoff.html
=> http://www.linuxdriverproject.org/twiki/bin/view

OR

(3) Open the specs and let us write the driver...The traditional way. (This is what AMD did with Radeon specs...But it will require a lawyer/coder or two to sweep through potent legal concerns if your hardware has third-party things in it).


OR

(4) Open the driver code, as well as assign a small number of employees to a open driver project. Invite the community to help and contribute. (This is what Intel has done with their IGP support in Linux).

To be honest, we would love to support as much hardware as possible. All you hardware folks need to do is ask, and we'll be more than willing to support you.

Result? => Your hardware is supported in Linux. You get hardware sales from Linux users, and it costs you nothing for Linux driver development (If you adopt (1), (2), or (3)). We get an open driver and we handle the software bugs/fixes. End-users happy, as they get an "out of the box" support for their hardware.

A Win-Win with community cooperation.

posted by : aussiebear, 07 November 2008 Complain about this comment
Now if they'd only do this with MP3 players

Sorry this if off topic a bit but it is in the spirit of the article - sort of: Now if they'd do this with some of their MP3 players, I'd be a happy guy finally - and so would 50 pages worth of fellow Zen users.(http://forums.creative.com/creativelabs/board/message?board.id=dap&thread.id=199672&view=by_date_ascending&page=1 )

How hard can it be to integrate their SD card expansion slot into the main memory of the unit without all hell breaking lose? If they open sourced this kind of thing too, they'd find themselves selling boatloads of MP3 players once more...and probably out of the verge of going bust? Who buys Creative anymore anyhow? Uh, definitely not me from here on out...shafted once, never to be again...

You've been warned!

posted by : Drew, 07 November 2008 Complain about this comment
64-bit rarity?

"One had to wonder, what was Creative thinking, that perhaps only Linux users running 64-bit software on massive web and database servers and HPC workstations loaded up with more than 4GB of RAM would have Soundblaster X-Fi cards?"

How wrong are you? I've been using 64-bit Linuxes for years now. I have 5+ years old AMD 64 and I prefer using 64-bit systems on it, simply because it's faster.

posted by : Lunix, 19 November 2008 Complain about this comment
Advertisement
Subscribe to the INQ Newsletter
Sign-up for the INQBot weekly newsletter
Click here to sign up Existing user
Advertisement
INQ Poll

Browsers

Who will win the next round of browser wars?