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 ... 11, 12, 13 ... 15, 16, 17  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
the_root
n00b
n00b


Joined: 26 Apr 2008
Posts: 12
Location: Sofia, Bulgaria

PostPosted: Mon Jul 21, 2008 2:05 am    Post subject: Reply with quote

jbdubbs wrote:
Question for the author of the baselayout 2 init script: Why do you unload all snd-.* before loading the X-Fi driver?


If you have 2 or more sound devices .. like me for example, probably you will prefer to use the X-Fi one as first in order. Do not care about the snd-* modules, alsa will load it again, and will automaticly put it after the X-Fi.
_________________
Vasko Tsintsev
Back to top
View user's profile Send private message
the_root
n00b
n00b


Joined: 26 Apr 2008
Posts: 12
Location: Sofia, Bulgaria

PostPosted: Mon Jul 21, 2008 2:10 am    Post subject: Reply with quote

iSacrifice wrote:
Hello. I'm stuck with installation of these drivers: http://cincev.com/mnt/store/users/admin/xfidrv-1.18.2.tgz. I did everything as written, including cleaning of old installations. Actually, everything stops at the point of "creating Makefile.conf" of "./configure && make && make install && rc-update -a ctsound default && reboot" command.
Here are few last rows of //var/log/creative-installer.log:

Code:
make -f /tmp/xfisrc/Makefile.build
make -C /lib/modules/2.6.25-gentoo-r6/build SUBDIRS=/tmp/xfisrc/src/plugins/cthwiut modules
make[3]: Entering directory `/usr/src/linux-2.6.25-gentoo-r6'
  LD [M]  /tmp/xfisrc/src/plugins/cthwiut/cthwiut.o
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: "InterlockedDecrement" [/tmp/xfisrc/src/plugins/cthwiut/cthwiut.ko] undefined!
WARNING: "register_plugin" [/tmp/xfisrc/src/plugins/cthwiut/cthwiut.ko] undefined!
WARNING: "heap_free" [/tmp/xfisrc/src/plugins/cthwiut/cthwiut.ko] undefined!
WARNING: "unregister_plugin" [/tmp/xfisrc/src/plugins/cthwiut/cthwiut.ko] undefined!
WARNING: "heap_alloc" [/tmp/xfisrc/src/plugins/cthwiut/cthwiut.ko] undefined!
WARNING: "InterlockedIncrement" [/tmp/xfisrc/src/plugins/cthwiut/cthwiut.ko] undefined!
  CC      /tmp/xfisrc/src/plugins/cthwiut/cthwiut.mod.o
  LD [M]  /tmp/xfisrc/src/plugins/cthwiut/cthwiut.ko
make[3]: Leaving directory `/usr/src/linux-2.6.25-gentoo-r6'
make[2]: Leaving directory `/home/sacrifice/Desktop/drivers/src/plugins/cthwiut'
cp -f /tmp/xfisrc/src/plugins/cthwiut/cthwiut.ko .
make[1]: Leaving directory `/home/sacrifice/Desktop/drivers'

