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 1, 2, 3 ... 15, 16, 17  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
blubbi
Guru
Guru


Joined: 27 Apr 2003
Posts: 564
Location: Halle (Saale), Germany

PostPosted: Mon Sep 24, 2007 12:13 pm    Post subject: Creative X-FI Soundblaster Drivers released v1.18 [HOWTO] Reply with quote

We just started a wiki here:
http://x-fi.olausson.de/


feel free to contribute.


Creative released another beta driver...
http://forums.creative.com/creativelabs/board/message?board.id=soundblaster&message.id=123196#M123196

XFiDrv_Linux_US-1.18.tar.gz

http://us.creative.com/support/downloads/download.asp?MainCategory=209&nRegionFK=&nCountryFK=&nLanguageFK=&sOSName=Linux&region=1&Product_Name=Sound+Blaster+X-Fi+Platinum&Product_ID=14065&modelnumber=&driverlang=1033&OS=12&drivertype=1&x=20&y=10

The Creative howto:
Quote:

To install the driver, do the following:
Download the XFiDrv_Linux_US-1.18.tar.gz package onto your local hard disk.
Double-click the downloaded package to unpack its contents.
Read the README file and follow the instructions.


Quote:

Current release features:
ALSA PCM Playback
ALSA Record
ALSA Mixer

Added Features or Enhancements:
Supports GCC version 4
Supports Linux 64-bit and 32-bit OS

Known issues:
S/PDIF passthrough is not supported in this driver release.
External I/O modules are not supported in this driver release.
Applications from the original Sound Blaster X-Fi Installation CD will not work with this driver.



Finally some good news:

OSS and ALSA now have the specs for the X-FI

http://4front-tech.com/forum/viewtopic.php?p=7485#7485
http://mailman.alsa-project.org/pipermail/alsa-devel/2008-March/006566.html

So we don't need to wait for another Creative release


================ DEPRECATED OLD 1.04 HOWTO BELOW===================

Okay, here's the howto:

visit #creative on freenode.net and share your results/knowhow

Many thanks to demik, Thingol79 and aidanjt

Some links:
Quote:
The creative "bugtracker"
http://connect.creativelabs.com/linux/Lists/Driver%20Issues/AllItems.aspx

and the creative Linux-Beta driver site:
http://connect.creativelabs.com/linux/default.aspx

anf the creative forum X-Fi Linux driver thread:
http://forums.creative.com/creativelabs/board/message?board.id=soundblaster&message.id=31220

auzentech Linux-Driver Announcement... maybe a hint when the Gold release should be ready...
http://www.auzentech.com/site/products/x-fi_prelude.php#linux


The HOWTO

all files regarding to this project can be found here:
http://olausson.de/x-fi/
and
http://blackbox.lostwave.net/x-fi/

Required Kernel-Modules
Code:
Device Drivers  --->
Sound  --->
<M> Sound card support

Advanced Linux Sound Architecture  --->
<M> Advanced Linux Sound Architecture
<M>   Sequencer support
<M>     Sequencer dummy client
<M>   OSS Mixer API
<M>   OSS PCM (digital audio) API
[*]     OSS PCM (digital audio) API - Include plugin system
[*]   OSS Sequencer API
<M>   RTC Timer support (optional)
[*]     Use RTC as default sequencer timer
[*]   Dynamic device file minor numbers
[*]   Support old ALSA API

Generic devices  --->
<M> Virtual MIDI soundcard

PCI devices  --->
<M> Emu10k1 (SB Live!, Audigy, E-mu APS)

The bare minimum to ALSA is Virtual "MIDI soundcard" (CONFIG_SND_VIRMIDI=m), "Emu10k1 (SB Live!, Audigy, E-mu APS)" (CONFIG_SND_EMU10K1=m)


Download Driver from creative:
http://www.creative.com/language.asp?sDestUrl=/support/downloads

Extrackt the driver from the downloaded package
Code:
tar -xvzf XFiDrv_Linux_US-1.04.tar.gz XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04.tar.bz2


Extrack the driver
Code:
tar -xvjf XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04.tar.bz2


Fix permissions and date on the folders and files
Code:
chmod -R 755 XFiDrv_Linux_US-1.04 && find XFiDrv_Linux_US-1.04/ -exec touch -c {} \;


Apply XFiDrv_Linux_US-1.04_all-in-one_v0.2.patch
Code:
wget http://olausson.de/x-fi/XFiDrv_Linux_US-1.04_all-in-one_v0.2.patch && patch -p0 < XFiDrv_Linux_US-1.04_all-in-one_v0.2.patch



Now lets configure and compile it
Code:
cd XFiDrv_Linux_US-1.04 && ./configure && make


Lets install the beast You have to be root in the following steps
Code:
make install


If everything went fine... lets runthe provided start script
The script throws out a lot of info... just be cool and look out for the last lines ;-)
Code:
/etc/init.d/ctsound start


