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


Joined: 27 Dec 2004
Posts: 14

PostPosted: Thu Apr 24, 2008 12:13 am    Post subject: Reply with quote

lib/modules/2.6.24-gentoo/source/include/linux/fs.h:290:27: error: asm/semaphor no such file or directory

I have made a mistake throught changing the kernel! Now I'm currently using 2.6.24-gentoo-r2. But as you can see, the x-fi driver uses the old library path! What should I do to correct the path. I have forgotten something.
Back to top
View user's profile Send private message
cuiviemen
n00b
n00b


Joined: 24 Apr 2008
Posts: 2

PostPosted: Thu Apr 24, 2008 5:57 pm    Post subject: Reply with quote

WarSlash wrote:
lib/modules/2.6.24-gentoo/source/include/linux/fs.h:290:27: error: asm/semaphor no such file or directory

I have made a mistake throught changing the kernel! Now I'm currently using 2.6.24-gentoo-r2. But as you can see, the x-fi driver uses the old library path! What should I do to correct the path. I have forgotten something.

Check where symlink /usr/src/linux points to.
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 Apr 27, 2008 3:45 am    Post subject: Currently working Reply with quote

After few ours of recompilling and patching, it works , try it on gentoo dist, gentoo-sources with SMP kernel > 2.6.25 , gcc 4.1.2.
i upload the source here: http://cincev.com/mnt/store/users/admin/xfidrv-1.18.1.tgz
make clean && ./configure --prefix=/usr --exec-prefix=/usr && make && make install && reboot