make -f /tmp/xfisrc/Makefile.build install
make[1]: Entering directory `/home/sacrifice/Desktop/drivers'
Copy module files...
Update module dependency relationships...
Install database files...
# @cd /etc/; chmod a+rw -R creative
Create device node files...
Install script files...
install /tmp/xfisrc/ctsound to /etc/init.d...
./ctsound: line 114:  9259 Killed                  $modprobe $mod
make[1]: *** [load] Interrupt              //here I stopped the script - terminal reported no errors or anything, last row was just saying "creating Makefile.conf" and that's it

If I try to replace file ctsound with one, stored here, it returns error 2.
Before trying this driver, tried original, but got "make: *** [all] Error 2". Also tried other ways before posting here, listed in Wiki, including editing different files, but it didn't help. So now hope for your help :(
Gentoo-2.6.25 - x86_64; Athlon64x2, X-Fi Xtreme Gamer


Is your filesistem "ReiserFS" ?
_________________
Vasko Tsintsev
Back to top
View user's profile Send private message
Heissi
n00b
n00b


Joined: 22 Feb 2008
Posts: 5

PostPosted: Tue Jul 22, 2008 11:49 am    Post subject: Reply with quote

I just installed the drivers for SB X-Fi (I followed this Howto).

Then I wanted to test the speaker configuration:
Code:
heissi heissi # /etc/init.d/ctsound start
 * Loading X-Fi drivers  ...                                              [ ok ]
 * Alsa control restore ...                                               [ ok ]
heissi heissi # /etc/init.d/alsasound start
 * Loading ALSA modules ...
 *   Loading: snd-seq-oss ...                                             [ ok ]
 *   Loading: snd-pcm-oss ...                                             [ ok ]
 * Restoring Mixer Levels ...                                             [ ok ]
heissi heissi # speaker-test -c 6 -D surround51

speaker-test 1.0.16

Playback device is surround51
Stream parameters are 48000Hz, S16_LE, 6 channels
Using 16 octaves of pink noise
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51
Playback open error: -2,No such file or directory
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51
Playback open error: -2,No such file or directory
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51
Playback open error: -2,No such file or directory


Unknown PCM?
Here I found a description of "surround51".
So basically the sounddriver must provide this plugin, right?

Can I somehow "create" this plugin or am I unable to play 5.1 sound?
Back to top
View user's profile Send private message
na85
n00b
n00b


Joined: 01 Jun 2008
Posts: 12

PostPosted: Wed Jul 23, 2008 1:36 am    Post subject: Reply with quote

hi all.

I tried following the guides in this thread to no avail.

My situation is:

I can get the driver to install just fine using creative's (shitty) installer. Sound works great! No crackling, mp3's via audacious play fine, as do youtube vids, etc. However when I reboot and do

Code:
/etc/init.d/ctsound start


I get kernel oops 0000 preempt smp

here's my lsmod, if that helps.
Code:
Module                  Size  Used by
ctalsa                574370  1
ctossrv               155648  1 ctalsa
snd_pcm                77768  1 ctalsa
snd_timer              22096  1 snd_pcm
snd_page_alloc          8592  1 snd_pcm
snd                    56584  3 ctalsa,snd_pcm,snd_timer
soundcore               7392  2 ctalsa,snd
nvidia               8106160  24
e1000e                100004  0


This latest attempt at installing was done using the guide in this thread: http://ubuntuforums.org/showpost.php?p=4823915&postcount=675

I'm running 2.6.25-gentoo-r6 on intel Core 2 Duo E8400.

My file system is ext2, so unfortunately the solution for kernel oops with reiserfs doesn't apply to me. (Could it have to do with journaling, though?)

Any help would be appreciated.
Back to top
View user's profile Send private message
aidanjt
Veteran
Veteran


Joined: 20 Feb 2005
Posts: 1118
Location: Rep. of Ireland

PostPosted: Wed Jul 23, 2008 3:31 pm    Post subject: Reply with quote

My solution was to just get rid of the piece of crap, alternatively the ALSA team finally received the spec sheets for the card, so expect real support for it in the 2.6.27 or 2.6.28 kernels.
_________________
juniper wrote:
you experience political reality dilation when travelling at american political speeds. it's in einstein's formulas. it's not their fault.
Back to top
View user's profile Send private message
Wizumwalt
Guru
Guru


Joined: 20 Aug 2006
Posts: 547

PostPosted: Wed Jul 23, 2008 11:59 pm    Post subject: X-Fi driver help Reply with quote

I've got a Creative Labs X-Fi Titanium Fatal1ty sound card (which I now regret buying) and I'm just trying to get some basic sound from a game working but having issues. Supposedly, this is something that should work.

Creative Lab's has released an ALSA driver and I was hoping someone could lend a hand w/ my config.

I've configured my kernel as stated here.
http://www.gentoo.org/doc/en/alsa-guide.xml

Here's the error I'm getting trying to install the driver.
Code:

XFiDrv_Linux_US-1.18 # ./installer
Setup is unable to detect a supported product on your system
Setup will now exit


And here's my config.
Code:

# lspci -v | grep -i audio
00:1b.0 Audio device: Intel Corporation 631xESB/632xESB High Definition Audio Controller (rev 09)
03:00.0 Audio device: Creative Labs Unknown device 000b (rev 03)

# cat /proc/asound/cards
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xdfffc000 irq 16

# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.14rc1 (Tue Jan 09 09:56:17 2007 UTC).

# cat /proc/asound/oss/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.14rc1 emulation code)
Kernel: Linux Storm 2.6.20-gentoo-r8 #4 SMP Tue Jul 22 09:28:43 UTC 2008 x86_64
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
HDA Intel at 0xdfffc000 irq 16

Audio devices:
0: STAC92xx Analog (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices: NOT ENABLED IN CONFIG

Timers:
7: system timer

Mixers:
0: SigmaTel STAC9200


I think the problem for my error msg above is that according to the ./installer, I'm trying to run a line like "lspci -vnmd 1102:0005", and nothing is being returned, and my device isnt' being recognized.

Anyone know what I need to do to get the X-Fi card to show up?
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Thu Jul 24, 2008 12:09 am    Post subject: Reply with quote

Merged the above post.
Back to top
View user's profile Send private message
the_root
n00b
n00b


Joined: 26 Apr 2008
Posts: 12
Location: Sofia, Bulgaria

PostPosted: Thu Jul 24, 2008 2:36 am    Post subject: Reply with quote

na85 wrote:
hi all.

I tried following the guides in this thread to no avail.

My situation is:

I can get the driver to install just fine using creative's (shitty) installer. Sound works great! No crackling, mp3's via audacious play fine, as do youtube vids, etc. However when I reboot and do

Code:
/etc/init.d/ctsound start


I get kernel oops 0000 preempt smp

here's my lsmod, if that helps.
Code:
Module                  Size  Used by
ctalsa                574370  1
ctossrv               155648  1 ctalsa
snd_pcm                77768  1 ctalsa
snd_timer              22096  1 snd_pcm
snd_page_alloc          8592  1 snd_pcm
snd                    56584  3 ctalsa,snd_pcm,snd_timer
soundcore               7392  2 ctalsa,snd
nvidia               8106160  24
e1000e                100004  0


This latest attempt at installing was done using the guide in this thread: http://ubuntuforums.org/showpost.php?p=4823915&postcount=675

I'm running 2.6.25-gentoo-r6 on intel Core 2 Duo E8400.

My file system is ext2, so unfortunately the solution for kernel oops with reiserfs doesn't apply to me. (Could it have to do with journaling, though?)

Any help would be appreciated.


Try to edit the following file: "/etc/init.d/ctsound" , search for line:
drivers="ctossrv ctsfman emupia ct20xut ctexfifx cthwiut haxfi ctalsa"
and replace it with line:
drivers="ctossrv emupia ctsfman haxfi ctalsa ct20xut ctexfifx cthwiut"

also, depending on your baselayout - found a way to put the same modules in the blacklist file. It's because udev will find the device and will autoprobe the same modules, but in wrong order and this will produce kernel oops for sure.

http://www.gentoo.org/doc/en/udev-guide.xml -> Code Listing 3.5: Blacklisting modules
_________________
Vasko Tsintsev
Back to top
View user's profile Send private message
iSacrifice
n00b
n00b


Joined: 12 Jul 2008
Posts: 3
Location: Russia, Moscow

PostPosted: Thu Jul 24, 2008 4:06 pm    Post subject: Reply with quote

the_root wrote:

Is your filesistem "ReiserFS" ?

Yes, root partition is reiserfs. I also have my /usr/src/linux/fs/reiserfs/file.c file modified, as it suggested in Gentoo Wiki X-Fi page
Back to top
View user's profile Send private message
na85
n00b
n00b


Joined: 01 Jun 2008
Posts: 12

PostPosted: Fri Jul 25, 2008 1:46 am    Post subject: Reply with quote

the_root wrote:


Try to edit the following file: "/etc/init.d/ctsound" , search for line:
drivers="ctossrv ctsfman emupia ct20xut ctexfifx cthwiut haxfi ctalsa"
and replace it with line:
drivers="ctossrv emupia ctsfman haxfi ctalsa ct20xut ctexfifx cthwiut"

also, depending on your baselayout - found a way to put the same modules in the blacklist file. It's because udev will find the device and will autoprobe the same modules, but in wrong order and this will produce kernel oops for sure.

http://www.gentoo.org/doc/en/udev-guide.xml -> Code Listing 3.5: Blacklisting modules


Thanks for the tip, unfortunately it doesn't seem to have worked. I already had edited my ctsound initscript. I added ctossrv, emupia, ctsfman, haxfi, ctalsa, ct20xut, ctexfifx, and cthwiut to /etc/modprobe.d/blacklist but nothing seems to have changed. I still get kernel oops when I run /etc/init.d/ctsound
Back to top
View user's profile Send private message
the_root
n00b
n00b


Joined: 26 Apr 2008
Posts: 12
Location: Sofia, Bulgaria

PostPosted: Fri Jul 25, 2008 6:14 pm    Post subject: Reply with quote

iSacrifice wrote:
the_root wrote:

Is your filesistem "ReiserFS" ?

Yes, root partition is reiserfs. I also have my /usr/src/linux/fs/reiserfs/file.c file modified, as it suggested in Gentoo Wiki X-Fi page


Can you try again, but this time execute: "./configure && make clean && make && make installonly" , and then:
"modprobe ctossrv && modprobe emupia && modprobe ctsfman && modprobe haxfi && modprobe ctalsa && modprobe ct20xut && modprobe ctexfifx && modprobe cthwiut" ,
then publish the last 20 rows of DMESG command .
_________________
Vasko Tsintsev
Back to top
View user's profile Send private message
the_root
n00b
n00b


Joined: 26 Apr 2008
Posts: 12
Location: Sofia, Bulgaria

PostPosted: Fri Jul 25, 2008 6:20 pm    Post subject: Reply with quote

na85 wrote:

Thanks for the tip, unfortunately it doesn't seem to have worked. I already had edited my ctsound initscript. I added ctossrv, emupia, ctsfman, haxfi, ctalsa, ct20xut, ctexfifx, and cthwiut to /etc/modprobe.d/blacklist but nothing seems to have changed. I still get kernel oops when I run /etc/init.d/ctsound


Download this: http://cincev.com/mnt/store/users/admin/xfidrv-1.18.2.tgz , clean all previews installations and execute this:
"make clean && ./configure --prefix=/usr --exec-prefix=/usr && make && make install && reboot"
_________________
Vasko Tsintsev
Back to top
View user's profile Send private message
Wizumwalt
Guru
Guru


Joined: 20 Aug 2006
Posts: 547

PostPosted: Sat Jul 26, 2008 4:34 pm    Post subject: Reply with quote

Having a problem trying to get my X-Fi card recognized by gentoo. Below is what my kernel is seeing, but it's not seeing the X-Fi card I just put in.

I've configured my system as stated in this guide ... http://www.gentoo.org/doc/en/alsa-guide.xml

Code:

# lspci -v | grep -i audio
00:1b.0 Audio device: Intel Corporation 631xESB/632xESB High Definition Audio Controller (rev 09)
03:00.0 Audio device: Creative Labs Unknown device 000b (rev 03)

# cat /proc/asound/cards
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xdfffc000 irq 16

# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.14rc1 (Tue Jan 09 09:56:17 2007 UTC).

# cat /proc/asound/oss/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.14rc1 emulation code)
Kernel: Linux Storm 2.6.20-gentoo-r8 #4 SMP Tue Jul 22 09:28:43 UTC 2008 x86_64
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
HDA Intel at 0xdfffc000 irq 16

Audio devices:
0: STAC92xx Analog (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices: NOT ENABLED IN CONFIG

Timers:
7: system timer

Mixers:
0: SigmaTel STAC9200


Anyone know what I need to do to get the X-Fi card to show up so that I can start working w/ the sound drivers for this card?
Back to top
View user's profile Send private message
iSacrifice
n00b
n00b


Joined: 12 Jul 2008
Posts: 3
Location: Russia, Moscow

PostPosted: Wed Jul 30, 2008 9:24 pm    Post subject: Reply with quote

few more than 20 last rows of dmesg are:
Code:
Code:  Bad RIP value.
RIP  [<0000000000000000>]
 RSP <ffff8100bc589c90>
CR2: 0000000000000000
---[ end trace e39f44f3026e2c14 ]---
ACPI: PCI Interrupt Link [APC6] enabled at IRQ 16
ACPI: PCI Interrupt 0000:07:00.0[A] -> Link [APC6] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:07:00.0 to 64
NVRM: loading NVIDIA UNIX x86_64 Kernel Module  173.14.09  Wed Jun  4 23:40:50 PDT 2008
ReiserFS: sdd3: Removing [256651 256843 0x0 SD]..done
ReiserFS: sdd3: Removing [29045 256651 0x0 SD]..done
ReiserFS: sdd3: There were 2 uncompleted unlinks/truncates. Completed
Adding 500464k swap on /dev/sdd2.  Priority:-1 extents:1 across:500464k
eth1: no link during initialization.
ADDRCONF(NETDEV_UP): eth1: link is not ready
warning: `avahi-daemon' uses 32-bit capabilities (legacy support in use)
attempt to access beyond end of device
sdc: rw=0, want=1250258497, limit=625142448
printk: 23 messages suppressed.
Buffer I/O error on device sdc1, logical block 625129216
attempt to access beyond end of device
sdc: rw=0, want=1250258499, limit=625142448
Buffer I/O error on device sdc1, logical block 625129217
attempt to access beyond end of device
sdc: rw=0, want=1250258501, limit=625142448
Buffer I/O error on device sdc1, logical block 625129218
attempt to access beyond end of device
sdc: rw=0, want=1250258503, limit=625142448
Buffer I/O error on device sdc1, logical block 625129219
attempt to access beyond end of device
sdc: rw=0, want=1250258497, limit=625142448
attempt to access beyond end of device
sdc: rw=0, want=1250258499, limit=625142448
attempt to access beyond end of device
sdc: rw=0, want=1250258501, limit=625142448
attempt to access beyond end of device
sdc: rw=0, want=1250258503, limit=625142448
attempt to access beyond end of device
sdc: rw=0, want=1250258609, limit=625142448
attempt to access beyond end of device
sdc: rw=0, want=1250258611, limit=625142448
attempt to access beyond end of device
sdc: rw=0, want=1250258613, limit=625142448
attempt to access beyond end of device
sdc: rw=0, want=1250258615, limit=625142448
attempt to access beyond end of device
sdc: rw=0, want=1250258609, limit=625142448
attempt to access beyond end of device
sdc: rw=0, want=1250258611, limit=625142448
attempt to access beyond end of device
sdc: rw=0, want=1250258613, limit=625142448
attempt to access beyond end of device
sdc: rw=0, want=1250258615, limit=625142448
attempt to access beyond end of device
sdc: rw=0, want=1250258625, limit=625142448
attempt to access beyond end of device
sdc: rw=0, want=1250258625, limit=625142448
attempt to access beyond end of device
sdc: rw=0, want=1250258625, limit=625142448
attempt to access beyond end of device
sdc: rw=0, want=1250258625, limit=625142448
attempt to access beyond end of device
sdc: rw=0, want=1250258625, limit=625142448
attempt to access beyond end of device
sdc: rw=0, want=1250258625, limit=625142448
attempt to access beyond end of device
sdc: rw=0, want=1250258625, limit=625142448
attempt to access beyond end of device
sdc: rw=0, want=1250258561, limit=625142448
attempt to access beyond end of device
sdc: rw=0, want=1250258563, limit=625142448
attempt to access beyond end of device
sdc: rw=0, want=1250258565, limit=625142448
attempt to access beyond end of device
sdc: rw=0, want=1250258567, limit=625142448
attempt to access beyond end of device
sdc: rw=0, want=1250258609, limit=625142448
attempt to access beyond end of device
sdc: rw=0, want=1250258611, limit=625142448
attempt to access beyond end of device
sdc: rw=0, want=1250258613, limit=625142448
attempt to access beyond end of device
sdc: rw=0, want=1250258615, limit=625142448
attempt to access beyond end of device
sdc: rw=0, want=1250258625, limit=625142448
attempt to access beyond end of device
sdc: rw=0, want=1250258625, limit=625142448
eth0: no IPv6 routers present
Clocksource tsc unstable (delta = -143914710 ns)


