Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
openal not working with IXP SB400 AC'97 Audio [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
tw04l124
Veteran
Veteran


Joined: 03 Oct 2006
Posts: 1216
Location: A t z e l, lower austria

PostPosted: Thu Jul 26, 2007 11:59 am    Post subject: openal not working with IXP SB400 AC'97 Audio [solved] Reply with quote

Hi,

I have installed vdrift. It works on amd64, is masked.

I have tried several games in the past and I couldn*t get openal to work properly. I have a loud noise, but no sound. This happens to other openal games also. Don*T ask me, what games the sound didn*t work. I used to use sdl then. In tremulous openal also don*t work.

What can I do to solve this problem? I want a working openal!

Thx, roman


Code:
notebook roman # eix vdrift
[I] games-sports/vdrift
     Available versions:  (~*)20070323 {minimal nls}
     Installed versions:  20070323(02:18:26 07/26/07)(-minimal -nls)
     Homepage:            http://vdrift.net/
     Description:         A driving simulation made with drift racing in mind

notebook roman # emerge --info
Portage 2.1.2.9 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.21-suspend2-r6_51_crypt x86_64)
=================================================================
System uname: 2.6.21-suspend2-r6_51_crypt x86_64 AMD Turion(tm) 64 Mobile Technology MT-34
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 25 Jul 2007 23:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -msse3 -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 /usr/share/hddtemp /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -msse3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ http://gentoo.inode.at/ http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_GB en"
LC_ALL="en_GB"
LINGUAS="en en_GB"
MAKEOPTS="-j2"
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/sunrise /usr/portage/local/layman/berkano /usr/portage/local/layman/gentopia /usr/portage/local/layman/xeffects /usr/local/layman/myownoverlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac ace acl acpi adns alsa amazon amd amd64 amr apm arj audiofile automount bash-completion bc berkdb bindist binfilter bitmap-fonts blender-game bluetooth bzip2 cairo caps cddb cdparanoia cdr cdrom clamav cpudetection cracklib crypt css cups curl dbus dc1394 de_tvtoday device-mapper dga dhcp dia directfb disk-partition diskio divx dmi dmx dnotify dri dts dv dvd dvdnav dvdr dvdread eds elf emacs emerald emovix enca encode esd evo exif expat extrafilters fam fame fat fbcon fbsplash ffmpeg firefox flac flood fontconfig fortran fping ftp fuse galago gd ggi gif gimp gimpprint glib glitz gmp gnome gnome-print gnutls gpac gpm graphviz gs gstreamer gtk gtkhtml guile gzip h323 hal hdaps hddtemp html http ibam iconv id3 idea idn ieee1394 imagemagick imap imlib inkjar jack java javascript joystick jpeg jpeg2k kqemu ladspa lame lcd lcms ldap libcaca libg++ libgda libnotify libsamplerate libsexy libwww log4j lua lzo macmenu mad matroska maya-shaderlibrary mbox md5sum metalink midi mikmod mime mjpeg mmx mmxext mng mod modplug mods mono moznocompose moznoirc moznomail moznopango mp2 mp3 mp4 mp4live mpeg mpeg2 mpi mplayer mudflap mule musepack musicbrainz nautilus ncurses neXt network new-login nfs nntp no-htdocs no-old-linux nodrm normalize nptl nptlonly nsplugin ntfs oav ogg openexr opengl openmp osc oss pam pam_console pam_timestamp pango pcmcia pcre pdf perl physfs plotutils pmu png pnm pop portaudio postscript ppds pppd prelude pwdb python qemu qt3 qt3support qt4 quicktime radius rar readline realmedia recode resolvconf roe rsvg samba sasl sdl sdl-image sdl-sound seamonkey servletapi session sndfile snmp sockets soundex sox speex spell sse sse2 ssl startup-notification stream streamripper subtitles svg swat sysfs syslog tagwriting tcl tga theora threads threadsafe threadsonly tiff timidity tk tracker transcode truetype truetype-fonts twolame type1-fonts unicode urandom usb utempter v4l v4l2 vcd vlm vorbis widescreen wifi wireshark wma wmf wmp wnck wordexp wxwindows x264 xanim xatrix xcomposite xext xine xinerama xinetd xml xorg xpm xrandr xscreensaver xv xvid xvmc xvnc yaepg yv12 zip zlib" ELIBC="glibc" INPUT_DEVICES="evdev mouse keyboard wacom" KERNEL="linux" LINGUAS="en en_GB" USERLAND="GNU" VIDEO_CARDS="fglrx v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

notebook roman # eix openal
* dev-haskell/openal
     Available versions:  ~1.2 ~1.3 ~1.3.1 {doc profile}
     Homepage:            http://haskell.org/ghc/
     Description:         A Haskell binding to the OpenAL cross-platform 3D audio API

* dev-python/pyopenal
     Available versions:  ~0.1.6
     Homepage:            http://home.gna.org/oomadness/en/pyopenal/
     Description:         OpenAL library port for Python

[I] media-libs/openal
     Available versions:  0.0.8 0.0.8-r1 {alsa arts debug esd mp3 sdl vorbis}
     Installed versions:  0.0.8-r1(11:21:38 07/26/07)(alsa arts -debug esd mp3 sdl vorbis)
     Homepage:            http://www.openal.org
     Description:         OpenAL, the Open Audio Library, is an open, vendor-neutral, cross-platform API for interactive, primarily spatialized audio

Found 3 matches.
notebook roman # lspci
00:00.0 Host bridge: ATI Technologies Inc ATI Radeon Xpress 200 (RS480/RS482/RX480/RX482) Chipset - Host bridge
00:02.0 PCI bridge: ATI Technologies Inc RS480 PCI-X Root Port
00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller
00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller
00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host Controller
00:14.0 SMBus: ATI Technologies Inc IXP SB400 SMBus Controller (rev 10)
00:14.1 IDE interface: ATI Technologies Inc Standard Dual Channel PCI IDE Controller ATI
00:14.3 ISA bridge: ATI Technologies Inc IXP SB400 PCI-ISA Bridge
00:14.4 PCI bridge: ATI Technologies Inc IXP SB400 PCI-PCI Bridge
00:14.5 Multimedia audio controller: ATI Technologies Inc IXP SB400 AC'97 Audio Controller (rev 01)
00:14.6 Modem: ATI Technologies Inc ATI SB400 - AC'97 Modem Controller (rev 01)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility X700 (PCIE)
02:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
02:04.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac)
02:04.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac)
02:04.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 04)
02:09.0 Network controller: RaLink RT2500 802.11g Cardbus/mini-PCI (rev 01)
04:00.0 Ethernet controller: 3Com Corporation 3cCFE575CT CardBus [Cyclone] (rev 10)
notebook roman #

_________________
ln -s /usr/lib64/libcurl.so.4 /usr/lib64/libcurl.so.3


Last edited by tw04l124 on Fri Jul 27, 2007 6:49 am; edited 1 time in total
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 6609

PostPosted: Thu Jul 26, 2007 12:08 pm    Post subject: Reply with quote

Use ~/.openalrc
Code:
; http://gentoo-wiki.com/HOWTO_Surround_Sound
; http://www.halfgaar.net/surround-sound-in-linux

; Valid options: alsa, native, sdl. native is best.
; "native" is OSS:
; http://opensource.creative.com/pipermail/openal/2005-April/008145.html
(define devices '(native))

; Four-speaker surround - generic and works. But 5.1 is better.
;(define speaker-num 4)
;(define alsa-out-device "surround40")

; 5.1 surround with ALSA - works.
(define speaker-num 6)
(define alsa-out-device default)
;(define alsa-out-device "surround51:0,0")
Back to top
View user's profile Send private message
tw04l124
Veteran
Veteran


Joined: 03 Oct 2006
Posts: 1216
Location: A t z e l, lower austria

PostPosted: Fri Jul 27, 2007 6:40 am    Post subject: Reply with quote

Thank you, it works.

vdrift works on amd64!!!!

roman@notebook ~ $ cat /home/roman/.openalrc
; http://gentoo-wiki.com/HOWTO_Surround_Sound
; http://www.halfgaar.net/surround-sound-in-linux

; Valid options: alsa, native, sdl. native is best.
; "native" is OSS:
; http://opensource.creative.com/pipermail/openal/2005-April/008145.html
(define devices '(sdl))

; Four-speaker surround - generic and works. But 5.1 is better.
;(define speaker-num 4)
;(define alsa-out-device "surround40")

; 5.1 surround with ALSA - works.
(define speaker-num 6)
(define alsa-out-device default)
;(define alsa-out-device "surround51:0,0")
roman@notebook ~ $
_________________
ln -s /usr/lib64/libcurl.so.4 /usr/lib64/libcurl.so.3
Back to top
View user's profile Send private message
tw04l124
Veteran
Veteran


Joined: 03 Oct 2006
Posts: 1216
Location: A t z e l, lower austria

PostPosted: Fri Jul 27, 2007 6:50 am    Post subject: Reply with quote

New bug reported => vdrift works on amd64!! http://bugs.gentoo.org/show_bug.cgi?id=186753

I think this is a bug, when I don*t have the openalrc file in my home directory! I didn*T know that this file exists!!!
_________________
ln -s /usr/lib64/libcurl.so.4 /usr/lib64/libcurl.so.3
Back to top
View user's profile Send private message
tw04l124
Veteran
Veteran


Joined: 03 Oct 2006
Posts: 1216
Location: A t z e l, lower austria

PostPosted: Fri Jul 27, 2007 7:47 am    Post subject: Reply with quote

http://forum.instantreality.org/index.php?action=recent;start=10

Code:
notebook roman # aplay -L
default:CARD=IXP
    ATI IXP, ATI IXP AC97
    Default Audio Device
front:CARD=IXP,DEV=0
    ATI IXP, ATI IXP AC97
    Front speakers
surround40:CARD=IXP,DEV=0
    ATI IXP, ATI IXP AC97
    4.0 Surround output to Front and Rear speakers
surround41:CARD=IXP,DEV=0
    ATI IXP, ATI IXP AC97
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=IXP,DEV=0
    ATI IXP, ATI IXP AC97
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=IXP,DEV=0
    ATI IXP, ATI IXP AC97
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
null
    Discard all samples (playback) or generate zero samples (capture)
notebook roman # cat /home/roman/.openalrc
; http://gentoo-wiki.com/HOWTO_Surround_Sound
; http://www.halfgaar.net/surround-sound-in-linux

; Valid options: alsa, native, sdl. native is best.
; "native" is OSS:
; http://opensource.creative.com/pipermail/openal/2005-April/008145.html
(define devices '(esd))

;(define devices '(alsa))
(define alsa-out-device "front")

; Four-speaker surround - generic and works. But 5.1 is better.
;(define speaker-num 2)
;(define alsa-out-device "surround40")

; 5.1 surround with ALSA - works.
;(define speaker-num 6)
;(define alsa-out-device default)
;(define alsa-out-device "surround51:0,0")
notebook roman #

_________________
ln -s /usr/lib64/libcurl.so.4 /usr/lib64/libcurl.so.3
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 6609

PostPosted: Fri Jul 27, 2007 9:40 am    Post subject: Reply with quote

No, it is not a bug that ~/.openalrc doesn't exist. Simply create it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
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