If you are using reiserfs you can expect kernel opps, it can be fixed, just open:
/usr/src/linux/fs/reiserfs/file.c , go to "const struct file_operations reiserfs_file_operations = {"
and add this line: .llseek = generic_file_llseek,
if should look like this:
const struct file_operations reiserfs_file_operations = {
.llseek = generic_file_llseek,
.read = do_sync_read,
....

when someone has more free time, can try to solve the "LLSEEK" problem in "src/ossrv/LinuxSys.c"
Good Luck
Back to top
View user's profile Send private message
Decha
n00b
n00b


Joined: 12 Jul 2003
Posts: 52
Location: Zürich

PostPosted: Sun Apr 27, 2008 12:38 pm    Post subject: Oops on modprobe ctalsa Reply with quote

Hi All!

Still getting Oops when trying to modprobe ctalsa. Tried to use vmalloc=256M - no difference:

Code:

Unable to handle kernel NULL pointer dereference at 0000000000000000 RIP:
 [<0000000000000000>] _stext+0x7fdf7000/0x20
PGD 66d6f067 PUD 66d79067 PMD 0
Oops: 0000 [1] PREEMPT SMP
CPU 0
Modules linked in: ctossrv(P) fuse nvidia(P)
Pid: 5371, comm: modprobe Tainted: P        2.6.24-gentoo-r4 #9
RIP: 0010:[<0000000000000000>]  [<0000000000000000>] _stext+0x7fdf7000/0x20
RSP: 0018:ffff810066d5fb90  EFLAGS: 00010287
RAX: ffffffff804dbca0 RBX: ffff81006ccfcf00 RCX: ffff81006ccfcf00
RDX: 0000000000000002 RSI: 0000000000000000 RDI: ffff81006ccfcf00
RBP: ffff810066d5fbe8 R08: 0000000000000000 R09: ffff8100775ca416
R10: 0000000000000010 R11: 0000000000000000 R12: ffff810066d5fbcc
R13: 0000000000000000 R14: ffff81007d837000 R15: ffffffff888a1c80
FS:  00002b54b996eb00(0000) GS:ffffffff805e5000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 0000000000000000 CR3: 0000000066c23000 CR4: 00000000000006e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process modprobe (pid: 5371, threadinfo ffff810066d5e000, task ffff81007faed830)
Stack:  ffffffff8887fe0e ffff81007bcf6f80 ffff810066d5fbe8 0000000000000000
 ffffffff88882483 0000000000000000 ffffffff8887fd83 ffff81007bcf6f80
 ffff81007d837000 0000000000000028 ffffffff888a25b8 ffff810066d5fbf8
Call Trace:
 [<ffffffff8887fe0e>] :ctossrv:sysGetFileSize+0x4f/0x93
 [<ffffffff88882483>] :ctossrv:_ZN5OSSrv8SeekFileEPvi13CTFILEIO_SEEK+0x3f/0x7a
 [<ffffffff8887fd83>] :ctossrv:sysOpenCreateFile+0x122/0x15e
 [<ffffffff88885c11>] :ctossrv:_ZN7Porting14SetFilePointerEPviPij+0x13/0x1a
 [<ffffffff888868a3>] :ctossrv:_ZN7VBDFile4SeekEjj+0x3f/0xa6
 [<ffffffff88886cb4>] :ctossrv:_ZN7VBDFile4ReadEPvjj+0x62/0x142
 [<ffffffff8888782b>] :ctossrv:_ZN7VBDFile4OpenEPKc10AccessMode+0x27d/0x358
 [<ffffffff88885b66>] :ctossrv:_ZN7Porting15CloseFileHandleEPv+0x10/0x18
 [<ffffffff8888e81a>] :ctossrv:_ZN9CRegistry14GetCreativeHdrEPKcP17CreativeHeaderTag+0x3c/0x80
 [<ffffffff88890749>] :ctossrv:_ZN9CRegistry4InitEPKcP17CreativeHeaderTag+0x201/0x398
 [<ffffffff888856bd>] :ctossrv:_ZN6DevReg10InitDevRegEPKcP17CreativeHeaderTag+0x1b5/0x268
 [<ffffffff88881e88>] :ctossrv:_ZN5OSSrv20InterlockedIncrementEPj+0x16/0x20
 [<ffffffff888818ea>] :ctossrv:OSSrv_InitDriver+0x104/0x146
 [<ffffffff8025e3b0>] __link_module+0x0/0x30
 [<ffffffff888a500e>] :ctossrv:ctossrv_init+0xe/0x1d
 [<ffffffff8025fa7b>] sys_init_module+0x19b/0x1a10
 [<ffffffff80290d85>] vfs_read+0xc5/0x160
 [<ffffffff8020bd3e>] system_call+0x7e/0x83


Code:  Bad RIP value.
RIP  [<0000000000000000>] _stext+0x7fdf7000/0x20
 RSP <ffff810066d5fb90>
CR2: 0000000000000000
---[ end trace de8814e89d40b709 ]---


Code:

murzik decha # uname -a
Linux murzik 2.6.24-gentoo-r4 #9 SMP PREEMPT Sun Apr 27 13:14:51 BST 2008 x86_64 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz GenuineIntel GNU/Linux


Used SLAB, enabled old exports, tried without nvidia... Still no luck.

Is this reiserfs issue? I am very reluctant to change kernel FS code...

Thanks.
_________________
When It's Done - It's Done!
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 Apr 27, 2008 2:36 pm    Post subject: Reply with quote

ResiserFS is just a part of the problem, there is another one also.
Try to Reboot, and then "make install" ,
for me - the driver works, but when i try to load it from /etc/init.d/ctsound - it fails with kernel opps every time,
so i add "cd /usr/src/drivers && make install" into /etc/conf.d/local.start , now after each reboot - the sound card work.
Tonight will STRACE the modules and will try to fix at least /ctsound start problem.
_________________
Vasko Tsintsev
Back to top
View user's profile Send private message
wingrunr21
Tux's lil' helper
Tux's lil' helper


Joined: 13 May 2005
Posts: 91

PostPosted: Mon Apr 28, 2008 6:44 am    Post subject: Reply with quote

Does anybody else have a constant crackle in their sound? For some reason using OSS interfaces produces more than using ALSA, but it still there. Anyone know how to fix this?
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 Apr 28, 2008 7:49 pm    Post subject: X-fi 1.18.2 Reply with quote

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 ?
_________________
Vasko Tsintsev


Last edited by the_root on Wed Apr 30, 2008 3:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
wwinters
n00b
n00b


Joined: 04 Feb 2008
Posts: 5

PostPosted: Tue Apr 29, 2008 1:20 am    Post subject: Reply with quote

I upgraded my kernel today to 2.6.25-r1, in hopes I may be able to get sound finally!
I get:

# make install
make: *** [install] Error 2

My uname -a:

Linux worstkid 2.6.25-gentoo-r1 #1 SMP PREEMPT Mon Apr 28 20:20:04 EST 2008 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ AuthenticAMD GNU/Linux

Is it because I have an AMD chip?

Let me know what log might help figure out this error.

Thanks!

Wes
Back to top
View user's profile Send private message
DemizerONE
n00b
n00b


Joined: 20 Apr 2008
Posts: 11
Location: On your toilet.

PostPosted: Tue Apr 29, 2008 2:41 am    Post subject: Reply with quote

Yay! I just checked http://www.alsa-project.org/main/index.php/Matrix:Vendor-Creative_Labs and look what has changed:

Code:
Sound Blaster X-Fi  emu20k1  [Unsupported] [PCI] Card delivered to developers. Completely new architecture. Creative have supplied a data sheet to developers. Development work has started.


So hopefully we will get some ALSA X-Fi drivers soon!!! :D

Edit: I too have tried to install the drivers supplied by the_root. While they do make, I recieve the "error 2" failure as described in the post above on installation. Here is my uname -a:

Code:
Linux tuxjunior 2.6.24-gentoo-r4 #5 SMP Sun Apr 27 11:32:06 PDT 2008 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ AuthenticAMD GNU/Linux


Code:
emerge --info
Portage 2.1.4.4 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
Timestamp of tree: Mon, 28 Apr 2008 06:45:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.mirrors.pair.com/ http://gentoo.llarian.net/ http://lug.mtu.edu/gentoo/ "
LANG="C"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/desktop-effects /usr/portage/local/layman/mozilla /usr/portage/local/layman/gnome"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aac aalib acl acpi alsa also amd64 avahi avi berkdb bluetooth branding bzip2 cairo cdb cddb cdparanoia cdr cli cracklib crypt css cups curl cxx dbus debug divx4linux dri dv dvd dvdr dvdread dvus eds emboss encode esd evo examples fam fbcon firefox flac fontconfig fortran ftp gdbm gif gnome gpm gstreamer gtk hal iconv idap ipod ipv6 isdnlog java javascript jpeg lame ldap libnotify live mad midi mikmod mjpeg mmx mmxext mozilla mp3 mpeg mplayer mudflap multilib mysql ncurses nls nptl nptlonly ogg openal opengl openmp oss pam pcre pdf perl php png ppds pppd python qt3support quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification subversion svg tcpd theora tiff tk truetype unicode usb vcd vlc vorbis x264 xine xml xorg xv xvid zlib" ALSA_CARDS="intel18x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


I will furnish my soul if it will make this damn expensive soundcard work in any OS. Just kidding about the soul thing btw, maybe a six pack of beer? 8)

