Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Creative X-FI Soundblaster Drivers released v1.18 [HOWTO]
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... , 15, 16, 17  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Mr_Maniac
Guru
Guru


Joined: 10 Jun 2004
Posts: 543

PostPosted: Thu Jun 04, 2009 7:14 pm    Post subject: Reply with quote

I also compiled the driver today and it works great! Now, even 5.1-Sound works (card/device=default, NOT surround51)!
_________________
AMD Ryzen 5900X
64 GB DDR4 RAM
GeForce RTX 3080
Gentoo Linux (most recent stable kernel - amd64)
Windows 11 x64
Back to top
View user's profile Send private message
MaximeG
l33t
l33t


Joined: 15 Apr 2008
Posts: 722
Location: Belgium

PostPosted: Mon Jun 08, 2009 10:33 am    Post subject: Reply with quote

Hi,

Sounds like fun, I'll give it a try !

Maxime
_________________
Future is wide open.
Back to top
View user's profile Send private message
ClericLeech
n00b
n00b


Joined: 06 Jul 2006
Posts: 11

PostPosted: Tue Jun 09, 2009 9:03 pm    Post subject: Reply with quote

@Mr_Maniac:
For me it is still 2 channel audio only. Are you sure this drivers produces 5.1 sound with your X-Fi?

Edit: Okay my fault. Alsamixer showed channels unmuted, but actually all but front where muted.
7.1 sound works fine so far :twisted: finally
Back to top
View user's profile Send private message
Vaarsuvius
Guru
Guru


Joined: 02 Dec 2004
Posts: 345

PostPosted: Sat Jun 27, 2009 5:49 pm    Post subject: Reply with quote

I updated to kernel 2.6.30 and the xfi driver in portage (version 1.0) doesn't compile. So I tried the new alsa driver (the snapshot), but when I modprobe snd-ctxfi i get the following error in dmesg:
Code:
SB-XFi 0000:00:0c.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
SB-XFi 0000:00:0c.0: PCI: Disallowing DAC for device
architecture does not support PCI busmaster DMA with mask 0xffffffffffffffff
SB-XFi 0000:00:0c.0: PCI INT A disabled
ctxfi: Something wrong!!!


any ideas on what went wrong?
Back to top
View user's profile Send private message
szczerb
Veteran
Veteran


Joined: 24 Feb 2007
Posts: 1709
Location: Poland => Lodz

PostPosted: Sat Jun 27, 2009 6:09 pm    Post subject: Reply with quote

I don't have an X-Fi, but I just noticed that in kernel 2.6.31_rc1 there are drivers for it. Just thought some of you might not know and be interested :)
Back to top
View user's profile Send private message
Vaarsuvius
Guru
Guru


Joined: 02 Dec 2004
Posts: 345

PostPosted: Mon Jun 29, 2009 10:18 am    Post subject: Reply with quote

szczerb wrote:
I don't have an X-Fi, but I just noticed that in kernel 2.6.31_rc1 there are drivers for it. Just thought some of you might not know and be interested :)
Tried that, same error.
Back to top
View user's profile Send private message
MaximeG
l33t
l33t


Joined: 15 Apr 2008
Posts: 722
Location: Belgium

PostPosted: Tue Jun 30, 2009 10:09 am    Post subject: Reply with quote

Hi,

Does anyone know how to use (configure) xfi-drivers from portage ? I emerged it, but not sure what to do from now.

I already have another card up and running. Do I need to remove it before getting my XFI card to work ?
Do I need to remove ALSA drivers from kernel ?

Thanks,
Maxime
_________________
Future is wide open.
Back to top
View user's profile Send private message
ClericLeech
n00b
n00b


Joined: 06 Jul 2006
Posts: 11

PostPosted: Tue Jun 30, 2009 1:06 pm    Post subject: Reply with quote

Hi,
I had to remove all Alsa drivers from the kernel (2.6.30-zen1), but I had to leave Soundcore and Alsa activated to build the unstable version of alsa from Takashi Iwai, otherwise I always got unresolved symbols. After that alsaconf found my X-Fi Fatality and everything works fine.