Hopfully you'll see these two lines:
Code:
Successfully installed modules.
Loading X-Fi driver...


Test it with (substitute 2 with whatever devicenumber the X-Fi has on your system)
Code:
mplayer -ao alsa:device=hw=2 yourfile.mp3




+------------------------------------------+
| FAQ : |
+------------------------------------------+

Q: dmesg shows "ctalsa: Unknown symbol malloc_sizes"
A: Your kernel is compiled with SLUB. But SLAB is required because of malloc_sizes which is not in SLUB.
--->Rebuild your Kernel with SLAB

Q: During "make install" I get: "./ctsound: 35: Syntax error: Bad substitution"
A: If you are using Debian/Ubuntu, your /bin/sh probably points to /bin/dash.
--->Edit ctsound and change #!/bin/sh to #!/bin/bash

+------------------------------------------+

Works on my system no freezes nothing... just works
Code:
Portage 2.1.3.9 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.22.8 x86_64)
=================================================================
System uname: 2.6.22.8 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Timestamp of tree: Tue, 25 Sep 2007 13:50:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="de sv"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib accessibility acpi additions aiglx alsa amd64 ares asf bash-completion berkdb bitmap-fonts bittorrent bluetooth branding bzip2 cairo cdparanoia cdr cli connectionstatus cpudetection cracklib crypt css cups curl daap dbus dga divx4linux dri dts dv dvd dvdr dvdread edl emboss emerald emovix encode evo exif fam fbcon ffmpeg firefox flac foomaticdb fortran ftp gdbm gif gimp glitz gnutls gpm gtk gtk2 guile hal highlight history iconv imagemagick irc isdnlog java jpeg jpeg2k kde kqemu libsamplerate lirc live lm_sensors logitech-mouse lzo mad madwifi matroska metalink midi mikmod mjpeg mmx mmxext modplug mp3 mp4 mpeg mplayer mudflap musepack musicbrainz ncurses network network-cron nfs nls nptl nptlonly nsplugin nvidia ogg openal opengl openmp pam pam_console pcre pda pdf perl png ppds pppd python qt3 qt3support qt4 quicktime rar readline reflection rtc samba scanner sdk sdl sensord session sndfile spell spl sse sse2 ssl ssse3 svg tcltk tcpd theora tiff tk transcode transparency truetype truetype-fonts type1-fonts unicode usb userlocales utempter v4l v4l2 vcd vditool vidcap vorbis wifi wxwindows x264 xine xinerama xml xorg xvid yahoo zlib" ALSA_CARDS="hda-intel intel8x0" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de sv" LIRC_DEVICES="asusdh" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Hardware:
lspci
Code:
00:00.0 Host bridge: Intel Corporation 82975X Memory Controller Hub (rev c0)
00:01.0 PCI bridge: Intel Corporation 82975X PCI Express Root Port (rev c0)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01)
00:1c.5 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 6 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:00.0 Multimedia audio controller: Creative Labs SB X-Fi
01:01.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
01:01.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
01:02.0 Ethernet controller: Atheros Communications, Inc. AR5212/AR5213 Multiprotocol MAC/baseband processor (rev 01)
01:03.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
02:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
02:00.1 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
03:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 20)
05:00.0 VGA compatible controller: nVidia Corporation G70 [GeForce 7600 GT] (rev a1)


lshw -short
Code:

H/W path                   Device       Class       Description
===============================================================
                                        system      P5W DH Deluxe
/0                                      bus         P5W DH Deluxe
/0/0                                    memory      64KB BIOS
/0/4                                    processor   Intel(R) Core(TM)2 CPU          6600  @ 2.4
/0/4/5                                  memory      32KB L1 cache
/0/4/6                                  memory      4MB L2 cache
/0/4/7                                  memory      L3 cache
/0/3c                                   memory      2GB System Memory
/0/3c/0                                 memory      1GB DIMM SDRAM Synchronous
/0/3c/1                                 memory      DIMM [empty]
/0/3c/2                                 memory      1GB DIMM SDRAM Synchronous
/0/3c/3                                 memory      DIMM [empty]
/0/100                                  bridge      82975X Memory Controller Hub
/0/100/1                                bridge      82975X PCI Express Root Port
/0/100/1/0                              display     G70 [GeForce 7600 GT]
/0/100/1b                               multimedia  82801G (ICH7 Family) High Definition Audio
/0/100/1c                               bridge      82801G (ICH7 Family) PCI Express Port 1
/0/100/1c.3                             bridge      82801G (ICH7 Family) PCI Express Port 4
/0/100/1c.3/0              eth0         network     88E8053 PCI-E Gigabit Ethernet Controller
/0/100/1c.5                             bridge      82801GR/GH/GHM (ICH7 Family) PCI Express Po
/0/100/1c.5/0                           storage     JMicron 20360/20363 AHCI Controller
/0/100/1c.5/0.1                         storage     JMicron 20360/20363 AHCI Controller
/0/100/1d                               bus         82801G (ICH7 Family) USB UHCI Controller #1
/0/100/1d/1                usb2         bus         UHCI Host Controller
/0/100/1d/1/2                           generic     USB RECEIVER
/0/100/1d.1                             bus         82801G (ICH7 Family) USB UHCI Controller #2
/0/100/1d.1/1              usb3         bus         UHCI Host Controller
/0/100/1d.1/1/1                         generic     ASUS DH Remote
/0/100/1d.1/1/2                         bus         Logitech BT Mini-Receiver
/0/100/1d.1/1/2/2                       generic     Logitech BT Mini-Receiver
/0/100/1d.1/1/2/3                       generic     Logitech BT Mini-Receiver
/0/100/1d.2                             bus         82801G (ICH7 Family) USB UHCI Controller #3
/0/100/1d.2/1              usb4         bus         UHCI Host Controller
/0/100/1d.2/1/2                         generic     Bluetooth Device
/0/100/1d.3                             bus         82801G (ICH7 Family) USB UHCI Controller #4
/0/100/1d.3/1              usb5         bus         UHCI Host Controller
/0/100/1d.7                             bus         82801G (ICH7 Family) USB2 EHCI Controller
/0/100/1d.7/1              usb1         bus         EHCI Host Controller
/0/100/1d.7/1/1                         bus         USB2.0 Hub
/0/100/1d.7/1/1/1                       generic     USB Receiver
/0/100/1d.7/1/1/2                       generic     iP5200
/0/100/1d.7/1/7                         bus         USB2.0 Hub
/0/100/1d.7/1/7/1                       bus         USB2.0 Hub
/0/100/1d.7/1/7/2          scsi8        generic     USB Storage
/0/100/1d.7/1/7/2/0.0.0    /dev/sdd     disk        STORAGE DEVICE
/0/100/1d.7/1/7/2/0.0.0/0  /dev/sdd     disk
/0/100/1d.7/1/7/2/0.0.1    /dev/sde     disk        STORAGE DEVICE
/0/100/1d.7/1/7/2/0.0.1/0  /dev/sde     disk
/0/100/1d.7/1/7/2/0.0.2    /dev/sdf     disk        STORAGE DEVICE
/0/100/1d.7/1/7/2/0.0.2/0  /dev/sdf     disk
/0/100/1d.7/1/7/2/0.0.3    /dev/sdg     disk        STORAGE DEVICE
/0/100/1d.7/1/7/2/0.0.3/0  /dev/sdg     disk
/0/100/1d.7/1/7/3                       generic     RTL8187_Wireless
/0/100/1e                               bridge      82801 PCI Bridge
/0/100/1e/0                             multimedia  SB X-Fi
/0/100/1e/1                             multimedia  Bt878 Video Capture
/0/100/1e/1.1                           multimedia  Bt878 Audio Capture
/0/100/1e/2                wifi0        network     AR5212/AR5213 Multiprotocol MAC/baseband pr
/0/100/1e/3                             bus         TSB43AB22/A IEEE-1394a-2000 Controller (PHY
/0/100/1f                               bridge      82801GB/GR (ICH7 Family) LPC Interface Brid
/0/100/1f.1                scsi6        storage     82801G (ICH7 Family) IDE Controller
/0/100/1f.1/0.0.0          /dev/cdrom   disk        DVDR   PX-760A
/0/100/1f.1/0.1.0          /dev/cdrom1  disk        DVD-ROM PX-130A
/0/100/1f.2                scsi0        storage     82801GR/GH (ICH7 Family) SATA AHCI Controll
/0/100/1f.2/0              /dev/sda     disk        69GB WDC WD740ADFD-00
/0/100/1f.2/0/1            /dev/sda1    volume      47MB Linux filesystem partition
/0/100/1f.2/0/2            /dev/sda2    volume      956MB Linux swap / Solaris partition
/0/100/1f.2/0/3            /dev/sda3    volume      68GB Linux filesystem partition
/0/100/1f.2/1              /dev/sdb     disk        149GB WDC WD1600BEVS-0
/0/100/1f.2/1/1            /dev/sdb1    volume      149GB Linux filesystem partition
/0/100/1f.2/0.0.0          /dev/sdc     disk        69GB WDC WD740ADFD-00
/0/100/1f.2/0.0.0/1        /dev/sdc1    volume      69GB HPFS/NTFS partition
/0/100/1f.3                             bus         82801G (ICH7 Family) SMBus Controller
/1                         irlan0       network     Ethernet interface



regards
blubbi
_________________
-->Please add [solved] to the initial post's subject line if you feel your problem is resolved.
-->Help answer the unanswered

http://olausson.de


Last edited by blubbi on Thu Apr 17, 2008 3:14 pm; edited 24 times in total
Back to top
View user's profile Send private message
jsn
n00b
n00b


Joined: 26 Dec 2005
Posts: 70
Location: Finland

PostPosted: Mon Sep 24, 2007 1:09 pm    Post subject: Re: Creative X-FI Soundblaster Drivers released Reply with quote

blubbi wrote:
Drivers have been released!


Finally. Thanks for info! I've being waiting so long.. Cant even remember how long.

Code:
05:05.0 Multimedia audio controller: Creative Labs SB X-Fi

Code:
./installer
Setup is unable to detect a supported product on your system
Setup will now exit


Well i didnt get further than that. :?
Back to top
View user's profile Send private message
blubbi
Guru
Guru


Joined: 27 Apr 2003
Posts: 564
Location: Halle (Saale), Germany

PostPosted: Mon Sep 24, 2007 1:13 pm    Post subject: Reply with quote

01:00.0 Multimedia audio controller: Creative Labs Unknown device 0005
Subsystem: Creative Labs Unknown device 0021
Flags: bus master, medium devsel, latency 64, IRQ 10
I/O ports at 9c00 [size=32]
Memory at eba00000 (64-bit, non-prefetchable) [size=2M]
Memory at e4000000 (64-bit, non-prefetchable) [size=64M]
Capabilities: [40] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-

Thats what lspci shows up here.



updated pciids

01:00.0 Multimedia audio controller: Creative Labs SB X-Fi
Subsystem: Creative Labs X-Fi Platinum
Flags: bus master, medium devsel, latency 64, IRQ 10
I/O ports at 9c00 [size=32]
Memory at eba00000 (64-bit, non-prefetchable) [size=2M]
Memory at e4000000 (64-bit, non-prefetchable) [size=64M]
Capabilities: [40] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Back to top
View user's profile Send private message
jsn
n00b
n00b


Joined: 26 Dec 2005
Posts: 70
Location: Finland

PostPosted: Mon Sep 24, 2007 2:08 pm    Post subject: Reply with quote

Well i got forward by following info from creative's forum

http://forums.creative.com/creativelabs/board/message?board.id=soundblaster&message.id=31220...

changing lspci -vmd to -vmdn in installers 'hardware detection' part. So i'm now in the similar error as op:

Code:
make[1]: *** [.depend] Error 1
make[1]: Leaving directory `/opt/Creative/XFiDrv_Linux_US-1.04/src/ossrv'
make: *** [ctossrvclean] Error 2
Copy module files...
cp: cannot stat `ctossrv.o': No such file or directory
cp: cannot stat `emupia.o': No such file or directory
cp: cannot stat `ctsfman.o': No such file or directory
cp: cannot stat `haxfi.o': No such file or directory
cp: cannot stat `ctalsa.o': No such file or directory
cp: cannot stat `ct20xut.o': No such file or directory
cp: cannot stat `ctexfifx.o': No such file or directory
cp: cannot stat `cthwiut.o': No such file or directory
make: *** [copy_modules] Error 1
Installation Unsuccessful


That was to kernel 2.6.22-gentoo-r7

Code:
lspci -v

05:05.0 Multimedia audio controller: Creative Labs SB X-Fi
        Subsystem: Creative Labs X-Fi Platinum
        Flags: bus master, medium devsel, latency 0, IRQ 11
        I/O ports at cf00 [size=32]
        Memory at fd400000 (64-bit, non-prefetchable) [size=2M]
        Memory at fd200000 (64-bit, non-prefetchable) [size=2M]
        Capabilities: [40] Power Management version 2
        Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-


Trimmed the link text, while retaining the original reference, to preserve layout. -- desultory
Back to top
View user's profile Send private message
amdunlock
Guru
Guru


Joined: 24 Apr 2004
Posts: 409
Location: Darmstadt Germany

PostPosted: Mon Sep 24, 2007 5:37 pm    Post subject: Reply with quote

there is written that a gcc version older!!! than 4.0 is needed. maybe they mean newer? but this could be the reason for your errors ...

http://www.golem.de/0709/54935.html
_________________
-2500+ @ 3200+ ---- 512MB-Ram watercooled Htf X Triple @ 3 x 5V - Abit AN7 s*cking microguru - Geforce 6800 - Audigy 2 -=Gentoo Stage 2004.2 @ ext3=-
Back to top
View user's profile Send private message
blubbi
Guru
Guru


Joined: 27 Apr 2003
Posts: 564
Location: Halle (Saale), Germany

PostPosted: Mon Sep 24, 2007 5:53 pm    Post subject: Reply with quote

Iread this and I read that... but I guess you really nead gcc <4.0

In fact I would say creative started to develope the Linux driver than they released the card... and, shame on me if I am wrong, for 2 years ago gcc 3.X was the standard, wasn't it?

if you want this driver to mak a beep, go and grab a bin. distri. release that is 2 years old...

Oh okay... two years ago... I gues there were ont much amd64 Distris around...

Why the heck can't creative be a bit more verbose++, at least the system environment they managed to get this peace of shit compiled.

This is the worst bit of beta driver I have ever seen.

Does anyone know a system where "uname -i" throws back "x86_64"... this could be a hint on the system they used....

regards
blubbi
Back to top
View user's profile Send private message
coolone
Apprentice
Apprentice


Joined: 14 Nov 2006
Posts: 278

PostPosted: Tue Sep 25, 2007 8:43 am    Post subject: Reply with quote

Known issues:

This driver source will not compile with GCC version 4 and above.
S/PDIF passthrough is not supported in this driver release.
External I/O modules are not supported in this driver release.
Applications from the original Sound Blaster X-Fi Installation CD will not work with this driver.

-------------------------------------------------------------------------------------------------------------
i have waited long long long time.

Finally, what a GOOD beta Driver ...
_________________
No Rolex on my wrist Or platinum on my chest 'Cause I don't need that shit to impress
Back to top
View user's profile Send private message
/dev/blackhawk
Guru
Guru


Joined: 12 Feb 2004
Posts: 380
Location: Germany

PostPosted: Tue Sep 25, 2007 10:53 am    Post subject: Reply with quote

coolone wrote:
Known issues:

This driver source will not compile with GCC version 4 and above.
S/PDIF passthrough is not supported in this driver release.
External I/O modules are not supported in this driver release.
Applications from the original Sound Blaster X-Fi Installation CD will not work with this driver.

-------------------------------------------------------------------------------------------------------------
i have waited long long long time.

Finally, what a GOOD beta Driver ...

Has anyone been able to successfully compile this driver yet? (On a kernel 2.6 system)
Back to top
View user's profile Send private message
blubbi
Guru
Guru


Joined: 27 Apr 2003
Posts: 564
Location: Halle (Saale), Germany

PostPosted: Tue Sep 25, 2007 10:54 am    Post subject: Reply with quote

nope

and I am not willing to swich back to gcc 3x
Back to top
View user's profile Send private message
chabo
n00b
n00b


Joined: 25 Sep 2007
Posts: 24

PostPosted: Tue Sep 25, 2007 12:02 pm    Post subject: Reply with quote

i've tried x86_64-pc-linux-gnu-3.4.6 gcc and 2.6.22-gentoo-r7 kernel and no chance :cry:
Back to top
View user's profile Send private message
blubbi
Guru
Guru


Joined: 27 Apr 2003
Posts: 564
Location: Halle (Saale), Germany

PostPosted: Tue Sep 25, 2007 12:08 pm    Post subject: Reply with quote

did you compile the kernel with 3.X gcc

Okay, I guess creative is playing a fool on us...

To bad that there is no appropriate way to k... their a..

Best they would release a Creative Linux Distribution bundled with the driver, licensed under the _Creative_ Commons *hrrrhrrr*

regards
blubbi
Back to top
View user's profile Send private message
chabo
n00b
n00b


Joined: 25 Sep 2007
Posts: 24

PostPosted: Tue Sep 25, 2007 8:56 pm    Post subject: Reply with quote

I've tried 2.6.19-gentoo-r7 & gcc 3.4.6, because this is last release where function INIT_WORK use 3 parameters as used in Creative code. I can compile and build driver with some changes in include files(add #include linux/autoconf.h everywhere it uses kernel includes, #define UTS_RELEASE "2.6.19-gentoo-r7" in linux/version.h) Only bad thing is, that on insmod it has many unresolved symbols from alsa, so it will be some kernel among 2.6.10 and 2.6.19 hehe :D
Back to top
View user's profile Send private message
blubbi
Guru
Guru


Joined: 27 Apr 2003
Posts: 564
Location: Halle (Saale), Germany

PostPosted: Tue Sep 25, 2007 9:20 pm    Post subject: Reply with quote

What a shame... and creative calls this "beta" this release is far from ALPHA...

But at least it is a 2.6 series Kernel.... so there is stil some hope.

Maybe in another two years...
Back to top
View user's profile Send private message
Code_Man65
n00b
n00b


Joined: 15 Jul 2004
Posts: 16

PostPosted: Tue Sep 25, 2007 9:54 pm    Post subject: Reply with quote

I'm willing to be paitent. I personally am not going to test the driver because currently I'm running Gentoo on 32 bit and don't want to do a 64 bit reinstall until the driver compiles on recent kernels/gcc versions. They are going to have to support GCC4+ so its just a matter of them getting the code updated. They can't call it a release version if 95% of modern distro's can't use it.
Back to top
View user's profile Send private message
coolone
Apprentice
Apprentice


Joined: 14 Nov 2006
Posts: 278

PostPosted: Tue Sep 25, 2007 11:29 pm    Post subject: Reply with quote

blubbi wrote:
did you compile the kernel with 3.X gcc

Okay, I guess creative is playing a fool on us...

To bad that there is no appropriate way to k... their a..

Best they would release a Creative Linux Distribution bundled with the driver, licensed under the _Creative_ Commons *hrrrhrrr*

regards
blubbi



I totally agree with you. creative is playing a fool on us...
Damn...Gcc3.x was a standard about 2 yrs ago, Also nowdays,i dont think poeple use X86_64 with Gcc3.x
they released this driver only works on 64bit but with Gcc 3.X !!!!Creative is Awesome !!!

_________________
No Rolex on my wrist Or platinum on my chest 'Cause I don't need that shit to impress


Last edited by coolone on Wed Sep 26, 2007 2:11 am; edited 1 time in total
Back to top
View user's profile Send private message
coolone
Apprentice
Apprentice


Joined: 14 Nov 2006
Posts: 278

PostPosted: Tue Sep 25, 2007 11:35 pm    Post subject: Reply with quote

Quote:
Has anyone been able to successfully compile this driver yet? (On a kernel 2.6 system)

No .... I failed

My question is , whether Creative has been able to successfully compile this driver on any Linux distor?
If the answer is Yes, just wanna know which distor is suitable for this good driver?(A 64bit Platform also with Gcc3.x)
_________________
No Rolex on my wrist Or platinum on my chest 'Cause I don't need that shit to impress


Last edited by coolone on Wed Sep 26, 2007 2:08 am; edited 1 time in total
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Wed Sep 26, 2007 12:08 am    Post subject: Reply with quote

Moved from Kernel & Hardware to Unsupported Software.
Back to top
View user's profile Send private message
demik
n00b
n00b


Joined: 26 Sep 2007
Posts: 7

PostPosted: Wed Sep 26, 2007 2:51 am    Post subject: Reply with quote

Hi guys

First, escuse my english, it is not my native language.

After 10 hours of work, I managed to get this driver working. (on a Debian, but i don't see why it could't work on a gentoo).
They used a lot of deprecated structures, macros and so on, but it's ok.
My configuration : Kernel 2.6.22, gcc 4.2.1, 64 bits system.

I own a X-Fi Platinium, lspci -vv print this :

Code:
05:02.0 Multimedia audio controller: Creative Labs SB X-Fi
Subsystem: Creative Labs X-Fi Platinum
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (1000ns min, 1250ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 23
Region 0: I/O ports at bc00 [size=32]
Region 1: Memory at fe800000 (64-bit, non-prefetchable) [size=2M]
Region 3: Memory at f8000000 (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+ Queue=0/0 Enable-
Address: 00000000000000000 Data: 0000


I made some diffs, and I put them on my server : http://blackbox.lostwave.net/x-fi/
If anyone can mirror theses, it will be great.

HOWTO :

- download the 3 .diff ant put them somewhere (like /tmp)
- log as root
- Extract the Creative archive
Code:
# cd XFiDrv_Linux_US-1.04
# tar -xvjf XFiDrv_Linux_US-1.04.tar.bz2
# chmod -R 755 XFiDrv_Linux_US-1.04
# cd XFiDrv_Linux_US-1.04
# patch -p1 < /tmp/XFiDrv_Linux_US-1.04_includes_demik.diff
# patch -p1 < /tmp/XFiDrv_Linux_US-1.04_src_demik.diff
# ./configure
# patch -p0 < /tmp/XFiDrv_Linux_US-1.04_Makefile.conf_demik.diff
# make
# make install


If the Makefile.conf patch fail, take a loot at it, it is very simple. You need to do this :
- remove the unwanted CFLAGS
- change kpatchlevel from 0 to 6
- add -DKBUILD_MODNAME=\"x-fi\" to the CFLAGS

Sound works, 2.0, I will try 5.1 and 7.1 later. Mixer works.

S/PDIF doesn't work, as I/O front panel (I think the external extension doesn't work too).
Sound sometimes loop.

Thats all, good luck guys, I will stay tuned.
(If someone could correct my english mistakes, it would be appreciated).
Back to top
View user's profile Send private message
ko-bahn
n00b
n00b


Joined: 19 Feb 2006
Posts: 23
Location: France

PostPosted: Wed Sep 26, 2007 5:11 am    Post subject: Reply with quote

Nice work!
It compiles just fine, but when i do the "make install"...
Code:

/bin/sh: line 9: /sbin/chkconfig: file or folder doesn't exist
FATAL: Error inserting ctalsa (/lib/modules/2.6.22-gentoo-r7/kernel/drivers/ssound/ctalsa.ko): Unknown symbol in module, or unknown parameter (see dmesg)


In dmesg i can see that:
Code:

ctalsa: Unknown symbol snd_seq_kernel_client_ctl
ctalsa: Unknown symbol snd_seq_device_unregister_driver
ctalsa: Unknown symbol snd_seq_create_kernel_client
ctalsa: Unknown symbol snd_seq_delete_kernel_client
ctalsa: Unknown symbol snd_seq_event_port_attach
ctalsa: Unknown symbol snd_seq_device_register_driver
ctalsa: Unknown symbol snd_seq_device_new
ctalsa: Unknown symbol malloc_sizes
ctalsa: Unknown symbol snd_midi_process_event
ctalsa: Unknown symbol snd_seq_kernel_client_ctl
ctalsa: Unknown symbol snd_seq_device_unregister_driver
ctalsa: Unknown symbol snd_seq_create_kernel_client
ctalsa: Unknown symbol snd_seq_delete_kernel_client
ctalsa: Unknown symbol snd_seq_event_port_attach
ctalsa: Unknown symbol snd_seq_device_register_driver
ctalsa: Unknown symbol snd_seq_device_new
ctalsa: Unknown symbol malloc_sizes
ctalsa: Unknown symbol snd_midi_process_event

Things to be changed when i build my kernel ?
Back to top
View user's profile Send private message
blubbi
Guru
Guru


Joined: 27 Apr 2003
Posts: 564
Location: Halle (Saale), Germany

PostPosted: Wed Sep 26, 2007 7:55 am    Post subject: Reply with quote

demik wrote:
Hi guys

First, escuse my english, it is not my native language.

After 10 hours of work, I managed to get this driver working. (on a Debian, but i don't see why it could't work on a gentoo).
They used a lot of deprecated structures, macros and so on, but it's ok.
My configuration : Kernel 2.6.22, gcc 4.2.1, 64 bits system.


You are a hero!

Quote:

I made some diffs, and I put them on my server : http://xxxxxxxx/x-fi/
If anyone can mirror theses, it will be great.


I'll mirror them:
http://olausson.de/x-fi/

You can remove your's from the board to save traffic an unnaccessary hits on your connection if this should be a problem.
If you need to upload changes, or new diffs, PM and I'll upload or give you FTP-ACCESS.

I'll give it a shot today.

thanks and best regards
blubbi
Back to top
View user's profile Send private message
blubbi
Guru
Guru


Joined: 27 Apr 2003
Posts: 564
Location: Halle (Saale), Germany

PostPosted: Wed Sep 26, 2007 8:57 am    Post subject: Reply with quote

Okay, I tried to compile against 2.6.23-rc8 without success:

gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D_
_CT_LITTLE_ENDIAN -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKB
UILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.23-rc8/source/include -I/lib/mo
dules/2.6.23-rc8/source/include/asm/mach-default -I/lib/modules/2.6.23-rc8/source/include -D__
KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign
-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -c LinuxSys.
c
LinuxSys.c: In function ‘sysRegisterInterrupt’:
LinuxSys.c:637: warning: cast from pointer to integer of different size
LinuxSys.c:642: warning: ‘deprecated_irq_flag’ is deprecated (declared at /lib/modules/2.6.23-r
c8/source/include/linux/interrupt.h:64)
LinuxSys.c:642: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
LinuxSys.c: In function ‘sysGetPagePhysAddr’:
LinuxSys.c:947: warning: passing argument 1 of ‘kvirt_to_phys’ makes integer from pointer witho
ut a cast
LinuxSys.c: In function ‘sysGetPageBusAddr’:
LinuxSys.c:974: warning: passing argument 1 of ‘kvirt_to_bus’ makes integer from pointer withou
t a cast
LinuxSys.c: In function ‘sysOpenCreateFile’:
LinuxSys.c:1491: error: ‘O_RDWR’ undeclared (first use in this function)
LinuxSys.c:1491: error: (Each undeclared identifier is reported only once
LinuxSys.c:1491: error: for each function it appears in.)
LinuxSys.c:1491: error: ‘O_CREAT’ undeclared (first use in this function)
LinuxSys.c:1496: error: ‘O_RDONLY’ undeclared (first use in this function)
LinuxSys.c:1500: error: ‘O_WRONLY’ undeclared (first use in this function)
LinuxSys.c:1515: warning: implicit declaration of function ‘filp_open’
LinuxSys.c:1515: warning: assignment makes pointer from integer without a cast
LinuxSys.c:1517: warning: implicit declaration of function ‘filp_close’
LinuxSys.c: In function ‘sysGetFileSize’:
LinuxSys.c:1574: warning: assignment makes pointer from integer without a cast
LinuxSys.c:1576: error: dereferencing pointer to incomplete type
LinuxSys.c: In function ‘sysWriteFile’:
LinuxSys.c:1623: warning: assignment makes pointer from integer without a cast
LinuxSys.c:1625: error: dereferencing pointer to incomplete type
LinuxSys.c:1626: error: dereferencing pointer to incomplete type
LinuxSys.c:1626: error: dereferencing pointer to incomplete type
LinuxSys.c: In function ‘sysReadFile’:
LinuxSys.c:1672: warning: assignment makes pointer from integer without a cast
LinuxSys.c:1674: error: dereferencing pointer to incomplete type
LinuxSys.c:1675: error: dereferencing pointer to incomplete type
LinuxSys.c:1675: error: dereferencing pointer to incomplete type
make[1]: *** [LinuxSys.o] Error 1
make[1]: Leaving directory `/home/blub/Desktop/x-fi/XFiDrv_Linux_US-1.04/src/ossrv'
make: *** [ctossrv] Error 2

gonna try it against 2.6.22.8

regards
blubbi
Back to top
View user's profile Send private message
jsn
n00b
n00b


Joined: 26 Dec 2005
Posts: 70
Location: Finland

PostPosted: Wed Sep 26, 2007 10:07 am    Post subject: Reply with quote

Yea, almost, but no go. In the end make install gives this
Code:
FATAL: Error inserting ctalsa (/lib/modules/2.6.22-gentoo-r7/kernel/drivers/ssound/ctalsa.ko): Unknown symbol in module, or unknown parameter (see dmesg)
and dmesg:
Code:
ctalsa: Unknown symbol snd_midi_process_event
Back to top
View user's profile Send private message
demik
n00b
n00b


Joined: 26 Sep 2007
Posts: 7

PostPosted: Wed Sep 26, 2007 11:23 am    Post subject: Reply with quote

ko-bahn wrote:
Nice work!
It compiles just fine, but when i do the "make install"...
Code:

/bin/sh: line 9: /sbin/chkconfig: file or folder doesn't exist
FATAL: Error inserting ctalsa (/lib/modules/2.6.22-gentoo-r7/kernel/drivers/ssound/ctalsa.ko): Unknown symbol in module, or unknown parameter (see dmesg)


Don't worry about chkconfig; It's a redhat tool hardcoded into the Makefile. Doesn't change anything.

Quote:

In dmesg i can see that:
Code:

ctalsa: Unknown symbol snd_seq_kernel_client_ctl
ctalsa: Unknown symbol snd_seq_device_unregister_driver
ctalsa: Unknown symbol snd_seq_create_kernel_client
ctalsa: Unknown symbol snd_seq_delete_kernel_client
ctalsa: Unknown symbol snd_seq_event_port_attach
ctalsa: Unknown symbol snd_seq_device_register_driver
ctalsa: Unknown symbol snd_seq_device_new
ctalsa: Unknown symbol malloc_sizes
ctalsa: Unknown symbol snd_midi_process_event
ctalsa: Unknown symbol snd_seq_kernel_client_ctl
ctalsa: Unknown symbol snd_seq_device_unregister_driver
ctalsa: Unknown symbol snd_seq_create_kernel_client
ctalsa: Unknown symbol snd_seq_delete_kernel_client
ctalsa: Unknown symbol snd_seq_event_port_attach
ctalsa: Unknown symbol snd_seq_device_register_driver
ctalsa: Unknown symbol snd_seq_device_new
ctalsa: Unknown symbol malloc_sizes
ctalsa: Unknown symbol snd_midi_process_event

Things to be changed when i build my kernel ?


One guy in #creative @ freenote get the same problems with my patch (malloc_sizes). You can come here if you want too.
The others symbols are from the alsa system. Did you have alsa enabled in your kernel ? If so, try loading snd, snd-core, and friends ?
Back to top
View user's profile Send private message
demik
n00b
n00b


Joined: 26 Sep 2007
Posts: 7

PostPosted: Wed Sep 26, 2007 11:50 am    Post subject: Reply with quote

jsn wrote:
Yea, almost, but no go. In the end make install gives this
Code:
FATAL: Error inserting ctalsa (/lib/modules/2.6.22-gentoo-r7/kernel/drivers/ssound/ctalsa.ko): Unknown symbol in module, or unknown parameter (see dmesg)
and dmesg:
Code:
ctalsa: Unknown symbol snd_midi_process_event


Ok I _think_ this one is about kernel configuration, But i'm not that sure.

Here is my configuration : (alsa part only).

Code:
#
# Advanced Linux Sound Architecture
#
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_SEQ_DUMMY=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RTCTIMER=m
CONFIG_SND_SEQ_RTCTIMER_DEFAULT=y
# CONFIG_SND_DYNAMIC_MINORS is not set
CONFIG_SND_SUPPORT_OLD_API=y
CONFIG_SND_VERBOSE_PROCFS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

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 Sep 26, 2007 12:22 pm    Post subject: Reply with quote

Am I the only one who finds it ironic that opensource folks are fixing closed source drivers?
_________________
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
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page 1, 2, 3 ... 15, 16, 17  Next
Page 1 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