View previous topic :: View next topic |
Author |
Message |
cuiviemen n00b
Joined: 24 Apr 2008 Posts: 2
|
Posted: Mon May 05, 2008 4:11 pm Post subject: |
|
|
audiodef wrote: |
Thanks! I got the file and started installing it as per the instructions in README. This happened when I ran ./configure:
Code: |
localhost drivers # ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /bin/install -c
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /home/audiodef/Desktop/drivers
checking cross compile...
checking for directory with kernel source... /lib/modules/2.6.24-gentoo-r4/source
checking for directory with kernel build... /lib/modules/2.6.24-gentoo-r4/build
checking for directory with ALSA include files... /lib/modules/2.6.24-gentoo-r4/source/include
checking for kernel linux/version.h... yes
checking for kernel linux/autoconf.h... yes
checking for kernel version... 2.6.24-gentoo-r4
checking for GCC version... Kernel compiler: gcc 4.1.2 (Gentoo 4.1.2 p1.1) Used compiler: gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.1)
checking for built-in ALSA... yes
configure: error: You have built-in ALSA in your kernel.
|
I'm confused - isn't ALSA supposed to be built into the kernel before running ./configure? |
Creative installer and also later ctsound startup script expects that alsa is compiled as kernel module not directly into kernel itself. Just recompile kernel with alsa selected as module and you'll be fine (ok fine concerning this error). |
|
Back to top |
|
|
wingrunr21 Tux's lil' helper
Joined: 13 May 2005 Posts: 91
|
Posted: Tue May 06, 2008 3:13 pm Post subject: |
|
|
[quote="DemizerONE"] Vaarsuvius wrote: | wingrunr21 wrote: | Does anybody else have a constant crackle in their sound? |
Are you using the OSS supplied driver? My sounds from Audacious are crystal clear! I am using the creative driver that never really finished installing. I also cant wait til ALSA finishes their driver version. It will allow me to hear sounds from my games. |
No, this was using the 1.18 Creative ALSA driver. I am also going to wait on the ALSA project to release a truly working driver. |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6656 Location: The soundosphere
|
Posted: Tue May 06, 2008 5:04 pm Post subject: |
|
|
After recompiling the kernel with ALSA as modules, I got the driver compiled and installed. I started ctsound....
Now what? I went and opened a web browser and played a video. No sound. Did I miss something?
This is the output of dmesg | grep sound:
Code: |
ALSA sound/core/rawmidi.c:1542: unable to register OSS rawmidi device 0:0
ALSA sound/core/rawmidi.c:1542: unable to register OSS rawmidi device 1:0
serial midi soundcard not found or device busy
ALSA sound/core/seq/oss/seq_oss.c:232: can't register device seq
ALSA sound/core/seq/oss/seq_oss.c:232: can't register device seq
|
_________________ decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Last edited by audiodef on Tue May 06, 2008 5:09 pm; edited 1 time in total |
|
Back to top |
|
|
wingrunr21 Tux's lil' helper
Joined: 13 May 2005 Posts: 91
|
Posted: Tue May 06, 2008 5:08 pm Post subject: |
|
|
Is your sound unmuted in alsamixer? |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6656 Location: The soundosphere
|
Posted: Tue May 06, 2008 5:15 pm Post subject: |
|
|
wingrunr21 wrote: | Is your sound unmuted in alsamixer? |
I can't unmute or do anything with it. If I try to unmute, I get this alert:
"The volume control did not find any elements and/or devices to control. This means eiehter that you don't have the right GStreamer plugins installed, or that you don't have a sound card configured.
You can remove the volume control from the panel by right-clicking the speaker icon on the panel and selecting "Remove From Panel" from the menu. "
If I try to open the volume control from the same icon, I get this alert:
"No volume control GStramer plugins and/or devices found."
I have GStreamer emerged, version 0.10.19. I just don't know what I'm missing.
_________________ decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN |
|
Back to top |
|
|
wingrunr21 Tux's lil' helper
Joined: 13 May 2005 Posts: 91
|
Posted: Tue May 06, 2008 5:29 pm Post subject: |
|
|
Did the modules get loaded correctly? lsmod should tell you. Also, see if alsamixer sees the card. |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6656 Location: The soundosphere
|
Posted: Tue May 06, 2008 7:34 pm Post subject: |
|
|
They seemed to be. I didn't notice any errors when I watched the modules load at startup. This is my lsmod:
Code: |
Module Size Used by
cthwiut 298264 0
ctexfifx 2381852 0
ct20xut 772120 0
ctalsa 497800 0
haxfi 3759512 0
ctsfman 253552 0
emupia 265192 0
ctossrv 135856 7 cthwiut,ctexfifx,ct20xut,ctalsa,haxfi,ctsfman,emupia
snd_usb_audio 79872 0
snd_usb_lib 18176 1 snd_usb_audio
snd_ca0106 33056 0
snd_ac97_codec 92448 1 snd_ca0106
snd_hda_intel 293020 0
snd_hwdep 10628 2 snd_usb_audio,snd_hda_intel
snd_pcm_oss 44288 0
snd_mixer_oss 17152 1 snd_pcm_oss
snd_rtctimer 6816 0
snd_seq_dummy 6660 0
snd_seq_midi 10752 0
snd_soc_core 26240 0
snd_pcm 71428 7 ctalsa,snd_usb_audio,snd_ca0106,snd_ac97_codec,snd_hda_intel,snd_pcm_oss,snd_soc_core
snd_page_alloc 11528 3 snd_ca0106,snd_hda_intel,snd_pcm
ac97_bus 5888 1 snd_ac97_codec
snd_mpu401_uart 10368 0
snd_virmidi 8448 0
snd_seq_virmidi 8960 1 snd_virmidi
snd_seq_midi_event 9600 2 snd_seq_midi,snd_seq_virmidi
snd_seq 48432 4 snd_seq_dummy,snd_seq_midi,snd_seq_virmidi,snd_seq_midi_event
snd_timer 21124 3 snd_rtctimer,snd_pcm,snd_seq
snd_mtpav 11016 0
snd_rawmidi 22272 6 snd_usb_lib,snd_ca0106,snd_seq_midi,snd_mpu401_uart,snd_seq_virmidi,snd_mtpav
snd_seq_device 9608 2 snd_seq_midi,snd_rawmidi
snd 48004 22 ctalsa,snd_usb_audio,snd_usb_lib,snd_ca0106,snd_ac97_codec,snd_hda_intel,snd_hwdep,\
snd_pcm_oss,snd_mixer_oss,snd_rtctimer,snd_seq_dummy,snd_seq_midi,snd_soc_core,\
snd_pcm,snd_mpu401_uart,snd_virmidi,snd_seq_virmidi,snd_seq,snd_timer,snd_mtpav,\
snd_rawmidi,snd_seq_device
scsi_wait_scan 5248 0
lcd 7428 0
backlight 7812 0
|
Alsamixer didn't seem to work. When I ran it, I got this:
Code: |
No mixer elems found
|
*just sittin' here, scratchin' my head...*
Applied manual line wrapping to preserve layout. -- desultory _________________ decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN |
|
Back to top |
|
|
hollovoid7 Tux's lil' helper
Joined: 04 May 2005 Posts: 126 Location: Phelps NY
|
Posted: Sun May 11, 2008 8:08 pm Post subject: |
|
|
Has anybody figured out why ctsound script doesnt work on startup., but works fine when you run ctsound start manually? _________________ MAO |
|
Back to top |
|
|
the_root n00b
Joined: 26 Apr 2008 Posts: 12 Location: Sofia, Bulgaria
|
Posted: Tue May 13, 2008 1:12 am Post subject: |
|
|
hollovoid7 wrote: | Has anybody figured out why ctsound script doesnt work on startup., but works fine when you run ctsound start manually? |
Read here: http://gentoo-wiki.com/HOWTO_Creative_Labs_X-Fi _________________ Vasko Tsintsev |
|
Back to top |
|
|
hollovoid7 Tux's lil' helper
Joined: 04 May 2005 Posts: 126 Location: Phelps NY
|
Posted: Tue May 13, 2008 1:49 am Post subject: |
|
|
Actually I realized that right after I posted, didnt see the small footnote that file was in, very cool it works now! _________________ MAO |
|
Back to top |
|
|
mrmailer n00b
Joined: 18 Jan 2006 Posts: 3
|
Posted: Wed May 14, 2008 6:21 pm Post subject: |
|
|
Ok, this seems to stop working with 2.6.25
I did the shirq change and I still get this...
make KBUILD_NOPEDANTIC=1
make: *** [all] Error 2 |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6656 Location: The soundosphere
|
|
Back to top |
|
|
beany n00b
Joined: 15 May 2008 Posts: 1
|
Posted: Thu May 15, 2008 7:10 pm Post subject: hmm |
|
|
hello, so Im using Suse 10.3. and iv installed the drivers as listed above by the_root, firstly i installed using the command displayed by the_root, which didn't appear to do anything,I then read the readme and used configure and make as stand user, then make install as root, and once again nothing, until i ran anything with sound as root...witch gave me working sound... any help to get the sound in a standard user account muchos appreciated. |
|
Back to top |
|
|
dAlexis n00b
Joined: 18 Apr 2004 Posts: 63 Location: Moscow region,Russia
|
Posted: Sun May 18, 2008 12:06 pm Post subject: Re: X-fi 1.18.2 |
|
|
the_root wrote: | Here is it http://cincev.com/mnt/store/users/admin/xfidrv-1.18.2.tgz
works on:
Linux vasko.cincev.com 2.6.25-gentoo-r1 #1 SMP Mon Apr 28 21:53:47 EEST 2008 x86_64 Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz GenuineIntel GNU/Linux
gcc 4.1.2, gcc-4.2.3
---------------------------------------------------------------
Installation:
Clean all old installations, reboot, unpack the source, "cd" to source(drivers) directory, exec:
./configure && make && make install && rc-update -a ctsound default && reboot
enjoy the sound
----------------------------------------------------------------
FIXES:
1.Kernel Opps while loading from /etc/init.d/ctsound
2.Missing files
3.Broken symlinks
4.Optimised ctsound script
5.Makefile.build Fixes
----------------------------------------------------------------
Currenly waiting for "ReiserFS/llseek" solution in src/ossrv/LinuxSys.c .. , someone ? |
You cool, it works for me! Taken from Creative's site was not working after patching, according to wiki -error 2 while installing happens. This is OK! - thanks! _________________ "The Matrix has you!" - "Let it be...." |
|
Back to top |
|
|
mrmailer n00b
Joined: 18 Jan 2006 Posts: 3
|
Posted: Tue May 20, 2008 7:02 am Post subject: |
|
|
ACPI: PCI Interrupt 0000:03:03.0[A] -> GSI 19 (level, low) -> IRQ 23
allocation failed: out of vmalloc space - use vmalloc=<size> to increase size.
BUG: sleeping function called from invalid context at kernel/mutex.c:87
in_atomic():1, irqs_disabled():0
Pid: 2789, comm: modprobe Tainted: P 2.6.24.4-64.fc8 #1
[<c062b3ae>] mutex_lock+0x15/0x29
[<c04920c9>] open_namei+0xe7/0x558
[<c0487802>] do_filp_open+0x25/0x39
Still getting this error when I load ctalsa |
|
Back to top |
|
|
Sonic-NZ n00b
Joined: 07 Jun 2008 Posts: 1
|
Posted: Sat Jun 07, 2008 9:39 am Post subject: |
|
|
I think I might have a similar problem to audiodef.
I followed the instructions on the wiki, I'm using 2.6.24.4 as my kernel - so I modded the sources from Creative with regards to the ctsound file ordering (for module loading) and the IRQ problem. The make initially failed, but configure hadn't figure out my architecture so modifying Makefile.conf sorted that one. It all compiled fine, make install succeeded.
When I run /etc/init.d/ctsound start I get:
Starting ctsound: Building and installing modules...Failed to install modules. Exit...
lsmod gives me this:
Code: |
Module Size Used by
snd_seq 43952 0
snd_pcm_oss 37024 0
snd_mixer_oss 16512 1 snd_pcm_oss
ctalsa 492118 1
haxfi 3706648 0
cthwiut 292760 0
ctexfifx 2374300 0
ct20xut 766232 0
ctsfman 251888 0
emupia 262632 0
ctossrv 134832 7 ctalsa,haxfi,cthwiut,ctexfifx,ct20xut,ctsfman,emupia
snd_pcm 64004 2 snd_pcm_oss,ctalsa
snd_timer 19972 2 snd_seq,snd_pcm
snd_page_alloc 11144 1 snd_pcm
snd 42084 6 snd_seq,snd_pcm_oss,snd_mixer_oss,ctalsa,snd_pcm,snd_timer
nvidia 7809440 24
|
When I run alsamixer I get:
alsamixer: function snd_ctl_open failed for default: No such file or directory
Which I have read is an issue with /dev/dsp and mixer not existing. So I tried to install the alsa-driver package but it complained that alsa was in my kernel (it is, but as a module) and refused to emerge it. There is a /dev/x-fi file, and lspci shows the sound card:
05:00.0 Multimedia audio controller: Creative Labs SB X-Fi
Starting alsasound gives me:
Code: |
/etc/init.d/alsasound start
* Loading ALSA modules ...
* Could not detect custom ALSA settings. Loading all detected alsa drivers.
* Unable to find any ALSA drivers. Have you compiled alsa-drivers correctly?
* Loading: snd-mixer-oss ... [ ok ]
* Loading: snd-pcm-oss ... [ ok ]
* Loading: snd-seq ... [ ok ]
* ERROR: Failed to load necessary drivers [ ok ]
* Restoring Mixer Levels ...
* No mixer config in /var/lib/alsa/asound.state, you have to unmute you [ ok ]
|
I've drawn a blank and after 4 hours of messing around it still doesn't work so I'm rage quitting to Windows temporarily. Any help is much appreciated. |
|
Back to top |
|
|
lancelott Apprentice
Joined: 29 Mar 2005 Posts: 152
|
Posted: Mon Jun 09, 2008 5:16 am Post subject: |
|
|
When are new drivers going to become available?
These drivers just suck. I'd like to hear some good news from ALSA but it seems like nothing is happening (yet).
I'm tired of the pops, crackles, and tempo changes. _________________ Desktop: AMD Athlon 64 3000+ @ 2.15GHz | 7600GT 256MB | 320GB + 250GB SATA 3.0 | Creative X-Fi XtremeGamer | Gentoo Linux amd64
Server: Intel Pentium 2 MMX 350MHz | 30GB HDD | Gentoo Linux x86 |
|
Back to top |
|
|
jbdubbs n00b
Joined: 04 Jan 2006 Posts: 41
|
Posted: Sun Jun 22, 2008 4:22 am Post subject: |
|
|
Question for the author of the baselayout 2 init script: Why do you unload all snd-.* before loading the X-Fi driver? |
|
Back to top |
|
|
seeker010 n00b
Joined: 22 Jun 2008 Posts: 1
|
Posted: Sun Jun 22, 2008 5:17 am Post subject: |
|
|
OSS emulation under ALSA with these drivers causes very loud screeching for me, and since vmware only uses OSS, this is a bit of a problem.
found that using dmix causes crackling. removing dmix from asound, or removing asound.conf fixes the background static for me.
does anyone have a solution for the OSS under ALSA problem? |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6656 Location: The soundosphere
|
|
Back to top |
|
|
Mr_Maniac Guru
Joined: 10 Jun 2004 Posts: 543
|
Posted: Mon Jul 07, 2008 12:08 pm Post subject: |
|
|
Well... This driver is "funny"...
Some Applications that are using ALSA are just working fine without any crackling sound etc. (xmms and xine for example) and some others just sound really awful (mplayer for example ) _________________ AMD Ryzen 5900X
64 GB DDR4 RAM
GeForce RTX 3080
Gentoo Linux (most recent stable kernel - amd64)
Windows 11 x64 |
|
Back to top |
|
|
jbdubbs n00b
Joined: 04 Jan 2006 Posts: 41
|
Posted: Fri Jul 11, 2008 7:17 pm Post subject: |
|
|
Tried following the directions for 2.6.25 both on the wiki and went through this forum again. Everything compiles fine, but I get "Invalid Module Format" or something along those lines when loading the modules from ctsound.
Switched back to 2.6.24 for now, which is working like a charm. Any ideas? |
|
Back to top |
|
|
xraver Veteran
Joined: 20 Aug 2003 Posts: 1083 Location: Halberstadt
|
Posted: Sat Jul 12, 2008 4:33 am Post subject: |
|
|
The Drivers works for me on gentoo-sources-2.6.25. But not on 2.6.26zen. _________________ -------
Sollten Ihnen Rechtschreibfehler oder grammatische Fehler aufgefallen sein, dann wurden diese extra für Sie platziert. Sie dürfen diese natürlich behalten . |
|
Back to top |
|
|
iSacrifice n00b
Joined: 12 Jul 2008 Posts: 3 Location: Russia, Moscow
|
Posted: Sat Jul 12, 2008 10:23 pm Post subject: |
|
|
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
Last edited by iSacrifice on Sun Jul 13, 2008 10:18 pm; edited 1 time in total |
|
Back to top |
|
|
titanium972 n00b
Joined: 24 Jan 2008 Posts: 3
|
Posted: Sun Jul 13, 2008 12:36 pm Post subject: |
|
|
Hi,
Now i have my sound card OK, but my nvidia 8800 GTS will not start now with X, he get me
"NVIDIA : could not open the device file /dev/nvidia0 (Input/Output error)"
If i remove ctsound from my boot, i can start X
I have nforce 4 MB, for info.
Which solution for solve my pb ?
(Sorry for my english , i'm french) |
|
Back to top |
|
|
|
|
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
|
|