Edit: Just found a log file: /var/log/creative-installer.log which contains the following:

Code:
make -f /tmp/xfisrc/Makefile.build install
make[1]: Entering directory `/home/demizerone/Desktop/drivers'
Copy module files...
Update module dependency relationships...
Install database files...
cp: not writing through dangling symlink `/etc/creative/ctdlang.dat'
make[1]: *** [database_install] Error 1
make[1]: Leaving directory `/home/demizerone/Desktop/drivers'


What is this database_install error? Database? MySql?
_________________
All men have fears, but the brave put down their fears and march forward. Sometimes to death, but always to victory!
Back to top
View user's profile Send private message
jbdubbs
n00b
n00b


Joined: 04 Jan 2006
Posts: 41

PostPosted: Tue Apr 29, 2008 4:49 am    Post subject: HOWTO Creative Labs X-Fi on the Gentoo Wiki (NEW) Reply with quote

Hey,

Created a new wiki page since the other one on these forums isn't being updated. This new method works with the 1.18 drivers, although it's a complete hack. Since it's on an open wiki, feel free to make changes.

http://gentoo-wiki.com/HOWTO_Creative_Labs_X-Fi
Back to top
View user's profile Send private message
DemizerONE
n00b
n00b


Joined: 20 Apr 2008
Posts: 11
Location: On your toilet.

PostPosted: Tue Apr 29, 2008 5:51 am    Post subject: Reply with quote

Ok weeeeird! So now I have sound coming out of my X-FI! On gentoo baby! Yay!

Despite the errors above, and with the_root's patched drivers, I was able to load the modules with:

Code:
/etc/init.d/ctsound start
Starting ctsound: Loading X-Fi Drv - Please Wait...


Here is my "cat /proc/asound/cards" output:
Code:
 0 [X-Fi           ]: X-Fi - Creative X-Fi [bc00]
                                 Creative X-Fi at 0xbc00, irq 3


lspci output:
Code:
lspci | grep audio
01:06.0 Multimedia audio controller: Creative Labs SB X-Fi


The "make: *** [install] Error 2" error must occur after the modules have been successfully created. I will have to review further.

Notes:

  • The alsa modules were loaded and "cat /proc/asound/cards" output had the VirMIDI at card0. I unloaded the alsa modules with "/etc/init.d/alsasound stop" and the VirMIDI at card0 disappeared.
  • There is a loud scratching sound when starting playback in Audacious and Flash, with only 10 minutes of usage so far. It dissappears in milliseconds and the sound after that is CRYSTAL clear.
  • I currently have no mixer access and can only control the volume with my physical volume knob.


I will post more info If I find anything else. The install was "unsuccessful" with the 0.18.2 patched drivers from the_root posted above. Thanks everyone!
_________________
All men have fears, but the brave put down their fears and march forward. Sometimes to death, but always to victory!
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Tue Apr 29, 2008 7:22 am    Post subject: Reply with quote

jbdubbs wrote:
Hey,

Created a new wiki page since the other one on these forums isn't being updated. This new method works with the 1.18 drivers, although it's a complete hack. Since it's on an open wiki, feel free to make changes.

http://gentoo-wiki.com/HOWTO_Creative_Labs_X-Fi
Merged the quoted 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: Tue Apr 29, 2008 1:34 pm    Post subject: Reply with quote

wwinters wrote:
I upgraded my kernel today to 2.6.25-r1, in hopes I may be able to get sound finally!
I get:

# make install
make: *** [install] Error 2

My uname -a:

Linux worstkid 2.6.25-gentoo-r1 #1 SMP PREEMPT Mon Apr 28 20:20:04 EST 2008 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ AuthenticAMD GNU/Linux

Is it because I have an AMD chip?

Let me know what log might help figure out this error.

Thanks!

Wes

Please post the last 20 rows of this: cat /var/log/creative-installer.log
To be able to found the problem

---------------------------------------------------------------------------
"DemizerONE", i wrote "Clean all old installations" , it means, remove the following: "/etc/init.d/ctsound" , "/etc/creative" , "/tmp/xfisrc", /lib/modules/'kernel version'/kernel/drivers/ssound/" , reboot and then try to install the patched version
_________________
Vasko Tsintsev
Back to top
View user's profile Send private message
wwinters
n00b
n00b


Joined: 04 Feb 2008
Posts: 5

PostPosted: Tue Apr 29, 2008 1:51 pm    Post subject: Reply with quote

Thanks, the_root!

I won't be home again to work on this til Thursday or Friday, I'll post as soon as I can.

Wes
Back to top
View user's profile Send private message
the_root
n00b
n00b


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

PostPosted: Wed Apr 30, 2008 3:46 pm    Post subject: patched x-fi - ctsound script for OpenRC Reply with quote

For users with baselayout-2 and OpenRC , here is patched version of the init script CTSOUND
http://cincev.com/mnt/store/users/admin/ctsound_openrc.tgz
tested and working on "baselayout-2.0.0" , "OpenRC-0.2.2", requires Alsasound
The script is fully rewritten.
Installation: just replace the existing in: /etc/init.d/
_________________
Vasko Tsintsev
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6639
Location: The soundosphere

PostPosted: Wed Apr 30, 2008 7:16 pm    Post subject: Creative dropped Linux support Reply with quote

Creative doesn't have a Linux driver any more. I just checked their web site referenced in this thread.

I have the following, found with lspci:

Code:

00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
01:04.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04)
01:04.1 Input device controller: Creative Labs SB Audigy Game Port (rev 04)
01:04.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port (rev 04)


I can turn the volume control up and down in Gnome, but no sound comes out of either card.

I'd appreciate any help!
_________________
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
View user's profile Send private message
DemizerONE
n00b
n00b


Joined: 20 Apr 2008
Posts: 11
Location: On your toilet.

PostPosted: Wed Apr 30, 2008 8:43 pm    Post subject: Re: Creative dropped Linux support Reply with quote

audiodef wrote:
Creative doesn't have a Linux driver any more. I just checked their web site referenced in this thread.

I have the following, found with lspci:

Code:

00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
01:04.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04)
01:04.1 Input device controller: Creative Labs SB Audigy Game Port (rev 04)
01:04.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port (rev 04)


I can turn the volume control up and down in Gnome, but no sound comes out of either card.

I'd appreciate any help!


You should post more info. Have you tried building the driver? You can get it from all over the web, people have mirrored it like crazy. I would also deactivate the on board audio to make things simpler. You have to access your bios to do that. Google is a powerful tool.

Look for my example above for a headstart on where to look to see how things are configured on your system.
_________________
All men have fears, but the brave put down their fears and march forward. Sometimes to death, but always to victory!
Back to top
View user's profile Send private message
Vaarsuvius
Guru
Guru


Joined: 02 Dec 2004
Posts: 345

PostPosted: Wed Apr 30, 2008 10:26 pm    Post subject: Reply with quote

wingrunr21 wrote:
Does anybody else have a constant crackle in their sound?

Since noone replied to this by now, here's an answer that will really not help you: yes, I also hear that annoying crackle. It doesn't matter how high the volume is, or what other mixer settings I apply - the sound is hardly enjoyable.
Now I'm going to wait for the alsa guys...
Back to top
View user's profile Send private message
DemizerONE
n00b
n00b


Joined: 20 Apr 2008
Posts: 11
Location: On your toilet.

PostPosted: Thu May 01, 2008 4:02 am    Post subject: Reply with quote

Vaarsuvius wrote:
wingrunr21 wrote:
Does anybody else have a constant crackle in their sound?

Since noone replied to this by now, here's an answer that will really not help you: yes, I also hear that annoying crackle. It doesn't matter how high the volume is, or what other mixer settings I apply - the sound is hardly enjoyable.
Now I'm going to wait for the alsa guys...


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. :-)
_________________
All men have fears, but the brave put down their fears and march forward. Sometimes to death, but always to victory!
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6639
Location: The soundosphere

PostPosted: Thu May 01, 2008 2:42 pm    Post subject: Re: Creative dropped Linux support Reply with quote

DemizerONE wrote:
Have you tried building the driver? You can get it from all over the web, people have mirrored it like crazy.


Can you repost a working link to this driver? Someone seems to have erased the previous reference to it and I'm not having much luck searching for it.
_________________
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
View user's profile Send private message
DemizerONE
n00b
n00b


Joined: 20 Apr 2008
Posts: 11
Location: On your toilet.

PostPosted: Thu May 01, 2008 3:24 pm    Post subject: Reply with quote

here: http://cincev.com/mnt/store/users/admin/xfidrv-1.18.2.tgz ... This is the one that worked for me, it was supplied by the_root above. The download is working. :-)
_________________
All men have fears, but the brave put down their fears and march forward. Sometimes to death, but always to victory!
Back to top
View user's profile Send private message
wwinters
n00b
n00b


Joined: 04 Feb 2008
Posts: 5

PostPosted: Fri May 02, 2008 11:09 pm    Post subject: Reply with quote

the_root wrote:

Please post the last 20 rows of this: cat /var/log/creative-installer.log
To be able to found the problem

Code:

  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-r1'
make[2]: Leaving directory `/usr/src/drivers/src/plugins/cthwiut'
cp -f /tmp/xfisrc/src/plugins/cthwiut/cthwiut.ko .
make[1]: Leaving directory `/usr/src/drivers'

make -f /tmp/xfisrc/Makefile.build install
make[1]: Entering directory `/usr/src/drivers'
/tmp/xfisrc/Makefile.build:157: Extraneous text after `else' directive
Copy module files...
Update module dependency relationships...
/bin/sh: -c: line 0: syntax error near unexpected token `;'
/bin/sh: -c: line 0: `if [ -e "" ]; then  mv -f  .tmp;  cat .tmp | grep -x -v -e
 "# Prevent system from loading ctalsa prematurely" -e "blacklist ctalsa" > ;  r
m -f .tmp;  else  echo "Warning: Can't not find blacklist file";  fi'
make[1]: *** [clear_blacklist] Error 2
make[1]: Leaving directory `/usr/src/drivers'