But inside of KDE 4.2.4 I have the problem that I can only choose the alsa default output fallback in phonon. So using KDE I only get stereo channels, while every other application gives me 7.1 output.
Does anyone have an idea how to enable upmixing for amarok 2?
Back to top
View user's profile Send private message
dAlexis
n00b
n00b


Joined: 18 Apr 2004
Posts: 63
Location: Moscow region,Russia

PostPosted: Fri Jul 10, 2009 9:06 am    Post subject: Reply with quote

Anybody managed to use tv-card with PCI sound transferring with ctxfi? - described at link below

https://forums.gentoo.org/viewtopic-t-468139.html

tvtime don't see sound any analog tv channel... Mplayer is the same, I tried all from /dev/snd...
_________________
"The Matrix has you!" - "Let it be...."
Back to top
View user's profile Send private message
Vaarsuvius
Guru
Guru


Joined: 02 Dec 2004
Posts: 345

PostPosted: Wed Jul 22, 2009 2:09 pm    Post subject: Reply with quote

Vaarsuvius wrote:

Code:
SB-XFi 0000:00:0c.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
SB-XFi 0000:00:0c.0: PCI: Disallowing DAC for device
architecture does not support PCI busmaster DMA with mask 0xffffffffffffffff
SB-XFi 0000:00:0c.0: PCI INT A disabled
ctxfi: Something wrong!!!


I tried again today and googled for some time to find a solution... Now I actually have to quote myself and ask again if anyone might have a clue what's wrong.
I have a 64bit system/kernel, and this is my xfi (lspci -vv):
Code:
00:0c.0 Multimedia audio controller: Creative Labs SB X-Fi
   Subsystem: Creative Labs Device 0029
   Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
   Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
   Interrupt: pin A routed to IRQ 16
   Region 0: I/O ports at d400 [size=32]
   Region 1: Memory at dfc00000 (64-bit, non-prefetchable) [size=2M]
   Region 3: Memory at d8000000 (64-bit, non-prefetchable) [size=64M]
   Capabilities: [40] Power Management version 2
      Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
      Status: D0 PME-Enable- DSel=0 DScale=0 PME-
   Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Count=1/1 Enable-
      Address: 0000000000000000  Data: 0000
   Kernel modules: snd-ctxfi

So it's Creative Labs Device 0029, the number is different to what I usually find in forum postings. Maybe that's a problem.
Before I tried the new alsa-driver I used kernel 2.6.28 with the xfi-drivers from portage - those worked fine. But those don't compile with kernel 2.6.30.x installed and running on my system.