it must be something wrong, I actually don't know :)
sdc is another HD with NTFS system on it
Back to top
View user's profile Send private message
na85
n00b
n00b


Joined: 01 Jun 2008
Posts: 12

PostPosted: Wed Aug 13, 2008 12:36 am    Post subject: Reply with quote

the_root wrote:
na85 wrote:

Thanks for the tip, unfortunately it doesn't seem to have worked. I already had edited my ctsound initscript. I added ctossrv, emupia, ctsfman, haxfi, ctalsa, ct20xut, ctexfifx, and cthwiut to /etc/modprobe.d/blacklist but nothing seems to have changed. I still get kernel oops when I run /etc/init.d/ctsound


Download this: http://cincev.com/mnt/store/users/admin/xfidrv-1.18.2.tgz , clean all previews installations and execute this:
"make clean && ./configure --prefix=/usr --exec-prefix=/usr && make && make install && reboot"


Ok still a similar problem. Works fine immediately after install, but when I reboot it fails to load the driver. Did some digging, and tried to modprobe all the modules by hand in the order as given in the ctsound initscript (same as your previous post). modprobe ctalsa fails. All I get is a message saying "Killed"

If I reboot (not having ctsound start automatically) and do make install, the driver works.

So I did more digging to try and find out the difference between doing make install and /etc/init.d/ctsound start. I can't find anything that would explain why it fails when I try to load the driver, as opposed to install the driver. All the install process does is copy the modules to the proper directory, updates modules.dep, attempts to update the blacklisting, and copies some database files. Then it calls ./ctsound load. If I try and do ./ctsound load after a reboot, it fails/crashes when modprobing ctalsa.
Back to top
View user's profile Send private message
garlicbread
Apprentice
Apprentice