/tmp/xfisrc/Makefile.build:
Code:
ifeq ("$(blacklist)", "/etc/hotplug/blacklist")
        alsa_entry := ctalsa
else ifeq ("$(blacklist)", "/etc/modprobe.d/blacklist")
        alsa_entry := blacklist ctalsa
endif


Hmmm, I don't have /etc/hotplug/ or /etc/modprobe.d/ at all on my system....
Back to top
View user's profile Send private message
DemizerONE
n00b
n00b


Joined: 20 Apr 2008
Posts: 11
Location: On your toilet.

PostPosted: Sat May 03, 2008 8:25 pm    Post subject: Sound not working in Wine... Reply with quote

Ok, so the_root's modified drivers install correctly now that I have removed the following directores:

Code:
/etc/init.d/ctsound
/etc/creative
tmp/xfisrc
/lib/modules/'kernel version'/kernel/drivers/ssound/"


After removing these files/directories, "make install" is successful. When I reboot, sound starts as normal and sounds clear. I have access to alsamixer, VLC, Audacious, Mplayer, Rhythmbox, and they all sound fine. The only problem is, I don't have sound in wine and thus, I have no sound in world of warcraft or steam. I *think* it is picking up the virmidi mixer first and crapping out on that when it tries to configure it because I get the following output when starting wow or winecfg:

Code:
fixme:mixer:ALSA_MixerInit No master control found on VirMIDI, disabling mixer


I also get "Audio Test Failed!" when I try to test Alsa or OSS in the Audio tab under winecfg.

So my question is has anyone figured out how to fix this and get sound working in wine?

Here are dmesg errors:
Code:
dmesg | grep ctalsa
ctalsa: Unknown symbol bytes_to_order
ctalsa: Unknown symbol get_ossrv
ctalsa: Unknown symbol heap_alloc
ctalsa: Unknown symbol ioctl_dispatch
ctalsa: Unknown symbol heap_free


Here is my stats:
Code:
lspci | grep audio
01:06.0 Multimedia audio controller: Creative Labs SB X-Fi

Code:
cat /proc/asound/cards
 0 [VirMIDI        ]: VirMIDI - VirMIDI
                      Virtual MIDI Card 1
 1 [X-Fi           ]: X-Fi - Creative X-Fi [bc00]
                      Creative X-Fi at 0xbc00, irq 3

Code:
vi /etc/asound.conf
pcm.!default {
        type hw
        card 1
}
ctl.!default {
        type hw
        card 1
}

Code:
cat /proc/asound/oss/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.15 emulation code)
Kernel: Linux tuxjunior 2.6.24-gentoo-r4 #8 SMP Fri May 2 21:15:45 PDT 2008 x86_64
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
Virtual MIDI Card 1
Creative X-Fi at 0xbc00, irq 3

Audio devices:
1: WaveOut/WaveIn (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices:
0: Virtual Raw MIDI

Timers:
31: system timer

Mixers:
0: mixer00
1: CTALSA Mixer

Code:
emerge --info
Portage 2.1.4.4 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
Timestamp of tree: Fri, 02 May 2008 05:15:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.mirrors.pair.com/ http://gentoo.llarian.net/ http://lug.mtu.edu/gentoo/ "
LANG="C"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/desktop-effects /usr/portage/local/layman/mozilla /usr/portage/local/layman/gnome"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alib alsa also amd64 avahi avi berkdb bidi bluetooth branding bzip2 cairo cdb cdda cddb cdio cdparanoia cdr cli cracklib crypt css cups curl cxx dbus debug divx4linux dri dts dv dvd dvdr dvdread dvus eds emboss encode esd evo examples fam fbcon ffmpeg firefox flac fontconfig fortran ftp gdbm gif gnome gnutls gpm gstreamer gtk hal httpd iconv idap ipod ipv6 isdnlog java javascript jpeg lame ldap libnotify live mad midi mikmod mjpeg mmx mmxext mozilla mp3 mpeg mplayer mudflap multilib mysql ncurses nls nptl nptlonly ogg openal opengl openmp oss pam pcre pdf perl php png ppds pppd python qt3support quicktime readline reflection sdl session skins spell spl sse sse2 ssl startup-notification stream subversion svg tcpd theora tiff tk truetype trutype unicode usb vcd vlc vlm vorbis wxwindows x264 xine xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw copy dshare dsnoop extplug file hooks ladspa lfloat linear meter mulaw multi null rate route share shm" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Any assistance would be greatly appreciated, I have tried looking everywhere and have not found anything after hours of searching.
_________________
All men have fears, but the brave put down their fears and march forward. Sometimes to death, but always to victory!
Back to top
View user's profile Send private message
AlphaHeX
n00b
n00b


Joined: 17 Jan 2005
Posts: 60
Location: Warsaw, Poland

PostPosted: Mon May 05, 2008 3:05 pm    Post subject: carc Reply with quote

I've compiled using xfidrv-1.18.2.tar.gz and everything is working fine with 2.6.25-r2, In-kernel ALSA build with all drivers as a modules. Unfortunately I have crackling sound :( Any tips for that?
_________________
HP Pavilion HDX9494NR [Intel Core 2 Duo X9000 | 20.1" Wide SXGA+ | 8GB Memory | 120 SSD + 500 HDD 7200rpm | Blu-ray Disc / Super Multi | NVIDIA GeForce 8800M GTS]
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6639
Location: The soundosphere

PostPosted: Mon May 05, 2008 3:13 pm    Post subject: Reply with quote

DemizerONE wrote:
here: http://cincev.com/mnt/store/users/admin/xfidrv-1.18.2.tgz ... This is the one that worked for me, it was supplied by the_root above. The download is working. :-)


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?
_________________
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
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 ... 9, 10, 11 ... 15, 16, 17  Next
Page 10 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