Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

Creative X-FI Soundblaster Drivers released v1.18 [HOWTO]

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
402 posts
  • Page 8 of 17
    • Jump to page:
  • Previous
  • 1
  • …
  • 6
  • 7
  • 8
  • 9
  • 10
  • …
  • 17
  • Next
Author
Message
a.forlorn
Guru
Guru
User avatar
Posts: 412
Joined: Fri Aug 12, 2005 2:41 am
Location: Ulm, Germany
Contact:
Contact a.forlorn
Website

  • Quote

Post by a.forlorn » Tue Feb 05, 2008 10:33 am

Use this url:

http://blackbox.lostwave.net/x-fi/XFiDr ... v0.2.patch
Gentoo update is sometimes harder than it should.
Top
wwinters
n00b
n00b
Posts: 5
Joined: Mon Feb 04, 2008 11:01 pm

  • Quote

Post by wwinters » Tue Feb 05, 2008 1:52 pm

Thank you!
Top
Bakou
n00b
n00b
Posts: 42
Joined: Mon Feb 05, 2007 6:26 am

  • Quote

Post by Bakou » Wed Feb 06, 2008 3:53 am

http://www.phoronix.com/scan.php?page=a ... =990&num=1

*does the open source dance* 8O

I also posted on this here, please show your support!
http://forums.gentoo.org/viewtopic-t-657596.html
--Laptop--
ThinkPad T500 Gentoo

--Desktop--
Intel Core Duo E6420 (8x333)
3 GB PC6400 DDR2 825mhz 4-4-4-15
nVidia 8800GT
Creative X-Fi (works in Gentoo)
Top
HecHacker1
Apprentice
Apprentice
User avatar
Posts: 213
Joined: Thu Jun 26, 2003 5:39 am
Location: UCSD
Contact:
Contact HecHacker1
Website

  • Quote

Post by HecHacker1 » Wed Feb 06, 2008 3:23 pm

Bakou wrote:http://www.phoronix.com/scan.php?page=a ... =990&num=1

*does the open source dance* 8O

I also posted on this here, please show your support!
http://forums.gentoo.org/viewtopic-t-657596.html
Dance Dance Dance!

I was just about to "throw away" my X-Fi since it didn't work well with OSS and instead go with the tried and true on-board audio.

Now I may have to rethink my motherboard purchase so that it has another slot for the X-Fi.
Top
a.forlorn
Guru
Guru
User avatar
Posts: 412
Joined: Fri Aug 12, 2005 2:41 am
Location: Ulm, Germany
Contact:
Contact a.forlorn
Website

  • Quote

Post by a.forlorn » Thu Feb 07, 2008 9:00 pm

I tried with the current ebuild in bugs.gentoo.org and TATA: it works! :D Before with the creative driver i got kernel freezes and reboots, with OSS I can at least hear mp3 (with xine and amarok) and sound system beeps. :D
Gentoo update is sometimes harder than it should.
Top
Bakou
n00b
n00b
Posts: 42
Joined: Mon Feb 05, 2007 6:26 am

  • Quote

Post by Bakou » Fri Feb 08, 2008 3:07 am

sweet, does it do 5.1 sound? do games work? I need to find the time to try it
--Laptop--
ThinkPad T500 Gentoo

--Desktop--
Intel Core Duo E6420 (8x333)
3 GB PC6400 DDR2 825mhz 4-4-4-15
nVidia 8800GT
Creative X-Fi (works in Gentoo)
Top
Nick C
Guru
Guru
Posts: 526
Joined: Fri Mar 18, 2005 5:05 am
Location: Portsmouth, England
Contact:
Contact Nick C
Website

  • Quote

Post by Nick C » Fri Feb 08, 2008 3:13 am

well i managed to get at least some sound from gxine before it crashed, so its a damn site better than the creative driver!
Gonna play around with it some more and see if i can get gnome/gstreamer working properly.
Please add [solved] to the initial post's subject line if you feel your problem is resolved.
www.monkeydust.net
Top
Lubomir
Apprentice
Apprentice
Posts: 155
Joined: Sat Dec 17, 2005 11:44 am

  • Quote