Joined: 06 Mar 2004
Posts: 182

PostPosted: Sat Aug 23, 2008 2:57 pm    Post subject: Reply with quote

i've just posted an ebuild for the 2nd beta 1.18
over at the bugzilla https://bugs.gentoo.org/show_bug.cgi?id=193670
which includes blacklisting for the modules as well

I haven't managed to get things working yet, but I'm getting close
I think the version of the kernel / alsa has a large part to play
with 2.6.26 modprobing ctalsa generates a BUG error with nothing listed in /proc/asound/cards (I've loaded the modules in the above order as suggested)
with 2.6.23 this seems to be much more promising with X-FI listed under /proc/asound/cards
but still a BUG error under dmesg (more hidden) and is still generating and no sound so far
will need to try 2.6.22 next

EDIT
holy crap it works, currently using one of the old 2.6.23 gentoo sources
I normally feed in my sound from my cable tv box through the external front header (the one mounted in a 5 1/4 bay)
considering the release notes mentioned the external header doesn't work yet, I'm quite surprised
the optical input on the front that I use for the PS3 works as well

to get to the mixer I had to use alsamixer -c1
as it's recognized as the 2nd card on the system
also ctalsa does take a long time to load, probably because of the bug

even though it's working I'm still getting a rather unhealthy looking message within dmesg and /var/log/messages
I've posted it on bugzilla for info

Edit
I've now got mplayer working, although I'm getting an odd skip now and again when playing an mp3 not that often though
need to set "ao=oss" within /etc/mplayer/mplayer.conf
also I needed to symlink
ln -s /dev/dsp1 /dev/dsp
before mplayer would work
I'll look at udev next to see if we can get rid of the mknod's in the ctsound script
Back to top
View user's profile Send private message
the_root
n00b
n00b


Joined: 26 Apr 2008
Posts: 12
Location: Sofia, Bulgaria

PostPosted: Sun Sep 28, 2008 10:13 am    Post subject: Reply with quote

yes, it happens sometimes, there is a big mess arround the "modules autoload" ,"modules blacklist" .. and other , so, check up this, in "/etc" -> "udev" -> "blacklist" .. after the installation - there are few modules added to blacklist , which doesn't have to be there .. , also take a look at "modules.conf" .. and similar ...

na85 wrote:
the_root wrote:
na85 wrote:

Thanks for the tip, unfortunately it doesn't seem to have worked. I already had edited my ctsound initscript. I added ctossrv, emupia, ctsfman, haxfi, ctalsa, ct20xut, ctexfifx, and cthwiut to /etc/modprobe.d/blacklist but nothing seems to have changed. I still get kernel oops when I run /etc/init.d/ctsound


Download this: http://cincev.com/mnt/store/users/admin/xfidrv-1.18.2.tgz , clean all previews installations and execute this:
"make clean && ./configure --prefix=/usr --exec-prefix=/usr && make && make install && reboot"


Ok still a similar problem. Works fine immediately after install, but when I reboot it fails to load the driver. Did some digging, and tried to modprobe all the modules by hand in the order as given in the ctsound initscript (same as your previous post). modprobe ctalsa fails. All I get is a message saying "Killed"

If I reboot (not having ctsound start automatically) and do make install, the driver works.

So I did more digging to try and find out the difference between doing make install and /etc/init.d/ctsound start. I can't find anything that would explain why it fails when I try to load the driver, as opposed to install the driver. All the install process does is copy the modules to the proper directory, updates modules.dep, attempts to update the blacklisting, and copies some database files. Then it calls ./ctsound load. If I try and do ./ctsound load after a reboot, it fails/crashes when modprobing ctalsa.

_________________
Vasko Tsintsev
Back to top
View user's profile Send private message
hollovoid7
Tux's lil' helper
Tux's lil' helper


Joined: 04 May 2005
Posts: 126
Location: Phelps NY

PostPosted: Mon Oct 06, 2008 5:55 am    Post subject: Reply with quote

What is the status of things on the current kernels? I have been holding back and sticking with 2.6.25, and it works fine, but was just wondering, in case there is some killer feature a new kernel brings to the table that I want.

And what has alsa been doing this whole time? Last I heard (and still reeling on thier website) that they had what they needed from creative, and there was a guy on the mailing list saying he had started the initial work many months ago, but nothing since. I asked on their mailing list, with no response over a month later.. seems like they are in the "I give up and am ignoring it" stance. Very "creative" of them *snickers*
_________________
MAO
Back to top
View user's profile Send private message
garlicbread
Apprentice
Apprentice


Joined: 06 Mar 2004
Posts: 182

PostPosted: Tue Oct 07, 2008 11:29 am    Post subject: Reply with quote

The ebuild I've setup seems to simplify things a bit, but it only works as far as 2.6.25 and even then it takes a while for the modules to load into memory (and results in a Bug being generated, but this doesn't seem to make the system unstable)

