Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 313751

Summary: games-rpg/eternal-lands with =media-libs/openal-1.12.854: sounds get truncated
Product: Gentoo Linux Reporter: Martin Erdtmann <martin.erdtmann>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: rich0, sound
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Martin Erdtmann 2010-04-07 22:05:18 UTC
When using sound in Eternal Lands, sounds are not played completely but beeing truncated. Downgrade to openal version 1.9.563 fixes the problem. I am a sound developer of this game and going to create some new sounds there. This issue doesnt seem to happen on all sounds. Especially small ones are effected.

Reproducible: Always

Steps to Reproduce:
1. Install Eternal lands
2. Enable sounds
3. Listen to the output


Actual Results:  
Sounds are truncated before being finised

Expected Results:  
Sounds are played completely

After downgrade to the last stable version 1.9.563 everything works fine.
Comment 1 David Abbott (RETIRED) gentoo-dev 2010-04-07 23:26:50 UTC
Martin, please include emerge --info and any other info that may help, thanks
Comment 2 Martin Erdtmann 2010-04-08 08:23:45 UTC
emerge --info
Portage 2.1.7.17 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6 x86_64)
=================================================================                                       
System uname: Linux-2.6.31-gentoo-r6-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-1.12.13
Timestamp of tree: Wed, 07 Apr 2010 10:30:01 +0000                                                        
app-shells/bash:     4.0_p37                                                                              
dev-java/java-config: 2.1.10                                                                              
dev-lang/python:     2.6.4-r1                                                                             
dev-util/cmake:      2.6.4-r3                                                                             
sys-apps/baselayout: 1.12.13                                                                              
sys-apps/sandbox:    1.6-r2                                                                               
sys-devel/autoconf:  2.13, 2.63-r1                                                                        
sys-devel/automake:  1.4_p6, 1.8.5-r3, 1.9.6-r3, 1.10.3                                                   
sys-devel/binutils:  2.18-r3                                                                              
sys-devel/gcc:       4.3.4                                                                                
sys-devel/gcc-config: 1.4.1                                                                               
sys-devel/libtool:   2.2.6b                                                                               
virtual/os-headers:  2.6.30-r1                                                                            
ACCEPT_KEYWORDS="amd64"                                                                                   
ACCEPT_LICENSE="* -@EULA DOOM3 PUEL RTCW RTCW-ETEULA QUAKE4 skype-eula Q3AEULA dlj-1.1"                   
CBUILD="x86_64-pc-linux-gnu"                                                                              
CFLAGS="-march=nocona -O2 -pipe"                                                                          
CHOST="x86_64-pc-linux-gnu"                                                                               
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"                                                
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"                                                                                                
CXXFLAGS="-march=nocona -O2 -pipe"                                                                                
DISTDIR="/usr/portage/distfiles"                                                                                  
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"                                                                                     
GENTOO_MIRRORS="http://distfiles.gentoo.org"                                                                      
LDFLAGS="-Wl,-O1"                                                                                                 
MAKEOPTS="-j3"                                                                                                    
PKGDIR="/usr/portage/packages"                                                                                    
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl acpi afm alsa amd64 berkdb bluetooth branding bzip2 cairo cdinstall cdr cli consolekit cracklib crypt css cups cxx dbus dri dssi dts dvd dvdr embedded emboss encode exif extras faad faad2 fam ffmpeg fftw firefox flac fltk fortran freesound gcdmaster gdbm gif gpm gtk h264 hal iconv icq ipv6 ipw4965 jabber jack jpeg kde ladspa laptop lcms ldap libnotify libsamplerate lm_sensors mad mikmod mjpeg mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib mysql ncurses nls nptl nptlonly nvidia ogg openexr opengl openmp oss pam pango pcre pdf perl png ppds pppd python qt3 qt3support qt4 readline reflection sasl sdl semantic-desktop session sndfile soundtouch spell spl sql srt sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb v4l v4l2 vorbis vst webkit x264 xcb xcomposite xine xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel hdsp" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 3 Martin Erdtmann 2010-04-08 08:44:03 UTC
My guess is that this could something to do with buffer sizes because i can see a similar effect in players like Audacious if the buffer size is too big. We are using very small sound effects with lengths about 1 sec or below. I don't know how openal uses buffers but if the new version uses different buffers this can be a point of interest. 
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-05-15 18:35:06 UTC
Try openal-1.12.854...
Comment 5 Martin Erdtmann 2010-05-15 19:19:05 UTC
(In reply to comment #4)
> Try openal-1.12.854...
> 

I just tested it. 1.12.854 has the same behavior than 1.11.753. 1.9.563 work fine.
Comment 6 Martin Erdtmann 2010-08-12 19:53:50 UTC
1.9.563 has been removed from portage, great :(

Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2012-01-20 19:59:42 UTC
Last comment is quite old and both, eternal-lands and openal have had new releases. Lets refresh.

Please try with

>=games-rpg/eternal-lands-1.9.2-r1
>=media-libs/openal-1.13

Reopen if still problem, thanks!