When I configure/compile/install the new alsa-driver (both the "regular" and the unstable snapshot from http://ftp.kernel.org/pub/linux/kernel/people/tiwai/alsa/alsa-driver/) I get the above mentioned error in dmesg.
But the module is loaded, and I can run alsaconf, which detects my xfi. In the end alsaconf claims to have set up my card successfully.
But nothing else works - for example when I run alsamixer there's this error:
Code:
alsamixer: function snd_ctl_open failed for default: No such file or directory

That's hardly surprising because my kernel doesn't know my sound card:
Code:
 # cat /proc/asound/cards
--- no soundcards ---


I can only guess that my specific version of the xfi isn't supported by the new driver (yet), but then I wonder, why it did work with the old xfi-driver.
Now I'm hoping for your support :-)
Back to top
View user's profile Send private message
Kronykus
n00b
n00b


Joined: 19 Jul 2009
Posts: 20

PostPosted: Sat Aug 01, 2009 9:57 pm    Post subject: Reply with quote

My advice is to:

Code:
echo "=sys-kernel/vanilla-sources-2.6.31_rc*" >> /etc/portage/package.unmask


and use that kernel unless there is some reason you can't.... I've been using using it for a few weeks now and no problems at all... You will have to patch nvidia-drivers if you use them to get them to work with the kernel but otherwise everything else runs fine. I don't have the link off-hand but the patch for nvidia-drivers is in bugzilla. Good luck


EDIT: I was just doing an update and it appears the nvidia-drivers-185.18.31 do NOT need to be patched! Haven't tried them yet but they compiled ok with no patching. I don't know if the patch was applied upstream or fixed by nvidia, but they did compile, which the previous versions would not do.
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sat Aug 01, 2009 10:22 pm    Post subject: Reply with quote

Mr_Maniac wrote:
5.1-Sound works (card/device=default, NOT surround51)!

That does not make any sense. default is surround20 - 2 speakers. surround51 is 5.1 speakers (2*2 stereo, plus front-centre, plus subwoofer).

So, surround20 is very different to surround51.

I suspect that you're using a video player such as mplayer which is automatically defaulting to surround51, because it sees that surround51 is appropriate and available.
Back to top
View user's profile Send private message
Azangod
Tux's lil' helper
Tux's lil' helper


Joined: 18 May 2005
Posts: 107
Location: Italy

PostPosted: Wed Aug 12, 2009 10:58 am    Post subject: Reply with quote

I'm pretty noob about those audio topics.
What I haven't understood is I must (or not) use alsa-driver from portage or can use in-kernel alsa-driver.
Back to top
View user's profile Send private message
tgurr
Retired Dev
Retired Dev


Joined: 27 Jan 2004
Posts: 571
Location: germany

PostPosted: Tue Aug 18, 2009 2:32 pm    Post subject: Reply with quote

Does the opensource xfi ALSA driver support hwmix or does anyone know if it can/will support it in future? Has probably been answered before, but the ALSA wiki doesn't have up2date content about it and a quick search didn't yield any useful information about it. My onboard soundcard is driving me nuts lately and since I play WoW and have to use TS2 besides it'd be really nice to have sound in both. :/ Thanks in advance.
Back to top
View user's profile Send private message
kreon28
Apprentice
Apprentice


Joined: 08 Jul 2006
Posts: 165

PostPosted: Sat Aug 29, 2009 6:45 pm    Post subject: Reply with quote

I have problem with installing alsa-unstable-driver.
Configure and make went smooth but make install gives me:
Code:

/sbin/depmod -a 2.6.29-gentoo-r5 -F /lib/modules/2.6.29-gentoo-r5/source/System.map
cat Warning
cat: Warning no such file or directory


any clue?
Back to top
View user's profile Send private message
<3
Veteran
Veteran


Joined: 21 Oct 2004
Posts: 1081

PostPosted: Mon Sep 07, 2009 5:09 pm    Post subject: Reply with quote

I am thinking about picking up a Creative X-FI PCI-e sound card, either the Titanium or the Fatality version because my on-board Realtek card just doesn't do my Logitech Z-680 speakers any justice. I have been waiting for years for a decent PCI-e sound card to emerge at a decent price range before shelling out the money on a sound card. So my question is this; Does the X-Fi line on Creative PCI-e sound cards work properly on Gentoo Linux and is the sound quality in Linux worthy of an upgrade from my on board sound. SPDIF optical 5.1 output is also important to me. Also I am running ALSA but I from what I've gathered people are having better success with OSS4, yet it is not yet supported in Gentoo so what is going on with that.
Back to top
View user's profile Send private message
rapsure
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 172
Location: Logan, UT USA

PostPosted: Wed Sep 09, 2009 12:47 am    Post subject: Reply with quote

The ctfxi driver does support hardware mixing. That was one of the first things I tried. So without messing with .asoundrc I can listen to both stereo and watch a dvd and play a enemy territory wolfenstein. Gotta love hardware mixing.
_________________
:) Hindi ko naintindihan, pakiulit. Sometimes my code works.
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2977
Location: Germany

PostPosted: Mon Sep 21, 2009 8:13 am    Post subject: Reply with quote

This doesn't really belong here anymore (Unsupported Software) since there is now a driver included in vanilla linux 2.6.31, but I still have a problem: mic doesn't work for me.

Has anyone gotten X-Fi to work with microphone in Linux? No matter what I do arecord either gives me silence or PCM output...

I also opened a thread here because I didn't find this one in time:
https://forums.gentoo.org/viewtopic-t-793438.html
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Tue Sep 22, 2009 7:01 am    Post subject: Reply with quote