2.6.26 doesn't currently work (something's been removed in the source that the driver needs, although not sure what, probably because the source is using some old piece of code / api)

the module dependency within the source code needs looking at as well as it's a bit of a mess, as you need to blacklist the modules to prevent them from being loaded automatically, then load them in just the right order for this to work.

I think for Alsa i heard that they had some info from Creative, but they lacked the resource to look into it / were waiting for some other driver to be finished first I think
Back to top
View user's profile Send private message
hollovoid7
Tux's lil' helper
Tux's lil' helper


Joined: 04 May 2005
Posts: 126
Location: Phelps NY

PostPosted: Tue Oct 07, 2008 12:14 pm    Post subject: Reply with quote

Ahh I see, Its too bad too, because the card is pretty nice and some official drivers (from alsa) would be excellent. I tried the e-build but never seemed to do everything right for me, so its been manual config here.

Im just gonna continue my stand off with 2.6.25 until then, because onboard audio, no matter how good the manufacturer says it is, is horrible when you have some good speakers behind it (as I do). And its suppost to be HD, 7.1 support, and all that, but no bass/treble controls, and very low output (I have to CRANK my reciever to match what the xfi does, cause you cant max any values or it distorts horribly).
_________________
MAO
Back to top
View user's profile Send private message
keet
Guru
Guru


Joined: 09 Sep 2008
Posts: 571

PostPosted: Fri Oct 10, 2008 1:01 am    Post subject: Reply with quote

I'm a new Gentoo user, and I didn't want to try to make my X-Fi Xtreme Music card work, but I finally decided to try it. I actually got the X-Fi card working in Ubuntu (without any audio distortion), but I decided that I wanted to use Gentoo anyway.

In Gentoo, I was having trouble with the sound crackling in X-Plane, so I thought maybe my X-Fi card would work better than my Intel-HDA-based NVidia onboard sound, since they're both prefixed with X; you know, X-Fi, X-Plane. No, that's not really what I thought, but anyways...

I compiled the driver according to the instructions here: http://gentoo-wiki.com/HARDWARE_Creative_Labs_X-Fi (edit: the file provided here, xfidrv-1.18.2.tgz, also worked, with the same results)

But now my sound is all crackly. When I run alsaconf, it says that it can't find a sound card, which is strange, because my applications definitely provide sound. I'm going to try disabling my onboard sound in the BIOS and rebooting, but I doubt that will make any difference.

edit: It made no difference. The crackle seems to come only when a certain frequency is playing, perhaps a lower one, but it's pretty much constant. I've checked all the equalizer settings and they make no difference.. except that the crackle disappears when the volume is all the way down. Hooray. Then I hear nothing. I re-enabled it my on-board card in the BIOS, and now I have two kernel configurations in my /boot directory: one for my X-Fi card, one for my on-board Intel HD audio. I'm using the IHDA right now, since it doesn't crackle, except slightly in X-Plane.