Post by Lubomir » Fri Feb 08, 2008 12:00 pm

Is OSS the same like alsa? As i start with Linux, oss was just depricated. Can i hear music, play games and watch movies like always as with cards that work with alsa?
At the moment i am thinking of seeling my x-fi and getting the asus xonar(8788 chipset). Thats driver is in alsa and the sound of the cards is the same or a bit better then the x-fi. The only difference is, that it does support EAX only until 2.0, what is not realy important for me, because i wont play realy much.
Top
Nick C
Guru
Guru
Posts: 526
Joined: Fri Mar 18, 2005 5:05 am
Location: Portsmouth, England
Contact:
Contact Nick C
Website

  • Quote

Post by Nick C » Fri Feb 08, 2008 5:53 pm

from what i can tell OSS version 4 (the one released here) is comparable to ALSA and is under active development. You may need to recompile some/all apps with oss support i think, but there is some alsa emulation available by the driver.
However i have hit a problem with getting gstreamer (and hence a lot of gnome) to work as from what i can tell gstreamer only supports oss v3, and there are api changes in v4. There seems to be a patch on the OSS forums but while it applies, i cant get it to compile :(
Please add [solved] to the initial post's subject line if you feel your problem is resolved.
www.monkeydust.net
Top
d3vlin
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 134
Joined: Wed Apr 02, 2003 2:53 pm

  • Quote

Post by d3vlin » Fri Feb 08, 2008 7:40 pm

Howdy all... trying to build X-Fi drivers in Gentoo I ran across this topic, finding a similar error, but no resolution.
Does this mean dead end? or still any chance?

my emerge info:
Portage 2.1.3.19 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r6 x86_64 Intel(R) Core(TM)2 Quad CPU @ 2.40GHz
Timestamp of tree: Thu, 07 Feb 2008 17:00:01 +0000
app-shells/bash: 3.2_p17-r1
dev-lang/python: 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
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.9.6-r2, 1.10
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distfiles distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/dis ... ons/gentoo"
MAKEOPTS="-j5"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac aalib acl acpi akode alsa amd64 arts audiofile berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox flac fortran gdbm gif gphoto2 gpm gstreamer hal iconv ipv6 isdnlog jpeg kde kerberos ldap lm_sensors logitech-mouse mad midi mikmod mmx mmxext mp3 mpeg mudflap ncurses nls nptl nptlonly nvidia ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime rdesktop readline reflection sdl session smp spell spl sse sse2 ssl ssse3 svg tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis xine xml xorg xv xvmc 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 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="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
blubbi wrote: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
Top
MorLipf
Apprentice
Apprentice
User avatar
Posts: 226
Joined: Tue Nov 09, 2004 6:44 pm
Location: Solingen, Germany

  • Quote

Post by MorLipf » Sat Feb 09, 2008 11:40 pm

I tried to compile the driver and got this error message:

Code: Select all

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 -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.24-gentoo/source/include -I/lib/modules/2.6.24-gentoo/source/include/asm/mach-default -I/lib/modules/2.6.24-gentoo/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 -M LinuxReg.c LinuxSys.c ctossrv_main.c osutils.c   > .depend
LinuxReg.c:16:30: error: asm-x86_64/param.h: No such file or directory
LinuxSys.c:19:30: error: asm-x86_64/param.h: No such file or directory
ctossrv_main.c:16:30: error: asm-x86_64/param.h: No such file or directory
osutils.c:17:30: error: asm-x86_64/param.h: No such file or directory
make[1]: *** [.depend] Error 1
make[1]: Leaving directory `/home/morlipf/Downloads/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/ossrv'
make: *** [ctossrv] Error 2
Does anyone know how to fix it?
Top
jmrk
n00b
n00b
Posts: 19
Joined: Mon Oct 23, 2006 1:58 pm

  • Quote

Post by jmrk » Sun Feb 10, 2008 12:28 pm

@d3vlin:
jmrk wrote:I just found out how to make the driver compile using kernel 2.6.23(-gentoo-r1) (and gcc-4.2.2, not sure whether the gcc version affects it). I had the same problem as K_O-Gnom, i.e. errors when trying to "make".

This is what I did:
open XFiDrv_Linux_US-1.04/src/ossrv/LinuxSys.c
and add the following include-lines somewhere at the top of the file:

Code: Select all

//added for 2.6.23 kernel
#include <linux/fs.h>
#include <asm-generic/fcntl.h>
After this fix, the driver compiled without errors.
the first six pages of this thread aren't too much to read, are they? :-P

@MorLipf:
AFAIK kernel 2.6.24 features some major internal changes regarding the location of i386 and x86_64 architecture specific code... looks like you've come across some of the consequences ;-)
I don't have 2.6.24 yet myself, so I can tell you only what I can guess from your error message and a quick google search:
Looks like the kernel source file "include/asm-x86_64/param.h" does not exist anymore, but the X-Fi driver requires it.
Looking at the kernel change log, it seems that file has moved to "include/asm-x86/param.h" (notice the missing _64).
So, to fix it, you probably need to edit the files LinuxReg.c, Linux.Sys.c, ctossrv_main.c and osutils.c, all of them inside the src/ossrv/ directory of the X-Fi driver. They all have a line like "#include <asm-x86_64/param.h>" somewhere near the top, which you need to change to

Code: Select all

#include <asm-x86/param.h>
Tell me if it works.

BTW, these include lines are inserted by the "all-in-one_v0.2" patch, so if anyone feels responsible for maintaining that one, he could make life easier for the rest of the world by modifying it accordingly. I don't have the time to do it myself right now.
Top
MorLipf
Apprentice
Apprentice
User avatar
Posts: 226
Joined: Tue Nov 09, 2004 6:44 pm
Location: Solingen, Germany

  • Quote

Post by MorLipf » Sat Feb 16, 2008 10:26 am

Now I have changed "#include <asm-x86_64/param.h>" to "#include <asm-x86/param.h>" in all files. This fixed the "File not found"-error but now I have another problem:

Code: Select all

ks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -c LinuxReg.c
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 -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.24-gentoo-r2/source/include -I/lib/modules/2.6.24-gentoo-r2/source/include/asm/mach-default -I/lib/modules/2.6.24-gentoo-r2/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:639: warning: cast from pointer to integer of different size
LinuxSys.c:644: error: 'SA_SHIRQ' undeclared (first use in this function)
LinuxSys.c:644: error: (Each undeclared identifier is reported only once
LinuxSys.c:644: error: for each function it appears in.)
LinuxSys.c:644: warning: passing argument 2 of 'request_irq' from incompatible pointer type
LinuxSys.c: In function 'sysGetPagePhysAddr':
LinuxSys.c:949: warning: passing argument 1 of 'kvirt_to_phys' makes integer from pointer without a cast
LinuxSys.c: In function 'sysGetPageBusAddr':
LinuxSys.c:976: warning: passing argument 1 of 'kvirt_to_bus' makes integer from pointer without a cast
LinuxSys.c: In function 'sysWriteFile':
LinuxSys.c:1628: warning: pointer targets in passing argument 2 of 'filp->f_op->write' differ in signedness
LinuxSys.c: In function 'sysReadFile':
LinuxSys.c:1677: warning: pointer targets in passing argument 2 of 'filp->f_op->read' differ in signedness
make[1]: *** [LinuxSys.o] Error 1
make[1]: Leaving directory `/home/morlipf/Downloads/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/ossrv'
make: *** [ctossrv] Error 2
Any suggestions?
Top
thode
n00b
n00b
User avatar
Posts: 13
Joined: Fri Nov 19, 2004 7:04 pm

  • Quote

Post by thode » Sat Feb 16, 2008 11:41 am

Your problem has been mentioned previously in the thread, so browsing through a couple of the last pages might answer it.

To be blunt though, the alsa X-FI driver is simply not the worth effort compared to the results it (sometimes) can be fixed to yield. Stereo sound (no surround support yet), stereo sound that doesn't play 100% flawlessly most of the time and a driver that in certain cases makes your system hang, are probably what you'll get, IF you manage to get it to work. Even if you do, it will take you a lot of tweaking and fiddling.

It is claimed to be a beta driver, in the view of most people, it is an alpha driver at best.

I suggest you do 1 of 2 things in regards to the X-FI:
a) try out the newly released oss4 driver. Reports say that it works rather well, albeit still in stereo sound.
b) wait for the alsa team to make an alsa driver. The X-FI source code was released, so it is finally possible for them to make a driver.

In the meantime, I'd suggest using onboard sound or some other alternative to satisfy your sound demands.

Looking forward myself to surround output in linux with the new driver possibilities; it will be interesting as to whether oss4 or alsa will provide the best driver.
Top
garlicbread
Apprentice
Apprentice
User avatar
Posts: 182
Joined: Sat Mar 06, 2004 1:08 am

  • Quote

Post by garlicbread » Sat Feb 16, 2008 6:51 pm

I'm in the middle of looking into an ebuild at the moment
I've noticed a few things which are not obvoius

1. for the above include statements mentioned, it's better to put them further down the file instead of at the top to avoid compile errors
(just beneath the first section of includes)

2. The main kernel modules found at the top level directory
ct20xut.ko, ctalsa.ko, ctexfifx.ko, cthwiut.ko, ctossrv.ko, ctsfman.ko

I think need another kenel module under src/ossrv/ctossrv.ko
which doesn't seem to always compile
this is partly the reason for the symbol errors

although as soon as I inserted ctossrv.ko instant crash
so this may have something to do with the main kernel config

3. I suspect OSS works and Alsa doesn't because of the resampling within the driver
(I think OSS somehow auto resamples to a frequency that works)
I think there may be a way to configure alsa to always upsample to a given rate by messing with the configs
but I'll need to get it working first to look into this
Top
Kenji Miyamoto
Veteran
Veteran
User avatar
Posts: 1452
Joined: Sat May 28, 2005 6:11 pm
Location: Looking over your shoulder.
Contact:
Contact Kenji Miyamoto
Website

  • Quote

Post by Kenji Miyamoto » Sat Feb 16, 2008 10:19 pm

I'm not having any luck just as others above:

Code: Select all

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 -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.23-gentoo-r5/source/include -I/lib/modules/2.6.23-gentoo-r5/source/include/asm/mach-default -I/lib/modules/2.6.23-gentoo-r5/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 LinuxReg.c
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 -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.23-gentoo-r5/source/include -I/lib/modules/2.6.23-gentoo-r5/source/include/asm/mach-default -I/lib/modules/2.6.23-gentoo-r5/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:638: warning: cast from pointer to integer of different size
LinuxSys.c:643: warning: ‘deprecated_irq_flag’ is deprecated (declared at /lib/modules/2.6.23-gentoo-r5/source/include/linux/interrupt.h:64)
LinuxSys.c:643: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
LinuxSys.c: In function ‘sysGetPagePhysAddr’:
LinuxSys.c:948: warning: passing argument 1 of ‘kvirt_to_phys’ makes integer from pointer without a cast
LinuxSys.c: In function ‘sysGetPageBusAddr’:
LinuxSys.c:975: warning: passing argument 1 of ‘kvirt_to_bus’ makes integer from pointer without a cast
LinuxSys.c: In function ‘sysOpenCreateFile’:
LinuxSys.c:1492: error: ‘O_RDWR’ undeclared (first use in this function)
LinuxSys.c:1492: error: (Each undeclared identifier is reported only once
LinuxSys.c:1492: error: for each function it appears in.)
LinuxSys.c:1492: error: ‘O_CREAT’ undeclared (first use in this function)
LinuxSys.c:1497: error: ‘O_RDONLY’ undeclared (first use in this function)
LinuxSys.c:1501: error: ‘O_WRONLY’ undeclared (first use in this function)
LinuxSys.c:1516: warning: implicit declaration of function ‘filp_open’
LinuxSys.c:1516: warning: assignment makes pointer from integer without a cast
LinuxSys.c:1518: warning: implicit declaration of function ‘filp_close’
LinuxSys.c: In function ‘sysGetFileSize’:
LinuxSys.c:1575: warning: assignment makes pointer from integer without a cast
LinuxSys.c:1577: error: dereferencing pointer to incomplete type
LinuxSys.c: In function ‘sysWriteFile’:
LinuxSys.c:1624: warning: assignment makes pointer from integer without a cast
LinuxSys.c:1626: error: dereferencing pointer to incomplete type
LinuxSys.c:1627: error: dereferencing pointer to incomplete type
LinuxSys.c:1627: error: dereferencing pointer to incomplete type
LinuxSys.c: In function ‘sysReadFile’:
LinuxSys.c:1673: warning: assignment makes pointer from integer without a cast
LinuxSys.c:1675: error: dereferencing pointer to incomplete type
LinuxSys.c:1676: error: dereferencing pointer to incomplete type
LinuxSys.c:1676: error: dereferencing pointer to incomplete type
make[1]: *** [LinuxSys.o] Error 1
make[1]: Leaving directory `/usr/src/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/ossrv'
make: *** [ctossrv] Error 2
When do you think there'll be a good open source ALSA driver?

Since Creative's driver doesn't seem to be doing so well, how good is the OSS4 driver from 4Front? Has anyone tried it? Is it possible to use with ALSA still in-kernel (I have a capture card and a few other things that require ALSA).
[ Kawa-kun, new and improved!! ]

Alex Libman seems to be more of an anarchist than a libertarian.
Top
Nick C
Guru
Guru
Posts: 526
Joined: Fri Mar 18, 2005 5:05 am
Location: Portsmouth, England
Contact:
Contact Nick C
Website

  • Quote

Post by Nick C » Sat Feb 16, 2008 10:52 pm

im currently using the oss v4 driver and it works (which is more than can be said for the creative driver) and seems to sit ok with kernel alsa, although im not using anything alsa so ive no idea if it works. The biggest problem atm (imo anyway) with oss is that gstreamer (and thus pretty much anything gnome) only supports oss v3 so you dont get any sound. There is a patch that seems to fix it but im still working on a way to get it to work as it seems that gentoo's way of splitting out gstreamer plugins means the patch needs to be applied to a different ebuild than i thought, only the ebuild in question builds solely from inherited eclass functions and im not sure what to add to get the patch applied.
If your interested in getting it working keep an eye on this thread on the 4front forums:
http://4front-tech.com/forum/viewtopic.php?t=2474
Please add [solved] to the initial post's subject line if you feel your problem is resolved.
www.monkeydust.net
Top
Kenji Miyamoto
Veteran
Veteran
User avatar
Posts: 1452
Joined: Sat May 28, 2005 6:11 pm
Location: Looking over your shoulder.
Contact:
Contact Kenji Miyamoto
Website

  • Quote

Post by Kenji Miyamoto » Sun Feb 17, 2008 6:13 pm

It looks like OSSv4 works pretty well. I don't really use GStreamer for anything, so I haven't had any trouble with sound: everything plays as before.

The new mixer, which allows changing output volume on a per-application basis (at least with the X-Fi) is pretty useful, too. It's too bad equalization isn't available, but I only really use it in Amarok with has its own equalizer.
[ Kawa-kun, new and improved!! ]

Alex Libman seems to be more of an anarchist than a libertarian.
Top
Nick C
Guru
Guru
Posts: 526
Joined: Fri Mar 18, 2005 5:05 am
Location: Portsmouth, England
Contact:
Contact Nick C
Website

  • Quote

Post by Nick C » Sun Feb 17, 2008 6:23 pm

Managed to get the patch for gstreamer to work and you can find a patched ebuild on my website, seems to work as im now listening to music with exaile. See my sig for a link.
Please add [solved] to the initial post's subject line if you feel your problem is resolved.
www.monkeydust.net
Top
Narusegawa
Apprentice
Apprentice
User avatar
Posts: 210
Joined: Tue Jun 29, 2004 9:28 am
Location: Bimringham, UK
Contact:
Contact Narusegawa
Website

  • Quote

Post by Narusegawa » Fri Feb 29, 2008 10:54 am

We finally have X-fi support in linux!? This is the one reason I've held off returning to gentoo for so long now.
WARNING: It is a violation of federal law to use me in a way inconsistent with my labelling. I am dangerous to humans and domestic animals. Please avoid contact with your eyes and clothing. I should be stored out of the reach of children.
Top
Nick C
Guru
Guru
Posts: 526
Joined: Fri Mar 18, 2005 5:05 am
Location: Portsmouth, England
Contact:
Contact Nick C
Website

  • Quote

Post by Nick C » Fri Feb 29, 2008 6:27 pm

Yes, its still in development but basic stereo sound on the xfi works with the OSSv4 ebuilds details above, i wouldnt even bother with the creative drivers at this point.
Please add [solved] to the initial post's subject line if you feel your problem is resolved.
www.monkeydust.net
Top
Narusegawa
Apprentice
Apprentice
User avatar
Posts: 210
Joined: Tue Jun 29, 2004 9:28 am
Location: Bimringham, UK
Contact:
Contact Narusegawa
Website

  • Quote

Post by Narusegawa » Fri Feb 29, 2008 7:39 pm

Aslong as it works enough for music, videos and games (cedega too) that's good enough for me. :-) All I need is basic output on line-out as I have an amp doing the rest for me :-)
WARNING: It is a violation of federal law to use me in a way inconsistent with my labelling. I am dangerous to humans and domestic animals. Please avoid contact with your eyes and clothing. I should be stored out of the reach of children.
Top
Nick C
Guru
Guru
Posts: 526
Joined: Fri Mar 18, 2005 5:05 am
Location: Portsmouth, England
Contact:
Contact Nick C
Website

  • Quote

Post by Nick C » Fri Feb 29, 2008 10:36 pm

the biggest problem that ive hit with using OSS v4 is that quite a few apps (including gstreamer) only support OSS v3, which is the ancient version still lurking in the kernel that isnt compatible with v4. However now that OSS is GPL'ed im hoping more apps will support OSS v4, there are already patches for gstreamer so sound works within gnome.
Please add [solved] to the initial post's subject line if you feel your problem is resolved.
www.monkeydust.net
Top
dAlexis
n00b
n00b
User avatar
Posts: 63
Joined: Sun Apr 18, 2004 9:23 am
Location: Moscow region,Russia

  • Quote

Post by dAlexis » Mon Mar 10, 2008 3:09 pm

Narusegawa wrote:Aslong as it works enough for music, videos and games (cedega too) that's good enough for me. :-) All I need is basic output on line-out as I have an amp doing the rest for me :-)
how you manage to get it workable? In KDE (3.5) with default setup it tells, that pcm freq. are not compatible (exactly - x-fi works with 96000, not 48000). I tried to use an advice here http://www.4front-tech.com/forum/viewto ... cc914aae7f - KDE start sound is OK, but nothing in xine and mplayer. I made a link /dev/dsp to /dev/dsp2 just to hear sound from kde.

To what this /ded/dsp is usually linked?
"The Matrix has you!" - "Let it be...."
Top
a.forlorn
Guru
Guru
User avatar
Posts: 412
Joined: Fri Aug 12, 2005 2:41 am
Location: Ulm, Germany
Contact:
Contact a.forlorn
Website

  • Quote

Post by a.forlorn » Mon Mar 10, 2008 9:55 pm

Dont forget OSS useflag for those.
Gentoo update is sometimes harder than it should.
Top
Post Reply

402 posts
  • Page 8 of 17
    • Jump to page:
  • Previous
  • 1
  • …
  • 6
  • 7
  • 8
  • 9
  • 10
  • …
  • 17
  • Next

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic