Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133501 - Please stabilize media-libs/openal-0.0.8 and media-libs/freealut-1.0.1
Summary: Please stabilize media-libs/openal-0.0.8 and media-libs/freealut-1.0.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Chris Gianelloni (RETIRED)
URL:
Whiteboard:
Keywords:
: 139026 139028 (view as bug list)
Depends on:
Blocks: 132826 138769
  Show dependency tree
 
Reported: 2006-05-16 08:39 UTC by Chris Gianelloni (RETIRED)
Modified: 2006-08-09 09:48 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Gianelloni (RETIRED) gentoo-dev 2006-05-16 08:39:08 UTC
OK.  I know that there are a few packages that do not work with these versions of openal/freealut.  I am working on those.  However, since this version of openal isn't considered the "best version" by portage, it won't break anyone's machines.  Basically, I need these packages to be stabilized because I am working to remove the old CVS snapshots from the tree once I've resolved all of the issues that are tracked on bug #132826 for these packages.  Other than pyopenal, all of these packages are games packages, so they already will be supported by me.

If you need something to test these versions against, you can try games-strategy/warzone2100, which uses the oh-so-ugly new *DEPEND structure necessary to properly support these packages.

If you have any questions, feel free to ask me.
Comment 1 Matthias Langer 2006-05-21 17:49:21 UTC
for testing media-libs/openal-0.0.8 [ +alsa -arts +debug -esd +mp3 +sdl +vorbis ] and media-libs/freealut-1.0.1 i merged games-strategy/warzone2100-0.2.2  [ +mp3 +ogg +opengl ] and got almost immediately, without any further interaction:

$ gdb warzone
(gdb) run
Starting program: /usr/games/bin/warzone
[Thread debugging using libthread_db enabled]
[New Thread -1221789984 (LWP 23776)]
Warning: Using colour depth of 32 instead of 24.
CONFIG  [al_config.c:675] define speaker-num
CONFIG  [al_config.c:675] define display-banner
CONFIG  [al_config.c:675] define source-gain
CONFIG  [alc/alc_device.c:43] Couldn't parse config file.
CONFIG  [al_config.c:550] could not resolve devices
CONFIG  [al_config.c:550] could not resolve direction
CONFIG  [al_config.c:550] could not resolve sampling-rate
CONFIG  [al_rcvar.c:367] rc_foreach fail type = ALRC_INVALID
CONFIG  [al_config.c:884] defining speaker-num
CONFIG  [al_config.c:550] could not resolve direction
CONFIG  [al_config.c:550] could not resolve devices
CONFIG  [al_config.c:550] could not resolve sampling-rate
CONFIG  [al_config.c:550] could not resolve devices
CONFIG  [al_config.c:550] could not resolve lin-dsp-path
CONFIG  [al_config.c:550] could not resolve native-use-select
grab_native: (path /dev/sound/dsp fd 13)
CONFIG  [arch/i386/x86_cpu_caps_prk.c:136] mmx found 1  use 1
CONFIG  [arch/i386/x86_cpu_caps_prk.c:138] sse found 1  use 1
CONFIG  [arch/i386/x86_cpu_caps_prk.c:140] sse2 found 0  use 1
CONFIG  [arch/i386/x86_cpu_caps_prk.c:142] sse3 found 0  use 1
CONFIG  [arch/i386/x86_cpu_caps_prk.c:144] amd_3dnow found 1  use 1
CONFIG  [arch/i386/x86_cpu_caps_prk.c:146] amd_3dnowext found 1  use 1
CONFIG  [arch/i386/x86_cpu_caps_prk.c:148] amd_sse_mmx found 1  use 1
EXT     [al_ext.c:422] registered alBufferAppendData_LOKI at 0xb7e3ad00
EXT     [al_ext.c:422] registered alBufferWriteData_LOKI at 0xb7e3a190
EXT     [al_ext.c:422] registered alBufferAppendWriteData_LOKI at 0xb7e3a520
EXT     [al_ext.c:422] registered alReverbScale_LOKI at 0xb7e39bb0
EXT     [al_ext.c:422] registered alReverbDelay_LOKI at 0xb7e39cf0
EXT     [al_ext.c:422] registered alBombOnError_LOKI at 0xb7e39e90
EXT     [al_ext.c:422] registered alBufferi_LOKI at 0xb7e39eb0
EXT     [al_ext.c:422] registered alBufferDataWithCallback_LOKI at 0xb7e3a0e0
EXT     [al_ext.c:422] registered alGenStreamingBuffers_LOKI at 0xb7e3b4b0
EXT     [al_ext.c:422] registered alcGetAudioChannel_LOKI at 0xb7e39b00
EXT     [al_ext.c:422] registered alcSetAudioChannel_LOKI at 0xb7e39a70
EXT     [al_ext.c:422] registered alutLoadMP3_LOKI at 0xb7e38ec0
EXT     [al_ext.c:422] registered alutLoadVorbis_LOKI at 0xb7e38820
EXT     [al_ext.c:422] registered alCaptureInit_EXT at 0xb7e396b0
EXT     [al_ext.c:422] registered alCaptureStart_EXT at 0xb7e39870
EXT     [al_ext.c:422] registered alCaptureStop_EXT at 0xb7e39880
EXT     [al_ext.c:422] registered alCaptureGetData_EXT at 0xb7e39890
EXT     [al_ext.c:422] registered alCaptureDestroy_EXT at 0xb7e397b0
CONTEXT [alc/alc_speaker.c:150] _alcSpeakerInit: ( sdis 1.000000 )
MATH    [alc/alc_speaker.c:96] SpAdj: l/r [-1.000000|0.000000|0.000000] [1.000000|0.000000|0.000000]
CONTEXT [alc/alc_context.c:694] new bufsiz = 4096
set_fd in: bufsiz 4096 fmt 0x10 speed 44100 channels 2
set_fd out: bufsiz 1024 fmt 0x10 speed 44100 channels 2
CONVERT [alc/alc_device.c:217] after set_audiodevice, f|s|b 0x1103|44100|1024
CONVERT [al_mixer.c:695] _alSetMixer f|c|s [0x1101|2|44100] -> [0x1103|2|44100]
[New Thread -1247233104 (LWP 23779)]
CONTEXT [alc/alc_speaker.c:150] _alcSpeakerInit: ( sdis 1.000000 )
MATH    [alc/alc_speaker.c:96] SpAdj: l/r [1.000000|0.000000|0.000000] [-1.000000|0.000000|0.000000]
CONFIG  [al_config.c:550] could not resolve source-rolloff-factor
MAXIMUS [al_source.c:261] _alSource2D: source turned 2D
NETinitAudioCapture
CONVERT [al_buffer.c:1046] _alConvert [f_size|f_channels|f_freq] [5087|1|11025]
CONVERT [al_buffer.c:1051] _alConvert [t_channels|f_channels|t/f] [1|1|1]
CONVERT [al_buffer.c:1060] _alConvert [t_freq|f_freq|t/f] [44100|11025|4]
CONVERT [al_buffer.c:1066] _alConvert [t_bits|f_bits|t/f] [16|8|2]
CONVERT [al_buffer.c:1073] _alConvert f|c|s [0x1100|1|11025] -> [0x1101|1|44100]
CONVERT [al_buffer.c:1100] _alConvert [len|newlen] [5087|40696]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1221789984 (LWP 23776)]
0xb7d0cb35 in memcpy () from /lib/tls/libc.so.6
(gdb) back
#0  0xb7d0cb35 in memcpy () from /lib/tls/libc.so.6
#1  0xb7e11694 in _alConvert (data=0x2f8, f_format=143188544, f_size=5087, f_freq=11025, t_format=4353, t_freq=44100, retsize=0xbfab377c,
    should_use_passed_data=0) at al_buffer.c:1121
#2  0xb7e11ddf in alBufferData (bid=32775, format=4352, data=0x2f8, size=5087, freq=4352) at al_buffer.c:672
#3  0x0810dcce in sound_ReadTrackFromBuffer (psTrack=0xb4583efc, pBuffer=0x1100, udwSize=5211) at openal_track.c:236
#4  0x0810ea8f in sound_LoadTrackFromBuffer (pBuffer=0x1100 <Address 0x1100 out of bounds>, udwSize=4352) at track.c:267
#5  0x08057a26 in dataAudioLoad (pBuffer=0x1100 <Address 0x1100 out of bounds>, size=4352, ppData=0xbfab385c) at data.c:1280
#6  0x08106a71 in FILE_ProcessFile (CurrentFile=0xbfab36c0, pRetreivedFile=0x1100 <Address 0x1100 out of bounds>) at frameresource.c:1245
#7  0x0810baf8 in WDG_ProcessWRF (WRFname=0x881dae0 "&#65533;\177\224\016*&#65533;\017", UseDataFromWDG=1) at wdg.c:507
#8  0x081069d5 in resLoad (pResFile=0x813889d "wrf\\frontend.wrf", blockID=4352, pLoadBuffer=0x1100 <Address 0x1100 out of bounds>, bufferSize=4352,
    psMemHeap=0x885a190) at frameresource.c:206
#9  0x080805c1 in frontendInitialise (ResourceFile=0x1100 <Address 0x1100 out of bounds>) at init.c:1094
#10 0x080928f2 in main (argc=1, argv=0xbfab3b34) at main.c:330

Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r7 i686)
=================================================================
System uname: 2.6.16-gentoo-r7 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks sandbox sfperms strict test"
GENTOO_MIRRORS="http://gentoo.ynet.sk/pub "
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.1/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac aalib acpi alsa apm audiofile avi berkdb bitmap-fonts bonobo bzip2 cairo cdr cli crypt css cups curl dbus dri dts dvd dvdr dvdread eds emboss encode exif expat fam fbcon ffmpeg firefox flac foomaticdb fortran gd gdbm gif ginac glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal icq idn imagemagick imlib ipv6 isdnlog java javascript jpeg jpeg2k junit lcms libg++ libwww mad matroska mikmod mime mmx mmxext mng motif mozsvg mp3 mpeg msn nautilus ncurses nls nptl nsplugin nvidia offensive ogg oggvorbis openal opengl pam pcre pdflib perl plotutils png posix pppd python quicktime readline real reflection ruby sdl session slang sockets speex spell spl sqlite sqlite3 sse ssl subtitles svg svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb vcd vorbis win32codecs wma xine xml xml2 xmms xorg xv xvid zlib video_cards_nvidia linguas_en linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
Comment 2 Matthias Langer 2006-05-22 05:32:25 UTC
i've now tested openal-0.0.8 with games-sports/torcs-1.2.4-r1 and didn't exeperience any problems.
Comment 3 Matthias Langer 2006-05-22 06:03:45 UTC
maybe i was a bit too enthusiasic about openal-0.0.8 and torcs-1.2.4-r1: after i decided to play the game another time i got (during a race):

Randr version: 1.1
Visual Properties Report
------------------------
z-buffer depth: 24 (good)
multisampling : available
alpha bits    : available
WARNING: ssgLoadTexture: Cannot determine file type for './(null)'
GfParmCheckHandle: parameter "Rear Right Suspension/packers" out of bounds: min:0 max:0.01 val: 0.02 in ("Tanhoj" - "drivers/tanhoj/tracksdata/car_g-track-3.xml")
GfParmCheckHandle: parameter "Rear Left Suspension/packers" out of bounds: min:0 max:0.01 val:0 .02 in ("Tanhoj" - "drivers/tanhoj/tracksdata/car_g-track-3.xml")
OpenAL backend info:
  Vendor: OpenAL Community
  Renderer: Software
  Version: 1.1
  Available sources: 1024 or more
  Available buffers: 1024 or more
  Dynamic Sources: requested: 1003, created: 1003
  #static sources: 21
  #dyn sources   : 1003
^[[C/usr/games/bin/torcs: line 52: 24752 Segmentation fault      $LIBDIR/torcs-bin -l $LOCAL_CO NF -L $LIBDIR -D $DATADIR $*

I don't know if this bug is openal related. As /usr/games/bin/torcs is a shell script and /usr/games/lib/torcs/torcs-bin doesn't work when started directly, i'm not sure how to get more info about the crash with gdb (maybe modify the script ?). As soon as i found out how to get more information with gdb i'll post a bt; suggestions are wellcome :-)
Comment 4 Jason Wever (RETIRED) gentoo-dev 2006-05-23 15:24:33 UTC
Stable on SPARC
Comment 5 Jason Wever (RETIRED) gentoo-dev 2006-05-23 16:21:20 UTC
Had the wrong bug in mind when I removed SPARC.  Enjoy the extra noise :)
Comment 6 Mark Loeser (RETIRED) gentoo-dev 2006-05-24 13:44:43 UTC
x86 done, thanks for testing Matthias
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-05-24 20:07:59 UTC
Addming bsd as I have keyworded false newer openal right now for quake3 :P going to test 0.0.8 now.
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-05-24 20:31:30 UTC
Hmm openal-0.0.8 requires a patch for the BSD backend (that I have) and a fix for threading that I don't have yet :|
Comment 9 Joe Jezak (RETIRED) gentoo-dev 2006-05-26 00:40:51 UTC
Marked ppc stable.
Comment 10 Markus Rothe (RETIRED) gentoo-dev 2006-05-26 09:56:42 UTC
ppc64 stable
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2006-07-03 10:39:13 UTC
*** Bug 139026 has been marked as a duplicate of this bug. ***
Comment 12 Ahmed Ammar (RETIRED) gentoo-dev 2006-07-03 11:39:46 UTC
*** Bug 139028 has been marked as a duplicate of this bug. ***
Comment 13 Ahmed Ammar (RETIRED) gentoo-dev 2006-07-03 11:40:48 UTC
(In reply to comment #11)
> *** Bug 139026 has been marked as a duplicate of this bug. ***
> 

(In reply to comment #12)
> *** Bug 139028 has been marked as a duplicate of this bug. ***
> 

Those were the STABLE requests for the requested ebuilds (AMD64).
Tested by me.
Comment 14 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-07-03 19:17:21 UTC
amd64 done.
Comment 15 Jason Wever (RETIRED) gentoo-dev 2006-07-16 15:18:46 UTC
It's the sound of the SPARC keyword dropping you like a ton of bricks!

Comment 16 Chris Gianelloni (RETIRED) gentoo-dev 2006-07-20 11:30:02 UTC
Alpha and IA64 still need to stable openal-0.0.8 and HPPA/IA64 will want to keyword freealut.  They will probably also want to stabilize them if they want all of their packages to work, since freealut supplies some functionality that was in the older CVS snapshots of openal.
Comment 17 Aron Griffis (RETIRED) gentoo-dev 2006-07-21 05:15:54 UTC
ia64 done
Comment 18 Thomas Cort (RETIRED) gentoo-dev 2006-08-02 13:20:53 UTC
alpha stable.
Comment 19 Chris Gianelloni (RETIRED) gentoo-dev 2006-08-09 09:48:16 UTC
Marking this one as FIXED.  HPPA, feel free to mark this package stable at any time.