I'm running Gentoo AMD64 (x86_64), kernel 2.6.25-r7, with an Intel Q6600, ASUS P5N-D, X-Fi XtremeMusic.
Back to top
View user's profile Send private message
Mr_Maniac
Guru
Guru


Joined: 10 Jun 2004
Posts: 543

PostPosted: Fri Oct 10, 2008 10:51 am    Post subject: Reply with quote

Unfortunately, this is "normal".
But for me, it depends on what software is using my X-Fi. Xine, xmms, audacious and Flash are fine with ist. No crackling.
Other Software, for example mplayer, gstreamer, anything with OpenAL or SDL won't sound that good.
The driver is just very beta. But the ALSA-Team does have the specs, so there will be better drivers.
But one question remains: WHEN?
_________________
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
keet
Guru
Guru


Joined: 09 Sep 2008
Posts: 571

PostPosted: Fri Oct 10, 2008 7:02 pm    Post subject: Reply with quote

Update: I installed OSS 4 using this guide:

http://gentoo-wiki.com/Howto_OSS4

And now my X-Fi audio seems good. I disabled my on-board sound in the BIOS and removed all ALSA support from the kernel. My kernel now has no ALSA support, and no sound drivers installed whatsoever, except for "Sound Card Support". Mplayer sounds fine, as do Saeurbraten, Xine, Scorched3D and X-Plane (except for the minor popping, which seems to be a problem with the program, rather than anything else, since it did the same thing under ALSA/aoss). VMware says that it "Cannot connect virtual device sound. No corresponding device is available on the host." But that is probably because I didn't have OSS enabled when I installed it.

So my basic steps were:

1. Download this driver: http://cincev.com/mnt/store/users/admin/xfidrv-1.18.2.tgz
(or you can download the original driver and make the modifications here http://gentoo-wiki.com/Creative_Labs_X-Fi )
2. Install the driver according to the wiki.
3. Make sure that ALSA support is either disabled in the kernel, or enabled as modules. I recommend having just basic "Sound Card Support" enabled.
4. rc-update del alsasound boot (stop ALSA from loading at boot)
6. Install OSS 4 using the guide here (DON'T enable OSS in the kernel): http://gentoo-wiki.com/OSS4
7. run ossdetect and soundon

Hopefully I haven't forgotten anything; I worked on this last night and today, trying various things, and I didn't document it as I went along, so I might have forgotten to write a step.

update: "Volume Control" in Gnome fails with " No volume control GStreamer plugins and/or devices found" even after "emerge gst-plugins-bad" , and Skype wouldn't play sound or accept sound input. I downloaded the OSS version of Skype, which plays sound, but I think it still won't accept input.

I might just go back to Intel HDA, as this doesn't seem to offer any improvement.
Back to top
View user's profile Send private message
OriginalP
n00b
n00b


Joined: 11 Oct 2008
Posts: 1

PostPosted: Sat Oct 11, 2008 12:54 pm    Post subject: Reply with quote

News: ALSA Driver For The Creative X-Fi Appears
Back to top
View user's profile Send private message
keet
Guru
Guru


Joined: 09 Sep 2008
Posts: 571

PostPosted: Sat Oct 11, 2008 7:14 pm    Post subject: Reply with quote

OriginalP wrote:
News: ALSA Driver For The Creative X-Fi Appears


Great, Right after I went through all that trouble! It seems that the driver is experimental, and the guy who wrote it doesn't have an X-Fi card, so who knows what the driver actually does. I think I'll wait and let someone else try this first. Sorry, I'm not taking point on this one.
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 ... 11, 12, 13 ... 15, 16, 17  Next
Page 12 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