frostschutz wrote:
This doesn't really belong here anymore (Unsupported Software) since there is now a driver included in vanilla linux 2.6.31, but I still have a problem: mic doesn't work for me.
At least in theory this topic should be for the unsupported versions of the X-Fi drivers, so it should remain here. Even so, an analogous topic for the supported versions would probably be useful.
frostschutz wrote:
I also opened a thread here because I didn't find this one in time:
https://forums.gentoo.org/viewtopic-t-793438.html
This might be a good candidate.
Back to top
View user's profile Send private message
Vaarsuvius
Guru
Guru


Joined: 02 Dec 2004
Posts: 345

PostPosted: Thu Sep 24, 2009 12:37 pm    Post subject: Reply with quote

Today I tried again to get my soundcard working, this time with:
linux kernel 2.6.31 and the alsa ctxfi driver in it
linux kernel 2.6.31 and alsa-driver-9999 from portage
both led to the same results as before (see my postings above)
So I finally hacked the official creative xfi-driver to compile against 2.6.31. And now sound is working again for me...
If anyone else runs into the same trouble as I did, here are the changes i made:
Code:
$ diff XFiDrv_Linux_Public_US_1.00 XFiDrv_Linux_Public_US_1.00-new
diff XFiDrv_Linux_Public_US_1.00/ctatc.h XFiDrv_Linux_Public_US_1.00-new/ctatc.h
25d24
< #include <sound/driver.h>
diff XFiDrv_Linux_Public_US_1.00/cthw20k1.c XFiDrv_Linux_Public_US_1.00-new/cthw20k1.c
23a24
> #include <linux/delay.h>
diff XFiDrv_Linux_Public_US_1.00/cthw20k2.c XFiDrv_Linux_Public_US_1.00-new/cthw20k2.c
23a24
> #include <linux/delay.h>
diff XFiDrv_Linux_Public_US_1.00/xfi.c XFiDrv_Linux_Public_US_1.00-new/xfi.c
14d13
< #include <sound/driver.h>
55,59c54,57
<    card = snd_card_new(index[dev], id[dev], THIS_MODULE, 0);
<    if (card == NULL) {
<       return -ENOMEM;
<    }
<
---
>    err = snd_card_create(index[dev], id[dev], THIS_MODULE, 0, &card);
>    if (err < 0)
>       return err;
>    
Back to top
View user's profile Send private message
RaceTM
Apprentice
Apprentice


Joined: 16 Feb 2004
Posts: 281

PostPosted: Sun Jul 11, 2010 10:26 pm    Post subject: Reply with quote

Vaarsuvius. My man. You have just solved a problem I have been fighting with for 3 days. I've also been having this issue, on a recently built arch linux box. For the life of me I haven't been able to figure it out. Finally I said screw it, I'll grab the creative driver and try what that guy on the gentoo forums suggested. You are my hero. If you're ever in Ottawa, I will buy you a beer.


Vaarsuvius wrote:
Today I tried again to get my soundcard working, this time with:
linux kernel 2.6.31 and the alsa ctxfi driver in it
linux kernel 2.6.31 and alsa-driver-9999 from portage
both led to the same results as before (see my postings above)
So I finally hacked the official creative xfi-driver to compile against 2.6.31. And now sound is working again for me...
If anyone else runs into the same trouble as I did, here are the changes i made:
Code:
$ diff XFiDrv_Linux_Public_US_1.00 XFiDrv_Linux_Public_US_1.00-new
diff XFiDrv_Linux_Public_US_1.00/ctatc.h XFiDrv_Linux_Public_US_1.00-new/ctatc.h
25d24
< #include <sound/driver.h>
diff XFiDrv_Linux_Public_US_1.00/cthw20k1.c XFiDrv_Linux_Public_US_1.00-new/cthw20k1.c
23a24
> #include <linux/delay.h>
diff XFiDrv_Linux_Public_US_1.00/cthw20k2.c XFiDrv_Linux_Public_US_1.00-new/cthw20k2.c
23a24
> #include <linux/delay.h>
diff XFiDrv_Linux_Public_US_1.00/xfi.c XFiDrv_Linux_Public_US_1.00-new/xfi.c
14d13
< #include <sound/driver.h>
55,59c54,57
<    card = snd_card_new(index[dev], id[dev], THIS_MODULE, 0);
<    if (card == NULL) {
<       return -ENOMEM;
<    }
<
---
>    err = snd_card_create(index[dev], id[dev], THIS_MODULE, 0, &card);
>    if (err < 0)
>       return err;
>    
Back to top
View user's profile Send private message
Belliash
Advocate
Advocate


Joined: 24 Nov 2004
Posts: 2503
Location: Wroclaw, Poland

PostPosted: Mon Jul 12, 2010 8:29 pm    Post subject: Reply with quote

Anyone tried notebook version of XFi soundcard connected to laptop via ExpressCard? I mena this exactly: http://en.store.creative.com/products/product.aspx?catid=1&pid=17988

And what about sound quality? I have SoundBlaster Live in my workstation computer and i use alsa emu10k1 driver + ld10k1 and sound is perfect for me (even better than on windows xp/vista). What about xfi linux drivers? Are they comparable? Best of all, sb live! plays the loudest from all sound cards i used (most were integrated). I hope XFi does not play more quietly...
_________________
Asio Software Technologies
Belliash IT Weblog
Back to top
View user's profile Send private message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1087

PostPosted: Tue Jul 13, 2010 9:43 am    Post subject: Reply with quote

Belliash wrote:
Anyone tried notebook version of XFi soundcard connected to laptop via ExpressCard? I mena this exactly: http://en.store.creative.com/products/product.aspx?catid=1&pid=17988
...

I would not buy that, since it plays only stereo not 5.1. I would preffer X-Fi Surround 5.1 usb. It is perfect for notebooks since it is a small usb card which has hardware volume and mute buttons. Also it is not that big compared to the express card one. It is cheaper and you can use it for all kind of computers, not just notebooks, as well.
The only interesting thing with express card one is wireless audio, but for that you have to buy it and it is the same price as the card. Thus, doubling the price :(
_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Back to top
View user's profile Send private message
Belliash
Advocate
Advocate


Joined: 24 Nov 2004
Posts: 2503
Location: Wroclaw, Poland

PostPosted: Tue Jul 13, 2010 1:44 pm    Post subject: Reply with quote

keenblade wrote:
Belliash wrote:
Anyone tried notebook version of XFi soundcard connected to laptop via ExpressCard? I mena this exactly: http://en.store.creative.com/products/product.aspx?catid=1&pid=17988
...

I would not buy that, since it plays only stereo not 5.1. I would preffer X-Fi Surround 5.1 usb. It is perfect for notebooks since it is a small usb card which has hardware volume and mute buttons. Also it is not that big compared to the express card one. It is cheaper and you can use it for all kind of computers, not just notebooks, as well.
The only interesting thing with express card one is wireless audio, but for that you have to buy it and it is the same price as the card. Thus, doubling the price :(


ok, but have You tried this card on Linux? I have read many opinions that some cards still does not work...
_________________
Asio Software Technologies
Belliash IT Weblog
Back to top
View user's profile Send private message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1087

PostPosted: Tue Jul 13, 2010 9:13 pm    Post subject: Reply with quote

Belliash wrote:
[ok, but have You tried this card on Linux? I have read many opinions that some cards still does not work...

Yes, I use this usb card on my gentoo. It works fine with module "snd_usb_audio". With alsa 5.1 sound works fine while watching dvd. But the hardware volume and mute buttons not working, yet. Speaker test correctly recognizes 5.1 system:
Code:

 speaker-test -Dplug:surround51:1 -c6 -twav
speaker-test 1.0.23

Playback device is plug:surround51:1
Stream parameters are 48000Hz, S16_LE, 6 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 87381
Period size range from 48 to 43690
Using max buffer size 87380
Periods = 4
was set period_size = 21845
was set buffer_size = 87380

 0 - Front Left
 4 - Center
 1 - Front Right
 3 - Rear Right
 2 - Rear Left
 5 - LFE

I haven't created an .asoundrc file, for playing 5.1 sound from stereo mp3 files, but pulseaudio does that easily. But I rather do not use pulseaudio.
Anyway X-Fi Surround 5.1 sounds really good. Also if you look at my sign, I am in the process of searching info and adjusting the card for my gentoo.
_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3 ... , 15, 16, 17  Next
Page 16 of 17

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum